IB Middle Years Programme · Mathematics (Extended) MYP Year 5

Sequences Patterns and Functions

Cover illustration for Sequences Patterns and Functions (Mathematics (Extended) MYP Year 5).
MYP · Mathematics (Extended) MYP Year 5

Sequences Patterns and Functions

17 min readExtendedCore strand of MYP Extended Mathematics — assessed under Criterion A (Knowing & Understanding) and Criterion D (Applying Mathematics in Real-Life Contexts); recurs across unit tests and the on-screen eAssessment 'Patterns' strand.

Every pattern you've clocked since Year 7 — tile arrangements, bouncing-ball heights, bus timetables — is a function wearing a disguise: something goes in (a position number , or an input ), a rule acts on it, and something comes out (a term value, or ). This chapter gives you the formal machinery to describe that precisely instead of just eyeballing 'it goes up by 6 each time': arithmetic and geometric sequences, the general term formula, function notation, composite and inverse functions, and domain/range.

Overview

Why this chapter exists

A sequence is an ordered list of numbers (); a series is what you get when you add them up. Two families dominate this course: arithmetic (constant difference ) and geometric (constant ratio ). Functions generalise the same idea for continuous inputs — write instead of — and open up new questions: what can you legally put in (domain), what comes out (range), and can you chain or reverse the rule (composite/inverse functions)?

  • Real exam contexts recycle the same skeleton every time: identify the pattern type, build the general formula, then use it to answer a specific question about the situation (a target value, a capacity limit, a day number).
  • Arithmetic sequences and straight-line functions are literally the same mathematical object — has exactly the shape .
  • Domain, range, composite and inverse functions extend the idea of 'a rule with inputs and outputs' beyond whole-number term positions to any real-number .

The shape of the chapter

Command terms that actually appear on this topic

Command termWhat it demandsAOMark-earning move
DeduceReach a conclusion using the given information, showing the specific step (usually a subtraction or substitution) that gets you there.ReasoningThe mark is for the shown step (e.g. ), not for the bare final value.
JustifySupport a conclusion with explicit numerical evidence and a concluding sentence answering the actual question.Reasoning/communicationCalculation alone without a stated yes/no or comparison sentence often scores zero on a 1-mark item.
AdviseGive a clear recommendation to the person/organisation in the context, backed by a calculation.ApplicationMark awarded for the explicit recommendation tied to a number, not the number alone.
CalculateObtain a numerical answer, showing the method used.Knowledge/applicationWorking must be visible — a correct final answer with no method can lose method marks on multi-mark items.
ConstructBuild a mathematical statement, formula, or representation from given information.ApplicationWants an actual formula in terms of n (or x), not a description in words.
StateGive a short answer with no working required.KnowledgeStill needs correct notation (e.g. , not 'x is more than 3') to earn the mark.
AnalyseBreak down the given model to identify a relationship and interpret its meaning in context.Application/interpretationNeeds the calculation AND a sentence saying what it means in the real-world context.

Key point

Every 'Justify' or 'Advise' question in this topic wants the same three moves: state the rule, substitute the actual numbers from the question, then finish with one sentence answering exactly what was asked. Skipping that last sentence is the single most common way to drop the mark even when the arithmetic is flawless.

Number Patterns and Arithmetic Sequences

Spotting the rule

A sequence is just a list of numbers generated by a rule — visual patterns, timetables, seat numbers in a hall are all sequences hiding inside real contexts. An arithmetic sequence is the special case where you add (or subtract) the same number every time you move to the next term; that fixed number is the common difference, .

  • for ANY consecutive pair — test at least two pairs before you commit to 'this is arithmetic', since one matching pair can be a coincidence in messier data.
  • means increasing (later bus departures, growing seat rows); means decreasing (fewer logs near the top of the stack).
  • The first term is (never ) unless the question explicitly defines a Day 0 or Term 0, as it does in linear-model contexts.
Arithmetic sequence
A sequence in which the difference between any two consecutive terms is constant.
Common difference, d
The fixed amount added to get from one term to the next; found by subtracting a term from the one immediately after it.
Series
The sum of the terms of a sequence, denoted for the sum of the first terms.

the nth term of an arithmetic sequence

— first term
— common difference
— term number (position)
Memorise

