Plotting a straight line

Year 8 · Linear Graphs: Plotting Straight Lines (Year 8)

To plot a straight line: make a table of values, write the ordered pairs, plot each point (x across, then y up), then draw a straight line through the points with a ruler.

How it works

  1. Make a table of values: Choose x values (such as −1, 0, 1, 2, 3). Use the rule to work out each y value.
  2. Write the ordered pairs: Each column gives a point (x, y). x is first and y is second.
  3. Draw and label the axes: Draw the x-axis across and the y-axis up, crossing at the origin (0, 0). Space the numbers evenly. Label the axes x and y.
  4. Plot each point: Start at the origin. Move x along (across), then y up or down. Put a small cross or dot.
  5. Check the points line up: All points on a linear rule fit one straight line. If one point is off the line, check your table.
  6. Draw the line with a ruler: Join the points. Extend the line past the first and last points and add arrowheads. Write the equation on the line.
  7. Test one more point: Pick another x, for example x = −2: y = 2 × (−2) + 1 = −3. Does the line pass through (−2, −3)?

Worked examples

Example 1

Plot y = 2x − 1 using x = 0, 1, 2, 3.

Table: x = 0, 1, 2, 3 gives y = −1, 1, 3, 5.

Pairs: (0, −1), (1, 1), (2, 3), (3, 5).

Plot each point and join them with a ruler.

Answer: a straight line that goes up 2 for every 1 across

Example 2

For y = 2x + 1, find y when x = 2. This gives the point (2, ?).

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

4 + 1 = 5.

Answer: 5

Example 3

The point (4, 9) is plotted. How many units up from the x-axis is it?

The pair is (x, y). The second number is y, the distance up.

Answer: 9

Example 4

For y = x + 3, find y when x = 6.

Substitute x = 6: y = 6 + 3.

Answer: 9

Example 5

A line goes through (0, 4), (1, 6) and (2, 8). By how much does y go up when x goes up by 1?

4 to 6 is +2. 6 to 8 is +2.

Answer: 2

Example 6

For y = 3x − 1, find y when x = 2.

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

6 − 1 = 5.

Answer: 5

A common mistake

Swapping the order of the pair. (3, 7) means 3 across and 7 up. (7, 3) is a different point.

Remember

Table, pairs, plot, ruler line. Along the corridor (x), then up the stairs (y).
Open the interactive lessonAll Year 8 lessons

More lessons in this unit