Skip to content
2.8

Understand and use composite functions; inverse functions and their graphs.

Draft — not yet indexed

Composite and inverse functions

Worked answers and methods for 2.8 on Edexcel A-level Maths 9MA0.

Definition

Specification 2.8: understand and use composite functions; inverse functions and their graphs. fg(x)\mathrm{fg}(x) means f(g(x))\mathrm f(\mathrm g(x)), the function g\mathrm g applied first; f−1\mathrm f^{-1} exists only when f\mathrm f is one-to-one, and its graph is the reflection of y=f(x)y=\mathrm f(x) in the line y=xy=x.

Explanation

  • For a composite, substitute the whole of the inner function into the outer one and simplify: gf(x)\mathrm{gf}(x) with g(x)=3ln⁡x\mathrm g(x)=3\ln x and f(x)=ex\mathrm f(x)=e^x is 3ln⁡ex=3x3\ln e^x=3x, and leaving 3ln⁡ex3\ln e^x is not a finished answer.
  • Solving fg(x)=k\mathrm{fg}(x)=k means forming the equation, solving it, then rejecting any solution outside the domain of the inner function, with the reason stated.
  • For an inverse, write y=f(x)y=\mathrm f(x), make xx the subject, then swap the letters and write the answer as f−1(x)=…\mathrm f^{-1}(x)=\ldots; a rational function needs cross-multiplying and collecting the xx-terms on one side.
  • The domain of f−1\mathrm f^{-1} is the range of f\mathrm f and must be stated, found from a sketch, the minimum of a quadratic or the endpoint of the domain.
  • A many-to-one function such as a quadratic has no inverse unless its domain is restricted; a repeated output, g(0)=g(3)\mathrm g(0)=\mathrm g(3), is the standard reason.
A function and its inverse are mirror images in the line y=xy=x, so (a,b)(a,b) becomes (b,a)(b,a).

Worked example

1.

The function f\mathrm f is defined by f(x)=3x+2x−1\mathrm f(x)=\dfrac{3x+2}{x-1}, x∈Rx\in\mathbb R, x≠1x\neq1. Find f−1(x)\mathrm f^{-1}(x) and state its domain.

(4)

(Total for Question 1 is 4 marks)

Working

  1. 1.Let y=3x+2x−1y=\dfrac{3x+2}{x-1} and cross-multiply: y(x−1)=3x+2y(x-1)=3x+2, so xy−y=3x+2xy-y=3x+2.
  2. 2.Collect the xx-terms: xy−3x=y+2xy-3x=y+2, so x(y−3)=y+2x(y-3)=y+2 and x=y+2y−3x=\dfrac{y+2}{y-3}.
  3. 3.Swap the letters: f−1(x)=x+2x−3\mathrm f^{-1}(x)=\dfrac{x+2}{x-3}.
  4. 4.The range of f\mathrm f is all real values except 33, so the domain of f−1\mathrm f^{-1} is x∈Rx\in\mathbb R, x≠3x\neq3.

Answer: f−1(x)=x+2x−3\mathrm f^{-1}(x)=\dfrac{x+2}{x-3}, x∈Rx\in\mathbb R, x≠3x\neq3

Mark scheme

Mark scheme for question 1
QuestionSchemeMarks
1.Cross-multiplies and attempts to collect the xx-terms on one side, eg xy−3x=y+2xy-3x=y+2M1
Fully correct method to make xx the subject, eg x=y+2y−3x=\dfrac{y+2}{y-3}M1
f−1(x)=x+2x−3\mathrm f^{-1}(x)=\dfrac{x+2}{x-3}A1
Domain x≠3x\neq3B1
Notes
A1: In function notation, oe
B1: Must be stated

(4 marks)

Common mistakes

  • Don't evaluate fg(x)fg(x) by applying ff first, even though fg(x)=f(g(x))fg(x)=f(g(x)).
  • Don't use both square-root branches for the inverse of a restricted quadratic instead of choosing the branch fixed by the stated domain.

