All revision notes topics

2.7 Composite and inverse functionsIB Maths: Applications and Interpretation HL: Revision notes

Section 1

Composite functions

A composite function applies one function after another. (f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x)) means: apply gg first, then ff to the result. Example: f(x)=2x+3f(x)=2x+3 and g(x)=x2g(x)=x^2. Then (f∘g)(x)=f(x2)=2x2+3(f\circ g)(x)=f(x^2)=2x^2+3, while (g∘f)(x)=(2x+3)2(g\circ f)(x)=(2x+3)^2. In general f∘g≠g∘ff\circ g\neq g\circ f, so the order matters. The output of gg must lie in the domain of ff. To solve (f∘g)(x)=k(f\circ g)(x)=k, write out the composite and solve: 2x2+3=112x^2+3=11 gives x=±2x=\pm2.

Key termscomposite function
Common mistake

Applying the functions in the wrong order. In (f∘g)(x)(f\circ g)(x) the inner function gg acts first.

Section 2

Composite functions in context

In a model, each function is one step of a process, and the composite links the start to the end. If a taxi fare in EUR is f(d)=3+1.2df(d)=3+1.2d and conversion to AED is g(x)=4xg(x)=4x, then the fare in AED is (g∘f)(d)=4(3+1.2d)=12+4.8d(g\circ f)(d)=4(3+1.2d)=12+4.8d. Check the order by asking what goes into the first function. Here the distance dd goes into ff, so ff is the inner function. Use your GDC to evaluate a composite at a value, for example (R∘V)(6)(R\circ V)(6), and interpret the result with units.

Key termsinner function
Exam tip

Name what each function takes in and gives out (e.g. distance to EUR, EUR to AED) so the order of the composite is clear.

Section 3

Inverse functions

The inverse function f−1f^{-1} reverses ff: if f(a)=bf(a)=b then f−1(b)=af^{-1}(b)=a. It exists only if ff is one-to-one (each output comes from exactly one input). Then (f∘f−1)(x)=(f−1∘f)(x)=x.(f\circ f^{-1})(x)=(f^{-1}\circ f)(x)=x. To find f−1f^{-1}: write y=f(x)y=f(x), rearrange to make xx the subject, then replace yy by xx. Example: f(x)=2x+3f(x)=2x+3 gives x=y−32x=\frac{y-3}{2}, so f−1(x)=x−32f^{-1}(x)=\frac{x-3}{2}. The domain of f−1f^{-1} is the range of ff, and the range of f−1f^{-1} is the domain of ff. Notation: f−1(x)f^{-1}(x) is not 1f(x)\frac{1}{f(x)}.

Key termsinverse functionone-to-one
Common mistake

Writing f−1(x)=1f(x)f^{-1}(x)=\frac{1}{f(x)}. The −1-1 is not a power here.

Section 4

Domain restriction

A many-to-one function has no inverse, but restricting its domain can fix this. Example: f(x)=(x−3)2−2f(x)=(x-3)^2-2 has f(2)=f(4)=−1f(2)=f(4)=-1, so it has no inverse on R\mathbb{R}. Restrict to x≥3x\geq3 (or to x≤3x\leq3) and it is one-to-one. For x≥3x\geq3: (x−3)2=y+2(x-3)^2=y+2 and x−3≥0x-3\geq0, so f−1(x)=3+x+2f^{-1}(x)=3+\sqrt{x+2}, with domain x≥−2x\geq-2. For x≤3x\leq3 you take the negative root, f−1(x)=3−x+2f^{-1}(x)=3-\sqrt{x+2}. The chosen domain of ff decides which root to use.

Key termsdomain restriction
Common mistake

Choosing the wrong root. Check it against the restricted domain: for x≥3x\geq3 the inverse must output values ≥3\geq3.

Section 5

Inverse functions in context

An inverse answers the reverse question. If f(d)=3+1.2df(d)=3+1.2d gives a fare from a distance, f−1(x)=x−31.2f^{-1}(x)=\frac{x-3}{1.2} gives the distance for a fare. If V(d)=40001+19e−0.5dV(d)=\frac{4000}{1+19e^{-0.5d}} gives visitors after dd days, then solving for dd gives V−1(v)=2ln⁡19v4000−vV^{-1}(v)=2\ln\frac{19v}{4000-v}, the time needed to reach vv visitors; V−1(3000)=8.09V^{-1}(3000)=8.09 days. Rearrange step by step, and use logarithms to undo an exponential. For a single value you may instead solve V(d)=3000V(d)=3000 on your GDC. State the units in the answer.

Exam tip

Check an inverse by testing a value: f(f−1(x))f(f^{-1}(x)) should return xx.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on 2.7 Composite and inverse functions

  1. f(x)=2x+3f(x)=2x+3 and g(x)=x2g(x)=x^2, for x∈Rx\in\mathbb{R}.
    Solve (f∘g)(x)=11(f\circ g)(x)=11.2 marks
  2. The fare in EUR for a taxi journey of dd km is f(d)=3+1.2df(d)=3+1.2d, for d≥0d\geq0. Fares are converted to AED using g(x)=4xg(x)=4x.
    A passenger is charged 96 AED. Find the distance of the journey.2 marks
  3. f(x)=(x−3)2−2f(x)=(x-3)^2-2, defined for x∈Rx\in\mathbb{R}.
    (i) Explain why ff has no inverse function on the given domain. (ii) State the largest domain of the form x≥kx\geq k on which ff has an inverse, and the range of ff on this domain.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).