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 the formal definition of functions, domain and range, composite functions, and inverse functions — the language and machinery of A-Level mathematics.
A function is a mapping that takes each element from a set (the domain) to exactly one element in another set (the codomain). The set of actual output values is the range.
f: x ↦ 2x + 1 means “f maps x to 2x + 1”.
Equivalently: f(x) = 2x + 1.
| Term | Meaning |
|---|---|
| Domain | The set of allowed input values |
| Range | The set of all output values |
f(x) = √(x − 3). Find the domain and range.
Domain: x − 3 ≥ 0 → x ≥ 3, so domain is [3, ∞).
Range: √(x − 3) ≥ 0, so range is [0, ∞).
g(x) = 1/(x − 2), x ≠ 2.
Domain: all real numbers except x = 2. Range: all real numbers except y = 0 (since 1/(x − 2) can never equal zero).
| Type | Description |
|---|---|
| One-to-one | Each output corresponds to exactly one input |
| Many-to-one | More than one input can give the same output (e.g. f(x) = x²) |
Only one-to-one functions have inverses that are also functions. A many-to-one function can be made one-to-one by restricting its domain.
The composite function fg(x) means “apply g first, then f”.
fg(x) = f(g(x))
f(x) = 2x + 1 and g(x) = x².
fg(x) = f(g(x)) = f(x²) = 2x² + 1
gf(x) = g(f(x)) = g(2x + 1) = (2x + 1)²
Note: fg(x) ≠ gf(x) in general — order matters.
f(x) = eˣ and g(x) = 3x − 1. Find fg(2).
g(2) = 5, so fg(2) = f(5) = e⁵ ≈ 148.41
For fg(x) to exist, the range of g must be contained in (or overlap with) the domain of f.
f(x) = ln x (domain: x > 0) and g(x) = x² + 1 (range: y ≥ 1).
Since the range of g is [1, ∞) which is a subset of the domain of f (x > 0), fg(x) = ln(x² + 1) is defined for all real x.
If f is a one-to-one function, its inverse f⁻¹ reverses the mapping.
Find the inverse of f(x) = (3x − 1)/2.
y = (3x − 1)/2 → 2y = 3x − 1 → 3x = 2y + 1 → x = (2y + 1)/3
Swap: f⁻¹(x) = (2x + 1)/3
Find the inverse of f(x) = e^(2x) + 3.
y = e^(2x) + 3 → y − 3 = e^(2x) → 2x = ln(y − 3) → x = ln(y − 3)/2
f⁻¹(x) = ln(x − 3)/2, domain: x > 3
A function is self-inverse if f(f(x)) = x, meaning f⁻¹ = f.
Show that f(x) = 1/x is self-inverse.
f(f(x)) = f(1/x) = 1/(1/x) = x ✓
AQA 7357 Pure section B (Year 2) — Algebra and functions covers the definition of a function; domain and range of functions; composition of functions; inverse functions and their graphs (refer to the official specification document for exact wording). Functions sit at the centre of the Year 2 Pure paper and reach across the specification synoptically. Notation matters: AQA uses both f(x) and the mapping form f:x↦… (also written f:x→…), and expects candidates to switch between them. Synoptic links to track: graph transformations (the inverse f−1 is a reflection of f in y=x), modulus functions (where ∣f(x)∣ is examined alongside f(∣x∣)), calculus on composite functions (the chain rule dxdf(g(x))=f′(g(x))g′(x)), and set notation (domains expressed as {x∈R:x≥0}). The AQA formula booklet does not list the chain rule or the inverse-function condition — these must be memorised.
Question (8 marks):
The functions f and g are defined by f:x↦2x−3 for x∈R and g:x↦x+4 for x≥−4.
(a) Find an expression for fg(x) and state its domain. (3)
(b) Find f−1(x) and state its domain and range. (3)
(c) Solve the equation fg(x)=f−1(x). (2)
Solution with mark scheme:
(a) Apply g first, then f.
fg(x)=f(g(x))=f(x+4)=2x+4−3
M1 — correct order of composition (inner function g substituted into f). A common slip is to compute gf(x)=2x−3+4=2x+1, the wrong way round.
A1 — correct simplified expression 2x+4−3.
B1 — domain x≥−4 (the domain of fg is the set of inputs for which the inner function g is defined and produces an output in the domain of f; here f is defined on all reals so the constraint is just x+4≥0).
(b) Set y=2x−3 and rearrange for x:
y+3=2x⟹x=2y+3
Swap variables to express the inverse as a function of x:
f−1(x)=2x+3
M1 — correct rearrangement and variable swap.
A1 — correct inverse expression.
B1 — domain x∈R, range f−1(x)∈R (since f is defined on all reals and is one-to-one, f−1 inherits the full real line).
(c) Equate:
2x+4−3=2x+3
Multiply through by 2 and isolate the surd:
4x+4−6=x+3⟹4x+4=x+9
Square both sides:
16(x+4)=(x+9)2⟹16x+64=x2+18x+81⟹x2+2x+17=0
The discriminant is 4−68<0, so no real solutions exist.
M1 — correct setup and squaring step (with the implicit checking that any solution must satisfy x+9≥0 for the original equation).
A1 — correct conclusion: no real solutions, with discriminant justification.
Total: 8 marks (M3 A3 B2).
Question (6 marks): The function h is defined by h:x↦x2−6x+11 for x≥3.
(a) Show that h is one-to-one on this domain. (2)
(b) Find h−1(x) and state its domain. (4)
Mark scheme decomposition by AO:
(a)
(b)
Total: 6 marks split AO1 = 3, AO2 = 3. AQA balances procedure and reasoning roughly evenly on inverse-function questions; the AO2 marks reward explicit justification of the sign choice when taking the square root.
Graph transformations: the inverse f−1 is the reflection of f in the line y=x. This connects to the broader transformation toolkit (y=f(x)+a, y=f(x−a), y=af(x), y=f(ax)) and gives a fast geometric route to sketching inverses without algebra.
Modulus functions: y=∣f(x)∣ reflects negative y-values above the x-axis, while y=f(∣x∣) reflects the right-hand portion of f to the left. Composing modulus with restricted-domain functions to enforce one-to-one behaviour is a recurring AQA Year 2 motif.
Differentiation via the chain rule: for composite y=f(g(x)), dxdy=f′(g(x))⋅g′(x). Implicit in this is that g is differentiable on the domain of the composite — exactly the same domain check needed for fg to exist.
Set notation and inequalities: domains and ranges are written using interval or set-builder notation, e.g. {x∈R:x≥−4} or [−4,∞). Confidence with this notation feeds directly into Statistics (sample spaces) and Mechanics (validity intervals on motion equations).
Exponentials and logarithms as inverses: f(x)=ex and g(x)=lnx are mutual inverses, with f(g(x))=x for x>0 and g(f(x))=x for x∈R. The asymmetry in domains is itself an instance of inverse-function domain logic.
Functions questions on AQA 7357 split AO marks across all three objectives:
| AO | Typical share | Earned by |
|---|---|---|
| AO1 (knowledge / procedure) | 50–60% | Correctly composing functions in the right order, rearranging for inverses, applying domain and range definitions |
| AO2 (reasoning / interpretation) | 30–40% | Justifying one-to-one behaviour, choosing the correct square-root sign on a restricted domain, presenting domain restrictions in valid set notation |
| AO3 (problem-solving) | 5–15% | Using inverse-function or composition relationships to solve unfamiliar equations, often combined with calculus or modulus content |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.