Mark-scheme wording to use

  • “M1 for cross-multiplying and attempting to collect the x-terms, or the swapped y-terms, on one side. M1 for a fully correct method to isolate the original input. A1 for f^(-1)(x) = (x + 5)/(3 - x), stated in function notation with domain x != 3” — Pearson 9MA0, Specimen Paper 1, Q10(a)
  • “M1 for applying the functions in the correct order. A1 for the simplified result gf(x) = 3x … leaving 3ln(e^x) is not sufficient for the accuracy mark” — Pearson 9MA0, Sample Paper 2, Q4(a)
  • “B1 for explaining that g is many-one or not one-to-one, or giving a valid repeated-value example such as g(0) = g(3) = 0” — Pearson 9MA0, Specimen Paper 1, Q10(e)

What the examiner wants

The domain, every time. The June 2024 Paper 1 report repeats a point from earlier reports that continues to be overlooked: the requirement for the domain to be stated when an inverse function is asked for, and the need to avoid incorrect statements such as “square numbers are always positive” when justifying a range.

Exam tip

To find an inverse, rearrange y=f(x)y=f(x) for xx and state the inverse domain obtained from the original range.

Worked practice

Q1
Tier 1 · Easy

1.

Let f(x)=3x−1f(x)=3x-1 and g(x)=x2+2g(x)=x^2+2. Calculate fg(2)fg(2).

(2)

(Total for Question 1 is 2 marks)

Mark scheme

Mark scheme for question 1
QuestionSchemeMarks
1
  • 1717
2
Notes
Apply gg first: g(2)=22+2=6g(2)=2^2+2=6. Then f(6)=3(6)−1=17f(6)=3(6)-1=17.

(2 marks)

Q2
Tier 2 · Standard

2.

Let f(x)=2x−3f(x)=2x-3 and let g(x)=1x+1g(x)=\dfrac1{x+1}. Find fg(x)fg(x), state its domain and solve fg(x)=5fg(x)=5.

(4)

(Total for Question 2 is 4 marks)

Mark scheme

Mark scheme for question 2
QuestionSchemeMarks
2
  • fg(x)=2x+1−3fg(x)=\dfrac2{x+1}-3
  • Domain: x≠−1x\ne-1
  • x=−34x=-\dfrac34
4
Notes
Applying gg first gives fg(x)=f(g(x))=2(1/(x+1))−3=2/(x+1)−3fg(x)=f(g(x))=2\left(1/(x+1)\right)-3=2/(x+1)-3, with x≠−1x\ne-1. Solving 2/(x+1)−3=52/(x+1)-3=5 gives 2/(x+1)=82/(x+1)=8, so x+1=1/4x+1=1/4 and x=−3/4x=-3/4.

(4 marks)

Q3
Tier 3 · Hard

3.

The function f(x)=(x−3)2+1f(x)=(x-3)^2+1 has domain x≥3x\geq3. Find f−1(x)f^{-1}(x), state its domain, and solve f−1(2x+1)=x+3f^{-1}(2x+1)=x+3.

(6)

(Total for Question 3 is 6 marks)

Mark scheme

Mark scheme for question 3
QuestionSchemeMarks
3
  • f−1(x)=3+x−1f^{-1}(x)=3+\sqrt{x-1} with domain x≥1x\geq1
  • x=0x=0 or x=2x=2
6
Notes
From y=(x−3)2+1y=(x-3)^2+1 and x≥3x\geq3, take the positive root: x=3+y−1x=3+\sqrt{y-1}. Thus f−1(x)=3+x−1f^{-1}(x)=3+\sqrt{x-1}, whose domain is x≥1x\geq1. The equation becomes 3+2x=x+33+\sqrt{2x}=x+3, so 2x=x\sqrt{2x}=x with x≥0x\geq0. Squaring gives x2=2xx^2=2x, hence x=0x=0 or x=2x=2; both satisfy the unsquared equation.

(6 marks)

Q4
Tier 1 · Easy

4.

Given f(x)=5x+4f(x)=5x+4, find f−1(x)f^{-1}(x).

(2)

(Total for Question 4 is 2 marks)

Mark scheme

Mark scheme for question 4
QuestionSchemeMarks
4
  • f−1(x)=x−45f^{-1}(x)=\dfrac{x-4}{5}
