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 space equals space fraction numerator change space in space y over denominator change space in space x end fraction

    • Or, in short, rise over run 

      • 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, open parentheses x subscript 1 comma space y subscript 1 close parentheses and open parentheses x subscript 2 comma space y subscript 2 close parentheses 

      • Use the formula space gradient equals fraction numerator y subscript 2 minus y subscript 1 over denominator x subscript 2 minus x subscript 1 end fraction

How do I draw a line with a given gradient?

  • To draw the gradient 2 over 3

    • 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 negative 5 make it a fraction, negative 5 over 1

    • 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 open parentheses negative 1 comma space 6 close parentheses and open parentheses 3 comma space minus 2 close parentheses.

Answer:

Use the formula space gradient equals fraction numerator y subscript 2 minus y subscript 1 over denominator x subscript 2 minus x subscript 1 end fraction with

  • open parentheses x subscript 1 comma space y subscript 1 close parentheses equals open parentheses negative 1 comma space 6 close parentheses

  • open parentheses x subscript 2 comma space y subscript 2 close parentheses equals open parentheses 3 comma space minus 2 close parentheses

table row gradient equals cell fraction numerator negative 2 minus 6 over denominator 3 minus open parentheses negative 1 close parentheses end fraction end cell row blank equals cell fraction numerator negative 8 over denominator 4 end fraction end cell row blank equals cell negative 2 end cell end table

-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

open parentheses 0 comma space 2 close parentheses space and space open parentheses 1 comma space 5 close parentheses

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 rise over run

3 over 1 equals 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 negative 2 over 1
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 2 over 3 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: Maths Content Creator

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: Maths Subject 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.