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 and synced steps — play it or tap a step card to walk through.
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
Try to recall each definition before you reveal it.
Quick check
Answer in your head first — then tap to check. No pressure.
Revision flashcards
Flip the card. Test yourself before the exam.
What is a function?
A rule that maps each element in the domain (input set) to exactly one element in the range (output set).
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.
9709/12 · Q2
The curve y = x^2 is transformed to the curve y = 4(x-3)^2 - 8. Describe fully a sequence of transformations that have been combined, making clear the order in which the transformations have been applied.
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/12 · Q2 on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.