Drawing linear graphs

Maths · Coordinate geometry. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths topics

The idea

A linear equation such as y = 2x − 3 or 3x + 4y = 12 gives a straight line. Every point on the line has coordinates that fit the equation, and no other point does.

To draw the line, make a table of values: choose a few values of x, work out y for each, plot the points and join them with a ruler. Two points are enough for a straight line, but a third point is a useful check.

A quick method is to find the intercepts. Put x = 0 to see where the line crosses the y-axis, and put y = 0 to see where it crosses the x-axis.

In simpler words

An equation like y = 2x − 3 makes a straight line. Every point on the line has an x and a y that fit the equation. To draw it, choose a few x values, work out y for each, plot the points and join them with a ruler. Two points fix a line; a third checks for slips. It crosses the y-axis at x = 0.

An everyday comparison

Drawing a straight line from its equation is like laying a ruler across two drawing pins. Two pins hold the ruler in one position, and a third pin shows at once if one of the first two was pushed in the wrong place. The equation tells you where to push each pin. The comparison stops at length: a ruler ends, but the line carries on in both directions past your points.

Rules to remember

Common mistake

Mixing up the intercepts: students put y = 0 and then say that is where the line crosses the y-axis. On the y-axis x is 0; on the x-axis y is 0.

In the exam

Draw a table of values with at least three x-values, including x = 0, and show the calculation of y for one of them. Plot each point, join with a ruled line across the whole grid and label the line with its equation. If you use intercepts, write 'when x = 0, y = ...' and 'when y = 0, x = ...' and state both points. When the question asks where two lines cross, read the coordinates from the graph and check them in both equations.

Worked example

Where does the line 5x − 2y = 20 cross the axes?

  1. Put x = 0: −2y = 20, so y = −10. It crosses the y-axis at (0, −10).
  2. Put y = 0: 5x = 20, so x = 4. It crosses the x-axis at (4, 0).
  3. Check with a third point, x = 2: 10 − 2y = 20, so y = −5, and (2, −5) is in line with the other two.

Answer: (4, 0) and (0, −10)

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← CoordinatesGradient of linear graphs →Take a Maths test