All revision notes topics

Composite and inverse functionsEdexcel A-Level Maths: Revision notes

Section 1

Functions, domain and range

A function maps each input in its domain to exactly one output; the set of outputs is the range. We write f:x↦3x−2f:x\mapsto3x-2 or f(x)=3x−2f(x)=3x-2. A one-one function gives each output from exactly one input (e.g. f(x)=x3f(x)=x^3). A many-one function gives some outputs from more than one input (e.g. f(x)=x2f(x)=x^2, x∈Rx\in\mathbb{R}, where f(2)=f(−2)f(2)=f(-2)). A one-many relation such as y2=xy^2=x is not a function. To find a range, complete the square or sketch. For f(x)=x2−4x+7f(x)=x^2-4x+7, x≥2x\geq2: f(x)=(x−2)2+3f(x)=(x-2)^2+3, with minimum 33 at x=2x=2, so the range is f(x)≥3f(x)\geq3.

Key termsfunctiondomainrangeone-onemany-one
Common mistake

Stating the range from the equation alone. The range depends on the domain given, so x2x^2 has range y≥0y\geq0 for x∈Rx\in\mathbb{R} but y≥4y\geq4 for x≥2x\geq2.

Section 2

Composite functions

fg(x)fg(x) means f(g(x))f(g(x)): do gg first, then ff. With f(x)=3x−2f(x)=3x-2 and g(x)=x2+1g(x)=x^2+1: fg(x)=3(x2+1)−2=3x2+1,gf(x)=(3x−2)2+1=9x2−12x+5.fg(x)=3(x^2+1)-2=3x^2+1,\qquad gf(x)=(3x-2)^2+1=9x^2-12x+5. So fg≠gffg\neq gf in general. fgfg is only defined where the range of gg lies inside the domain of ff. For f(x)=xf(x)=\sqrt{x} (x≥0x\geq0) and g(x)=x−4g(x)=x-4, fg(x)=x−4fg(x)=\sqrt{x-4} needs x≥4x\geq4. Repeated application is written f2(x)=f(f(x))f^2(x)=f(f(x)).

Key termscomposite function
Common mistake

Reading fgfg left to right. The function nearest to xx acts first.

Exam tip

Substitute the whole inner expression in brackets, e.g. (3x−2)2(3x-2)^2, to avoid dropping the cross term.

Section 3

Inverse functions

The inverse function f−1f^{-1} reverses ff, and exists only if ff is one-one (restrict the domain if needed). Then f−1f(x)=ff−1(x)=x.f^{-1}f(x)=ff^{-1}(x)=x. The domain of f−1f^{-1} is the range of ff, and the range of f−1f^{-1} is the domain of ff. Method: write y=f(x)y=f(x), make xx the subject, then replace yy by xx. Example: f(x)=x2−4x+7f(x)=x^2-4x+7, x≥2x\geq2. (x−2)2=y−3(x-2)^2=y-3, and as x≥2x\geq2 we take the positive root: f−1(x)=2+x−3f^{-1}(x)=2+\sqrt{x-3}, domain x≥3x\geq3. Example: h(x)=2x+1x−3h(x)=\frac{2x+1}{x-3}. y(x−3)=2x+1⇒x(y−2)=3y+1y(x-3)=2x+1\Rightarrow x(y-2)=3y+1, so h−1(x)=3x+1x−2h^{-1}(x)=\frac{3x+1}{x-2}, x≠2x\neq2.

Key termsinverse functionrestricted domain
Common mistake

Leaving ± \pm\sqrt{\ } in the inverse. The restricted domain tells you which root to choose.

Exam tip

For f−1(a)f^{-1}(a), solve f(x)=af(x)=a instead of finding the whole inverse.

Section 4

Graphs of inverse functions

The graph of y=f−1(x)y=f^{-1}(x) is the reflection of y=f(x)y=f(x) in the line y=xy=x, because inputs and outputs swap: if (a,b)(a,b) is on y=f(x)y=f(x) then (b,a)(b,a) is on y=f−1(x)y=f^{-1}(x). Where an increasing function meets its inverse, the meeting point lies on y=xy=x, so f(x)=f−1(x)f(x)=f^{-1}(x) can then be solved as f(x)=xf(x)=x. For f(x)=x2−4x+7f(x)=x^2-4x+7, x≥2x\geq2, the point (2,3)(2,3) gives (3,2)(3,2) on f−1f^{-1}. A vertical asymptote of ff becomes a horizontal asymptote of f−1f^{-1}: for hh, x=3x=3 becomes y=3y=3 for h−1h^{-1}, and the horizontal asymptote y=2y=2 becomes the vertical asymptote x=2x=2.

Key termsreflection in y = x

Section 5

Combining ideas in exam questions

  • State the domain/range of a composite: check the inner function's range fits the outer function's domain. For f(x)=e2x−3f(x)=e^{2x}-3 and g(x)=ln⁡(x+4)g(x)=\ln(x+4), the range of ff is f(x)>−3f(x)>-3 and the domain of gg is x>−4x>-4, so gfgf is defined for all real xx.
  • Simplify with inverse pairs: eln⁡u=ue^{\ln u}=u, so fg(x)=e2ln⁡(x+4)−3=(x+4)2−3=x2+8x+13fg(x)=e^{2\ln(x+4)}-3=(x+4)^2-3=x^2+8x+13.
  • Solve equations: fg(x)=49fg(x)=49 with fg(x)=3x2+1fg(x)=3x^2+1 gives x=±4x=\pm4.
  • Always give the domain of an inverse. It is the range of the original function.
Exam tip

Write the domain and range next to every function you define; most lost marks are for omitting them.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Composite and inverse functions

  1. The functions ff and gg are defined by f(x)=3x−2f(x)=3x-2, x∈Rx\in\mathbb{R}, and g(x)=x2+1g(x)=x^2+1, x∈Rx\in\mathbb{R}.
    Solve the equation fg(x)=49fg(x)=49.2 marks
  2. The function hh is defined by h(x)=2x+1x−3h(x)=\frac{2x+1}{x-3}, x∈Rx\in\mathbb{R}, x≠3x\neq3.
    Find the value of h−1(5)h^{-1}(5).2 marks
  3. The function ff is defined by f(x)=x2−4x+7f(x)=x^2-4x+7, x≥2x\geq2.
    Express f(x)f(x) in the form (x−a)2+b(x-a)^2+b and hence state the range of ff.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).