Skip to content
Cambridge IGCSE0980

Gradient of linear graphs

Mathematics 0980 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Gradient of linear graphs notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Gradient of linear graphs notes as text: skim, search, and jump between subtopics.

~7 min read

1. Gradient is rise over run

The gradient of a straight line measures how steep it is. It is the same everywhere on the line.

On a grid, pick two points where the line crosses grid corners. The vertical distance between them is the rise. The horizontal distance is the run.

Divide the rise by the run. Always put the vertical change on top.

gradient = rise/run = (change in y)/(change in x)

Examiner insight

“Probably more successful was the method of forming a triangle on the diagram to work out rise ÷ run, especially as the scales were the same.”

Worked example 12 marks

A straight line on a grid passes through the points (1, 2) and (5, 5). Find the gradient of the line.

  1. 1

    rise = 5 - 2 = 3 and run = 5 - 1 = 4 [1]

  2. 2

    gradient = rise/run = 3/4 [1]

2. Positive and negative gradients

A line that slopes up from left to right has a positive gradient. A line that slopes down from left to right has a negative gradient.

Check the sign against the picture. A downhill line can never have a positive gradient.

Examiner insight

“A negative gradient which was also a fraction was found challenging by all but the most able candidates.” “A check of the diagram shows that the gradient is negative and that a positive intercept is impossible.”

Worked example 12 marks

Do not use a calculator. A straight line on a grid passes through the points (0, 4) and (6, 0). Find the gradient of the line.

  1. 1

    the line slopes down, so the gradient is negative

  2. 2

    rise = 0 - 4 = -4 and run = 6 - 0 = 6 [1]

  3. 3

    gradient = (-4)/6 = -2/3 [1]

3. Gradient from two points

When the coordinates of two points are given, no grid is needed. Call the points (x₁, y₁) and (x₂, y₂).

Subtract the y-coordinates for the change in y. Subtract the x-coordinates in the same order for the change in x. Then divide.

gradient = (y₂ - y₁)/(x₂ - x₁)

Examiner insight

“A significant number of candidates incorrectly used the co-ordinates (3, 0) instead of (0, 3) in their gradient calculation.”

Worked example 12 marks

The coordinates of A are (3, 20). The coordinates of B are (5, 10). Work out the gradient of AB.

  1. 1

    gradient = (10 - 20)/(5 - 3) [1]

  2. 2

    = (-10)/2 = -5 [1]

4. Negative coordinates

Subtracting a negative number adds. Write each subtraction in brackets so the signs are clear.

Then check the sign of your answer against the points. If the line goes down as x increases, the gradient must be negative.

Examiner insight

“The negative values often led to mistakes in both of these steps.”

Worked example 12 marks

Find the gradient of the line through the points (-2, 6) and (4, -3).

  1. 1

    gradient = (-3 - 6)/(4 - (-2)) [1]

  2. 2

    = (-9)/6 = -3/2 [1]

