
Functions
SL2.1-2.5
Functions is the topic examiners use to test whether you actually understand notation, not just whether you can push numbers through a calculator. Domain, range, inverse, composite — every one of these has a specific trap that costs marks year after year. Get the definitions rock solid first; the transformations and trig sections are just this same machinery dressed up in graphs.
Overview
A function is a rule that assigns exactly one output to each input in its domain. The whole SL Functions topic is built from three ideas repeated in different costumes: what values are you allowed to put in (domain), what values can come out (range), and what happens when you undo, combine, or reshape the rule.
- Domain — the set of -values a function accepts. Restricted by things you can't do: divide by zero, take the square root of a negative, take the log of zero or a negative number.
- Range — the set of -values the function actually produces, found from the graph's shape (min/max, asymptotes), not just guessed.
- Composite and inverse functions test whether you can chain notation correctly under exam pressure — this is where most marks are lost, not in the algebra itself.
- Transformations let you sketch or describe any new graph from a known parent graph without re-plotting from scratch.
- Trig functions bring periodicity into the mix — same domain/range logic, but now the range is bounded and repeats forever.
The shape of the chapter
Command terms that decide your method
| Command term | What it demands | AO | Mark-earning move |
|---|---|---|---|
| State | Give a result with no working required — usually 1 mark, don't waste time justifying it. | AO1 | Write the value/statement directly; extra working earns no more marks and costs time. |
| Show that | Prove a given result using algebra — the answer is given, so every line of working must be explicit. | AO2 | Marks for method lines, not just the final match to the given answer; skipping steps loses marks even if the answer matches. |
| Find | Produce a value or expression through calculation. | AO1/AO2 | Working must lead clearly to a final boxed/stated answer. |
| Determine | Find a result using given information, often needing you to select the correct method. | AO2 | State reasoning behind your method choice, especially for range/domain questions. |
| Hence | You must use the previous result/part — an independent correct method scores zero. | AO2 | Explicitly reference the earlier result in your working. |
| Justify | Give a reason supported by evidence (a calculation, a graph feature, a definition). | AO3 | A bare assertion with no reasoning scores 0 even if the conclusion is correct. |
Key point
Functions and Their Properties
Core vocabulary
- Function
- A relation where every input in the domain maps to exactly one output.Vertical line test on a graph: one input, one output.
- Domain
- The complete set of permitted -values for a function.Check for zero denominators, negative square roots, non-positive logs.
- Range
- The complete set of values the function actually outputs, given its domain.Read off the graph's vertical extent — not assumed to be all real numbers.
- One-to-one function
- Every output value corresponds to exactly one input value; passes the horizontal line test.Only one-to-one functions have inverse functions.
- Many-to-one function
- At least one output corresponds to more than one input.e.g. over all reals — has no inverse unless domain is restricted.
- Onto (surjective) function
- Every element of the stated codomain is actually achieved by the function.Depends on the codomain you're told, not just the natural range.
- Composite function
- Apply first, then apply to the result: .Order matters — in general.
- Inverse function
- The function that reverses , satisfying and .Exists only when is one-to-one; graph is the reflection of in .
Working with inverses and composites
the defining property of an inverse function
domain and range swap between a function and its inverse
standard algebraic method for finding an inverse
Worked example
Rational function inverse and domain (Q1-style)
Worked example
Restricted domain and its inverse (Q5-style)
Forgetting to check whether f is one-to-one before finding an inverse
Students algebraically 'find' an inverse for a many-to-one function like without checking the domain, then present a single formula as if it's valid everywhere.
Consequence: Loses the justification mark entirely on 'show/state whether one-to-one' parts, and can cost the final answer mark if the wrong root is chosen for the inverse.
Fix: Always state explicitly why the function is one-to-one (strictly increasing/decreasing on the given domain, or horizontal line test) before finding .
Worked example
Composite functions confirming an inverse relationship (Q4-style)
Examiner tip
Worked example
Range of a logistic-type model and one-to-one check (Q8-style)
Key takeaways
- Domain restrictions come from division by zero, negative square roots, and non-positive logs — always check these first.
- Range is read from graph behaviour (turning points, asymptotes), not assumed to be all reals.
- An inverse exists only for one-to-one functions; restricted domains in questions exist to force this condition.
- and are the two identities that prove an inverse relationship — 'show that' questions expect full algebraic substitution, not a graph argument.
Transformations of Functions
Every transformation is a substitution rule applied to or to the whole function. The trap is that horizontal transformations always feel backwards — inside-the-bracket changes to move the graph opposite to what the sign suggests.
Standard transformations of
vertical translation by units up (down if )
horizontal translation by units LEFT (right if ) — opposite to intuition
vertical stretch, scale factor , from the -axis
horizontal stretch, scale factor , from the -axis
reflection in the -axis
reflection in the -axis
Combined transformation of a parabola
Order matters: stretch first, then translate, when the function is written as .
Worked example
Reading off a combined transformation
Horizontal shift direction reversed
Reading as a shift 3 units left because the number is subtracted.
Consequence: Full transformation description marks lost (typically 1-2 marks) even when the vertical parts are correct.
Fix: Set the bracket to zero and solve: , so the key point that was at moves to — a shift RIGHT.
Examiner tip
Key takeaways
- Vertical transformations behave exactly as the sign suggests: up, down, stretches away from the -axis.
- Horizontal transformations behave opposite to what the sign suggests: shifts LEFT, compresses by factor .
- When multiple transformations combine, apply them in the order implied by order of operations on first, then the outer function value.
Trigonometric Functions
Trig functions in this topic are really just transformed sine/cosine graphs — same amplitude/period/midline logic as any other transformation, but now the base graph repeats forever. Modelling contexts (Ferris wheels, tides, temperature) are the classic exam dress-up.
General sinusoidal model and key features
general sine model
- — amplitude (vertical stretch factor)
- — affects period: period $=\dfrac{2\pi}{b}$
- — horizontal (phase) shift
- — midline / vertical shift
for or
for with
tangent's vertical asymptotes occur at
Sine graph with amplitude, period and midline labelled
Every sinusoidal model question reduces to reading these four features off the equation or the graph.
Worked example
Ferris wheel height model (Q2-style)
Using degree-mode reasoning inside a radian-defined model
Working out using a calculator left in degree mode, or assuming period formulas use instead of .
Consequence: Every value from that point on is wrong — usually the entire final answer mark and often a follow-through mark too, since IB uses radians as default for -based arguments.
Fix: If the argument contains , keep your GDC in radian mode and use period , not .
Examiner tip
Frequently confused
| Concept A | Concept B | The distinction that matters |
|---|---|---|
| Amplitude | Period | Amplitude is how FAR the graph swings from the midline (vertical); period is how LONG it takes to repeat one full cycle (horizontal). |
| Phase shift in | Midline shift | Phase shift moves the graph sideways (horizontal); midline shift moves the entire graph up/down (vertical) and changes the range. |
Mnemonic
A-P-M-D: Amplitude, Period, Midline, Direction
When reading any sinusoidal model, extract these four features in this order — amplitude and midline give the range instantly, period gives the timing, direction (sign of , or vs ) tells you whether it starts rising or falling.
Key takeaways
- Amplitude and midline together give the range: — don't evaluate multiple points if you can read these off directly.
- Period is a fixed property of the equation, independent of any domain restriction given in context.
- Tangent graphs have vertical asymptotes wherever cosine is zero — state these explicitly if asked for domain restrictions on tan-based functions.
- Real-world sinusoidal models (Ferris wheels, tides) always need a 'state the equation you're solving' line before jumping to the GDC answer.
Quick Reference
Functions — everything on one page
Formulas
- defining property of inverses
- swap on inverse
- shifts LEFT if c>0 (opposite to intuition)
- vertical stretch factor p
- horizontal stretch factor 1/q
- for a sin(bx)+d or a cos(bx)+d
- for y = a sin(b(x-c)) + d, a>0
Mnemonics
- A-P-M-DAmplitude, Period, Midline, Direction — the four features to extract from any sinusoidal model
Don't confuse
- Amplitude vs Period: Amplitude = vertical swing size; Period = horizontal repeat length
- One-to-one vs Onto: One-to-one is about inputs never sharing an output; onto is about whether the whole stated codomain gets hit
Command terms
- Show that:
- Give every algebraic step explicitly to reach the given answer
- Hence:
- Must use the previous part's result directly
- Determine:
- Choose and justify the correct method, then compute
Exam checklist
- Checked domain for division by zero / negative roots / non-positive logs?
- Found range from graph shape (turning point, asymptote), not assumed all reals?
- Confirmed one-to-one before finding an inverse?
- Matched sign of horizontal shift to the correct direction?
- Kept calculator in radian mode when appears in a trig argument?