sum of the first n terms of an arithmetic series

equivalent to once you already know the last term

Arithmetic sequence plotted as points on a graph

Every arithmetic sequence is a straight line in disguise — the common difference d IS the gradient.

Position number, nSpace number, u_nd = 6

Worked example

Deducing the next term and checking a claim against a capacity limit

[2]
A car park numbers spaces 102, 108, 114, ... on a floor with capacity for exactly 20 spaces. (a) Deduce the number of the 4th space. (b) Advise the manager whether space 222 will appear on this floor.

The off-by-one indexing error

Using (forgetting the ) — e.g. computing the 4th car park space as instead of .

Consequence: Every term after the first comes out one 'step' too high, so both the specific term asked for and any later check (like 'does 222 appear?') are wrong even though the method looks fine.

Fix: Count jumps, not terms: to get from to you make jumps of size , not jumps.

Forgetting the stated capacity or limit

Solving to get and stopping there, without checking against the stated limit (20 spaces, 20 rows, 40 boxes, a grant threshold of 18 stops).

Consequence: Loses the Justify/Advise mark even with perfect algebra — the mark is for the conclusion linked to the constraint, not for the value of in isolation.

Fix: Always re-read the question for a stated capacity, limit, or cut-off, and finish with an explicit sentence: 'since , space 222 is not on this floor.'

Examiner tip

For 1-mark 'Deduce' questions asking for d, the mark scheme wants the subtraction shown (e.g. ), not just '' with no working — with only 1 mark on offer, that subtraction IS the mark.

Key takeaways

  • Confirm arithmetic by testing across at least two consecutive pairs before trusting the pattern.
  • — the counts jumps, not terms.
  • Any 'will it reach/appear/qualify' question needs the algebra AND an explicit sentence comparing your result to the stated limit.

General Term (nth Term) of a Sequence

Building the formula from scratch

Once you know , the whole sequence collapses into one formula, , which rearranges into — spot the shape: that's with and . An arithmetic sequence and a straight-line graph are the same object in different clothes.

  • Simplify the expanded form so the formula reads 'coefficient of ' + 'constant' — examiners want , not left unexpanded.
  • Given only two non-adjacent terms (e.g. and ), you get two equations in and and solve them simultaneously — this is exactly what multi-mark 'Construct a general formula' questions are testing.
  • Always sanity-check your finished formula by substituting a term number you were already told, before using it to predict anything new.

expanded/simplified nth term, matching linear function form

a linear model connecting two variables; plays the same role as

— gradient / rate of change
— value when x = 0 (y-intercept)

Worked example

Finding missing terms from two non-adjacent terms

[4]
In an arithmetic sequence, term 3 is 8 and term 7 is 26. Deduce the first two terms, and , and construct a general formula.

Examiner tip

'Construct a general formula' wants an actual algebraic expression in terms of — writing 'add 4.5 each time' in words earns method credit at best; with the numbers substituted in is what scores full marks.

Key point

Two unknowns ( and ) need two independent equations — a single known term is never enough to pin down an entire arithmetic sequence unless you're also told it starts at a stated value.

Key takeaways

  • Non-adjacent terms give simultaneous equations — subtract to eliminate and isolate first.
  • Always simplify into before quoting it as a final formula.
  • An arithmetic sequence and a linear function are structurally identical — .

Geometric Sequences and Series

Multiplying instead of adding

Swap 'add the same number' for 'multiply by the same number' and you get a geometric sequence — the common ratio replaces the common difference . These sequences grow or shrink fast, which is exactly why they model populations, interest, radioactive decay, and viral shares.

  • — divide, never subtract, to find . Subtracting consecutive terms in a geometric sequence gives you nonsense, not .
  • : growth (compounding, doubling). : decay towards zero (bouncing-ball height, radioactive decay). : terms alternate sign.
  • The sum to infinity only exists (converges to a finite value) when — outside that range the terms don't shrink, so the running total never settles.
Geometric sequence
A sequence in which each term is found by multiplying the previous term by a constant ratio, .
Common ratio, r
The fixed multiplier between consecutive terms; found by dividing a term by the one before it.
Sum to infinity, S∞
The limiting value of as ; exists only for a convergent geometric series where .

nth term of a geometric sequence

— common ratio
Memorise

