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 functions, domain, range, and mappings as required by the AQA A-Level Mathematics specification (7357). A solid understanding of functions is essential for the rest of the course — you will need to know what makes a relation a function, how to determine domain and range, and how restricting the domain can make a function invertible.
A function is a mapping that takes each element of a set (called the domain) and assigns it to exactly one element of another set (called the codomain). We write f : A → B to mean "f is a function from set A to set B".
The key requirement is: every input produces exactly one output.
A relation is any rule that connects elements of one set to elements of another. Not every relation is a function.
Example: The relation y² = x is not a function of x, because for each positive x there are two values of y (e.g. if x = 4, then y = 2 or y = −2).
The vertical line test can be used on a graph: if any vertical line crosses the graph more than once, the relation is not a function.
| Mapping Type | Description | Example |
|---|---|---|
| One-to-one | Each output comes from exactly one input | f(x) = 2x + 1 |
| Many-to-one | Different inputs can give the same output | f(x) = x² |
| One-to-many | One input gives multiple outputs | y² = x (not a function!) |
At A-Level, a function must be either one-to-one or many-to-one. A one-to-many mapping is not a function.
To determine whether a function is one-to-one or many-to-one, use the horizontal line test:
Example: f(x) = x³ is one-to-one (every horizontal line meets the curve once).
Example: f(x) = x² is many-to-one (the horizontal line y = 4 meets the curve at x = 2 and x = −2).
The domain of a function is the set of all allowed input values (x-values). When defining a function, you should always state its domain.
Common restrictions on domain:
Example: f(x) = √(x − 3). The domain is x ≥ 3 or [3, ∞) because x − 3 ≥ 0.
Example: f(x) = 1/(x − 2). The domain is x ∈ ℝ, x ≠ 2 because the denominator cannot be zero.
The range of a function is the set of all possible output values (y-values). The range depends on both the function rule and the domain.
Example: f(x) = x² with domain x ∈ ℝ. The range is f(x) ≥ 0 or [0, ∞).
Example: f(x) = x² with domain x ≥ 3. The range is f(x) ≥ 9 or [9, ∞).
Example: f(x) = 3 − 2x with domain x ∈ ℝ. The range is f(x) ∈ ℝ (all real numbers).
Exam Tip: To find the range, consider the graph of the function. Identify the minimum and maximum values of the output. If the function has a restricted domain, evaluate the function at the endpoints and at any turning points within the domain.
A many-to-one function cannot have an inverse function (because the inverse would be one-to-many, which is not a function). However, by restricting the domain, we can make a many-to-one function into a one-to-one function, thereby enabling it to have an inverse.
Example: f(x) = x² with domain x ∈ ℝ is many-to-one (e.g. f(2) = f(−2) = 4).
If we restrict the domain to x ≥ 0, then f(x) = x² is now one-to-one, and it has an inverse: f⁻¹(x) = √x.
If instead we restrict the domain to x ≤ 0, then f⁻¹(x) = −√x.
Example: g(x) = (x − 1)² + 3 has vertex at (1, 3).
To make a quadratic function one-to-one, restrict the domain to one side of the vertex. The standard choice (unless told otherwise) is to include the vertex:
A piecewise function is defined by different rules on different parts of its domain.
Example:
f(x) = { 2x + 1 if x < 0
{ x² if x ≥ 0
For x = −3: f(−3) = 2(−3) + 1 = −5. For x = 2: f(2) = 4. For x = 0: f(0) = 0 (using the x ≥ 0 rule).
The domain is x ∈ ℝ. The range requires checking both pieces:
Example: Given f(x) = 3x² − 2x + 1, find:
(a) f(2) = 3(4) − 4 + 1 = 9
(b) f(−1) = 3(1) + 2 + 1 = 6
(c) f(a + 1) = 3(a + 1)² − 2(a + 1) + 1 = 3a² + 6a + 3 − 2a − 2 + 1 = 3a² + 4a + 2
Example: Given f(x) = x² − 4x + 7 with domain x ≥ 2, solve f(x) = 3.
x² − 4x + 7 = 3
x² − 4x + 4 = 0
(x − 2)² = 0
x = 2
Check: x = 2 is in the domain x ≥ 2. ✓
Exam Tip: When asked for the domain or range, express your answer in set notation or interval notation. Always check for restrictions such as division by zero, square roots of negatives, or logarithms of non-positive numbers. When restricting a domain to make a function invertible, state clearly which restriction you are using and why.
AQA 7357 specification, Pure Mathematics Section B — Algebra and Functions. The function concept is the connective tissue of A-Level Pure: every later topic — composite functions, inverse functions, transformations, calculus — assumes confident handling of f:A→B, the domain (the set of permissible inputs), and the range (the actual set of outputs that the rule produces). The specification expects students to use formal function notation, distinguish one-to-one (injective) from many-to-one mappings, and recognise that a function only has an inverse on a domain where it is one-to-one. Domain/range reasoning is examined directly on Paper 2 (Pure) and synoptically on Paper 1 (Pure) wherever transformations or calculus appear, and indirectly on Paper 3 (Statistics & Mechanics) where probability density functions and kinematics functions both rely on domain-restriction logic. The AQA formula booklet does not list any function definitions — they must be carried in working memory.
Question (8 marks):
The function f is defined by f(x)=(x−2)2+5 for x≥0.
(a) State the range of f. (3)
(b) Determine, with reasons, whether f is one-to-one on the given domain. (3)
(c) State the largest sub-domain containing x=0 on which f has an inverse, and give the range of f on that sub-domain. (2)
Solution with mark scheme:
(a) Step 1 — recognise the structure.
The expression (x−2)2+5 is in completed-square form, with vertex at (2,5). The squared term (x−2)2≥0 for all real x, with equality at x=2.
M1 — identifying the completed-square form and noting that the minimum of (x−2)2 over the reals is 0, attained at x=2.
Step 2 — check whether the vertex lies in the domain.
The domain is x≥0, and x=2 satisfies x≥0, so the vertex is inside the domain. The minimum value of f on the domain is therefore f(2)=0+5=5.
M1 — verifying that the unconstrained minimum point lies inside the restricted domain (this is the step most students skip).
Step 3 — examine the boundary and behaviour.
At the left boundary x=0: f(0)=(−2)2+5=9. As x→∞, f(x)→∞. The parabola decreases from f(0)=9 down to f(2)=5, then increases without bound.
So the range is f(x)≥5, or in interval notation [5,∞).
A1 — correct range [5,∞) or f(x)≥5, written using a closed lower bound (the minimum is attained).
(b) Step 1 — test for one-to-one.
A function is one-to-one on a domain if every output is produced by at most one input. Equivalently, no horizontal line crosses the graph more than once on that domain.
Step 2 — find a counterexample.
Consider f(0)=9 and f(4)=(4−2)2+5=4+5=9. Both x=0 and x=4 lie in the domain x≥0, and f(0)=f(4)=9.
M1 — attempting to find two distinct domain values with the same image.
A1 — a correct concrete pair such as (0,4) or (1,3) (both give image 9 and 6 respectively).
Step 3 — conclude.
Since two distinct inputs share an image, f is many-to-one on x≥0, hence not one-to-one.
A1 — explicit conclusion stating "not one-to-one" or "many-to-one", referencing the counterexample.
(c) The vertex sits at x=2, splitting the domain into a decreasing branch 0≤x≤2 and an increasing branch x≥2. The branch containing x=0 is [0,2].
M1 — identifying [0,2] as the largest sub-domain containing 0 on which f is monotonic (here, monotonically decreasing).
On [0,2], f runs from f(0)=9 down to f(2)=5, so the range is [5,9].
A1 — range [5,9], with both endpoints attained.
Total: 8 marks (M4 A4, split as shown).
Question (6 marks): The function g is defined by g(x)=x−31 for x∈R, x=3.
(a) State the domain and range of g. (3)
(b) Explain why g is one-to-one on its domain. (3)
Mark scheme decomposition by AO:
(a)
(b)
Total: 6 marks split AO1 = 1, AO2 = 5. This is unusually AO2-heavy for a Pure question — AQA uses domain/range items to probe reasoning, not just procedure.
Connects to:
Composite functions (g∘f)(x)=g(f(x)): the domain of g∘f is the set of x in dom(f) for which f(x)∈dom(g). So composite-function domain questions reduce to a range vs domain compatibility check. If f(x)=x (range [0,∞)) and g(x)=x−41 (domain x=4), then g(f(x)) requires x=4, i.e. x=16 — and of course x≥0 for f itself.
Inverse functions f−1: an inverse exists only when f is one-to-one. If f is many-to-one, you must restrict the domain first. Crucially, the domain of f−1 is the range of f, and the range of f−1 is the domain of f — they swap. Forgetting this swap is the single most common A-Level error.
Transformations of graphs: translations y=f(x)+a and y=f(x+a) act on the range and domain respectively. A vertical stretch y=kf(x) scales the range; a horizontal stretch y=f(x/k) scales the domain. The exam-favourite question "describe the transformation that maps y=f(x) to y=2f(x−3)+1" is fundamentally a domain/range manipulation.
Calculus on functions: differentiability requires the function to be defined on an open interval around the point. f(x)=x is differentiable on (0,∞) but not at x=0 — the derivative 2x1 has the smaller domain (0,∞). Range questions resurface in optimisation: the maximum value of f on a closed interval is the largest element of its range.
Modelling and validity intervals: real-world models impose physical domains. A projectile-height function h(t)=−4.9t2+20t+1.5 is mathematically defined for all t∈R, but the modelling domain is 0≤t≤T where T is the time of impact. AQA mark schemes deduct marks for using values outside the modelling domain.
Domain/range questions on AQA 7357 split AO marks unusually across the three objectives:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.