Composite Functions
Question 12 marks
f(x)=2x+1 and g(x)=x-4. Find fg(6), meaning f(g(6)).
Hint
Apply the function nearest the input first.
Worked solution
f(x)=2x+1 and g(x)=x-4. Find fg(6), meaning f(g(6)).
- First find g(6)=6-4=2.
- The flow makes the order clear: apply g to 6 first, then apply f to the result.
The input passes through g first (subtract 4), then f (multiply by 2 and add 1). - Then f(2)=2\times2+1=5, so fg(6)=5.
Question 22 marks
f(x)=x^2 and g(x)=x+3. Find gf(2).
Hint
For this order, apply the square function first.
Worked solution
f(x)=x^2 and g(x)=x+3. Find gf(2).
- First f(2)=4.
- Then g(4)=4+3=7, so gf(2)=7.
Question 32 marks
f(x)=5-x and g(x)=3x. Find gf(-2).
Hint
Work from the input towards the outside function.
Worked solution
f(x)=5-x and g(x)=3x. Find gf(-2).
- f(-2)=5-(-2)=7.
- Then g(7)=21, so gf(-2)=21.
Question 42 marks
f(x)=\frac{6}{x} and g(x)=x-2. Find fg(5).
Hint
Use the output of the second function as the denominator in the first.
Worked solution
f(x)=\frac{6}{x} and g(x)=x-2. Find fg(5).
- g(5)=3.
- Then f(3)=\frac{6}{3}=2.
Question 52 marks
f(x)=2x-3 and g(x)=x^2. Find a simplified expression for fg(x).
Hint
Replace the input in the outside rule by the whole inside rule.
Worked solution
f(x)=2x-3 and g(x)=x^2. Find a simplified expression for fg(x).
- fg(x)=f(x^2).
- Replacing the input in 2x-3 gives 2x^2-3.
Question 62 marks
f(x)=x^2-1 and g(x)=x+4. Find a simplified expression for gf(x).
Hint
The outside function adds to the output of the inside function.
Worked solution
f(x)=x^2-1 and g(x)=x+4. Find a simplified expression for gf(x).
- gf(x)=g(x^2-1).
- This is x^2-1+4, which simplifies to x^2+3.
Question 72 marks
f(x)=3x+2 and g(x)=2x-5. Find a simplified expression for fg(x).
Hint
Substitute the complete linear expression into the outside function.
Worked solution
f(x)=3x+2 and g(x)=2x-5. Find a simplified expression for fg(x).
- fg(x)=3(2x-5)+2.
- Expand and collect to get 6x-13.
Question 82 marks
f(x)=x^2 and g(x)=2x+1. Find an expanded and simplified expression for fg(x).
Hint
Square the whole inside expression.
Worked solution
f(x)=x^2 and g(x)=2x+1. Find an expanded and simplified expression for fg(x).
- fg(x)=(2x+1)^2.
- Expanding the squared bracket gives 4x^2+4x+1.
Question 92 marks
f(x)=\frac{x}{2} and g(x)=\frac{6}{x}, where x\ne0. Find fg(x) as a single simplified fraction.
Hint
Applying the outside function divides the inside output by two.
Worked solution
f(x)=\frac{x}{2} and g(x)=\frac{6}{x}, where x\ne0. Find fg(x) as a single simplified fraction.
- fg(x) means put g(x) into f: fg(x)=f\left(\frac{6}{x}\right).
- f halves its input: \frac{6}{x}\div2.
- \frac{6}{x}\div2=\frac{6}{2x}=\frac{3}{x}.
Question 102 marks
f(x)=2x-5. Find a simplified expression for ff(x).
Hint
ff(x) means f(f(x)): put the whole of 2x-5 into f.
Worked solution
f(x)=2x-5. Find a simplified expression for ff(x).
- ff(x) means apply f twice: ff(x)=f(2x-5).
- Replace x in 2x-5 by (2x-5): 2(2x-5)-5.
- Expand and collect: 4x-10-5=4x-15.
Question 113 marks
f(x)=2x+1 and g(x)=x+4. Which statement is true for every value of x?
Hint
Find both composite rules before comparing them.
Worked solution
f(x)=2x+1 and g(x)=x+4. Which statement is true for every value of x?
- fg(x)=gf(x)
- fg(x)=gf(x)-4
- fg(x)=gf(x)+4
- fg(x)=2gf(x)
- fg(x) means apply g first: fg(x)=f(x+4)=2(x+4)+1=2x+9.
- gf(x) means apply f first: gf(x)=g(2x+1)=(2x+1)+4=2x+5.
- The two flows show why the order matters: fg(x)=2x+9, while gf(x)=2x+5.
The same two operations produce different expressions when their order is reversed. - 2x+9 is always 4 more than 2x+5, so fg(x)=gf(x)+4.
- The first option is wrong: the order matters, and here fg(x) and gf(x) are different.
Question 123 marks
f(x)=3x+1 and g(x)=x-2. Solve fg(x)=16.
Hint
Write the composite as an ordinary equation in the input.
Worked solution
f(x)=3x+1 and g(x)=x-2. Solve fg(x)=16.
- fg(x)=3(x-2)+1.
- Solve 3x-5=16, giving 3x=21.
- Therefore x=7.
Question 133 marks
f(x)=x^2 and g(x)=x+2. Solve gf(x)=11.
Hint
Form the composite rule, then remember both square roots.
Worked solution
f(x)=x^2 and g(x)=x+2. Solve gf(x)=11.
- gf(x)=x^2+2.
- The equation gives x^2=9.
- Therefore x=-3 or x=3.
Question 142 marks
f(x)=\frac{1}{x-3} and g(x)=2x+1. There is one input for which fg(x) is not defined. Find that input.
Hint
Find the input that would make the composite denominator zero.
Worked solution
f(x)=\frac{1}{x-3} and g(x)=2x+1. There is one input for which fg(x) is not defined. Find that input.
- fg(x)=\frac{1}{2x+1-3}.
- The input to f is g(x)=2x+1. The denominator of f(u) is zero when that input is 3.
The composite is undefined when g(x) makes the denominator of f equal to zero. - Its denominator is zero when 2x-2=0.
- The excluded input is x=1.
Question 153 marks
f(x)=x^2+1 and g(x)=3-x. Find an expanded and simplified expression for fg(x).
Hint
The whole inside expression is squared before the final constant is added.
Worked solution
f(x)=x^2+1 and g(x)=3-x. Find an expanded and simplified expression for fg(x).
- fg(x)=(3-x)^2+1.
- Expanding gives 9-6x+x^2+1.
- Collect terms: x^2-6x+10.
Question 16Challenge4 marks
f(x)=2x+1 and g(x)=x^2. Solve fg(x)=gf(x).
Hint
Form both composite expressions and put all terms on one side.
Worked solution
f(x)=2x+1 and g(x)=x^2. Solve fg(x)=gf(x).
- fg(x) means apply g first: fg(x)=f(x^2)=2x^2+1.
- gf(x) means apply f first: gf(x)=g(2x+1)=(2x+1)^2=4x^2+4x+1.
- Set them equal: 2x^2+1=4x^2+4x+1.
- Rearrange: 0=2x^2+4x, and factorise: 2x(x+2)=0.
- So x=0 or x=-2.
Question 17Challenge3 marks
f(x)=\frac{4}{x+1} and g(x)=\frac{x-3}{2}. Find fg(x) as a single simplified fraction, for x\ne1.
Hint
Combine the terms in the inner denominator before simplifying the outer fraction.
Worked solution
f(x)=\frac{4}{x+1} and g(x)=\frac{x-3}{2}. Find fg(x) as a single simplified fraction, for x\ne1.
- fg(x) means put g(x) into f: fg(x)=\frac{4}{\frac{x-3}{2}+1}.
- Simplify the denominator: \frac{x-3}{2}+\frac{2}{2}=\frac{x-1}{2}.
- Dividing by \frac{x-1}{2} is the same as multiplying by \frac{2}{x-1}: 4\times\frac{2}{x-1}=\frac{8}{x-1}.
Question 18Challenge3 marks
f(x)=\frac{12}{x} and g(x)=x+3. The function h is such that h(x)=fg(x), where x\ne-3. Find h^{-1}(x).
Hint
Write h(x) as a single expression first, then make x the subject of y=h(x).
Worked solution
f(x)=\frac{12}{x} and g(x)=x+3. The function h is such that h(x)=fg(x), where x\ne-3. Find h^{-1}(x).
- fg(x) means apply g first, then f: h(x)=f(x+3)=\frac{12}{x+3}.
- To find the inverse, write y=\frac{12}{x+3} and make x the subject.
- Multiply both sides by x+3: y(x+3)=12, so x+3=\frac{12}{y}.
- Subtract 3: x=\frac{12}{y}-3.
- Write the inverse in terms of x: h^{-1}(x)=\frac{12}{x}-3, which can also be written as \frac{12-3x}{x}.
Question 19Challenge4 marks
f(x)=x^2-2 and g(x)=2x+3. Solve fg(x)=23.
Hint
Isolate the squared bracket, then use both signs of the square root.
Worked solution
f(x)=x^2-2 and g(x)=2x+3. Solve fg(x)=23.
- fg(x)=(2x+3)^2-2.
- The equation gives (2x+3)^2=25.
- So 2x+3=5 or 2x+3=-5.
- Therefore x=1 or x=-4.
Question 20Challenge3 marks
f(x)=3x-2 and g(x)=ax+b. Given that gf(x)=6x+5 for all x,
find a.
2 marks
find b.
1 mark
Hint
Expand the composite rule and compare the coefficient and constant with the stated result.
Worked solution
f(x)=3x-2 and g(x)=ax+b. Given that gf(x)=6x+5 for all x,
Part (a)
find a.
- gf(x)=a(3x-2)+b=3ax-2a+b.
- Compare coefficients: 3a=6, so a=2.
Part (b)
find b.
- The constants satisfy -2a+b=5.
- Using the value of a gives -4+b=5, so b=9.