Skip to main content
\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
International Baccalaureate · PYP 4

Patterns and functions

⌚ ~106 min ▢ 11 blocks ✓ 52 exercises ➣ Prerequisites : Addition, Multiplication, Number Patterns
I Terms and Their Positions
Definition — Numerical Sequence
A numerical sequence is a list of numbers that follows a specific rule.
  • The first number is called the 1\(^{\text{st}}\) term.
  • The second number is called the 2\(^{\text{nd}}\) term.
  • The third number is called the 3\(^{\text{rd}}\) term.
  • And so on.
Example
What is the 6\(^{\text{th}}\) term of this sequence?
position 1 2 3 4 5 6
term 3 5 7 9 11 13

The 6\(^{\text{th}}\) term is \(13\).

Skills to practice
  • Finding Terms from a Table
  • Finding Missing Terms
II Finding a Term by the Rule
Method — Formulating the Rule of a Sequence
To formulate the rule of a number sequence:
  1. compute the jumps (the steps) from each term to the next, and write them on arrows;
  2. if all the jumps are equal, the rule is “add (or subtract) that number”;
  3. if the jumps come back in the same order (\(+5\), \(-2\), \(+5\), \(-2\), …), the rule chains them: “add \(5\), then subtract \(2\), and start again”;
  4. if the jumps keep growing, look for one same multiplier: “multiply by …”; if there is none, look for the rule of the jumps themselves, as in a sequence whose step changes.
Check the rule on every term given, then use it to continue.
Example
Find the rule of the sequence \(80\), \(85\), \(83\), \(88\), \(86\), … then write the next two terms.

The jumps from each term to the next:
\(80 \xrightarrow{\;+5\;} 85 \xrightarrow{\;-2\;} 83 \xrightarrow{\;+5\;} 88 \xrightarrow{\;-2\;} 86\)
The jumps are not all equal, and they do not keep growing: they come back in the same order, \(+5\), \(-2\), \(+5\), \(-2\). The rule is: add \(5\), then subtract \(2\), and start again. It gives every term given: \(80 + 5 = 85\), \(85 - 2 = 83\), \(83 + 5 = 88\), \(88 - 2 = 86\). $$\begin{aligned}[t] 86 + 5 &= 91 && \text{(add \(5\))} \\ 91 - 2 &= 89 && \text{(subtract \(2\))} \end{aligned}$$ The next two terms are \(91\) and \(89\).

Example
What is the 6\(^{\text{th}}\) term of this sequence?
position 1 2 3 4 5 6
term 5 9 13 17 21 ?

The 6\(^{\text{th}}\) term is \(25\), because each term increases by \(4\): \(21 + 4 = 25\).
Figure

Skills to practice
  • Formulating the Rule
  • Finding the Next Term by Adding or Subtracting
  • Finding a Term Further On
  • Finding the Next Term by Multiplying or Dividing
III Growing Patterns
Method — Continuing a Growing Pattern
To continue a growing pattern:
  1. count the elements of the first diagrams and write them in a table (diagram \(1\), diagram \(2\), diagram \(3\), …);
  2. look at what each new diagram brings: where the new elements land, and how many there are;
  3. say the rule in words: “start with …, then add … at each diagram”;
  4. continue: draw the next diagram, or add step by step up to the diagram asked, and check on the drawing.
Example
Here is a growing pattern of squares made with sticks.
Figure \(\;,\quad\) Figure \(\;,\quad\) Figure \(\;,\;\dots\)
Find the number of sticks of diagram \(4\), then of diagram \(6\).

Diagram \(1\) \(2\) \(3\)
Sticks \(4\) \(7\) \(10\)
Each new square shares a side with the previous one: it brings \(3\) new sticks. The rule in words: start with \(4\) sticks, then add \(3\) sticks at each square. Step by step: $$\begin{aligned}[t] 10 + 3 &= 13 && \text{(diagram \(4\))} \\ 13 + 3 &= 16 && \text{(diagram \(5\))} \\ 16 + 3 &= 19 && \text{(diagram \(6\))} \end{aligned}$$ Diagram \(4\) has \(13\) sticks and diagram \(6\) has \(19\) sticks. Check on the drawing of diagram \(4\): \(4\) sticks on top, \(4\) at the bottom and \(5\) upright, \(4 + 4 + 5 = 13\).
Figure

Skills to practice
  • Continuing a Growing Pattern
IV Function Machines
Some quantities depend on others in a regular way. For example, the number of wheels is always the number of bicycles multiplied by 2. In mathematics, a rule that gives one number from another has a special name: a function.
A function works like a machine: a number goes in (the input), the machine applies its rule, and one number comes out (the output). The same input always gives the same output.
The In/Out tables of number patterns work in the same way, and so does a table of positions and terms: a position table is an In/Out table, where the position goes in and the term comes out.
Report an error
Definition — Function
A function is a rule that takes an input number and gives back exactly one output number. For each input, the function machine always gives the same output and follows the same rule every time.
Example
A function machine works as follows.
  • The rule of the function is: \(\textcolor{olive}{\text{add 2}}\).
  • The input is: \(\textcolor{colordef}{3}\).
  • The output is: \(\textcolor{colordef}{3}\textcolor{olive}{+2} = \textcolor{colorprop}{5}\).
Figure
Skills to practice
  • Calculating the Output of a Function
  • Finding the Rule of a Function
V Going further
Skills to practice
  • Reasoning and Problem-Solving
  • Problems
  • Quiz