Functions
Domain, range, one-one functions, composite and inverse functions, the graph of an inverse as a reflection in y = x, and the translations, reflections and stretches of the graph of y = f(x).
What the syllabus says
1.2 (Paper 1)
- understand the terms function, domain, range, one-one function, inverse function and composition of functions
- identify the range of a given function in simple cases, and find the composition of two given functions
- determine whether or not a given function is one-one, and find the inverse of a one-one function in simple cases
- illustrate in graphical terms the relation between a one-one function and its inverse
- understand and use the transformations of the graph of given by , , , and simple combinations of these.
Notes and examples
- e.g. range of for and range of for . Including the condition that a composite function can only be formed when the range of is within the domain of .
- e.g. finding the inverse of for
- Sketches should include an indication of the mirror line .
- Including use of the terms ‘translation’, ‘reflection’ and ‘stretch’ in describing transformations. Questions may involve algebraic or trigonometric functions, or other graphs with given features.
Quoted from the Cambridge International AS and A Level Mathematics 9709 syllabus (2026-2027 and 2028-2030 editions, which share this content).
Functions, domain and range Paper 1
A function is a rule that gives exactly one output for each input. In Cambridge notation
means "f maps to , for every real number ". The same function can be written for .
- The domain is the set of inputs allowed. It is part of the definition: change the domain and you have a different function.
- The range is the set of outputs the function actually produces from that domain. It is written in terms of , for example , never in terms of .
A rule such as is not a function, because one input gives two outputs. A rule can fail to be a function on a domain for another reason too: has no output at , so 1 must be left out of its domain.
A function is one-one if different inputs always give different outputs. On a graph, a one-one function meets every horizontal line at most once. for is many-one, because ; but for is one-one.
Finding the range Paper 1
To find a range, think about the graph of the function over its domain only, and ask which values it covers.
- Linear functions are increasing or decreasing, so the range runs between the values at the ends of the domain. Watch whether each end is included.
- Quadratics: complete the square to find the vertex. If the vertex is inside the domain, the least (or greatest) value is at the vertex. If it is not, the least value is at the end of the domain nearest the vertex.
- Reciprocals such as get close to 0 but never reach it.
Two of the syllabus's own illustrations:
- for : , and as increases decreases towards 0 without reaching it. So the range is .
- for : , so the range is .
A quick sketch is the safest method, because it shows whether the function turns round inside the domain.
Worked example 1 Paper 1
The function f is defined by . Find the range of f when the domain is (a) , (b) , (c) .
Complete the square: . The vertex is the minimum point .
(a) The vertex is in the domain, so the least value is 2 and every larger value is reached: .
(b) The vertex at is outside the domain . For the function is increasing, so the least value is : the range is .
(c) The vertex is inside, so the least value is 2. The greatest is at the end further from the vertex: and , so the greatest is 11.
So the range is .
Answer: (a) (b) (c)
Check yourself Paper 1
The function f is defined by for . Find the range of f.
Answer it in the portal, where your answer is checked as you type →
Composite functions Paper 1
The composite function means "do f first, then g": . The function written nearer to acts first, just as in .
To find , replace every in the rule for g by the whole expression , in brackets. In general and are different functions. is often written , which means f applied twice, not f squared.
When can gf be formed? g must be able to accept every output of f. So exists only when the range of f lies within the domain of g. For example, if for and for , then cannot be formed: , and g cannot take . Restricting the domain of f to makes the range , and then exists.
The domain of is the domain of f.
Worked example 2 Paper 1
The functions f and g are defined for by and . Find and , and solve the equation .
.
.
These are different, as expected: the order matters.
: , so .
or , so or .
Answer: , ; or
Check yourself Paper 1
The functions f and g are defined by for and for . Find , simplifying your answer.
Answer it in the portal, where your answer is checked as you type →
One-one functions and inverse functions Paper 1
The inverse function undoes f: if then , so .
Only a one-one function has an inverse. If f were many-one, say , then would need to be both 3 and , which is not a function. This is why questions often restrict a domain, for example to , "so that f has an inverse": for a quadratic, the domain must lie entirely on one side of the vertex, so the least possible is the -coordinate of the vertex.
Finding an inverse:
- Write .
- Rearrange to make the subject.
- Swap the letters: write the result in terms of as .
When the rearranging involves a square root, the sign must be decided by the domain of f. The domain and range swap over:
- the domain of is the range of f;
- the range of is the domain of f.
The syllabus example, the inverse of for , needs exactly this care: for , is negative, so the negative square root is the right one.
Worked example 3 Paper 1
The function f is defined by for . Find and state its domain. What would be if the domain of f were instead?
f is one-one for , because the vertex is at and the function is increasing to the right of it.
Write , so .
Square root: . Since , , so take the positive root: .
Swap letters: .
The range of f is , so the domain of is .
With domain , , so the negative root is needed: , again for .
Answer: for (or if the domain is )
Check yourself Paper 1
The function f is defined by for . Find .
Answer it in the portal, where your answer is checked as you type →
The graphs of a function and its inverse Paper 1
Swapping and in an equation reflects its graph in the line . Finding an inverse swaps and , so:
the graph of is the reflection of the graph of in the line .
Every point on becomes on . A sketch should show the mirror line (the syllabus asks for it), use the same scale on both axes, and show the two graphs as mirror images, including their end points.
Where the graph of f meets the line , it also meets its own reflection. So the points where crosses on the line are found by solving , which is usually easier than solving .
for , drawn for , and . The end point of f reflects to the end point of .
Transformations of graphs Paper 1
Each change to the equation moves its graph in a fixed way. Changes outside the function act on and do what they look like; changes inside, to , do the opposite of what they look like.
- : a translation by (up by ).
- : a translation by (left by ). For example moves the graph 2 to the right, because the new graph reaches the old height at values 2 larger.
- : a stretch parallel to the -axis with scale factor (every multiplied by ).
- : a stretch parallel to the -axis with scale factor (every divided by ).
- : a reflection in the -axis.
- : a reflection in the -axis.
Describe fully means give the type and all its details: "a translation by ", "a stretch parallel to the -axis with scale factor ", "a reflection in the -axis". The words translation, reflection and stretch must be used; "move" or "shift" do not earn the mark.
Combinations. For , stretch first, then translate: the stretch multiplies by , and then is added. Doing them the other way round would give . An inside change and an outside change act on different axes, so their order does not matter: is a translation by either way.
Points and features. If is on , then:
- is on ;
- is on ;
- is on .
This works for any graph, including trigonometric ones: is stretched parallel to the -axis with factor and parallel to the -axis with factor 3.
is translated by . The vertex moves from to : the inside the bracket moves the graph to the right.
Worked example 4 Paper 1
(a) Describe fully a sequence of transformations that maps the curve onto the curve .
(b) The curve is reflected in the -axis and then translated by . Find the equation of the new curve.
(a) Write . Then is .
A translation by gives .
A stretch parallel to the -axis with scale factor 2 gives .
A translation by gives . (The stretch must come before the downward translation.)
(b) Reflecting in the -axis replaces by : .
Translating by adds 3: .
Answer: (a) translation , stretch parallel to the -axis factor 2, translation (b)
Check yourself Paper 1
The curve is translated by . Find the equation of the new curve, in the form .
Answer it in the portal, where your answer is checked as you type →
Worked example 5 (exam style) Paper 1
The function f is defined by for , where is a constant.
(a) Express in the form . [2]
(b) State the smallest value of for which f has an inverse. [1]
(c) For this value of , find and state the domain of . [3]
(d) The function g is defined by for . Explain why can be formed, and find . [3]
(a) .
(b) The vertex is at . f is one-one only if the domain lies on one side of it, so the smallest is 2.
(c) gives (positive root, since ), so .
The range of f is , so the domain of is .
(d) For , . So the range of g, , lies within the domain of f, , and can be formed.
.
Answer: (a) (b) (c) , (d)
Key points Paper 1
The range is the set of outputs from the given domain. Write it in terms of , and sketch to see where the least and greatest values are.
: f first. It can be formed only if the range of f lies within the domain of g.
Only a one-one function has an inverse. A quadratic is one-one on a domain lying on one side of its vertex.
To find : write , make the subject, swap letters. Choose the sign of a square root using the domain of f.
The domain of is the range of f, and its range is the domain of f. The graphs are reflections in .
and act on as they look; and act on the opposite way: translation and stretch factor .
Where marks are lost Paper 1
Giving a range in terms of () instead of (), or using the value at the end of the domain when the vertex is inside it.
Doing a composite in the wrong order: means g first.
Writing as the reciprocal .
Keeping in an inverse, or choosing the wrong sign of the square root for the domain.
Forgetting to state the domain of when asked, or giving the domain of f instead.
Describing as a translation to the left, or as a stretch with factor 2.
Using "move" or "shift" instead of naming the transformation, or leaving out the vector or the scale factor.
Sketching a function and its inverse without the line , or without matching end points.
Related AS & A Level Mathematics 9709 lessons
An original lesson written to the Cambridge International AS & A Level Mathematics 9709 syllabus (2026 to 2027 and 2028 to 2030). The worked examples and questions are our own, not Cambridge questions. Back to every AS & A Level Mathematics 9709 lesson.