Finding the rule
Finding a linear rule from a table of values or a pattern by using the constant difference and the value when x = 0.
Given a rule, you can make a table. This section goes the other way: from a table or a pattern back to the rule. With the rule you can predict any value, like the $100$th shape in a pattern, without drawing all the ones before it.
From a table
When $x$ goes up by $1$ each step, look at how $y$ changes:
- If $y$ changes by the same amount each step, the relationship is linear, and that amount is the number in front of $x$.
- The value of $y$ when $x = 0$ is the constant term.
Find the rule for this table.
| $x$ | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| $y$ | 4 | 7 | 10 | 13 |
Find the rule for this table.
| $x$ | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| $y$ | 5 | 3 | 1 | -1 |
Growing patterns
For a pattern of shapes, make a table with the shape number $n$ and the count. Then find the rule in the same way.
A row of squares is made from matchsticks. $1$ square uses $4$ matches, $2$ squares use $7$ and $3$ squares use $10$. How many matches do $50$ squares need?
Your turn
Find the rule: $x = 2, 3, 4, 5$ and $y = 1, 5, 9, 13$.
Show the working
$y$ goes up by $4$, so $m = 4$. Stepping back to $x = 0$: from $x = 2$ ($y = 1$), subtract $4$ twice: $c = -7$. Rule: $y = 4x - 7$. Check $x = 5$: $20 - 7 = 13$. ✓
The table $x = 0, 1, 2, 3$; $y = 3, 5, 7, 9$ has rule:
$y$ goes up by $2$, so $m = 2$. At $x = 0$, $y = 3$.
A table has $x = 1, 2, 3, 4$ and $y = 2, 6, 10, 14$. Its rule is $y = 4x + c$. Find $c$.
Step back from $x = 1$: $2 - 4 = -2$.
A table has $x = 0, 1, 2, 3$ and $y = 10, 7, 4, 1$. Its rule is $y = mx + 10$. Find $m$.
$y$ goes down by $3$ each step, so $m = -3$.
A matchstick pattern uses $4$, $7$, $10$, $\ldots$ matches. How many matches are in shape $20$?
Rule: $M = 3n + 1$. $3 \times 20 + 1 = 61$.
The table $x = -1, 0, 1, 2$; $y = -5, -2, 1, 4$ has rule:
$y$ goes up by $3$, and at $x = 0$, $y = -2$.
A table has $x = 2, 4, 6, 8$ and $y = 7, 11, 15, 19$. Find $y$ when $x = 0$.
$x$ goes up by $2$ and $y$ by $4$. Stepping back from $x = 2$ to $x = 0$: $7 - 4 = 3$. (The rule is $y = 2x + 3$.)
A table has $x = 0, 1, 2, 3$ and $y = 1, 1.5, 2, 2.5$. Find $y$ when $x = 10$.
Rule: $y = 0.5x + 1$. At $x = 10$: $5 + 1 = 6$.
Which table shows a linear relationship?
Only $9, 6, 3, 0$ changes by the same amount ($-3$) each step.
Challenge: a tile pattern has $5$, $9$, $13$, $\ldots$ tiles. Which shape number uses $101$ tiles?
Rule: $T = 4n + 1$. $4n + 1 = 101$, so $4n = 100$ and $n = 25$.
Challenge: a linear table has $x = 3, 5, 7$ and $y = 11, 17, 23$. Find $y$ when $x = -4$.
$x$ up $2$, $y$ up $6$, so $m = 3$. At $x = 3$: $11 = 9 + c$, so $c = 2$. Rule $y = 3x + 2$. At $x = -4$: $-12 + 2 = -10$.
Coaching Centre