How to draw a graph of a linear equation

Part ofMathsStraight line graphs

  • A linear equation is drawn as a straight line on a set of axes.

  • To draw the graph we need coordinates.

  • We generate these coordinates by substituting values into the linear equation.

How do you draw graphs of linear equations?

Have a go yourself

Image gallerySkip image gallerySlide1 of 8, Image of a whiteboard with an algebraic equation and various values for x and y written on it, squared paper with a graph of the linear equation y = 2x + 1 on it and a graphic saying: Step-by-step., Click to see a step-by-step slideshow.

How to draw a graph of a linear equation

A linear equation is represented as a line graph. In order to draw the line graph we require several pairs of coordinates. These coordinates represent the relationship given in the equation.

For example, for y = 3x, the y value is always equal to '3 lots' of the x value. (1,3), (10,30) and (2.5,7.5) are all coordinates on the line y = 3x.

Often a table of values is used to create the coordinates. We use substitution to calculate the values.

For example y = 2x + 1

The y value is always '2 lots' of the x value plus 1.

We replace the value of x for different numbers and record the resulting y value.

A table with two rows and six columns. In the top row is written x (in bold), 0, 1, 2, 3 and 4. In the bottom row is written y (in bold), 1[(2x0)+1], 3 [(2x1)+1], 5 [(2x2)+1], 7 [(2x3)+1], 9 [(2x4)+1].

More on Straight line graphs

Find out more by working through a topic