Did you know?

We also have Bitesize study guides covering many subjects at National 4 and National 5 on our Knowledge & Learning BETA website.

Home > Maths II > Measure and Shape > Equation of a straight line

Maths II

Equation of a straight line

Equations

Graphs can also be drawn from an equation. These equations can show the link between two different quantities. For example if we are changing from one unit to another (for example, £s to \$s) we can draw a graph that not only shows the comparison but that we can use for a ready reckoner.

If an algebraic equation can be written in the form then we can draw a straight line graph.

Remember that m stands for the gradient or slope of a line and c is the point at which the line cuts through the y axis.

If the line cuts through the origin then the equation would become

Example 1

Draw the straight line represented by the equation

Method

To draw this graph you first of all have to work out at least 3 co-ordinates Using only 2 isn't a good idea as you could have made a mistake, more than 3 and you are spending a lot of extra time calculating.

You can pick any 3 values for x. e.g. x = 2, 4 and 6.

Then substitute these values to find the corresponding y value.

• when then
• when then
• when then

We now have the co-ordinates as (2 , 4) (4, 8) and (6, 12).

You can now pick the scale, plot the points and connect them in a straight line.

Obviously x scale could be from 0 to 10 and y from 0 to 15 or 20.

Example 2

Draw the straight line represented by the equation

Method

Again you pick 3 values for x. e.g. x = 1, 4 and 7

Now substitute to find y.

Co-ordinates are (1 , 5) (4 , 14) and (7 , 23).

Again you can now draw your graph in confidence that the scale is correct. Perhaps x drawn from 0 to 10 and y from 0 to 30.

BBC iD