Cambridge IGCSE · Topic 3.3
IGCSE Maths 0580 / Topic 3 / IGCSE

How steep is steep?

The gradient of a line is one number that measures its steepness and its direction: how far it goes up for every one step across.

The key idea

Gradient \(= \dfrac{\text{rise}}{\text{run}} = \dfrac{\text{change in } y}{\text{change in } x}\). Uphill from left to right is positive, downhill is negative, a horizontal line has gradient 0, and a vertical line has no gradient (it is undefined).

−1 1 2 3 4 5 6 −1 1 2 3 4 5 6 7 8 9 x y A(0, 1) B(4, 7) run = 4 rise = 6 gradient = rise ÷ run = 6 ÷ 4 = 1.5
Fig. 1: from A(0, 1) to B(4, 7) the line rises 6 for a run of 4, so its gradient is 6 / 4 = 1.5
Section 01

Rise over run.

Drag the two points in the lab and watch the gradient triangle. Make the line steeper, then flatter, then slope it downhill. Try swapping the points round: does the gradient change? Finally drag one point straight above the other and see what happens.

Worked example Uphill line from a grid
A straight line passes through the grid points \((0, 1)\) and \((4, 7)\). Find its gradient.
  1. Run: from \(x = 0\) to \(x = 4\) is 4 units across.
  2. Rise: from \(y = 1\) to \(y = 7\) is 6 units up.
  3. Gradient \(= \dfrac{6}{4} = \dfrac{3}{2}\).
Answer: \(\dfrac{3}{2}\) or \(1.5\) (Fig. 1)
Worked example Downhill line from a grid
A straight line passes through \((0, 4)\) and \((2, 0)\). Find its gradient.
  1. Going left to right, the run is 2 units.
  2. The line goes DOWN 4 units, so the rise is \(-4\).
  3. Gradient \(= \dfrac{-4}{2} = -2\).
Answer: \(-2\)
Examiner trap

Counting squares when the axes have different scales. If one square across is 2 units and one square up is 10 units, read the actual values off the axes, not the number of squares.

Section 02

Two points, one formula.

(Extended) When there is no grid, use the coordinates. The change in \(y\) is the rise and the change in \(x\) is the run, so for points \((x_1, y_1)\) and \((x_2, y_2)\): \[m = \dfrac{y_2 - y_1}{x_2 - x_1}\]

Worked example Negative coordinates (Extended)
Find the gradient of the line joining \((-2, 5)\) and \((4, -7)\).
  1. Change in \(y\): \(-7 - 5 = -12\).
  2. Change in \(x\): \(4 - (-2) = 6\).
  3. \(m = \dfrac{-12}{6} = -2\).
Answer: \(-2\)
Worked example A fractional gradient (Extended)
Find the gradient of the line through \((3, -1)\) and \((7, 1)\).
  1. Change in \(y\): \(1 - (-1) = 2\).
  2. Change in \(x\): \(7 - 3 = 4\).
  3. \(m = \dfrac{2}{4} = \dfrac{1}{2}\).
Answer: \(\dfrac{1}{2}\)
Your turn
(Extended) Find the gradient of the line through \((-3, -4)\) and \((1, 8)\).
Examiner trap

Taking the \(y\) values in one order and the \(x\) values in the other order. If you start with \(y_2\) on top, you must start with \(x_2\) underneath, or the sign flips. And it is \(y\) over \(x\), never \(x\) over \(y\).

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

On a grid, a line goes up 6 units for every 3 units across. What is its gradient?

Quick check+10 XP

A straight line slopes downwards from left to right. Its gradient is

Quick check+10 XP

What is the gradient of the line \(y = 4\)?

Quick check+10 XP

(Extended) What is the gradient of the line through \((1, 2)\) and \((3, 8)\)?

Section 03

What the gradient tells you.

A gradient is a rate: how much \(y\) changes for each 1 unit of \(x\). On a distance-time graph it is a speed; on a cost graph it is a price per unit. In the Extended course you also use it backwards, to find a missing coordinate.

Worked example Gradient as a rate
The cost of a phone call is shown by a straight line from \((0, 10)\) to \((100, 25)\), where \(x\) is the time in minutes and \(y\) is the cost in dollars. Find the gradient and say what it means.
  1. Rise: \(25 - 10 = 15\) dollars. Run: \(100 - 0 = 100\) minutes.
  2. Gradient \(= \dfrac{15}{100} = 0.15\).
  3. Units: dollars divided by minutes, so the gradient is a cost per minute.
Answer: \(0.15\): each extra minute costs $0.15 (15 cents).
Worked example Finding a missing coordinate (Extended)
The line through \((2, k)\) and \((5, 11)\) has gradient 3. Find \(k\).
  1. Gradient \(= \dfrac{11 - k}{5 - 2} = \dfrac{11 - k}{3}\).
  2. Set it equal to 3: \(\dfrac{11 - k}{3} = 3\), so \(11 - k = 9\).
  3. So \(k = 2\). Check: \(\dfrac{11 - 2}{3} = 3\).
Answer: \(k = 2\)
Examiner trap

A horizontal line has gradient 0 (no rise at all), but a VERTICAL line does not have gradient 0: its run is 0, and you cannot divide by 0, so its gradient is undefined.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 2 and Paper 4 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

(Extended) Find the gradient of the line joining \(P(-3, 7)\) and \(Q(5, -5)\).

Exam style+20 XP

A straight line on a grid passes through \((0, -3)\) and \((2, 5)\). What is its gradient?

Exam style+20 XP

(Extended) The line through \((2, k)\) and \((6, 1)\) has gradient \(-2\). Find \(k\).

Exam style+20 XP

The depth of water in a tank falls steadily. A straight-line graph joins \((0, 120)\) and \((40, 20)\), where \(x\) is the time in minutes and \(y\) is the depth in cm. At what rate does the depth fall?

Skill unlocked

Gradient, measured.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Gradients from a grid and from coordinates, positive, negative, zero and undefined, a missing coordinate, collinear points and speeds from a travel graph.