
Functions
AI HL Topic 2: Functions (SL2.1-SL2.5 function basics, modelling, key features; AHL2.6-AHL2.7 composite/inverse functions and transformations); sinusoidal graph work cross-refs AHL3.7 (Geometry & Trigonometry, circular functions)
Functions is the topic examiners lean on to test whether you actually understand algebra or just recognise patterns — every rational-function inverse, every transformed graph, every sinusoidal tank/tide model is really asking the same three questions: can you undo a mapping, can you track what , , , do to a graph, and can you read amplitude/period/asymptote straight off a picture. Get comfortable with those three and this topic stops being three subtopics and becomes one recurring skill.
Overview
At HL, Functions sits on top of the SL content (domain, range, key features, modelling) and adds two genuinely new tools: composite/inverse functions with domain restrictions, and a fully general transformation equation . Both get tested through rational functions (asymptotes, self-inverse shortcuts) and through trigonometric models (amplitude, period, principal axis).
- Functions and their properties: domain/range, one-to-one vs many-to-one, inverse functions, composite functions, asymptotic behaviour of rational functions.
- Transformations: the single equation covers every translation, stretch and reflection you'll ever be asked to apply.
- Trigonometric functions: sin/cos/tan graphs, amplitude-period-vertical shift, and solving trig equations over a restricted domain — the go-to tool for anything periodic.
The shape of the chapter
Command terms that decide your mark
| Command term | What it demands | AO | Mark-earning move |
|---|---|---|---|
| Write down | State a result with no working required — read directly from GDC or given info. | AO1 | 1 mark for the correct value/equation alone; there's no method mark to fall back on if it's wrong. |
| Show that | Prove a given result algebraically — the answer is already known, so every step must be visible. | AO2 | Marks awarded per legitimate step; jumping straight to the printed answer loses marks even if it's correct. |
| Hence | Use the previous part's result directly. | AO2 | A fresh method that ignores the earlier answer scores zero, even if mathematically valid. |
| Justify | Give an algebraic or logical reason, not a description of the graph. | AO2/AO3 | "It looks one-to-one on the graph" with no algebra typically earns 0 of the available marks. |
| Sketch | Show general shape and key features — intercepts, asymptotes, endpoints — not an accurate scale drawing. | AO1 | Marks for each correctly labelled feature; a missing asymptote or endpoint loses a mark even if the curve shape is right. |
| Determine / Find | Obtain the answer via calculation or GDC, with working shown. | AO1/AO2 | Method marks are available even with a wrong final value, provided the working is legible. |
Key point
Functions and Their Properties
A function is a mapping where every input gives exactly one output — that's non-negotiable. What HL adds is the requirement to justify structural claims (one-to-one, invertibility) with algebra rather than a glance at a graph, and to handle rational functions where asymptotes control both the domain/range and whether an inverse is 'nice'.
- Domain comes from what makes the formula undefined: denominators equal to zero, negative numbers under square roots, or a context restriction (e.g. for time).
- Range is read from the actual graph, not assumed — a rational function's range typically excludes its horizontal asymptote value.
- One-to-one must be proved algebraically for 'Justify' questions: assume and show this forces .
- Finding : replace with , swap , solve for , then state the domain of as the range of — this last step is the one everyone forgets under time pressure.
Vocabulary you must use precisely
- Function
- A relation where every input maps to exactly one output.vertical line test
- Domain
- The full set of permitted -values — check denominators and roots before assuming .
- Range
- The full set of output values actually produced — read off the graph, especially around asymptotes.
- One-to-one function
- ; passes the horizontal line test. Required before an inverse function exists without restricting the domain.
- Inverse function
- Undoes : . Found by swapping and solving; graphically it's the reflection of in .
- Composite function
- Apply first, then : . Order matters.
- Self-inverse function
- , so . For this happens exactly when .
- Asymptote
- A line the graph approaches but never reaches; controls both domain (vertical) and range (horizontal).
The rational-function toolkit
read both asymptotes directly off the coefficients — no long division needed
shortcut for 'show ' questions — check this before grinding through algebra
domain of is the set of in the domain of for which lies in the domain of
swapped, not equal — the single most tested consequence of the reflection in
general exponential growth () or decay () model
- — initial value at $t=0$
- — growth/decay factor per unit time
Asymptotes of a rational function
Both branches hug the asymptotes but never cross them — this is exactly why the range excludes y = 2.
Worked example
Asymptotes and inverse of a rational function (Q1-style)
Worked example
Proving one-to-one algebraically, then inverse and range (Q4-style)
Worked example
Inverse of a square-root function, and where f meets f⁻¹ (Q3-style)
Worked example
Exponential growth: solving for the rate constant (Q6-style)
The parent functions you're expected to recognise instantly
| Function | General form | Domain | Range | Key feature |
|---|---|---|---|---|
| Linear | constant gradient | |||
| Quadratic | one-sided from the vertex | vertex, axis of symmetry | ||
| Exponential | (if ) | horizontal asymptote | ||
| Rational (linear/linear) | vertical asymptote , horizontal | |||
| Sinusoidal | periodic, period |
Don't mix these up
| Concept A | Concept B | The distinction that matters |
|---|---|---|
| Inverse function | Reciprocal | undoes the mapping (swap , solve); the reciprocal just divides 1 by the output — completely different functions in general. |
| One-to-one function | Many-to-one function | One-to-one passes the horizontal line test and only these have a true inverse without restricting the domain — many-to-one needs a restricted domain first. |
| Domain of | Range of | Domain of = range of ; range of = domain of — swapped, not identical. |
Common mistake
Isolating correctly in a restricted-domain inverse (e.g. ) but forgetting to state before squaring .
Consequence: Markschemes typically split 3-4 marks across swap/algebra/domain — an unrestricted or sign-ambiguous inverse usually loses the domain mark even if the algebra is otherwise perfect.
Fix: The moment you isolate the square root (or any restricted expression), write down its sign restriction on the same line, before squaring or continuing the algebra.
Examiner tip
Real-world application
Key takeaways
- Domain/range come from the graph's actual behaviour, not assumption — check asymptotes and endpoints.
- Prove one-to-one algebraically (assume , show ) rather than eyeballing the graph.
- To find : swap and , solve for , then state the domain (= range of ).
- For : vertical asymptote , horizontal asymptote , self-inverse exactly when .
Transformations of Functions
Every transformation you'll ever be asked about is one instance of . The trick isn't memorising four separate rules — it's correctly identifying , , , from whatever form the equation is given in, especially when and are tangled together un-factorised.
- (outside, added last): vertical translation — up if , down if .
- (outside, multiplying ): vertical stretch by factor ; reflection in the -axis if .
- (inside, subtracted from ): horizontal translation — right if , left if . Always identify from the factorised form .
- (inside, multiplying ): horizontal stretch by factor — a bigger compresses the graph; reflection in the -axis if .
- When a question gives you key points on rather than a formula, transform the coordinates directly: .
The master equation
every translation, stretch and reflection is this equation with different values of
how a key point on maps to a point on
works even when you never write down 's equation
Transforming a piecewise graph point-by-point
Each vertex shifts right 1, then its height doubles and drops by 2 — the image is not a rigid shift, it's stretched too.
Worked example
Transforming key points without ever finding g's equation
Six transformations, one pattern
| Transformation | Equation (from ) | Effect on point | Effect on graph |
|---|---|---|---|
| Vertical translation | shifts up units (down if ) | ||
| Horizontal translation | shifts right units (left if ) | ||
| Vertical stretch | stretches from the -axis by factor ; reflects in -axis if | ||
| Horizontal stretch | compresses toward -axis by factor ; reflects in -axis if | ||
| Reflection in x-axis | flips vertically | ||
| Reflection in y-axis | flips horizontally |
Mnemonic
Inside = opposite, Outside = obvious
In : the constants attached to (the and 'inside' the function) transform opposite to intuition — shifts RIGHT, and COMPRESSES the graph. The constants attached to the output ( and , 'outside') do exactly what they look like — stretches vertically, shifts up.
Common mistake
Reading as 'shift 6 right, then stretch by ' by using the raw number attached to instead of factorising first.
Consequence: This produces a graph shifted 6 units instead of 3 — a very common HL-only wrong-answer pattern that loses the transformation method mark even though the 'shift and stretch' idea was right.
Fix: Factorise first: . Now read off (horizontal stretch factor ) and (shift right 3) — the transformation is always identified from , never from the un-factorised expression.
Examiner tip
Key point
Key takeaways
- Every transformation is one instance of — identify first, then transform key points.
- Horizontal changes () act on and behave opposite to intuition; vertical changes () act on and behave as expected.
- Factorise before describing a transformation whenever and appear tangled together.
- The coordinate mapping works even without knowing 's formula — essential for graph-only questions.
Trigonometric Functions
Trig functions are just a special case of transformations applied to the parent / graphs — which is why this subtopic sits inside Functions rather than off on its own. Amplitude, period and principal axis are simply , (rearranged) and from the master transformation equation, applied to a periodic parent function.
- and : domain all reals, range , period radians ().
- : period , vertical asymptotes at where the underlying cosine hits zero.
- General model : amplitude , period , principal axis (midline) .
- Solving trig equations over a stated domain: expect more than one root per period — use symmetry of the curve, don't just take the GDC's first answer.
Reading a sinusoidal graph
- Amplitude
- in — half the vertical distance between max and min.
- Period
- Length of one complete cycle: radians (or ).
- Principal axis (vertical shift)
- , the line the graph oscillates about — the average of the maximum and minimum values.
- Phase shift
- The horizontal translation applied to the parent graph — watch which sign convention the equation uses.
The sinusoidal model
amplitude , period , principal axis , horizontal shift
always match the unit to the GDC mode you're solving in
the formula-booklet convention uses — see the common mistake below before reading off a shift direction
Parent graphs of sin x and cos x
Same amplitude (1) and period (2 pi), just shifted a quarter-period apart — cos x is sin x shifted left by pi/2.
Sinusoidal model of tank volume over 24 hours
Amplitude 500, period 24 hours, principal axis at V = 2000 — every one of these is read straight from the max/min points.
Worked example
Extracting amplitude, minimum, and solving a trig inequality from a model (Q5-style)
Worked example
Amplitude, period and principal axis from an equation
Don't mix these up
| Concept A | Concept B | The distinction that matters |
|---|---|---|
| Amplitude | Vertical shift (principal axis) | Amplitude = half the distance between max and min; = the value the graph oscillates about, found by averaging max and min. |
| Period | Horizontal stretch factor | Increasing COMPRESSES the graph (shorter period); period — a bigger never means a longer period. |
Common mistake
Solving a trig equation on the GDC and reporting only the first root it returns.
Consequence: Trig equations over a stated domain almost always have two or more solutions per period; markschemes award a mark per valid root, so reporting one root loses at least 1 mark even with a correct method.
Fix: Sketch the curve (or use sine/cosine symmetry: and for sine, and / for cosine) to find every root inside the given domain before stopping.
Examiner tip
Key point
Real-world application
Key takeaways
- Amplitude , period , principal axis = average of max and min — extract all three from a labelled graph or a table of max/min values.
- Watch the formula-booklet sign convention — shifts the graph LEFT when positive, opposite to the convention.
- Trig equations over a restricted domain need every root, not just the GDC's first — use curve symmetry to find the rest.
- Always confirm GDC angle mode before solving — wrong mode strips accuracy marks even with a perfect method.
Quick Reference
Functions — everything on one page
Formulas
- asymptotes of
- self-inverse condition for a linear-over-linear rational function
- master transformation equation
- coordinate mapping for transforming key points directly
- amplitude , period , principal axis
- general exponential growth/decay model
Key facts
- Period of
- radians
- Self-inverse condition
- Domain of
- range of
Mnemonics
- Inside = opposite, Outside = obviousconstants attached to () behave opposite to intuition; constants attached to () behave as expected
Don't confuse
- vs : inverse undoes the mapping; the reciprocal just divides 1 by the output — unrelated in general
- Amplitude vs Vertical shift : amplitude = half the max-min gap; = the midline the graph oscillates about
Command terms
- Show that:
- display every algebraic step toward the given answer
- Hence:
- must reuse the previous part's result, not a fresh method
- Justify:
- needs an algebraic/logical reason, not a description of the graph
Exam checklist
- Stated both asymptote equations in full (x = ..., y = ...)
- Proved one-to-one algebraically before finding an inverse
- Swapped x/y, solved, and stated the restricted domain of f⁻¹
- Factorised b(x-h) before describing a horizontal transformation
- Read amplitude/period/principal axis off max & min values, not guessed
- Checked GDC angle mode before solving any trig equation
- Found ALL roots of a trig equation within the given domain