Leaving Certificate Mathematics6.3 Composite and inverse functions

All books

6.3 Composite and inverse functions — Learn

Prerequisites: function notation; substituting into an expression; solving a linear equation.

Objectives: form a composite function in either order; find the inverse of a function; check an inverse by composing it with the function.

By the end of this section you can join two functions into one, and undo a function to get back to the input.

Composite functions

A composite function is what you get when the output of one function becomes the input of another. If ff and gg are functions, then f(g(x))f(g(x)) means "apply gg first, then apply ff to the result".

Example 1. For f(x)=2x+3f(x) = 2x + 3 and g(x)=x2g(x) = x^2, work out f(g(2))f(g(2)) and g(f(2))g(f(2)).

Work from the inside out.

g(2)=22=4f(g(2))=f(4)=2(4)+3=11g(2) = 2^2 = 4 \qquad f(g(2)) = f(4) = 2(4) + 3 = 11 f(2)=2(2)+3=7g(f(2))=g(7)=72=49f(2) = 2(2) + 3 = 7 \qquad g(f(2)) = g(7) = 7^2 = 49

The two answers are different. The order matters, so f(g(x))f(g(x)) and g(f(x))g(f(x)) are usually not the same function.

Example 2. For the same functions, find the general composite f(g(x))f(g(x)).

Replace xx in f(x)f(x) by the whole expression g(x)g(x):

f(g(x))=f(x2)=2x2+3f(g(x)) = f(x^2) = 2x^2 + 3

The input to ff is x2x^2, so every xx in the rule of ff becomes x2x^2.

Inverse functions

An inverse function undoes the original function. It takes an output and returns the input that produced it. The inverse of ff is written f−1f^{-1}.

If f(4)=11f(4) = 11, then f−1(11)=4f^{-1}(11) = 4. The inverse swaps the two numbers in every ordered pair.

To find the inverse of f(x)f(x), follow three steps:

  1. Write y=f(x)y = f(x).
  2. Swap xx and yy.
  3. Solve the new equation for yy.

Example 3. Find the inverse of f(x)=2x+3f(x) = 2x + 3.

y=2x+3x=2y+3x−3=2yy=x−32y = 2x + 3 \qquad x = 2y + 3 \qquad x - 3 = 2y \qquad y = \frac{x - 3}{2}

So f−1(x)=x−32f^{-1}(x) = \dfrac{x - 3}{2}.

Example 4. Check that the inverse undoes the function.

f(f−1(x))=2(x−32)+3=(x−3)+3=xf(f^{-1}(x)) = 2\left(\frac{x - 3}{2}\right) + 3 = (x - 3) + 3 = x

The composite returns the input, which is exactly what an inverse should do. The same works the other way round: f−1(f(x))=xf^{-1}(f(x)) = x.

The cooling coffee

The chapter problem is a function T(t)=20+70(0.5)t/5T(t) = 20 + 70(0.5)^{t/5}, and its inverse gives the time for a chosen temperature. Put T=20+70(0.5)t/5T = 20 + 70(0.5)^{t/5} and solve for tt:

(0.5)t/5=T−2070t5=log⁡0.5 ⁣(T−2070)t=5log⁡0.5 ⁣(T−2070)(0.5)^{t/5} = \frac{T - 20}{70} \qquad \frac{t}{5} = \log_{0.5}\!\left(\frac{T - 20}{70}\right) \qquad t = 5\log_{0.5}\!\left(\frac{T - 20}{70}\right)

The last step uses logarithms, which Section 6.6 develops. The formula is the inverse function, and it swaps the roles of time and temperature.

Progress check

Back to the chapter problem. Write down the inverse rule t=5log⁡0.5 ⁣(T−2070)t = 5\log_{0.5}\!\left(\dfrac{T - 20}{70}\right).

Check it by composing: put T=50T = 50 into the inverse, then put the result back into the original rule. You should get 5050. Keep the exact time, because Section 6.6 evaluates it.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.