2
Notes
Write y=5x+4y=5x+4 and rearrange to x=(y−4)/5x=(y-4)/5. Exchanging the variable labels gives f−1(x)=(x−4)/5f^{-1}(x)=(x-4)/5.

(2 marks)

Q5
Tier 2 · Standard

5.

Let f(x)=4x+1f(x)=4x+1 and g(x)=x+2g(x)=\sqrt{x+2}. Find f−1g(7)f^{-1}g(7). Then find gf−1(x)gf^{-1}(x) and state its domain.

(4)

(Total for Question 5 is 4 marks)

Mark scheme

Mark scheme for question 5
QuestionSchemeMarks
5
  • f−1g(7)=12f^{-1}g(7)=\dfrac12
  • gf−1(x)=12x+7gf^{-1}(x)=\dfrac12\sqrt{x+7} with domain x≥−7x\geq-7
4
Notes
Since f−1(x)=(x−1)/4f^{-1}(x)=(x-1)/4 and g(7)=3g(7)=3, f−1g(7)=f−1(3)=1/2f^{-1}g(7)=f^{-1}(3)=1/2. Also gf−1(x)=g((x−1)/4)=(x−1)/4+2=12x+7gf^{-1}(x)=g((x-1)/4)=\sqrt{(x-1)/4+2}=\frac12\sqrt{x+7}. The square-root input requires x+7≥0x+7\geq0, so the domain is x≥−7x\geq-7.

(4 marks)

Q6
Tier 3 · Hard

6.

Let g(x)=x2g(x)=x^2 and let ff be a linear function. Given that fg(x)=6x2−5fg(x)=6x^2-5, find f(x)f(x). Hence solve fg(x)=gf(x)fg(x)=gf(x).

(5)

(Total for Question 6 is 5 marks)

Mark scheme

Mark scheme for question 6
QuestionSchemeMarks
6
  • f(x)=6x−5f(x)=6x-5
  • x=1x=1
5
Notes
Because fg(x)=f(x2)=6x2−5fg(x)=f(x^2)=6x^2-5, the linear function is f(u)=6u−5f(u)=6u-5, so f(x)=6x−5f(x)=6x-5. Then gf(x)=g(6x−5)=(6x−5)2gf(x)=g(6x-5)=(6x-5)^2. Equating the composites gives 6x2−5=(6x−5)26x^2-5=(6x-5)^2, so 30x2−60x+30=030x^2-60x+30=0, or 30(x−1)2=030(x-1)^2=0. Hence x=1x=1.

(5 marks)

Q7
Tier 2 · Standard

7.

Let f(x)=3x−4f(x)=3x-4 and g(x)=ax+bg(x)=ax+b. Given that fg(x)=xfg(x)=x for every real xx, find aa and bb, and verify that gf(x)=xgf(x)=x.

(4)

(Total for Question 7 is 4 marks)

Mark scheme

Mark scheme for question 7
QuestionSchemeMarks
7
  • a=13a=\dfrac13, b=43b=\dfrac43
  • gf(x)=xgf(x)=x
4
Notes
Since fg(x)=3(ax+b)−4=3ax+3b−4fg(x)=3(ax+b)-4=3ax+3b-4, comparison with xx gives 3a=13a=1 and 3b−4=03b-4=0. Thus a=1/3a=1/3 and b=4/3b=4/3. Then gf(x)=((3x−4)/3)+4/3=xgf(x)=((3x-4)/3)+4/3=x, as required.

(4 marks)

Q8
Tier 3 · Hard

8.

The function f(x)=x+4xf(x)=x+\dfrac4x has domain x≥2x\geq2. Find f−1(x)f^{-1}(x) and state its domain. Hence find the exact value of f−1(133)f^{-1}\left(\dfrac{13}{3}\right).

(6)

(Total for Question 8 is 6 marks)

Mark scheme

Mark scheme for question 8
QuestionSchemeMarks
8
  • f−1(x)=x+x2−162f^{-1}(x)=\dfrac{x+\sqrt{x^2-16}}2 with domain x≥4x\geq4
  • f−1(133)=3f^{-1}\left(\dfrac{13}{3}\right)=3