Recap

  • Gradient measures steepness. It is the same everywhere on a straight line.
  • Gradient = rise ÷ run = change in y ÷ change in x.
  • Slopes up: positive. Slopes down: negative.
  • Use the same order of subtraction for y and for x.
  • Extended: gradient from two points = (y₂ - y₁)/(x₂ - x₁).
  • Subtracting a negative number adds.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Do not use a calculator. State whether the gradient is positive or negative for a line that slopes down from left to right.1 mark
    Answer
    1. Negative.

    Trap: Down from left to right always means a negative gradient, whatever the numbers.

  2. Do not use a calculator. On a grid, a straight line rises 6 squares for every 2 squares across. Find its gradient.2 marks
    Answer
    1. Gradient = 6/2 = 3.

    Trap: 2/6 = 1/3 puts the run on top.

  3. Do not use a calculator. A straight line on a grid passes through the points (0, 5) and (4, 0). Find its gradient.2 marks
    Answer
    1. Rise = 0 - 5 = -5, run = 4 - 0 = 4.
    2. Gradient = -5/4.

    Trap: The line slopes down, so 5/4 with no minus sign is wrong.

  4. A path is drawn as a straight line on a grid. It rises 40 m for every 160 m across. Write its gradient as a decimal.2 marks
    Answer
    1. Gradient = 40/160 = 0.25.

    Trap: 160 ÷ 40 = 4 divides the run by the rise.

  5. A straight line on a grid passes through the points (-3, -1) and (3, 3). Find its gradient as a fraction in its simplest form.2 marks
    Answer
    1. Rise = 3 - (-1) = 4 and run = 3 - (-3) = 6.
    2. Gradient = 4/6 = 2/3.

    Trap: 3 - 1 = 2 drops the negative sign on the first point.

  6. Do not use a calculator. Find the gradient of the line through A(3, 1) and B(7, 9).2 marks
    Answer
    1. Gradient = (9 - 1)/(7 - 3) = 8/4 = 2.

    Trap: (9 - 1)/(3 - 7) = -2 subtracts in a different order on top and bottom.

  7. Find the gradient of the line through P(-2, 5) and Q(4, -1).2 marks
    Answer
    1. Gradient = (-1 - 5)/(4 - (-2)) = (-6)/6 = -1.

    Trap: 4 - (-2) = 2 subtracts instead of adding.

  8. Find the gradient of the line through A(-4, -3) and B(2, 6). Give your answer as a decimal.2 marks
    Answer
    1. Gradient = (6 - (-3))/(2 - (-4)) = 9/6 = 1.5.

    Trap: 6 - 3 = 3 drops the negative sign, giving 3/6.

  9. A student finds the gradient of the line through A(-5, 4) and B(-1, -8). The student writes (-8 - 4)/(-1 - 5) = (-12)/(-6) = 2. Describe the mistake and find the correct gradient.3 marks
    Answer
    1. The change in x is wrong: it should be -1 - (-5) = 4, not -1 - 5 = -6.
    2. Gradient = (-8 - 4)/(-1 - (-5)) = (-12)/4.
    3. Gradient = -3.

    Trap: From A to B the line goes down as x increases, so a positive answer cannot be right.

  10. Do not use a calculator. A straight pipe is drawn on a coordinate grid. It passes through A(-7, 6) and B(-1, 2). Two more points are marked at C(8, -4) and D(11, -5). One of them lies on the line of the pipe. Use gradients to decide which one.5 marks
    Answer
    1. Gradient of AB = (2 - 6)/(-1 - (-7)) = (-4)/6 = -2/3.
    2. Gradient of BC = (-4 - 2)/(8 - (-1)) = (-6)/9 = -2/3.
    3. Gradient of BD = (-5 - 2)/(11 - (-1)) = -7/12.
    4. BC has the same gradient as AB and BD does not.
    5. C lies on the line of the pipe.

    Trap: -1 - 7 = -8 for the change in x gives AB a gradient of 1/2, which matches neither point.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
change in x divided by change in ychange in y divided by change in x
A positive gradient for a line that slopes downA line that slopes down has a negative gradient
(3, 0) used for the point (0, 3)Read each point as (x, y): the x-value comes first
-2 - 6 for the change in x from -6 to -2-2 - (-6) = 4: subtracting a negative number adds

Frequently asked questions

What is the gradient of a straight line and how is it calculated?
The gradient measures how steep a straight line is, and it is the same everywhere on the line. Gradient = rise ÷ run = change in y ÷ change in x, with the vertical change on top. A line through (1, 2) and (5, 5) has rise 3 and run 4, so the gradient is 3/4.
How do I tell whether a gradient is positive or negative?
A line that slopes up from left to right has a positive gradient, and a line that slopes down from left to right has a negative gradient. Check the sign against the picture, since a downhill line can never have a positive gradient. A line through (0, 4) and (6, 0) slopes down, so its gradient is (-4)/6 = -2/3.
How do I find the gradient from two coordinates?
Use (y₂ - y₁)/(x₂ - x₁) and subtract in the same order on top and bottom. Write each subtraction in brackets. For (-2, 6) and (4, -3), the gradient is (-3 - 6)/(4 - (-2)) = (-9)/6 = -3/2, because subtracting a negative number adds.
What mistake do students make when calculating a gradient?
A common incorrect method is change in x divided by change in y, the wrong way round. Another is to use (3, 0) for the point (0, 3). Read each point as (x, y), always put the vertical change on top, and check the sign against the picture.
Why does my gradient come out with the wrong sign when the coordinates are negative?
Subtracting a negative number adds, so -1 - (-5) = 4, not -6. If the line goes down as x increases, the gradient must be negative. For A(-5, 4) and B(-1, -8), (-8 - 4)/(-1 - (-5)) = (-12)/4 = -3, not 2.
How do I find the gradient of a line drawn on a grid?
Pick two points where the line crosses grid corners. The vertical distance between them is the rise and the horizontal distance is the run. Divide the rise by the run. A line that rises 6 squares for every 2 squares across has gradient 6/2 = 3.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters