Composite and Inverse Functions
Question 11 mark
\mathrm{f}(x)=x+8 \mathrm{g}(x)=5x
Write down an expression for \mathrm{fg}(x)
Hint
\mathrm{fg}(x) means apply g first, then apply f to the result.
Worked solution
- Do g first: \mathrm{g}(x)=5x
- Then f adds 8: \mathrm{f}(5x)=5x+8
- (5(x+8)=5x+40 is \mathrm{gf}(x), the wrong order.)
- Answer: \mathrm{fg}(x)=5x+8
Question 21 mark
\mathrm{f}(x)=2x-5 and \mathrm{g}(x)=x^2+1
Which expression is \mathrm{gf}(x)?
Select the correct answer.
Hint
\mathrm{gf}(x) means apply f first, then put the whole of \mathrm{f}(x) into g.
Worked solution
- \mathrm{gf}(x)=\mathrm{g}(2x-5), so do f first.
- \mathrm{g}(2x-5)=(2x-5)^2+1
- (2x-5)^2=4x^2-20x+25
- \mathrm{gf}(x)=4x^2-20x+26
- (2x^2-3 is \mathrm{fg}(x), the wrong order; 4x^2+26 and 4x^2-10x+26 come from squaring the bracket wrongly.)
Question 32 marks
\mathrm{f}(x)=x^2-6 \mathrm{g}(x)=10-4x
Work out the value of \mathrm{gf}(-3)
Hint
Work out \mathrm{f}(-3) first, then put your answer into g.
Worked solution
- \mathrm{gf}(-3) means do f first
- \mathrm{f}(-3)=(-3)^2-6=9-6=3
- \mathrm{g}(3)=10-4\times3=10-12
- Answer: -2
Question 42 marks
\mathrm{f}(x)=\frac{x+7}{3}
Work out the value of \mathrm{f}^{-1}(5)
Hint
\mathrm{f}^{-1}(5) is the input that f turns into 5, so solve \mathrm{f}(x)=5.
Worked solution
- \mathrm{f}^{-1}(5) is the value of x for which \mathrm{f}(x)=5
- \dfrac{x+7}{3}=5
- Multiply by 3: x+7=15
- Answer: 8
Question 52 marks
\mathrm{f}(x)=4(2-x)
Work out \mathrm{f}^{-1}(x)
Hint
Write y=4(2-x) and make x the subject, taking care with the minus sign in front of x.
Worked solution
- Let y=4(2-x)
- Divide by 4: \dfrac{y}{4}=2-x
- Add x and subtract \dfrac{y}{4}: x=2-\dfrac{y}{4}
- Write it in terms of x: \mathrm{f}^{-1}(x)=2-\dfrac{x}{4}
- Answer: \mathrm{f}^{-1}(x)=\dfrac{8-x}{4}
Question 62 marks
\mathrm{f}(x)=x^2-4x \mathrm{g}(x)=x+2
Work out \mathrm{fg}(x)
Give your answer in its simplest form.
Hint
Replace every x in \mathrm{f}(x) with (x+2), then expand and simplify.
Worked solution
- \mathrm{fg}(x)=\mathrm{f}(x+2)
- =(x+2)^2-4(x+2)
- =x^2+4x+4-4x-8
- Answer: \mathrm{fg}(x)=x^2-4
Question 72 marks
\mathrm{f}(x)=3x^2-5
Work out an expression for \mathrm{f}(2x)-2\mathrm{f}(x)
Simplify your answer fully.
Hint
For \mathrm{f}(2x), replace x with (2x) in brackets, so the 2 is squared as well.
Worked solution
- \mathrm{f}(2x)=3(2x)^2-5=12x^2-5
- 2\mathrm{f}(x)=2(3x^2-5)=6x^2-10
- 12x^2-5-(6x^2-10)=12x^2-5-6x^2+10
- Answer: 6x^2+5
Question 82 marks
\mathrm{f}(x)=2x-1 \mathrm{gf}(x)=6x+4
g is a linear function.
Work out \mathrm{g}(x)
Hint
Write \mathrm{g}(x)=ax+b, so that \mathrm{gf}(x)=a(2x-1)+b, and compare this with 6x+4.
Worked solution
- Let \mathrm{g}(x)=ax+b
- \mathrm{gf}(x)=a(2x-1)+b=2ax-a+b
- Compare the x terms with 6x+4: 2a=6, so a=3
- Compare the numbers: -3+b=4, so b=7
- Answer: \mathrm{g}(x)=3x+7
Question 92 marks
\mathrm{f}(x)=5+\sqrt{2x}\qquad x\geqslant0
Work out \mathrm{f}^{-1}(x)
Hint
Write y=5+\sqrt{2x}, get the square root on its own, then square both sides.
Worked solution
- Let y=5+\sqrt{2x}
- Subtract 5: y-5=\sqrt{2x}
- Square both sides: (y-5)^2=2x
- Divide by 2: x=\dfrac{(y-5)^2}{2}
- Answer: \mathrm{f}^{-1}(x)=\dfrac{(x-5)^2}{2}
Question 102 marks
\mathrm{f}(x)=2x^2+3\qquad x\geqslant1
Which of these is the domain of \mathrm{f}^{-1}?
Select the correct answer.
Hint
The inputs of \mathrm{f}^{-1} are the outputs of f, so work out the smallest value of \mathrm{f}(x) when x\geqslant1.
Worked solution
- The domain of \mathrm{f}^{-1} is the range of f
- For x\geqslant1, 2x^2+3 gets bigger as x gets bigger
- Smallest value: \mathrm{f}(1)=2+3=5
- So the range of f is \mathrm{f}(x)\geqslant5
- (x\geqslant1 is the domain of f, not of \mathrm{f}^{-1}; x\geqslant3 ignores the restriction x\geqslant1.)
- Answer: x\geqslant5
Question 112 marks
\mathrm{f}(x)=\frac{4x+3}{5x-4}\qquad x\neq\frac{4}{5}
Which expression is \mathrm{f}^{-1}(x)?
Select the correct answer.
Hint
Write y=\dfrac{4x+3}{5x-4}, multiply both sides by (5x-4) and collect the x terms on one side.
Worked solution
- Let y=\dfrac{4x+3}{5x-4}
- Multiply by (5x-4): 5xy-4y=4x+3
- Collect the x terms: 5xy-4x=4y+3
- Factorise: x(5y-4)=4y+3
- Divide: x=\dfrac{4y+3}{5y-4}
- So \mathrm{f}^{-1}(x)=\dfrac{4x+3}{5x-4}, which is the same as \mathrm{f}(x)
- (\dfrac{5x-4}{4x+3} is \dfrac{1}{\mathrm{f}(x)}, which is not the inverse.)
- Answer: \dfrac{4x+3}{5x-4}
Question 123 marks
\mathrm{f}(x)=5x-2 \mathrm{g}(x)=\sqrt{x+6}
\mathrm{gf}(a)=7
Work out the value of a.
Hint
Write \mathrm{gf}(a) in terms of a, set it equal to 7 and square both sides.
Worked solution
- \mathrm{gf}(a)=\mathrm{g}(5a-2)=\sqrt{5a-2+6}
- =\sqrt{5a+4}
- \sqrt{5a+4}=7, so 5a+4=49
- 5a=45
- Answer: a=9
Question 133 marks
\mathrm{f}(x)=\dfrac{3x}{x+2} x\neq -2
Work out \mathrm{f}^{-1}(x)
Hint
Write y=\dfrac{3x}{x+2}, multiply both sides by (x+2), then collect the x terms on one side and factorise.
Worked solution
- Let y=\dfrac{3x}{x+2}
- Multiply by (x+2): \;y(x+2)=3x
- Expand: \;xy+2y=3x
- Collect the x terms: \;2y=3x-xy
- Factorise: \;2y=x(3-y)
- Divide: \;x=\dfrac{2y}{3-y}
- Swap back to x: \;\mathrm{f}^{-1}(x)=\dfrac{2x}{3-x}
Question 143 marks
\mathrm{f}(x)=x^2+3x \mathrm{g}(x)=x-2
Solve \;\mathrm{fg}(x)=\mathrm{g}(x)
Hint
Work out \mathrm{fg}(x) first, then set it equal to x-2 and rearrange into a quadratic equal to zero.
Worked solution
- \mathrm{fg}(x)=(x-2)^2+3(x-2)
- =x^2-4x+4+3x-6=x^2-x-2
- Set equal: x^2-x-2=x-2
- x^2-2x=0
- Factorise: x(x-2)=0
- (Don't divide by x: that loses the solution x=0.)
- Answer: x=0 or x=2
Question 153 marks
\mathrm{f}(x)=x^2+4x-1\qquad x\leqslant-2
Work out \mathrm{f}^{-1}(x)
Hint
Complete the square first, and use x\leqslant-2 to decide which square root to take.
Worked solution
- Complete the square: x^2+4x-1=(x+2)^2-5
- Let y=(x+2)^2-5, so (x+2)^2=y+5
- x+2=\pm\sqrt{y+5}
- x\leqslant-2 means x+2\leqslant0, so take the negative root
- x=-2-\sqrt{y+5}
- Answer: \mathrm{f}^{-1}(x)=-2-\sqrt{x+5}
Question 16Challenge5 marks
\mathrm{f}(x)=3x+2
g is a function such that \mathrm{fg}(x)=6x^2-4
Work out \mathrm{g}(x)
2 marks
Solve \;\mathrm{gf}(x)=\mathrm{g}(x)
Give any answer that is not an integer as a fraction.
3 marks
Hint
\mathrm{fg}(x) means f applied to \mathrm{g}(x), so write \mathrm{f}(\mathrm{g}(x)) in terms of \mathrm{g}(x) and compare it with 6x^2-4. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \mathrm{fg}(x)=\mathrm{f}(\mathrm{g}(x))=3\mathrm{g}(x)+2
- So 3\mathrm{g}(x)+2=6x^2-4
- 3\mathrm{g}(x)=6x^2-6
- Answer: \mathrm{g}(x)=2x^2-2
Part (b)
- \mathrm{gf}(x)=2(3x+2)^2-2
- =2(9x^2+12x+4)-2=18x^2+24x+6
- Set equal: 18x^2+24x+6=2x^2-2
- 16x^2+24x+8=0
- Divide by 8: 2x^2+3x+1=0
- Factorise: (2x+1)(x+1)=0
- Answer: x=-\dfrac12 or x=-1
Question 17Challenge5 marks
\mathrm{f}(x)=\frac{6}{x+1}\qquad x\neq-1
Work out \mathrm{ff}(x)
Give your answer as a single fraction in its simplest form.
3 marks
Solve \;\mathrm{ff}(x)=x
2 marks
Hint
Put \dfrac{6}{x+1} in place of x in f, then write the bottom of the big fraction as a single fraction. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \mathrm{ff}(x)=\mathrm{f}\left(\dfrac{6}{x+1}\right)=\dfrac{6}{\frac{6}{x+1}+1}
- Bottom: \dfrac{6}{x+1}+1=\dfrac{6+x+1}{x+1}=\dfrac{x+7}{x+1}
- \mathrm{ff}(x)=6\div\dfrac{x+7}{x+1}=\dfrac{6(x+1)}{x+7}
- Answer: \mathrm{ff}(x)=\dfrac{6x+6}{x+7}
Part (b)
- \dfrac{6x+6}{x+7}=x
- Multiply by (x+7): 6x+6=x^2+7x
- x^2+x-6=0
- Factorise: (x+3)(x-2)=0
- Answer: x=-3 or x=2
Question 18Challenge5 marks
\mathrm{f}(x)=3x+1 \mathrm{g}(x)=(x-2)^2
Work out \mathrm{fg}(x)
Give your answer in the form ax^2+bx+c
2 marks
Solve \;\mathrm{fg}(x)>\mathrm{gf}(x)
3 marks
Hint
Work out \mathrm{gf}(x) too, collect all the terms on one side of the inequality and factorise. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \mathrm{fg}(x)=\mathrm{f}((x-2)^2)=3(x-2)^2+1
- (x-2)^2=x^2-4x+4
- 3x^2-12x+12+1
- Answer: \mathrm{fg}(x)=3x^2-12x+13
Part (b)
- \mathrm{gf}(x)=\mathrm{g}(3x+1)=(3x-1)^2=9x^2-6x+1
- 3x^2-12x+13>9x^2-6x+1
- 0>6x^2+6x-12
- Divide by 6: x^2+x-2<0
- Factorise: (x+2)(x-1)<0
- The quadratic is negative between its roots -2 and 1
- Answer: -2<x<1
Question 19Challenge6 marks
\mathrm{f}(x)=2x+5 \mathrm{g}(x)=x^2-x
Work out \mathrm{gf}(x)
Give your answer in the form ax^2+bx+c
2 marks
Write \;\mathrm{gf}(x)-4\mathrm{f}^{-1}(x)\; in the form p(x+q)^2+r, where p, q and r are integers.
4 marks
Hint
Find \mathrm{f}^{-1}(x) and multiply it by 4 before you subtract, then take out the factor 4 and complete the square. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \mathrm{gf}(x)=\mathrm{g}(2x+5)=(2x+5)^2-(2x+5)
- (2x+5)^2=4x^2+20x+25
- 4x^2+20x+25-2x-5
- Answer: \mathrm{gf}(x)=4x^2+18x+20
Part (b)
- y=2x+5 gives x=\dfrac{y-5}{2}, so \mathrm{f}^{-1}(x)=\dfrac{x-5}{2}
- 4\mathrm{f}^{-1}(x)=2(x-5)=2x-10
- \mathrm{gf}(x)-4\mathrm{f}^{-1}(x)=4x^2+18x+20-(2x-10)
- =4x^2+16x+30
- =4(x^2+4x)+30
- =4\left((x+2)^2-4\right)+30
- =4(x+2)^2-16+30
- Answer: 4(x+2)^2+14
Question 20Challenge6 marks
\mathrm{f}(x)=2x+k, where k is a constant.
\mathrm{g}(x)=x^2+4
\mathrm{f}^{-1}(15)=4
Work out the value of k.
2 marks
Solve \;\mathrm{fg}(x)=\mathrm{gf}(x)
Give your answers to 2 decimal places.
4 marks
Hint
\mathrm{f}^{-1}(15)=4 tells you that \mathrm{f}(4)=15. For (b), do g first in \mathrm{fg}(x) and f first in \mathrm{gf}(x), and expand (2x+7)^2 carefully.
Worked solution
Part (a)
- \mathrm{f}^{-1}(15)=4 means \mathrm{f}(4)=15
- 2(4)+k=15
- 8+k=15
- k=7
Part (b)
- With k=7: \;\mathrm{f}(x)=2x+7
- \mathrm{fg}(x)=2(x^2+4)+7=2x^2+15
- \mathrm{gf}(x)=(2x+7)^2+4=4x^2+28x+53
- Set equal: \;2x^2+15=4x^2+28x+53
- Rearrange: \;2x^2+28x+38=0, so x^2+14x+19=0
- Quadratic formula: \;x=\dfrac{-14\pm\sqrt{14^2-4(1)(19)}}{2}=\dfrac{-14\pm\sqrt{120}}{2}
- x=-1.52 or x=-12.48 (2 d.p.)