sum of the first n terms of a geometric series

sum to infinity of a convergent geometric series

Geometric sequence: exponential growth curve

Geometric sequences curve away from a straight line almost immediately — the bigger r is, the faster the curve bends upward.

Hour, nPopulation, u_nr = 2

Worked example

Finding a term and a partial sum of a geometric sequence

[3]
A bacteria colony starts at 500 and doubles every hour. Calculate the population after 10 hours, and the total population-hours accumulated over the first 10 hours.

Arithmetic vs geometric sequences

FeatureArithmeticGeometric
Constant operationAdd Multiply by
Finding the constantSubtract consecutive termsDivide consecutive terms
nth term formula
Typical real-world modelBus times, seat rows, timetablesPopulation growth, compound interest, decay
Behaviour as Diverges to linearly (unless )Diverges exponentially () or converges to 0 ()
Graph shape (u_n vs n)Straight lineCurve (exponential)

Frequently confused

Concept AConcept BThe distinction that matters
Arithmetic sequenceGeometric sequenceTest the data: does subtracting consecutive terms give a constant (arithmetic), or does dividing consecutive terms give a constant (geometric)?
SequenceSeriesA sequence is the list of terms (); a series is their sum () — 'find the 5th term' wants a sequence answer, 'find the total' wants a series answer.

Mixing up the arithmetic and geometric sum formulas

Using on a geometric sequence, or the geometric sum formula on arithmetic data.

Consequence: Both formulas produce a number, so the error is invisible unless you first confirm which family the sequence belongs to.

Fix: Before reaching for any sum formula, test vs on the given data and commit only once you know which type you're in.

Real-world application

A post reshared by an average of 3 new people per share every hour is a geometric sequence with : starting from one share, by hour 6 that's new shares in that hour alone — exactly why viral-reach analytics teams model spread with geometric, not arithmetic, growth.

Key takeaways

  • Find by dividing consecutive terms, never subtracting.
  • only exists when — quote it outside that range and you've made a modelling error, not just an arithmetic one.
  • Same off-by-one trap as arithmetic sequences: the exponent in is , not .

Function Notation and Interpretation

f(x): a rule with a name

A function is a rule that assigns exactly one output to each input. Write the rule as or, using function notation, , which lets you name different rules (, , ) and refer to specific outputs compactly: means 'substitute into f's rule and evaluate'.

  • is notation, not multiplication — . Reading it as 'f times x' is the single most common misread in this topic.
  • Every linear arithmetic sequence is a function in disguise: is exactly restricted to whole-number inputs.
  • 'Analyse the model' questions want the equation used to answer a real question (when does it hit a target value, what does the gradient mean in context) — not just the formula restated.

Worked example

Building a linear model from two data points and interpreting it

[4]
On day 0, water consumption is 2 million litres; on day 2, it's 6 million litres, increasing at a constant rate. (a) Find the model . (b) Determine the day consumption reaches 20 million litres.

Examiner tip

Command term 'Analyse' expects you to extract meaning from the numbers — state explicitly what the gradient represents in context (e.g. 'litres per day') — a bare equation with no interpreting sentence typically drops a mark.

Mapping diagram for f(x) = 2x + 3

Function notation is just a labelled version of this arrow diagram — f(3)=9 means the arrow from 3 lands on 9.

Input, xOutput, f(x)f(x) = 2x + 3

Key takeaways

  • names a rule; means substitute into that rule and evaluate.
  • A linear model built from two data points needs the gradient found first, then the intercept — usually just read off if is given.
  • 'Analyse'/'interpret' questions always need a sentence connecting the number back to the real-world quantity.

Composite and Inverse Functions (Introductory)

Chaining and reversing functions

A composite function feeds the output of one function straight into another: means 'do first, then apply to that result' — order matters, and almost never equals . An inverse function, , undoes completely: if takes to , takes back to .

  • To find : write , swap and , then solve the new equation for .
  • names the inverse function — it is NOT , which is a totally different object (the reciprocal).
  • Quick check that an inverse is correct: substitute your back into and confirm .

composite function: apply g first, then f

defining property of an inverse function

Worked example

Composing two functions in both orders, then finding an inverse

[6]
Given and , find , , and .

Mnemonic

Innermost first

