IB Diploma Programme · Maths AI Standard Level

Functions

Cover illustration for Functions (Maths AI Standard Level (SL)).
IBDP · Maths AI SL

Functions

SL2.1-2.5

28 min readStandard~25-30% of Paper 1 & 2 marks across the course; foundational for calculus and modelling questions

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 termWhat it demandsAOMark-earning move
StateGive a result with no working required — usually 1 mark, don't waste time justifying it.AO1Write the value/statement directly; extra working earns no more marks and costs time.
Show thatProve a given result using algebra — the answer is given, so every line of working must be explicit.AO2Marks for method lines, not just the final match to the given answer; skipping steps loses marks even if the answer matches.
FindProduce a value or expression through calculation.AO1/AO2Working must lead clearly to a final boxed/stated answer.
DetermineFind a result using given information, often needing you to select the correct method.AO2State reasoning behind your method choice, especially for range/domain questions.
HenceYou must use the previous result/part — an independent correct method scores zero.AO2Explicitly reference the earlier result in your working.
JustifyGive a reason supported by evidence (a calculation, a graph feature, a definition).AO3A bare assertion with no reasoning scores 0 even if the conclusion is correct.

Key point

exists only when is one-to-one on its stated domain. If a question restricts the domain (like for ), that restriction exists specifically to make the inverse exist — never ignore it.

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

Memorise

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)

[4]
, . (a) State the excluded value. (b) Find . (c) Given , show .

Worked example

Restricted domain and its inverse (Q5-style)

[8]
for . (a) State, with reason, whether is one-to-one. (b) Find where . (c) Find stating its domain.

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)

[3]
and . Show , then state the relationship between and .

Examiner tip

For 'show that ' questions, examiners give the M mark for correct substitution and the A mark for correct simplification to exactly — an answer of with an unexplained jump loses the method mark even if final answer is right.

Worked example

Range of a logistic-type model and one-to-one check (Q8-style)

[4]
, , . (a) Determine the range of . (b) Show is one-to-one.

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 )

Data booklet

horizontal translation by units LEFT (right if ) — opposite to intuition

Data booklet

vertical stretch, scale factor , from the -axis

Data booklet

horizontal stretch, scale factor , from the -axis

Data booklet

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 .

y = x^2 (original)y = 2x^2 (vertical stretch factor 2)y = 2(x-1)^2 (horizontal translation +1)y = 2(x-1)^2 + 3 (vertical translation +3)

Worked example

Reading off a combined transformation

[3]
Describe the sequence of transformations that maps onto .

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

GDC-based transformation questions often ask you to state the new equation after a described transformation (not describe an equation in words) — read the command term carefully; 'write down' wants the equation, 'describe' wants the words.

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
Data booklet

for or

Memorise

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.

midline y = damplitude a (distance from midline to max)period = 2π/bphase shift c

Worked example

Ferris wheel height model (Q2-style)

[3]
, . (a) State the period. (b) Determine the range of heights.

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

'Determine when the photographer should take the photo' (finding for a given height) requires solving using the GDC graph/intersection method — state the equation being solved and the restricted domain explicitly, even when using technology, to secure method marks.

Frequently confused

Concept AConcept BThe distinction that matters
AmplitudePeriodAmplitude 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?