9B

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.
Example 1●

Find the rule for this table.

$x$0123
$y$471013
$m = 3$
y goes up by 3 each time x goes up by 1.
$c = 4$, so $y = 3x + 4$
When x = 0, y = 4.
Check: $x = 2$ gives $10$.
Check another point: x = 2 gives 3 × 2 + 4 = 10. ✓
Example 2●●

Find the rule for this table.

$x$1234
$y$531-1
$m = -2$
y goes down by 2 each step.
$c = 7$, so $y = -2x + 7$
The table doesn't show x = 0. Step back one place from x = 1: y would be 5 + 2 = 7.

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.

Example 3●●

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?

$m = 3$
Each new square adds 3 matches, because it shares one side with the square before.
$M = 3n + 1$
Step back from n = 1: 4 − 3 = 1.
$n = 50$: $M = 151$ matches

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$. ✓

Practice
  1. The table $x = 0, 1, 2, 3$; $y = 3, 5, 7, 9$ has rule:

  2. A table has $x = 1, 2, 3, 4$ and $y = 2, 6, 10, 14$. Its rule is $y = 4x + c$. Find $c$.

  3. A table has $x = 0, 1, 2, 3$ and $y = 10, 7, 4, 1$. Its rule is $y = mx + 10$. Find $m$.

  4. A matchstick pattern uses $4$, $7$, $10$, $\ldots$ matches. How many matches are in shape $20$?

  5. The table $x = -1, 0, 1, 2$; $y = -5, -2, 1, 4$ has rule:

  6. A table has $x = 2, 4, 6, 8$ and $y = 7, 11, 15, 19$. Find $y$ when $x = 0$.

  7. A table has $x = 0, 1, 2, 3$ and $y = 1, 1.5, 2, 2.5$. Find $y$ when $x = 10$.

  8. Which table shows a linear relationship?

  9. Challenge: a tile pattern has $5$, $9$, $13$, $\ldots$ tiles. Which shape number uses $101$ tiles?

  10. Challenge: a linear table has $x = 3, 5, 7$ and $y = 11, 17, 23$. Find $y$ when $x = -4$.

Formula sheet