- Foundation
- About 16 min
- 5 practice questions
Using algebra to find and explain patterns
Find the rule behind a number machine, describe the positions in a repeating pattern, prove a calendar pattern always works, and write a formula for a growing matchstick pattern.
If something looks wrong, please tell us.
By the end of this lesson you can
- Find the formula used by a number machine from examples.
- Use expressions like 4n − 1 and remainders to say what appears at any position in a repeating pattern.
- Write and check a formula for the nth step of a growing pattern, and explain why a calendar pattern always holds.
Algebra is not only for shortening rules. It can describe patterns, predict far-off terms without drawing them, and even explain why a pattern must always work. This lesson tries all three.
Formula detective
A number machine takes two inputs a and b and always does the same thing to them. Its results are: (3, 4) → 10; (5, 1) → 11; (2, 7) → 11; (6, 6) → 18. Try 'a + b': 3 + 4 = 7, not 10. Try '2a + b': 2 × 3 + 4 = 10, 2 × 5 + 1 = 11, 2 × 2 + 7 = 11, 2 × 6 + 6 = 18. All match, so the formula is 2a + b.
Positions in a repeating pattern
A border repeats four tiles in order: P, Q, R, S, P, Q, R, S, … Tile S is at positions 4, 8, 12, …, the multiples of 4, so the nth S is at 4n. Each R comes just before an S, at 4n − 1; Q is at 4n − 2; P is at 4n − 3.
To find the tile at any position, divide by 4 and look at the remainder: remainder 0 means S, 1 means P, 2 means Q and 3 means R. Position 50: 50 = 4 × 12 + 2, so it is Q. Position 73 = 4 × 18 + 1, so it is P. Position 100 leaves remainder 0, so it is S.
A calendar pattern that always works
Take any 2 × 2 square of dates in a calendar and add the four dates. If the top-left date is a, the date to its right is a + 1, the one below is a + 7 (one week later) and the diagonal one is a + 8. Sum: a + (a + 1) + (a + 7) + (a + 8) = 4a + 16. Example: top-left 9 gives 9 + 10 + 16 + 17 = 52, and 4 × 9 + 16 = 52. Because the algebra works for every a, the rule holds for every such square, not just the ones we tried. Similarly, three dates in a column, a − 7, a and a + 7, always add to 3a: three times the middle date.
Growing patterns
A row of matchstick houses is built so that neighbours share a wall. One house (a square with a two-stick roof) uses 6 sticks, and each new house adds 5 more (3 for the square, because one wall is shared, and 2 for the roof).
| Houses (n) | 1 | 2 | 3 | 4 | 10 |
|---|---|---|---|---|---|
| Matchsticks | 6 | 11 | 16 | 21 | 51 |
Finding a formula for a pattern
- Make a table Steps and counts for the first few steps.
- Find the change How much is added each step?
- Write the rule for step n First count + change × (n − 1).
- Simplify and check Test with a step you can count.
Worked example: the formula
Step n has the first house's 6 sticks plus (n − 1) lots of 5: 6 + 5(n − 1). Simplify: 6 + 5n − 5 = 5n + 1. Another way to see it: every house has 5 sticks of its own, plus 1 extra wall at the very start, giving 5n + 1 directly. Check: n = 4 gives 21, matching the table. For 30 houses: 5 × 30 + 1 = 151 sticks, found without drawing.
If a pattern starts with a and grows by the same amount d each step, step n has a + d(n − 1). Simplifying gives a short formula; check it on a step you can count.
Key takeaways
Key takeaways: Test guesses against every example to find a machine's formula. In a pattern repeating every k items, positions are described by kn, kn − 1, … and found by the remainder on dividing by k. Writing a pattern in algebra shows it holds for every case. For growing patterns, find the change per step and build the nth-step formula.
Check your understanding
-
1. A number machine gives (4, 2) → 10, (5, 6) → 9 and (3, 1) → 8. Which formula fits all three?
- a + b + 4
- 2a + b
- 3a − b
- 4a − 3b
Show answer
Answer: C. 3a − b: 3 × 4 − 2 = 10, 3 × 5 − 6 = 9, 3 × 3 − 1 = 8. All match. The others fail, e.g. 2a + b gives 2 × 5 + 6 = 16 for (5, 6).
-
2. A pattern repeats A, B, C, A, B, C, … Which letter is at position 62?
- A
- B
- C
- It cannot be found without writing all 62
Show answer
Answer: B. 62 ÷ 3 = 20 remainder 2. Remainder 1 gives A, 2 gives B and 0 gives C. So position 62 is B.
-
3. A row of n matchstick houses needs 5n + 1 sticks. How many sticks do 12 houses need?
- 60
- 72
- 56
- 61
Show answer
Answer: D. 5 × 12 + 1 = 60 + 1 = 61 sticks.
-
4. In a calendar, a 2 × 2 square of dates has top-left date a. What is the sum of its four dates?
- 4a + 16
- 4a + 8
- 2a + 8
- 4a
Show answer
Answer: A. The dates are a, a + 1, a + 7 and a + 8. Sum = 4a + (1 + 7 + 8) = 4a + 16.
-
5. Which expression gives the nth term of 7, 11, 15, 19, …?
- 7n
- 4n + 3
- 4n + 7
- n + 4
Show answer
Answer: B. The terms go up by 4, so the formula is 7 + 4(n − 1) = 4n + 3. Check: n = 1 gives 7 and n = 4 gives 19.
Sign in to keep track of the lessons you finish.