StudyDeck

Drawing Straight Line Graphs

Exam code: 4024
Written by: Ashika|Reviewed by: Caroline Carroll|Updated 2 July 2026

Drawing Linear Graphsvideo

Drawing Linear Graphs

Drawing linear graphs

How do I draw a straight line from a table of values?

  • You may be given a table of values with no equation

  • Use the x and y values to form a point with coordinates (x, y)

    • Then plot these points

    • Use a ruler to draw a straight line through them 

      • All points should lie on the line

  • For example 

    • The points below are (-3, 0),  (-2, 2), ... etc

x{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

-3

-2

-1

0

1

2

3

y{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

0

2

4

6

8

10

12

How do I draw a straight line using y = mx + c?

  • Use the equation to create your own table of values

    • Choose points that are spread out across the axes given

  • For example, plot y = 2x + 1 on axes from x = 0 to x = 10

    • Substitute in x = 0, x = 5 and x = 10 to get y coordinates

      • Then plot those points

x{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

0

5

10

y{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

1

11

21

How do I draw a straight line without using a table of values?

  • Assuming the equation is in the form y = mx + c

  • Start at the y-intercept, c

  • Then, for every 1 unit to the right, go up m units

    • m is the gradient

    • If m is negative, go down

    • If m is a fraction, remember that gradient is change in y divided by change in x

      • A gradient of ab{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} would be a{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} units up for every b{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} units right

  • This creates a sequence of points which you can then join up

    • Be careful of counting squares if axes have different scales

      • 1 unit might not be 1 square

What if the equation is not in the form y = mx + c?

  • Equations will not always be presented in the form y = mx + c

  • Rearranging to y = mx + c will make plotting these graphs easier

  • Consider the equation 3x+5y=30{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

    • Subtract 3x from both sides

      • 5y=-3x+30{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

    • Divide both sides by 5

      • y=-35x+6{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

    • It can now be seen that the gradient is -35{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} and the y-intercept is 6

  • Make sure you only have 1 y on one side, rather than say, 5y

How can I plot equations in the form ax + by = c?

  • Instead of rearranging, equations in the form ax + by = c, like the example above, can also be plotted by considering the x and y intercepts instead

    • Substitute in x = 0 to find the y-intercept

    • Substitute in y = 0 to find the x-intercept

    • E.g. for 3x+5y=30{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

      • When x=0{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}, 5y=30{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}, so y=6{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

      • When y=0{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}, 3x=30{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}, so x=10{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

    • The points (0, 6) and (10, 0) can then be plotted and joined with a straight line