In , the function written closest to the bracket around acts first — work from the inside out, like unwrapping a parcel, never outside in.

Confusing the inverse with the reciprocal

Treating as .

Consequence: The entire 'swap and solve' method gets skipped, and the reciprocal answer scores zero method marks even if it looks numerically plausible.

Fix: Read as 'the inverse function' — a completely different rule found by swapping variables, never by taking a reciprocal of the original formula.

Key takeaways

  • Substitute the entire inner function, not just the variable, when composing.
  • in general — always compute both if asked, and don't assume they match.
  • Finding : swap and , THEN solve for — solving before swapping is a wasted step that gives you back.

Domain and Range of Functions

What's allowed in, what comes out

The domain is the full set of input values () a function is allowed to take without breaking a maths rule (no dividing by zero, no square-rooting a negative). The range is the resulting set of output values the function actually produces once every allowed input has been used.

  • Two things restrict domain at this level: a denominator that can't equal zero, and a square root that can't have a negative value underneath.
  • Range is usually worked out AFTER domain — think about the smallest and largest (or approached-but-never-reached) output values, given the allowed inputs.
  • Asymptotes (a line the graph approaches but never touches) mark an excluded value — vertical asymptote excludes a domain value, horizontal asymptote excludes a range value.
Domain
The complete set of -values for which a function is defined.
Range
The complete set of output values (-values) a function actually produces over its domain.
Asymptote
A line that a graph gets arbitrarily close to but never reaches, signalling an excluded domain or range value.

Domain and range from a reciprocal graph

The vertical asymptote flags the excluded domain value; the horizontal asymptote flags the excluded range value — read them off separately.

xg(x)x = 2 (excluded from domain)y = 0 (excluded from range)

Worked example

Stating domain and range for a root function and a reciprocal function

[4]
State the domain and range of (a) and (b) .

Domain and range of common function families

Function typeTypical domainTypical range
Linear, all real all real
Quadratic, all real
Square root,
Reciprocal,

Swapping domain and range

Reading the excluded x-value off a vertical asymptote and calling it the range, or the excluded y-value off a horizontal asymptote and calling it the domain.

Consequence: Both restrictions are correct, just assigned to the wrong variable, so the answer often scores zero despite the right numbers appearing.

Fix: Vertical asymptote (a value can't be) restricts the DOMAIN; horizontal asymptote (a value can't be) restricts the RANGE.

Examiner tip

'State' questions on domain/range want correct set notation (, or ) with no working required — an answer written only as 'x is more than 3' with no inequality symbol can be marked as incomplete notation.

Key takeaways

  • Domain restrictions come from denominators (≠0) and square roots (≥0 underneath).
  • Work out domain first, then use it to reason out the range.
  • Vertical asymptote → excluded domain value; horizontal asymptote → excluded range value — never the other way round.

Quick Reference

Sequences, Patterns and Functions — everything on one page

Formulas

  • arithmetic nth term
  • arithmetic series sum
  • geometric nth term
  • geometric series sum, r ≠ 1
  • sum to infinity, valid only when |r| < 1
  • composite function: g acts first

Key facts

Sum to infinity exists only when
|r| < 1
Arithmetic sequence as a linear function
u_n = dn + (u_1 - d)

Mnemonics

  • Innermost firstin f(g(x)), evaluate g(x) before applying f

Don't confuse

  • Arithmetic vs Geometric: subtract for a constant d vs divide for a constant r
  • Domain vs Range: domain = allowed x-values going in; range = actual y-values coming out
  • f⁻¹(x) vs 1/f(x): inverse function (swap x,y then solve) vs reciprocal (just divide 1 by the output)

Command terms

Deduce:
show the working step (subtraction/substitution), not just the final value
Justify / Advise:
state the numeric comparison AND a concluding sentence answering the actual question
Analyse:
link the calculation explicitly back to the real-world quantity or constraint

Exam checklist

  • Tested d (subtract) vs r (divide) before choosing a formula
  • Expanded (n-1)d fully before quoting the simplified nth term
  • Checked n against any stated capacity/limit before concluding Justify/Advise
  • Substituted the WHOLE inner function when composing, not just the variable
  • Swapped x and y before solving for an inverse function
  • Checked domain restrictions from BOTH denominators and square roots