You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers composite functions and inverse functions as required by the AQA A-Level Mathematics specification (7357). Composing functions means applying one function after another, while an inverse function reverses the effect of the original function. These concepts are fundamental to A-Level mathematics and appear frequently in exam papers.
A composite function is formed by applying one function and then another. The notation fg(x) or f ∘ g(x) means "apply g first, then apply f to the result".
fg(x) = f(g(x))
Important: fg(x) means apply g first, then f. The order matters — in general, fg(x) ≠ gf(x).
Example: Given f(x) = 2x + 3 and g(x) = x², find:
(a) fg(2):
g(2) = 4
fg(2) = f(4) = 2(4) + 3 = 11
(b) gf(2):
f(2) = 7
gf(2) = g(7) = 49
(c) fg(x):
fg(x) = f(g(x)) = f(x²) = 2x² + 3
(d) gf(x):
gf(x) = g(f(x)) = g(2x + 3) = (2x + 3)²
Notice that fg(x) = 2x² + 3 and gf(x) = (2x + 3)² are different — composition is not commutative.
The domain of fg is the set of all x in the domain of g such that g(x) is in the domain of f.
Example: f(x) = √x (domain x ≥ 0) and g(x) = 2x − 6 (domain x ∈ ℝ).
fg(x) = √(2x − 6). For this to be defined, we need 2x − 6 ≥ 0, so x ≥ 3.
The domain of fg is x ≥ 3 or [3, ∞).
Example: Given f(x) = 3x − 1, find f²(x) = ff(x).
ff(x) = f(f(x)) = f(3x − 1) = 3(3x − 1) − 1 = 9x − 4
Example: Given f(x) = (x + 1)/(x − 1) for x ≠ 1, find ff(x).
ff(x) = f((x + 1)/(x − 1))
= ((x + 1)/(x − 1) + 1) / ((x + 1)/(x − 1) − 1)
= ((x + 1 + x − 1)/(x − 1)) / ((x + 1 − x + 1)/(x − 1))
= (2x/(x − 1)) / (2/(x − 1))
= 2x/2 = x
So ff(x) = x — the function is its own inverse! Such a function is called a self-inverse function (or involution).
The inverse function f⁻¹ reverses the effect of f. If f maps a to b, then f⁻¹ maps b back to a.
f⁻¹(f(x)) = x and f(f⁻¹(x)) = x
A function has an inverse if and only if it is one-to-one (injective). Many-to-one functions do not have inverses unless the domain is restricted.
Example: Find the inverse of f(x) = 3x − 7.
y = 3x − 7
x = 3y − 7 (swap x and y)
3y = x + 7
y = (x + 7)/3
So f⁻¹(x) = (x + 7)/3.
Check: f(f⁻¹(x)) = 3 × (x + 7)/3 − 7 = x + 7 − 7 = x. ✓
Example: Find the inverse of f(x) = (2x + 1)/(x − 3), x ≠ 3.
y = (2x + 1)/(x − 3)
x = (2y + 1)/(y − 3)
x(y − 3) = 2y + 1
xy − 3x = 2y + 1
xy − 2y = 3x + 1
y(x − 2) = 3x + 1
y = (3x + 1)/(x − 2)
So f⁻¹(x) = (3x + 1)/(x − 2), x ≠ 2.
The domain of f⁻¹ is the range of f, and the range of f⁻¹ is the domain of f.
Example: f(x) = x² + 1 with domain x ≥ 0.
Therefore:
To find f⁻¹: y = x² + 1, swap: x = y² + 1, so y² = x − 1, y = √(x − 1) (taking the positive root since the range of f⁻¹ must be ≥ 0).
f⁻¹(x) = √(x − 1), x ≥ 1.
The graph of y = f⁻¹(x) is the reflection of y = f(x) in the line y = x.
This is because if (a, b) lies on y = f(x), then (b, a) lies on y = f⁻¹(x) — and reflecting (a, b) in the line y = x gives (b, a).
Key properties:
A function f is self-inverse if f⁻¹ = f, meaning ff(x) = x for all x in the domain.
Examples of self-inverse functions:
Exam Tip: In the exam, always state the domain of the inverse function. When finding an inverse, check your answer by verifying that f(f⁻¹(x)) = x. Remember that fg means "apply g first" — a very common source of errors. When sketching f⁻¹, reflect the graph of f in y = x and mark corresponding points.
AQA 7357 specification, Paper 2 — Pure Mathematics, Section B (Algebra and Functions) covers composite and inverse functions, including domain and range (refer to the official specification document for exact wording). Composite-and-inverse-function content sits within the Year 2 portion of AQA Pure and is examined across Paper 1 and Paper 2. The topic relies on confident handling of f:A→B notation, domain restrictions, and graph reflection in y=x. Composite construction (f∘g)(x)=f(g(x)) and the inverse-existence condition (one-to-one) are stated directly in the specification, while their interaction with logarithms (as inverse exponentials) and the chain rule (for differentiating composites) is examined synoptically. The AQA formula booklet does not list composite or inverse rules — they must be memorised, including the order convention.
Question (8 marks):
Let f(x)=2x−3 for x∈R and g(x)=x2+1 for x≥0.
(a) Find (fg)(x) and state its range. (3)
(b) Show that f has an inverse, and find f−1(x). (2)
(c) The function h is defined by h(x)=x2−4x+7 for x≥2. Show that h is one-to-one on this domain, and find h−1(x) stating its domain. (3)
Solution with mark scheme:
(a) Step 1 — apply the order convention.
(fg)(x)=f(g(x))=f(x2+1)=2(x2+1)−3=2x2−1.
M1 — correct order: substitute g into f, not the other way around. Many candidates compute g(f(x))=(2x−3)2+1 by mistake. The convention (fg)(x)=f(g(x)) means "do g first, then f" — read right to left.
A1 — correct simplified expression 2x2−1.
Step 2 — range. Since x≥0 is the domain of g, x2≥0, so 2x2≥0, hence 2x2−1≥−1. The range is (fg)(x)≥−1, i.e. [−1,∞).
B1 — correct range stated using the domain restriction. Candidates who forget that g's domain is x≥0 often write the range as all reals ≥−1, which is correct here only because x2≥0 for all real x anyway — but the reasoning must reference the restricted domain.
(b) Step 1 — establish one-to-one.
f(x)=2x−3 is linear with non-zero gradient 2, so it is strictly increasing on R, hence one-to-one and invertible.
B1 — explicit justification of one-to-one. Stating "linear so invertible" is too brief; the gradient must be referenced, since a constant function (gradient 0) is linear but not one-to-one.
Step 2 — invert.
Let y=2x−3. Swap and solve: x=2y−3⟹y=2x+3. So f−1(x)=2x+3.
B1 — correct inverse expression with f−1(x) notation (not y or x).
(c) Step 1 — complete the square.
h(x)=x2−4x+7=(x−2)2+3.
M1 — completed-square form. This is the key insight: the vertex is at x=2, and the domain restriction x≥2 gives the right half of the parabola, on which h is strictly increasing — hence one-to-one.
Step 2 — invert.
Let y=(x−2)2+3. Then (x−2)2=y−3, so x−2=±y−3. Since x≥2, take the positive root: x=2+y−3.
So h−1(x)=2+x−3.
A1 — correct inverse with positive root selected, justified by the domain restriction.
Step 3 — domain of h−1. The domain of h−1 is the range of h. Since h(2)=3 and h is increasing on [2,∞), the range of h is [3,∞). Hence the domain of h−1 is x≥3.
B1 — domain of inverse stated as x≥3, with the connection "domain of h−1 = range of h" implicit in the working.
Total: 8 marks.
Question (6 marks): The functions p and q are defined by p(x)=ln(x−1) for x>1 and q(x)=e2x+1 for x∈R.
(a) Find (pq)(x), simplifying your answer. (3)
(b) State the range of (pq)(x). (1)
(c) Find p−1(x) and state its domain. (2)
Mark scheme decomposition by AO:
(a)
(b)
(c)
Total: 6 marks split AO1 = 4, AO2 = 2. This question rewards two synoptic insights: that logarithm and exponential are mutual inverses, and that the domain of an inverse equals the range of the original.
Connects to:
Functions (domain and range): every composite (fg)(x) requires the range of g to lie within the domain of f, otherwise (fg) is undefined for some x. AQA examiners specifically test this by giving a g whose range partially exits f's domain — candidates who blindly substitute lose marks.
Graph transformations: the inverse f−1 is the reflection of f in the line y=x. This geometric fact justifies why (f∘f−1)(x)=x — composing a function with its reflection gives the identity. Students who already understand reflection transformations can deploy this as a sanity check.
Chain rule (Year 2 differentiation): dxdf(g(x))=f′(g(x))⋅g′(x) is composite-function differentiation. Without confident composite-function notation, the chain rule is impossible to apply correctly; the order f′(g(x)) mirrors the composite order f(g(x)).
Logarithms as inverse exponentials: lnx is defined as the inverse of ex. The identities ln(ex)=x and elnx=x are exactly the composite-with-inverse identity (f∘f−1)(x)=x specialised to f=e(⋅). Recognising this collapses a whole class of "simplify ln(e2x−1)"-style questions to algebra.
Trigonometric inverses: arcsin, arccos, arctan exist only because sin, cos, tan are restricted to one-to-one intervals ([−π/2,π/2] for sin, [0,π] for cos, (−π/2,π/2) for tan). The same domain-restriction trick used for h(x)=(x−2)2+3 above appears here at scale.
Composite/inverse questions on AQA 7357 split AO marks roughly as follows:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.