
Functions
MYP Year 5 Mathematics — Functions
Every functions question this year is secretly testing the same three instincts: is this actually a function, what's allowed in and out of it, and what happens when you stretch, shift or chain it together. The exam bank leans hard on real data — phone bills, bike rentals, reservoirs — because examiners want to see whether you can translate a messy table into notation, not just manipulate an equation someone already gave you.
Overview
A function is the maths department's promise of predictability: feed the same input in twice, you get the same output twice, every time. Composition, transformations, domain restrictions — all of it is just asking one question in different costumes: does this rule behave itself?
- Functions are reliable machines — one input, one guaranteed output.
- Graphs are pictures of rules; transformations are edits made to that picture.
- Domain and range are the machine's operating limits — what it will accept, and what it can possibly spit out.
- Real contexts (cost, growth, rentals) are the whole point — MYP5 exam questions almost always dress functions up as a scenario, not a bare equation.
The shape of the chapter
Command terms this topic loves
| Command term | What it demands | AO | Mark-earning move |
|---|---|---|---|
| State | Give a short answer with no justification required. | AO1 | One correct fact/value earns the mark — extra explanation isn't rewarded but isn't penalised either. |
| Justify | Support a conclusion with a specific reason or test. | AO2 | The mark sits on the REASON (e.g. 'input 2 gives two different outputs'), not just the yes/no answer. |
| Evaluate | Substitute given value(s) and compute a numeric result. | AO1 | Marks awarded for correct substitution AND correct arithmetic — one wrong step loses both. |
| Deduce | Use given information to reach an equation or conclusion, showing the reasoning chain. | AO2 | A correct final rule with no visible working (e.g. gradient, then intercept) rarely gets full marks. |
| Analyse | Break down data to identify a pattern or relationship. | AO2 | Must name the pattern explicitly (e.g. 'constant difference of 2'), not just describe the numbers. |
| Explain | Give reasoning that shows understanding of why something is true. | AO2 | Needs a mechanism, not a restatement — e.g. link back to the vertical line test by name. |
| Advise | Give a reasoned recommendation for a course of action. | AO3 | The numeric answer alone isn't enough — it must be translated into an actual recommendation in context. |
Key point
Composite Functions
Composition chains two machines together: the output of the first function becomes the input of the second. is read 'f of g of x' — and it means work out first, then feed that number into .
- The function written closest to acts first, no matter which letter comes first alphabetically.
- Domain of a composite depends on BOTH functions — the output of the inner function must itself be a valid input for the outer one.
- Composition is not commutative: and are usually different functions entirely.
Key terms
- Composite function
- A new function built by applying one function to the output of another.
- Inner function
- The function applied first — the one directly touching .
- Outer function
- The function applied second, to the result of the inner function.
Composite function as a chain of machines
Composition is a two-stage machine: the inner function's output becomes the outer function's input.
Composition formulas
Apply g first, then apply f to the result.
- — any two functions
- — the original input
Apply f first, then apply g to the result — generally NOT equal to (f∘g)(x).
Worked example
Composing two functions in both orders
Don't mix these up
| Concept A | Concept B | The distinction that matters |
|---|---|---|
| The small circle means 'substitute the output of g into f' — it's substitution, not multiplication. | ||
| Read right to left: the function nearest acts first. Swapping the order almost always changes the numeric answer. |
Common mistake
Evaluating the outer function before the inner one in a composite expression.
Consequence: Every mark for that part is lost even if the later arithmetic is flawless, because the substitution order itself is what's being tested.
Fix: Identify which function is 'wrapped around' the other — the one written closest to in the notation always goes first in your working.
Key takeaways
- : always evaluate the inner function first.
- Composition is not commutative — in general.
- Composite ≠ product: the circle symbol means substitution, not multiplication.
Transformations
Transformations edit the graph of without changing which family it belongs to — a shifted parabola is still a parabola. Every transformation question is really asking you to match a piece of the equation to a movement on the picture.
- outside the function shifts the whole graph vertically — behaves exactly as it looks.
- inside the function (as in ) shifts horizontally — and does the OPPOSITE of what the sign suggests.
- A multiplier outside stretches vertically; a multiplier inside compresses horizontally by factor .
- A negative sign outside flips the graph over the -axis; a negative sign inside flips it over the -axis.
Transformation rules for
Vertical translation by units (up if ).
Horizontal translation by units (right if ) — opposite to the sign shown.
Vertical stretch by factor (compression if ).
Horizontal stretch by factor .
Reflection in the -axis.
Reflection in the -axis.
Translating a parabola
The parabola (vertex ) translated to (vertex ) — 2 right, 1 up.
Mnemonic
Outside acts normal, inside acts backwards.
For : the OUTSIDE change () does what it looks like — add , shift up. The INSIDE change () does the OPPOSITE of what it looks like — shift right by , not left.
Worked example
Reading a transformation off an equation
Examiner tip
Key takeaways
- Changes outside the function act as they look; changes inside act in reverse.
- moves the graph right and up — always check the sign of carefully.
- A stretch factor multiplies distances from the axis; a negative sign reflects across it.
Types of Functions
Different function families produce different shapes because they encode different growth patterns — constant rate, constant curvature, constant ratio, or a rule that switches between all of these.
- Linear: adds the same amount each step — straight line.
- Quadratic: rate of change itself changes steadily — one turning point.
- Exponential: multiplies by the same factor each step — curve that never quite reaches zero.
- Piecewise: genuinely different rules on different intervals — must be checked at every boundary.
Function families at a glance
| Type | General form | Key feature | Everyday example |
|---|---|---|---|
| Linear | Constant rate of change (straight line) | Data plan charging $2 per GB plus a $3 fixed fee | |
| Quadratic | One turning point, symmetric parabola | Height of a ball over time under gravity | |
| Exponential | Constant ratio between consecutive outputs; horizontal asymptote | Compound interest, bacterial growth | |
| Piecewise | Different rule per -interval | Rule can change slope or jump at boundaries | Tiered data charges by usage band |
A piecewise cost function
Boundary behaviour matters: a filled dot means the point IS included, an open circle means it is approached but not reached.
Worked example
Testing and evaluating a piecewise charge function
Common mistake
Declaring a piecewise relation 'not a function' just because it has multiple rules.
Consequence: Loses the justification mark even if the yes/no answer happens to be correct.
Fix: Check the boundary values specifically — only overlapping domain intervals with different outputs actually break the function definition.
Key takeaways
- Identify a function's family by its pattern: constant difference (linear), constant second difference (quadratic), constant ratio (exponential).
- A piecewise rule is a function as long as no -value is covered by two branches.
- Continuity must be checked numerically at each boundary — never assumed from the shape of the rule.
Applications of Functions
Every real formula — a bill, a growth rate, a distance — is a function once you name what's going in and what's coming out. The exam bank tests this constantly: build the rule from a table, evaluate it, then translate the answer back into a sentence about the situation.
- First job always: identify which variable is the input and which is the output.
- Second job: build or use the rule (often linear) with real numbers from a table or graph.
- Third job: check the answer makes sense in context — negative hours, negative GB, or impossible charges should raise a flag.
Same skeleton, different costume
Worked example
Building and using a linear cost model
Worked example
Reading a function value off a graph
Examiner tip
Key takeaways
- Building a model from a table: find the rate (gradient) first, then solve for the fixed value using one data point.
- Always convert an inequality answer (like ) back into a plain-English recommendation.
- A function value quoted from a graph point, like , needs a context sentence to earn full marks.
Domain and Range
Domain is every valid input; range is every output the rule actually produces. Restrictions come from two places: the algebra itself (square roots, denominators) and the real world the function is modelling (you can't rent negative hours).
- Algebraic restriction: anything under a square root must be ; anything in a denominator must be .
- Context restriction: even if the algebra allows negative or non-integer inputs, the situation might forbid them.
- Range is found AFTER the domain — work out what outputs the restricted inputs can actually generate.
Key terms
- Domain
- The complete set of input values () for which a function is defined.
- Range
- The complete set of output values ( or ) the function actually produces.
- Interval notation
- Shorthand for a set of values, e.g. means all values from to inclusive.
Domain and range of a semicircle function
The square root gives only the upper half of the circle — domain , range .
Worked example
Finding domain and range from the algebra
Worked example
Restricting domain from real-world context
Common mistake
Stating a real-world function's domain/range purely from the algebra, ignoring that negative inputs are physically meaningless.
Consequence: Loses the context/reasonableness mark that MYP applied questions specifically award for linking maths back to the situation.
Fix: Always ask: does a negative, zero, or non-integer input actually make sense here? Restrict the domain before stating the range.
Key takeaways
- Domain = valid inputs; range = resulting outputs — never swap them.
- Square roots restrict to non-negative arguments; denominators restrict to non-zero values.
- Real-world context can restrict domain even when the algebra alone wouldn't.
Introduction to Functions
A relation is any pairing of inputs and outputs. A function is the special, well-behaved case where every input is paired with exactly ONE output — this single rule is what the vertical line test and every 'is this a function?' question is really checking.
- notation reads as 'the output of when the input is ' — not ' multiplied by '.
- The independent variable () is what you choose; the dependent variable ( or ) is what results from that choice.
- Repeated OUTPUTS are completely fine for a function; repeated INPUTS with different outputs are not.
Key terms
- Relation
- Any set of ordered pairs or rule linking inputs to outputs — no restriction on repeats.
- Function
- A relation in which every input is paired with exactly one output.
- Independent variable
- The input, usually — the value you choose or control.
- Dependent variable
- The output, usually or — its value depends on the chosen input.
Function vs non-function as arrow diagrams
Left: every input has exactly one arrow out — a function. Right: input 2 has two arrows out — not a function.
Worked example
Testing four machines against the definition of a function
Don't mix these up
| Concept A | Concept B | The distinction that matters |
|---|---|---|
| Relation | Function | Every function is a relation, but not every relation is a function — the extra rule is 'one input, one output only'. |
| Independent variable | Dependent variable | Independent = what you choose (usually ); dependent = what results from that choice, so its value depends on the input. |
Examiner tip
Key takeaways
- A function requires every input to map to exactly one output — check for repeated inputs, not repeated outputs.
- notation names the output produced by input under rule .
- Tabulated data can only confirm the function test for the values actually given.
Linear Functions
A linear function adds the same amount for every extra unit of input — the gradient is that constant rate, and the -intercept is the starting/fixed value before any input is applied.
- Constant first difference in a table is the signature of a linear rule — check it before assuming any other function type.
- Gradient = rate of change in context (dollars per GB, dollars per hour); intercept = fixed cost/starting value.
- If a table's inputs repeat with different outputs, no single linear rule (or any function) can fit it — say so rather than averaging.
Linear function formulas
Slope-intercept form.
- — gradient (rate of change)
- — $y$-intercept (value when $x=0$)
Gradient between two known points.
Linear cost function from a table
Reading the fixed fee (\2, the \y-intercept) and the hourly rate (\6, the gradient) directly off the line.
Worked example
Deducing a linear rule and spotting a non-function
Worked example
Evaluating and spotting an incorrect bill
Common mistake
Substituting the OUTPUT value into the function instead of the input.
Consequence: Every subsequent evaluation is wrong even though the formula itself was written correctly.
Fix: Underline which variable is the input in the question before substituting anything into .
Key takeaways
- Constant first difference in a table signals a linear rule; find from two points, then from one.
- A repeated input with two different outputs means the data isn't a function — no linear rule can fit it.
- Always re-verify a deduced rule against a data point not used to build it.
Quadratic Functions
A quadratic function's graph is a parabola — one turning point, symmetric about a vertical line through the vertex. General form is fast to read the -intercept from; vertex form is fast to read the turning point from.
- The sign of tells you the direction: positive opens upward (minimum), negative opens downward (maximum).
- The axis of symmetry sits exactly halfway between any pair of roots.
- Not every quadratic factorises neatly — the quadratic formula always works as a backup.
Quadratic formulas
General form; is the -intercept directly.
Vertex form; the vertex is directly.
Axis of symmetry (from general form).
Quadratic formula — solves when factorising is hard.
Parabola with intercepts and vertex labelled
: roots at , axis of symmetry , vertex .
Worked example
Extracting all key features of a quadratic
Examiner tip
Key takeaways
- General form gives the -intercept instantly; vertex form gives the turning point instantly.
- Axis of symmetry is the -coordinate only — substitute back to find the vertex's -value.
- The quadratic formula always works, even when factorising doesn't.
Graphs of Functions
A graph carries information you should be able to read straight off it, without needing the equation: intercepts, turning points, and where the function increases or decreases.
- -intercepts are where the curve crosses the horizontal axis — the roots.
- The -intercept is a single point where the curve crosses the vertical axis.
- A maximum or minimum turning point tells you the range instantly, once you know which way the curve opens.
- Domain/range can often be read visually before ever writing down the equation.
Reading key features off a parabola
: a maximum at gives the range instantly.
Worked example
Reading domain, range and intercepts directly off a graph
Key takeaways
- -intercepts, -intercept and turning points should be readable directly from a labelled graph.
- Whether range is or the turning point's -value depends entirely on whether it's a minimum or maximum.
- A smooth polynomial curve (no breaks) always has domain = all real numbers.
Exponential Functions
Exponential functions model repeated MULTIPLICATION rather than repeated addition — each step multiplies the previous output by the same factor, so growth (or decay) compounds instead of staying steady.
- Base : growth — outputs increase and the curve gets steeper over time.
- Base : decay — outputs shrink toward zero but never actually reach it.
- The graph has a horizontal asymptote at (for the basic form) and never crosses the -axis.
Exponential function formula
Growth if ; decay if .
- — initial value, at $x=0$
- — growth/decay factor
Percentage growth model: is the growth rate as a decimal (e.g. 4% → , base ).
Exponential growth curve
passes through , , — each step doubles the output; the curve approaches but never touches .
Linear vs exponential: spotting the difference in a table
| Feature | Linear function | Exponential function |
|---|---|---|
| Pattern between outputs | Constant DIFFERENCE (add same amount each step) | Constant RATIO (multiply by same factor each step) |
| General form | ||
| Long-term behaviour | Grows/falls at a steady, unchanging rate forever | Growth accelerates (or decay slows) — never actually reaches zero |
| Graph shape | Straight line | Curve with a horizontal asymptote |
Worked example
Percentage growth model
Common mistake
Reading a table and assuming a constant difference (linear) without checking for a constant ratio.
Consequence: Leads to selecting the wrong function type entirely, so every formula built afterwards (gradient, intercept) is meaningless for that data.
Fix: Divide consecutive outputs, not subtract them — a constant ratio confirms exponential; a constant difference confirms linear.
Where exponential models actually show up
Key takeaways
- Constant ratio between consecutive outputs signals exponential, not linear.
- Base means growth; base between 0 and 1 means decay; the curve never reaches .
- In percentage models, the base is (growth) or (decay), not itself.
Quick Reference
Functions — everything on one page
Formulas
- Inner function first — order matters.
- Shift right, up — inside is opposite, outside is normal.
- = gradient/rate, = -intercept/fixed value.
- Gradient from two points.
- Vertex form: vertex is directly.
- Axis of symmetry from general form.
- Quadratic formula — always works.
- Growth if , decay if .
Key facts
- Vertical line test
- No input repeats with a different output
- Horizontal shift sign
- Opposite to the sign shown inside the bracket
- Axis of symmetry
- , halfway between the roots
- Exponential asymptote
- , never actually reached
- Composite order
- Function closest to evaluates first
Mnemonics
- Outside acts normal, inside acts backwards.For : shifts as it looks (up); shifts opposite to its sign (right for ).
Don't confuse
- Domain vs Range: Domain = valid inputs (); range = resulting outputs ().
- Relation vs Function: Function = relation where every input has exactly ONE output.
- vs : Read right-to-left; the function nearest acts first — order changes the answer.
- Linear pattern vs Exponential pattern: Linear = constant DIFFERENCE between outputs; exponential = constant RATIO.
Command terms
- Justify:
- Name the specific test/reason (e.g. vertical line test), not just state yes/no.
- Deduce:
- Show the working chain — gradient then intercept — not just the final rule.
- Evaluate:
- Substitute the correct variable and compute the exact numeric value.
- Advise:
- State the number AND translate it into a recommendation in context.
Exam checklist
- Checked every input for repeats before declaring a function — not just the outputs.
- For composites, evaluated the function nearest first.
- For horizontal shifts, reversed the sign inside the bracket.
- Stated domain/range as intervals of the correct variable, restricted to sensible real-world values where needed.
- Divided (not subtracted) consecutive outputs to test for an exponential pattern.
- Tied every numeric answer back to the context sentence when the command term demands it (advise, explain, deduce).