Tables of values

Year 9 · Patterns and Graphs: Straight Lines (Year 9)

A table of values lists x values (the input) and the y value that the rule gives for each one (the output). Each column is an ordered pair (x, y) that you can plot on a graph.

How it works

  1. Write the rule and the x values: The rule is y = 2x + 1. Write the x values you are given in order across the table: 0, 1, 2, 3, 4.
  2. Substitute one x value: Substitute means swap the variable for its number. 2x means 2 × x, so for x = 3 write y = 2 × 3 + 1.
  3. Work out y using BIDMAS: Multiply before you add. 2 × 3 = 6, then 6 + 1 = 7. Write 7 in the y row under x = 3.
  4. Repeat for every x value: Do the same for each column. For a negative x, use brackets: 2 × (−2) + 1 = −4 + 1 = −3.
  5. Write each column as an ordered pair (x, y): x is always first (across), y is second (up). The column with x = 3 and y = 7 gives the point (3, 7).
  6. Look at the pattern: Check how y changes when x goes up by 1. Here y goes up by 2 each time. This constant difference is the gradient m. If the steps are not equal, check your working.

Worked examples

Example 1

Complete the table for y = 3x − 2 when x = 0, 1, 2, 3.

x = 0: y = 3 × 0 − 2 = 0 − 2 = −2.

x = 1: y = 3 × 1 − 2 = 3 − 2 = 1.

x = 2: y = 3 × 2 − 2 = 4. x = 3: y = 3 × 3 − 2 = 7.

Answer: y = −2, 1, 4, 7. y goes up by 3 each time.

Example 2

y = 2x + 1 when x = 4

Substitute x = 4: y = 2 × 4 + 1.

2 × 4 = 8, then 8 + 1 = 9.

Answer: 9

Example 3

y = 3x − 2 when x = 5

Substitute x = 5: y = 3 × 5 − 2.

3 × 5 = 15, then 15 − 2 = 13.

Answer: 13

Example 4

y = 2x + 1 when x = −2

Substitute x = −2: y = 2 × (−2) + 1.

2 × (−2) = −4, then −4 + 1 = −3.

Answer: −3

Example 5

y = 5 − x when x = 3

Substitute x = 3: y = 5 − 3.

Answer: 2

Example 6

A table has x = 1, 2, 3 and y = 4, 7, 10. By how much does y go up each time x goes up by 1?

4 to 7 is +3. 7 to 10 is +3.

The constant difference is 3.

Answer: 3

Example 7

y = 4x − 3 when x = −1

Substitute x = −1: y = 4 × (−1) − 3.

4 × (−1) = −4, then −4 − 3 = −7.

Answer: −7

A common mistake

Adding before multiplying. For y = 2x + 1 with x = 3, (2 + 1) × 3 = 9 is wrong. Multiply 2 × 3 first, then add 1.

Remember

Substitute each x into the rule. Multiply first, then add or subtract. Write the ordered pair (x, y).
Open the interactive lessonAll Year 9 lessons

More lessons in this unit