6
Notes
For x≥2x\geq2, f(x)−4=(x−2)2/x≥0f(x)-4=(x-2)^2/x\geq0, so the range of ff, and hence the domain of its inverse, is [4,∞)[4,\infty). Write y=x+4/xy=x+4/x and rearrange to x2−yx+4=0x^2-yx+4=0. Thus x=(y±y2−16)/2x=(y\pm\sqrt{y^2-16})/2. The two roots of this quadratic multiply to 44, so they are xx and 4/x4/x; since x≥2x\geq2 gives x≥4/xx\geq4/x, the required value is the larger root, so f−1(x)=(x+x2−16)/2f^{-1}(x)=(x+\sqrt{x^2-16})/2. At x=13/3x=13/3, the square root is 5/35/3, giving f−1(13/3)=((13/3)+(5/3))/2=3f^{-1}(13/3)=((13/3)+(5/3))/2=3.

(6 marks)

Q9
Tier 3 · Hard

9.

Let f(x)=x3+x+1f(x)=x^3+x+1. Prove that the graphs of y=f(x)y=f(x) and y=f−1(x)y=f^{-1}(x) have exactly one point of intersection, and find its coordinates.

(6)

(Total for Question 9 is 6 marks)

Mark scheme

Mark scheme for question 9
QuestionSchemeMarks
9
  • The unique point of intersection is (−1,−1)(-1,-1).
6
Notes
For v>uv>u, f(v)−f(u)=(v−u)(v2+uv+u2+1)>0f(v)-f(u)=(v-u)(v^2+uv+u^2+1)>0, because v2+uv+u2=(v+u/2)2+3u2/4≥0v^2+uv+u^2=(v+u/2)^2+3u^2/4\geq0. Thus ff is strictly increasing; its cubic end behaviour also gives range R\mathbb R, so it has an inverse on R\mathbb R. If (a,b)(a,b) lies on both graphs, then f(a)=bf(a)=b and f(b)=af(b)=a. If a<ba<b, strict increase would give b=f(a)<f(b)=ab=f(a)<f(b)=a, a contradiction; the case a>ba>b is similar. Hence a=ba=b. An intersection must therefore satisfy f(a)=af(a)=a, so a3+a+1=aa^3+a+1=a, giving a3=−1a^3=-1 and a=−1a=-1. Substitution gives the unique point (−1,−1)(-1,-1).

(6 marks)

Q10
Tier 3 · Hard

10.

Let f(x)=x−1f(x)=\sqrt{x-1} and g(x)=3x−2g(x)=\dfrac3{x-2}. Find fg(x)fg(x) and gf(x)gf(x), stating the domain of each composite. Hence solve fg(x)=1fg(x)=1.

(6)

(Total for Question 10 is 6 marks)

Mark scheme

Mark scheme for question 10
QuestionSchemeMarks
10
  • fg(x)=5−xx−2fg(x)=\sqrt{\dfrac{5-x}{x-2}} with domain 2<x≤52<x\leq5
  • gf(x)=3x−1−2gf(x)=\dfrac3{\sqrt{x-1}-2} with domain x≥1x\geq1, x≠5x\ne5
  • x=72x=\dfrac72
6
Notes
Applying gg first gives fg(x)=3/(x−2)−1=(5−x)/(x−2)fg(x)=\sqrt{3/(x-2)-1}=\sqrt{(5-x)/(x-2)}. Its radicand is non-negative and x≠2x\ne2, giving 2<x≤52<x\leq5. Applying ff first gives gf(x)=3/(x−1−2)gf(x)=3/(\sqrt{x-1}-2). This requires x≥1x\geq1 and excludes x−1=2\sqrt{x-1}=2, so x≠5x\ne5. Finally, fg(x)=1fg(x)=1 gives (5−x)/(x−2)=1(5-x)/(x-2)=1, hence 5−x=x−25-x=x-2 and x=7/2x=7/2, which lies in the domain.

(6 marks)

Verified exam appearances

We have not yet indexed a verified real-paper appearance for 2.8. Browse the Edexcel A-level Maths 9MA0 past papers directly.

Other points in 2 Algebra and functions

Want help turning this into marks?

Bring 2.8 or any tricky specification point, and we can work through the method and exam wording together.