In simple terms
A friendly intro before the formal notes — no formulas yet.
The Function Machine
A function is like a mathematical machine that takes an input and produces exactly one specific output. We study how to define the allowed inputs (domain), what outputs are possible (range), and how to chain or reverse these machines.
Think of a coffee machine. You press the 'Espresso' button (the input, x) and it gives you an espresso (the output, f(x)). Every time you press that same button, you get the same result. The 'domain' is all the buttons on the machine, and the 'range' is all the drinks it can possibly make. An 'inverse function' would be like a machine that takes the espresso and tells you which button was pressed.
- 1
Function: each input x maps to exactly one output f(x).
- 2
Domain (inputs) and range (outputs) — restrictions from √(·), ln(·), ÷0.
- 3
Composite f∘g: apply g first, then f.
- 4
Inverse f⁻¹ exists only for one-to-one functions; reflection in y = x.
Explore the concept
Use the live diagram, PhET or GeoGebra sim, and synced steps — play it, drag controls, or tap a step.
Step-synced diagram — highlights what to look for in the simulation above.
Function: each input x maps to exactly one…
Function: each input x maps to exactly one output f(x).
2 more simulations for this topic — run them in the Simulations section below
Simulations
Every simulation here runs the real model — try the steps on a card, then check what you see against the notes.
2 simulations
- GeoGebraCore9709 1.2
Geometry of function composition
Drag the blue point along the x-axis and follow how its image is built in two steps, one function after the other.
Try this
- Drag the blue point to x = 1 and trace each stage of the construction.
- Find an input that the first function sends to 0 and see what the second function does with it.
- Sweep slowly across the axis and note which final outputs can occur.
Look for A composite is two mappings in sequence: the output of the inner function is the input of the outer one, so the inner range must fit the outer domain.
Steve Phelps · GeoGebra · GeoGebra Terms of Service
- GeoGebraCore9709 1.2
Domain and range as shadows
Move the Domain Shadow and Range Shadow sliders to squash the graph onto the x-axis and onto the y-axis.
Try this
- Move the Domain Shadow slider fully and read the interval left on the x-axis.
- Do the same with the Range Shadow slider for the y-axis.
- Write both intervals as inequalities and check them against the end points of the graph.
Look for The domain is the set of x-values the graph covers and the range is the set of y-values it reaches: each is the projection of the graph onto an axis.
Glen Reesor · GeoGebra · GeoGebra Terms of Service
Key formulas
Tap any symbol to reveal exactly what it means and its units.
Tap a symbol — great for exam definitions
Full topic notes
Formal explanation with the rigour you need for the exam.
Understanding Functions, Domain, and Range
A function is a rule that assigns to each input value exactly one output value. We often write , where is the input and is the output. The set of all permissible input values is called the domain. The set of all resulting output values is called the range.
When determining the domain, we must be careful about two common restrictions: we cannot divide by zero, and we cannot take the square root of a negative number in the real number system. For example, for , the domain is all real numbers except , written as . For , the domain is .
Domain: The set of all possible -values.
Range: The set of all possible or -values.
Vertical Line Test: A graph represents a function if and only if no vertical line intersects the graph at more than one point.
Finding Range: For quadratics, complete the square to find the vertex. This gives the minimum or maximum value, which defines the range (if the domain is unrestricted).
Composite Functions
A composite function is created when one function is applied to the result of another. The notation means we first apply the function to , and then apply the function to the output, . It's important to work from the inside out. Note that in general, is not the same as .
fg(x) = f(g(x))
Inverse Functions
An inverse function, denoted , 'reverses' the action of the original function . If , then . A function can only have an inverse if it is one-to-one, meaning every output corresponds to a unique input. We can test for this graphically using the horizontal line test: if any horizontal line cuts the graph more than once, the function is not one-to-one and does not have an inverse over that domain.
Existence: An inverse exists if and only if is one-to-one.
Algebraic Method: To find , let , swap and , then solve for the new .
Domain and Range Swap: The domain of is the range of . The range of is the domain of .
Graphical Property: The graph of is a reflection of the graph of in the line .
A very common mistake is to correctly find the algebraic expression for but forget to state its domain. The domain of the inverse function is always required unless stated otherwise. Remember: Domain of = Range of . Always find the range of the original function first!
Worked examples
See the formulas applied — reveal one step at a time, like the exam.
A function is defined by for .
(a) Express in the form .
(b) Hence, find the range of .
(c) A function is defined by for . State the smallest value of for which has an inverse.
(d) For this value of , find an expression for and state its domain.
- 1
(a) To complete the square: . We halve the coefficient of , which is -3. So, . Therefore, . [1 mark]
The functions and are defined by for and for .
(a) Find an expression for and simplify your answer.
(b) Find the range of .
(c) Solve the equation .
- 1
(a) . We substitute the expression for into . [1 mark] . To simplify, we find a common denominator: . [1 mark]
How it all connects
The big idea sits in the middle — tap a linked idea to explore the link.
Tap a linked idea to see how it connects back to the main topic — that connection is what examiners reward.
Glossary
Key terms for this topic — skim now; the Check step will test them.
- horizontal line test
If any horizontal line cuts the graph more than once, the function is not one-to-one and does not have an inverse over that domain.
- 'domain' of a function
The set of all possible input values (often -values) for which the function is defined.
- 'range' of a function
The set of all possible output values (often -values or -values) that the function can produce.
Quick check
Write your answer first, then compare it with the model one — the gap is what you would have lost.
Teach it back
If you can explain it simply, you own it — gaps here are marks you’d lose.
Teach it back
Explain this topic as if teaching a friend. We name the gaps an examiner would still dock.
Revision flashcards
Guess first, then flip — retrieval beats re-reading.
Key takeaways
Review these before you close the topic — retrieval beats re-reading.
Domain: The set of all possible -values.
Range: The set of all possible or -values.
Vertical Line Test: A graph represents a function if and only if no vertical line intersects the graph at more than one point.
Finding Range: For quadratics, complete the square to find the vertex. This gives the minimum or maximum value, which defines the range (if the domain is unrestricted).
Practice — then mark it
The whole point: a real Cambridge question, marked mark-by-mark.
On this diagram, sketch the graph of y = f⁻¹(x). Show any relevant mirror line.
Find f(x) in terms of sinx.
Extra simulations & links
PhET, GeoGebra and other curated tools — open in a new tab.
Frequently asked
Checkpoint
One marked question is worth ten re-reads — close the loop before you move on.
Reading it isn’t knowing it — prove it.
Before you move on: do 9709/11 · Q6(a) on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.
Discuss Functions
Ask, share and discuss with other Mathematics students