Launching your learning experience…
Detailed notes on Functions for Cambridge IGCSE Mathematics, covering key concepts, explanations, examples, and exam-focused revision points.
The domain is what you put IN; the range is what you get OUT. The two sets that define a function — and a recurring source of marks on Paper 4 once you can think graphically.
Mapped to the Cambridge IGCSE 0580 syllabus (2025-2027).
The set of inputs the function ACCEPTS. Cambridge usually states it, or expects you to find it from the formula.
The domain of a function f is the set of all input values x for which f(x) is defined.
Common natural domains:
Cambridge often gives a RESTRICTED domain like f(x)=x2 for 0≤x≤3 — i.e. only that piece of the parabola.
Notation. Domain stated as an inequality or interval: x∈[−2,5] means −2≤x≤5.
The set of OUTPUTS the function actually produces. Read it off a sketch.
The range of a function is the set of all possible output values: {f(x):x∈domain}.
Common ranges.
| Function | Range |
|---|---|
| f(x)=x2 | f(x)≥0 |
| f(x)=x | f(x)≥0 |
| f(x)=x1 | f(x)=0 |
| f(x)=sinx | −1≤f(x)≤1 |
| f(x)=ex | f(x)>0 |
| f(x)=logx | all reals |
Method to find the range.
Worked. Find the range of f(x)=x2+1 for −2≤x≤3.
Worked. Range of f(x)=−x2+4 over all reals.
Project the graph onto the axes — the shadow on x-axis is the domain; on y-axis, the range.
Imagine projecting the graph onto each axis with vertical lines (for domain) and horizontal lines (for range).
Domain. All x-values where the curve exists. From a graph defined on −3≤x≤5, the domain is [−3,5].
Range. All y-values the curve hits. From the same graph, look at the lowest and highest y the curve reaches and any gaps.
Discontinuous functions. If a function has a break (e.g. x1 near zero), the domain has a GAP and the range may have a GAP too.
Piecewise functions. Each piece contributes its own segment to the range; combine them.
Verbatim phrases and definitions Cambridge mark schemes credit.
Domain and range appear most years on Paper 4 as a 2-3 mark item, usually paired with sketching a graph or reading from one. Examiner reports flag forgetting to check the vertex of a parabola when computing the range over a restricted domain.
Sources: Cambridge IGCSE Mathematics 0580 syllabus 2025-2027 (E2.15); 0580/42 Oct/Nov 2024 — Q12 (range of restricted quadratic); 0580 Examiner Reports 2022-2024. Last reviewed 2026-05-05.
Step-by-step solutions to past-paper-style questions on domain and range of functions, written exactly the way a tutor would explain them at the board.
Almost every domain and range of functions exam question is one of these shapes. Learn to spot each one and you will always know how to start.
Recognise it by
A single instruction — state the domain, find the range, find f(−2) — applied to one given function with one method.
How to approach it
Match the function type to its rule: rational ⇒ denominator =0; square root ⇒ radicand ≥0; quadratic ⇒ complete the square to find the vertex; linear on a closed interval ⇒ test the endpoints.
Common trap
Stating the range of a quadratic straight from the endpoints without finding the vertex, or writing x>0 instead of x≥0 for a square root. Examiner reports flag both as recurring slips.
Recognise it by
The question gives — or asks you to read — a graph or sketch, quoting features such as a stated minimum, maximum or turning point rather than a formula.
How to approach it
Read the domain off the x-axis and the range off the y-axis. On a closed continuous interval the function takes every value from the lowest y (minimum) to the highest y (maximum).
Common trap
Reading the x-coordinates of the turning points instead of the y-coordinates — that gives the domain, not the range. Quote y-values for the range.
Recognise it by
Several stages chained together — restrict a domain then invert, or form a composite then find its range.
How to approach it
Do one stage at a time: complete the square or form the composite first, then apply the domain/range or inverse rule to that result, carrying the restriction through.
Common trap
Forgetting to evaluate the inner function at its minimum before reading the composite's range, or losing the domain restriction when choosing the root of an inverted quadratic.
Question
State the domain of f(x)=x−31.
Step-by-step solution
Step 1
Domain is all real x EXCEPT values that make the denominator zero.
x−3=0⟹x=3
Answer
Domain: x∈R, x=3
Question
State the domain of g(x)=2x−5.
Step-by-step solution
Step 1
We need the radicand non-negative.
2x−5≥0⟹x≥2.5
Answer
Domain: x≥2.5
Question
Find the range of f(x)=x2−4x+7.
Step-by-step solution
Step 1
Complete the square to find the minimum.
f(x)=(x−2)2+3
Step 2
(x−2)2≥0, so f(x)≥3. The minimum value of 3 is reached at x=2.
Answer
Range: f(x)≥3
Question
f(x)=2x−3 for −1≤x≤4. Find the range.
Step-by-step solution
Step 1
f is linear and increasing, so the range comes from the endpoints.
f(−1)=−5,f(4)=5
Answer
Range: −5≤f(x)≤5
Question
Given f(x)=3x2−x+2, find f(−2).
Step-by-step solution
Step 1
Substitute x=−2 with brackets.
f(−2)=3(−2)2−(−2)+2
Step 2
Evaluate.
=12+2+2=16
Answer
f(−2)=16
Question
State the domain and range of f(x)=x.
Step-by-step solution
Step 1
For a real value, the radicand must be ≥0.
x≥0
Step 2
The principal square root is non-negative for any non-negative input, and reaches every non-negative value.
f(x)≥0
Answer
Domain: x≥0; Range: f(x)≥0
Examiner tip
The examiner report flags candidates often write x>0 instead of x≥0. 0=0 is defined, so use the closed inequality.
Question
The graph of y=f(x) has a minimum at (2,−3) and a maximum at (5,4), on the domain 0≤x≤6. State the range of f.
Step-by-step solution
Step 1
The range is the set of y-values the function takes. The minimum is the lowest y-value and the maximum is the highest.
Step 2
Because the function is continuous on a closed interval, it takes every value between the min and max.
−3≤f(x)≤4
Answer
−3≤f(x)≤4
Question
Find the range of f(x)=∣x−2∣+1 on the domain −3≤x≤5.
Step-by-step solution
Step 1
∣x−2∣≥0 for all x, with equality at x=2 (inside the domain). So the minimum of f is 0+1=1.
Step 2
Evaluate at the endpoints.
f(−3)=5+1=6, f(5)=3+1=4
Step 3
Maximum is 6, minimum is 1.
Answer
Range: 1≤f(x)≤6
Question
f(x)=x2−6x+5. State the largest possible domain x≥a for which f−1 exists, and find f−1(x) on that domain.
Step-by-step solution
Step 1
Complete the square to locate the vertex.
f(x)=(x−3)2−4
Step 2
f is one-to-one on x≥3 (the right-hand branch of the parabola). So a=3.
Step 3
Find f−1 by swapping and solving.
x=(y−3)2−4⟹y=3+x+4
Step 4
Take the positive root because the original domain forced y−3≥0.
Answer
Largest domain: x≥3. Inverse: f−1(x)=3+x+4.
Examiner tip
The mark scheme awards method marks for justifying the chosen root by referring to the restricted domain — "x≥3⇒y−3≥0" is the key statement.
Question
f(x)=x2+1 and g(x)=x for x≥0. Find the range of gf(x).
Step-by-step solution
Step 1
Form the composite.
gf(x)=g(x2+1)=x2+1
Step 2
For all real x, x2≥0, so x2+1≥1. Then x2+1≥1.
Step 3
The minimum value 1 is reached at x=0, and the expression grows without bound as ∣x∣ increases.
Answer
Range: gf(x)≥1
Examiner tip
The examiner report flags candidates often write "gf(x)≥0" by reflex. Always evaluate at the inner minimum first — here x=0 gives the composite minimum of 1.
The formulae you need to memorise for domain and range of functions on the Cambridge IGCSE 0580 paper, with every variable defined in plain English and a note on when to use it.
f(x)=g(x)1⇒g(x)=0
When to use
Whenever the function has a variable in the denominator.
f(x)=g(x)⇒g(x)≥0
When to use
Whenever the function has a variable inside an even-index radical.
Definitions to memorise and the exact keywords mark schemes credit for domain and range of functions answers — sharpened from recent examiner reports for the 2026 0580 sitting.
A relation that assigns each input value exactly one output value.
The set of all input values (x) for which the function is defined.
The set of all output values (f(x)) the function takes for inputs in its domain.
f(x) denotes the value of function f at input x. f:x↦3x+2 is the same as f(x)=3x+2.
The traps other students keep falling into on domain and range of functions questions — taken from recent Cambridge IGCSE 0580 examiner reports and mark schemes — and how to avoid them.
0580/42 — recurring
Why it happens
Students forget to exclude x=a when g(a)=0.
How to avoid it
Set the denominator equal to zero, solve, and exclude that x.
Why it happens
Confusing strict and non-strict inequalities.
How to avoid it
0=0 is defined, so use ≥0.
Why it happens
Both involve sets of numbers; students mix which is which.
How to avoid it
Domain = INPUTS (x). Range = OUTPUTS (f(x) or y).
Why it happens
Students compute f at the endpoints of the domain, missing that the minimum (or maximum) lies between them.
How to avoid it
Complete the square or use −2ab to find the vertex; that's where the extreme value lives.
The things students keep getting wrong in this sub-topic, answered.