A-level Mathematics2.10 Composite and inverse functions

All books

2.10 Composite and inverse functions — Practise with help

Work each one first, closed book. For a composite, decide which function acts first. For an inverse, write y=f(x)y = f(x) and make xx the subject before you swap the letters.

Warm-up: remember

  1. Work out f(3)f(3) for f(x)=2x+1f(x) = 2x + 1.
  2. Make xx the subject of y=4x−5y = 4x - 5.
  3. Solve x2=9x^2 = 9.
Answers
  1. f(3)=2×3+1=7f(3) = 2 \times 3 + 1 = 7.
  2. y+5=4xy + 5 = 4x, so x=y+54x = \dfrac{y + 5}{4}.
  3. x=3x = 3 or x=−3x = -3.

If question 2 was hard, revisit rearranging: undo each operation in reverse order.

Practise with help

1. Given f(x)=x+4f(x) = x + 4 and g(x)=2xg(x) = 2x, find f(g(x))f(g(x)) and g(f(x))g(f(x)).

Hint

For f(g(x))f(g(x)), the input to ff is 2x2x. For g(f(x))g(f(x)), the input to gg is x+4x + 4.

Next step

f(g(x))=(2x)+4f(g(x)) = (2x) + 4, and g(f(x))=2(x+4)g(f(x)) = 2(x + 4).

Full working

For f(g(x))f(g(x)), substitute g(x)=2xg(x) = 2x into ff:

f(g(x))=2x+4.f(g(x)) = 2x + 4.

For g(f(x))g(f(x)), substitute f(x)=x+4f(x) = x + 4 into gg:

g(f(x))=2(x+4)=2x+8.g(f(x)) = 2(x + 4) = 2x + 8.

The two results differ, so the order matters.

2. Given f(x)=x2−1f(x) = x^2 - 1 and g(x)=x+2g(x) = x + 2, find f(g(1))f(g(1)).

Hint

Work from the inside out: find g(1)g(1) first.

Next step

g(1)=3g(1) = 3, so work out f(3)f(3).

Full working

First g(1)=1+2=3g(1) = 1 + 2 = 3. Then

f(3)=32−1=8.f(3) = 3^2 - 1 = 8.

So f(g(1))=8f(g(1)) = 8.

3. Find the inverse of f(x)=4x+7f(x) = 4x + 7.

Hint

Write y=4x+7y = 4x + 7, then make xx the subject by subtracting 77 and dividing by 44.

Next step

y−7=4xy - 7 = 4x, so x=y−74x = \dfrac{y - 7}{4}. Now swap the letters.

Full working

Write y=4x+7y = 4x + 7 and rearrange:

y−7=4x,x=y−74.y - 7 = 4x, \qquad x = \frac{y - 7}{4}.

Swap the letters:

f−1(x)=x−74.f^{-1}(x) = \frac{x - 7}{4}.

Check: f−1(f(x))=(4x+7)−74=4x4=xf^{-1}(f(x)) = \frac{(4x + 7) - 7}{4} = \frac{4x}{4} = x.

4. Find the inverse of f(x)=2x+1x−3f(x) = \dfrac{2x + 1}{x - 3}, where x≠3x \neq 3.

Hint

Write y=2x+1x−3y = \frac{2x + 1}{x - 3} and multiply both sides by x−3x - 3. Then collect the xx terms.

Next step

y(x−3)=2x+1y(x - 3) = 2x + 1 gives yx−3y=2x+1yx - 3y = 2x + 1, so x(y−2)=3y+1x(y - 2) = 3y + 1.

Full working

Write y=2x+1x−3y = \frac{2x + 1}{x - 3} and cross-multiply:

y(x−3)=2x+1,yx−3y=2x+1.y(x - 3) = 2x + 1, \qquad yx - 3y = 2x + 1.

Collect the xx terms:

yx−2x=3y+1,x(y−2)=3y+1,x=3y+1y−2.yx - 2x = 3y + 1, \qquad x(y - 2) = 3y + 1, \qquad x = \frac{3y + 1}{y - 2}.

Swap the letters:

f−1(x)=3x+1x−2,x≠2.f^{-1}(x) = \frac{3x + 1}{x - 2}, \qquad x \neq 2.

5. Show that f(x)=x2f(x) = x^2 has no inverse on the whole real line, and find the inverse of ff on the domain x≥0x \geq 0.

Hint

For the first part, find two different inputs with the same output. For the second, take the positive square root only.

Next step

f(3)=9f(3) = 9 and f(−3)=9f(-3) = 9, so the function is not one-to-one. On x≥0x \geq 0, write y=x2y = x^2 and take the positive root.

Full working

Two different inputs give the same output:

f(3)=32=9,f(−3)=(−3)2=9.f(3) = 3^2 = 9, \qquad f(-3) = (-3)^2 = 9.

So the function is not one-to-one, and a reverse rule would not know whether to return 33 or −3-3. Restrict the domain to x≥0x \geq 0. Then y=x2y = x^2 gives x=yx = \sqrt{y}, and swapping the letters gives

f−1(x)=x,x≥0.f^{-1}(x) = \sqrt{x}, \qquad x \geq 0.

6. The function g(x)=x−1g(x) = \sqrt{x - 1} is defined for x≥1x \geq 1. Find its domain and range, and work out g(10)g(10).

Hint

The expression under the root must not be negative, which fixes the domain. A square root is never negative, which fixes the range.

Next step

The domain is x−1≥0x - 1 \geq 0. For the range, ask what values x−1\sqrt{x - 1} can take as xx runs through the domain.

Full working

The input of the square root must not be negative:

x−1≥0,x≥1.x - 1 \geq 0, \qquad x \geq 1.

So the domain is x≥1x \geq 1. Since a square root is never negative, the range is g(x)≥0g(x) \geq 0. For x=10x = 10:

g(10)=10−1=9=3.g(10) = \sqrt{10 - 1} = \sqrt{9} = 3.

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.