Cambridge A Level Mathematics 9709 · Pure 1

Functions

A function is a rule that assigns exactly one output to each input in its domain; the set of outputs it actually produces is its range. Cambridge 9709 Pure 1 builds four question types on that: finding a range (usually by completing the square), forming a composite gf(x)=g(f(x)), finding an inverse f−1(x) and stating its domain, and describing or applying transformations of a graph.

Functions carry 455 marks across the 42 Pure 1 papers Quanta has mapped — 14.4% of every mark — and appear on all 42. The recurring trap is the same one every year: an inverse exists only for a one-to-one function, so a quadratic has to be restricted before it has one.

Updated 28 September 2026

How much it is worth

Functions: 455 marks across 42 real Cambridge 9709 papers — 14.4% of the total, and it came up on every one of them. How that ranks against every other 9709 topic →

Domain and range

The domain is the set of inputs the function is defined for; the range is the set of outputs it produces over that domain. P1 states a domain in the question and asks for the range, and the reliable method for a quadratic is to complete the square:

f(x)=x2−6x+11=(x−3)2+2⇒f(x)≥2

The square is never negative, so the least value is the constant — 2, reached at x=3. If the domain excludes the vertex the answer changes: on x≥4 the function is increasing throughout, so the range starts at f(4)=3 and the answer is f(x)≥3. Always check whether the given domain contains the turning point before quoting the vertex.

Notation matters for the mark: the range is written in terms of f(x) or y, not x. Writing x≥2 for a range is marked wrong even when 2 is right.

Composite functions

gf(x) means “do f first, then g” — the function nearer x acts first. With f(x)=2x+1 and g(x)=x2:

gf(x)=g(2x+1)=(2x+1)2fg(x)=f(x2)=2x2+1

They are different, and questions exploit that. A composite exists only if the range of the inner function lies inside the domain of the outer one — so if g is defined only for x≥0, then gf needs f(x)≥0, which restricts the composite’s own domain. “Solve gf(x)=25” is the standard follow-up: form the composite, set it equal, solve, then reject any root outside the domain.

Inverse functions

The inverse undoes the function: f−1f(x)=x. It exists only when the function is one-to-one — each output coming from exactly one input. A quadratic on its natural domain is two-to-one, which is why P1 questions restrict it (to x≥3, say, one side of the vertex) before asking for an inverse.

To find it: write y=f(x), make x the subject, then swap the letters.

y=(x−3)2+2  ⇒  (x−3)2=y−2  ⇒  x=3+y−2
f−1(x)=3+x−2

The + is a decision, not a default: the domain x≥3 means the outputs of the inverse must be ≥3, so the positive root is the right one. Had the restriction been x≤3, the answer would be 3−x−2.

Two facts that questions test directly: the domain of f−1 is the range of f (here x≥2), and the graph of y=f−1(x) is the reflection of y=f(x) in the line y=x. That reflection is also why solving f(x)=f−1(x) can be done by solving f(x)=x instead.

Worked example

Worked example

f(x) = x² − 4x + 7 for x ≥ 2. (i) Express f(x) in completed-square form and state the range. (ii) Find f⁻¹(x) and state its domain. (iii) g(x) = 2x − 1 for all x. Solve fg(x) = 7.

(i) x2−4x+7=(x−2)2+3. The domain x≥2 starts exactly at the vertex and the function increases from there, so the range is f(x)≥3.

(ii) y=(x−2)2+3⇒(x−2)2=y−3⇒x=2+y−3 — positive root because x≥2. So

f−1(x)=2+x−3,x≥3

The domain of the inverse is the range of f from part (i) — a mark of its own, and one most candidates forget to write down.

(iii) fg(x)=f(2x−1)=(2x−1)2−4(2x−1)+7. Expanding: 4x2−4x+1−8x+4+7=4x2−12x+12. Set equal to 7:

4x2−12x+5=0  ⇒  (2x−1)(2x−5)=0  ⇒  x=12 or 52

Now the check almost everyone skips. f is defined only for inputs ≥2, and g(12)=0, which is not in that domain — so x=12 is rejected. g(52)=4≥2, so the only solution is x=52.

Graph transformations

The largest single sub-skill in this section. Two families, and the rule is that changes inside the bracket affect x and do the opposite of what they look like:

From y=f(x)Transformation
y = f(x) + aTranslation a units up — vector (0, a).
y = f(x + a)Translation a units LEFT — vector (−a, 0). Inside the bracket, opposite direction.
y = k f(x)Stretch parallel to the y-axis, factor k.
y = f(kx)Stretch parallel to the x-axis, factor 1/k. Again the reciprocal.
y = −f(x)Reflection in the x-axis.
y = f(−x)Reflection in the y-axis.

Combined transformations are where the marks are, and order matters. To describe the move from y=x2 to y=3(x−2)2+1: translate 2 right, stretch by factor 3 parallel to the y-axis, then translate 1 up. Describing a translation needs the word “translation” and a vector; describing a stretch needs the factor and the direction. “Moved up 1” does not score.

