Gradient of a Line (SQA National 5 Maths): Revision Note

Exam code: X847 75

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Determining the gradient of a straight line between two points

What is the gradient of a line?

  • The gradient is a measure of how steep a straight line is

  • A gradient of 3 means:

    • For every 1 unit to the right, go up by 3

  • A gradient of -4 means:

    • For every 1 unit to the right, go down by 4 

  • A gradient of 3 is steeper than a gradient of 2

    • A gradient of -5 is steeper than a gradient of -4

  • A positive gradient means the line goes upwards (uphill)

    • Bottom left to top right 

  • A negative gradient means the line goes downwards (downhill)

    • Top left to bottom right

How do I find the gradient of a line?

  • Find two points on the line and draw a right-angled triangle

    • Then gradient = change in ychange in x

    • Or, in short, riserun 

      • The rise is the vertical length of the triangle

      • The run is the horizontal length of the triangle

    • Put the correct sign on your answer

      • Positive for uphill lines

      • Negative for downhill lines

    • You can also find gradient of a line between two points, (x1, y1) and (x2, y2) 

      • Use the formula  gradient=y2y1x2x1

How do I draw a line with a given gradient?

  • To draw the gradient 23

    • The rise is 2

    • The run is 3

    • It is positive (uphill)

      • Move 3 units to the right and 2 units up

  • To draw the gradient 5 make it a fraction, 51

    • The rise is 5

    • The run is 1

    • It is negative (downhill)

      • Move 1 unit to the right and 5 units down

Examiner Tips and Tricks

A lot of students forget to make their gradients negative for downhill lines!

Worked Example

Find the gradient of the line that goes through the points (1, 6) and (3, 2).

Answer:

Use the formula  gradient=y2y1x2x1 with

  • (x1, y1)=(1, 6)

  • (x2, y2)=(3, 2)

gradient=263(1)=84=2

-2

Worked Example

Find the gradient of the line shown in the diagram below.

screenshot-2023-02-12-at-20-42-17

Answer:

Find two points that the line passes through

(0, 2) and (1, 5)

Use the grid to draw a right-angled triangle
Find the 'rise' (vertical length) and 'run' (horizontal length)

cie-igcse-core-gradient-of-a-line-rn-we-a

Work out the fraction riserun

31=3

Look to see if the line is uphill or downhill

uphill, so the gradient is positive

The gradient is 3

Worked Example

Draw the line with a gradient of −2 that passes through (0,1).

Answer:

Mark on the point (0, 1)
-2 is the fraction 21
The rise is 2, the run is 1, the line goes downhill (so 1 across, 2 down)

cie-igcse-gradients-of-lines-we-1

Worked Example

Draw the line with a gradient of 23 that passes through (0,-1).

Answer:

Mark on the point (0,-1) 
The rise is 2, the run is 3, the line goes uphill (so 3 across, 2 up)

cie-igcse-gradients-of-lines-we-2

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.