Example 1: Build the equation from a table
A table gives the pairs (2, 19), (5, 10), (8, 1), and (11, -8). Confirm the relationship is linear and write its equation in slope-intercept form.
- y = -3x + 25
Show solution
- Check the input steps: 5 - 2 = 3, 8 - 5 = 3, 11 - 8 = 3, so x steps by 3 every row.
Equal input steps are required before first differences in y mean anything.
- Check the output steps: 10 - 19 = -9, 1 - 10 = -9, -8 - 1 = -9, so y changes by -9 every row and the relationship is linear.
- Compute the slope as change in y over change in x: m = -9 / 3 = -3.
The slope is not -9. Each -9 drop happens over 3 units of x, so the rate per single unit is -3.
- Find b by substituting the point (2, 19) into y = -3x + b: 19 = -3(2) + b, so 19 = -6 + b.
The table has no x = 0 row, so the intercept must be solved for rather than read off.
- Solve for b: b = 19 + 6 = 25, so the equation is y = -3x + 25.
- Check against a point you did not use: at x = 11, y = -3(11) + 25 = -33 + 25 = -8, which matches the table.
Answer: y = -3x + 25