Common mistakes

  1. 1.Range written in terms of x

    A range describes outputs: f(x)≥3 or y≥3. x≥3 is a domain, and loses the mark.

  2. 2.fg and gf the wrong way round

    The function next to the x goes first. gf(x)=g(f(x)) — substitute f into g.

  3. 3.Taking ± on an inverse

    An inverse is a function, so it takes one sign. Choose it from the restricted domain: outputs of f−1 must lie in the domain of f.

  4. 4.Not stating the inverse's domain

    It is the range of the original function, and it carries its own mark. Part (i) usually hands it to you.

  5. 5.f(x + 2) translated right

    Inside the bracket, the effect is reversed: f(x+2) moves the graph 2 to the left. Same for stretches: f(2x) is a stretch of factor 12.

  6. 6.Keeping a root outside the domain

    After solving a composite equation, test each root against the domain of the inner and outer functions and reject what does not fit.

Common questions

How do you find the range of a quadratic function?

Complete the square. a(x+p)2+q has minimum q when a>0, so the range is f(x)≥q — provided the given domain includes the vertex. If it does not, evaluate the function at the end of the domain instead.

What does gf(x) mean?

Apply f first, then g to the result: gf(x)=g(f(x)). It is generally not the same as fg(x).

Why does a function need to be one-to-one to have an inverse?

Because the inverse must return a single input for each output. If two inputs give the same output — as x=1 and x=5 do for (x−3)2 — the reverse rule would have to return both, which no function can do. Restricting the domain to one side of the vertex fixes it.

How are graph transformations described for full marks?

A translation needs the word “translation” and a column vector; a stretch needs the scale factor and the direction (parallel to which axis); a reflection needs the line. Vague directional language scores nothing even when the numbers are right.

Functions on real papers

The papers that leaned on it hardest, as a share of the paper. Each one has its own page on Quanta with the full topic breakdown:

Every 9709 past-paper question on functions

80 questions across 42 papers, 455 marks in all, newest first. Open a paper to sit it on Quanta and have these questions marked.

PaperQuestion (marks)
9709/11/O/N/25Q4 (3), Q6 (7)
9709/12/O/N/25Q3 (5), Q9 (4)
9709/13/O/N/25Q6 (8), Q7 (4), Q10 (1)
9709/11/M/J/25Q10 (12)
9709/12/M/J/25Q1 (4), Q11 (7)
9709/13/M/J/25Q10 (4), Q11 (6)
9709/12/F/M/25Q11 (10)
9709/11/O/N/24Q11 (8)
9709/12/O/N/24Q5 (10)
9709/13/O/N/24Q5 (8), Q8 (7)
9709/11/M/J/24Q2 (6), Q6 (7)
9709/12/M/J/24Q2 (5), Q4 (7)
9709/13/M/J/24Q6 (3), Q11 (6)
9709/12/F/M/24Q2 (3), Q9 (9)
9709/11/O/N/23Q4 (6), Q9 (7)
9709/12/O/N/23Q6 (6), Q8 (8)
9709/13/O/N/23Q7 (7), Q8 (3)
9709/11/M/J/23Q3 (4), Q8 (8)
9709/12/M/J/23Q8 (12)
9709/13/M/J/23Q1 (4), Q7 (8)
9709/12/F/M/23Q2 (4), Q9 (9)
9709/11/O/N/22Q8 (5), Q9 (5)
9709/12/O/N/22Q5 (5), Q9 (8)
9709/13/O/N/22Q2 (4), Q5 (6)
9709/11/M/J/22Q6 (8), Q8 (5)
9709/12/M/J/22Q10 (7)
9709/13/M/J/22Q4 (5), Q6 (6)
9709/12/F/M/22Q5 (4), Q9 (4)
9709/11/O/N/21Q8 (8)
9709/12/O/N/21Q2 (5), Q3 (5), Q10 (2)
9709/13/O/N/21Q1 (4), Q6 (8)
9709/11/M/J/21Q9 (8)
9709/12/M/J/21Q2 (5), Q3 (1), Q5 (2)
9709/13/M/J/21Q6 (2), Q8 (7)
9709/12/F/M/21Q5 (6), Q7 (5)
9709/11/O/N/20Q4 (3), Q11 (9)
9709/12/O/N/20Q5 (6), Q11 (6)
9709/13/O/N/20Q1 (2), Q6 (6)
9709/11/M/J/20Q4 (3), Q6 (6)
9709/12/M/J/20Q5 (6), Q9 (5)
9709/13/M/J/20Q3 (4), Q9 (7)
9709/12/F/M/20Q2 (4), Q9 (6), Q12 (2)

Practise functions against real mark schemes

Quanta has real Cambridge A Level Maths 9709 past-paper questions, broken into skill checkpoints, marked criterion by criterion the way examiners mark — and it tracks which skills you’re missing. Free for individual students.

Start practising free