Practice free
Unit 3 · Linear equations and functions

Write a linear function from a table

Grade 8 · CC. Linear functions · 30 practice questions

How this works

The step in y for each 1 of x is the slope, and the y-value at x = 0 is the intercept; write y = mx + b.

A table pairs the inputs x = 0, 1, 2, 3 with the outputs y = 7, 10, 13, 16. Which equation describes the function?

Change in y for each 1 of x
10 − 7 = 3
y when x = 0
7
Write y = mx + b
y = 3x + 7
Check x = 3
3 × 3 + 7 = 16

Answer: y = 3x + 7

Watch out: Swapping the numbers: y = 7x + 3 gives 10 at x = 1 but 17 at x = 2, not 13. The step size is the slope: y = 3x + 7.

Try it

1. A function table is filled in for a straight-line rule. A table pairs the inputs x = 0, 1, 2, 3 with the outputs y = -5, 0, 5, 10. Which equation describes the function?

2. Two quantities move together at a steady rate. A table pairs the inputs x = 0, 1, 2, 3 with the outputs y = -8, -2, 4, 10. Which equation describes the function?

3. Two quantities move together at a steady rate. A table pairs the inputs x = 0, 1, 2, 3 with the outputs y = 5, 9, 13, 17. Which equation describes the function?

Answers are checked in the free account — with a hint before the answer, and the full solution after a miss.

How to help at home

A table like this one moves by the same amount for every step of one in the input, so the rule needs the size of that step and the value the outputs would have at an input of zero. Each row moves by a fixed step: -5 + 5 = 0, and walking the first row back to an input of zero leaves: -5 - 0 = -5, which is the constant in the rule.

More in CC. Linear functions