Everything to learn better...

Home

Maths

Graphs

Drawing straight line graphs

Drawing straight line graphs

Select Lesson

Exam Board

Select an option

Explainer Video

Loading...
Tutor: Toby

Summary

Drawing straight line graphs

​​In a nutshell

There are three types of straight lines: diagonal, horizontal and vertical. Generally, straight lines can be described using two quantities: the gradient and the yy-intercept. The exception is vertical lines which are solely defined by their xx-intercept.​



Equations of the straight line graphs

The general equation of a straight line is 

y=mx+cy=mx+c


where mm​ is the gradient of the line and cc is the yy-intercept. If mm​ is not zero, then the line is diagonal. If mm is zero, then the line is horizontal: 

y=cy=c​​


A vertical line does not have this equation. Instead it has equation

x=dx=d


where dd is the xx-intercept.​



Using the equation to draw the line

One way to draw a straight line graph is to find two points that the line passes through, before joining up those points and extending the line beyond them. Follow this procedure to draw a diagonal line:


PROCEDURE

1.
Start with the yy-intercept, given by cc, since this is on the yy-axis. Hence you have that the point (0,c)(0,c) is on the line. Mark this on the coordinate grid.​
2.
Pick an xx-value (other than zero, since this will just give you the point you already have) and insert it into the equation of the line to find the corresponding yy-coordinate. Mark on this second point.
3.
 Join it up the two points and extend the line beyond them.


For horizontal lines (y=cy=c) or vertical lines (x=dx=d) it is much more straightforward. The value of cc or dd gives the yy-intercept and xx-intercept respectively, so whichever type of line you have, draw that straight line through that intercept.


Example 1

A line has equation y=3x4y=3x-4. Find the coordinates of any two points on the line and hence draw the line given by the equation.


Firstly, use the yy-intercept​ to find the first point: c=4c=-4. Hence when x=0x=0y=4y=-4.

Point 1: (0,4)\underline{(0,-4)}


Next, pick a non-zero xx-value. For example, x=1x=1. Insert this into the equation of the line:

y=3x4y=3x-4​​


y=3(1)4y=3(1)-4​​


y=34y=3-4​​


y=1y=-1​​


So when x=1x=1y=1y=-1.

Point 2: (1,1)\underline{(1, -1)}


Plot the two points found ((0,4)(0,-4) and (1,1)(1,-1)) then join them up, extending beyond those points.

Maths; Graphs; KS4 Year 10; Drawing straight line graphs



​​Using a table and plotting points

An alternative to the method outlined above is to use a table of points and to plot them. Joining up the points gives the line. Doing this requires being able to insert one coordinate into the equation of the line to identify the corresponding coordinate.


procedure

1.
Take the value of a coordinate given in the table and insert it into the equation of the line.
2.
Add the corresponding coordinate found from the equation to the table.
3.
Mark the point given by the corresponding coordinates to the graph.
4.
Do this for all of the entries in the table.
5.
Join up the points marked to give the line.


Example 2

Consider the table below, which gives a some of the coordinates on the line 

y=x4y=x-4​​


xx​​
1-1​​
00​​
11​​
22​​
33​​
yy​​
6-6​​
​​​
2-2​​
​​​
​​​


Complete the table, plot the points on a graph and hence draw the line y=x4y=x-4​.


The first missing value is the yy-coordinate when x=0x=0. Hence insert this xx-value into the equation of the line:

y=x4=04=4y=x-4=0-4={\underline {-4}}​​


So the corresponding yy-coordinate is 4-4 and thus the point (0,4)\underline{(0,-4)} is on the line.


Repeating this procedure for the other missing values (x=2x=2 and x=3x=3) gives the following complete table:

xx​​
1-1​​
00​​
11​​
22​​
33​​
yy​​
6-6​​
4\underline{-4}​​
2-2​​
​​​0\underline0​​
​​​2\underline2​​


The points you have are (1,6)(-1,-6)(0,4)(0,-4)(1,2)(1,-2)(2,0)(2,0) and (3,2)(3,2). Plotting these and connecting them looks like this:

Maths; Graphs; KS4 Year 10; Drawing straight line graphs

Create an account to read the summary

Exercises

Create an account to complete the exercises

FAQs - Frequently Asked Questions

How do you use a table of coordinates to draw a straight line graph?

How do you draw a straight line graph?

What are the equations of straight lines?

Beta

I'm Vulpy, your AI study buddy! Let's study together.