3.3 · CorePaper 1Paper 2Paper 3Paper 4

Gradient of linear graphs

In a minute

The of a straight line tells you how steep it is: how far it goes up for each 1 across. On a grid, draw a triangle under the line and divide up by across. Extended also works it out from the coordinates of two points.

You'll be able to

  • Find the of a straight line on a grid by drawing a triangle and dividing.
  • Tell from its direction whether a gradient is positive, negative or zero.
  • Use the axis scales, and explain a gradient as a on a real-life graph.
  • Calculate the gradient from the coordinates of two points, including negative coordinates.
  • Use a given gradient to find a missing coordinate.
Before you start3 quick questions on what this builds on
Check yourself
Point AA is 33 units to the left of the origin and 22 units up. Write down its coordinates.
Check yourself
Work out 4−(−6)4 - (-6).
Check yourself
A cyclist's distance–time graph is a straight line. She rides 4545 km in 33 hours. Find her speed, in km/h.

Revise first: 1.6 The four operations, 2.9 Graphs in practical situations and 3.1 Coordinates

Gradient on a grid

Some lines are steep and some are gentle. Some go uphill from left to right and some go downhill. The puts a number on this.

Learn this
gradient=change in ychange in x\text{gradient} = \dfrac{\text{change in } y}{\text{change in } x}
Grid with x from 0 to 8 and y from 0 to 9. A straight line rises from left to right through the marked points (2, 2) and (6, 8). A dashed right-angled triangle sits under the line: a horizontal side from (2, 2) to (6, 2) labelled across 4, and a vertical side from (6, 2) up to (6, 8) labelled up 6. 0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 9 x y across 4 up 6 (2, 2) (6, 8)
Up 66 for across 44, so the gradient is 64=32\frac{6}{4} = \frac{3}{2}.

1. Pick two points where the line crosses grid corners exactly. Far apart is best.

2. Draw a right-angled triangle under the line, between the two points.

3. Count the change across (in xx) and the change up or down (in yy).

4. Divide up by across. If the line slopes downhill as you move right, make the gradient negative.

In the figure, the line goes up 66 while it goes across 44. Its gradient is 64=32\frac{6}{4} = \frac{3}{2}, or 1.51.5. The line rises 1.51.5 for every 11 across.

Grid with x from 0 to 8 and y from 0 to 8, showing three straight lines. Line P rises gently from (0, 2) to (8, 6), passing through (4, 4). Line Q falls from (0, 7) to (8, 1), also passing through (4, 4). Line R is steep. It rises from the x-axis between 4 and 5, through (5, 1), (6, 4) and (7, 7), to the top of the grid. 0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 x y P Q R
Lines PP, QQ and RR, used in the examples and the check below.
Worked exampleThe figure shows lines PP, QQ and RR on a grid. Find the gradient of line PP.

Try it first, then reveal one step at a time.

  1. Find two grid corners on line PP, far apart: (0,2)(0, 2) and (8,6)(8, 6).
Worked exampleUse the same figure. Find the gradient of line QQ.

Try it first, then reveal one step at a time.

  1. Find two grid corners on line QQ: (0,7)(0, 7) and (8,1)(8, 1).
Check yourself
Find the gradient of line RR in the same figure.

A horizontal line doesn't go up or down, so its gradient is 00. A vertical line has no gradient you can work out, because the change across is 00 and you can't divide by 00.

Check yourself
A line on a grid passes through the grid corners (1,5)(1, 5) and (7,5)(7, 5). Find its gradient.

Axes with different scales

On many graphs, one square across and one square up stand for different amounts. Then counting squares gives the wrong gradient. Read each change from the numbers on the axes.

On a real-life graph the is a . It tells you how much the quantity going up changes for each 1 unit of the quantity going across. Its units are “up units per across unit”, such as cm per minute.

Graph of the depth of water in a bath against time. Across, time goes from 0 to 8 minutes, one minute per square. Up, depth goes from 0 to 40 centimetres, 5 centimetres per square. A straight line rises from 5 cm at 0 minutes, through 25 cm at 5 minutes, to 37 cm at 8 minutes. 0 1 2 3 4 5 6 7 8 5 10 15 20 25 30 35 40 Time (minutes) Depth of water (cm)
Worked exampleThe graph shows the depth of water in a bath as it fills. Find the gradient of the line. Say what it means.

Try it first, then reveal one step at a time.

  1. Choose two points on grid corners: (0,5)(0, 5) and (5,25)(5, 25).
Graph of a phone's battery charge against time. Across, time goes from 0 to 12 hours, 2 hours per square. Up, charge goes from 0 to 100 percent, 10 percent per square. A straight line falls from 90 percent at 0 hours, through 60 percent at 6 hours, to 30 percent at 12 hours. 0 2 4 6 8 10 12 10 20 30 40 50 60 70 80 90 100 Time (hours) Battery charge (%)
Worked exampleThe graph shows the charge left in a phone battery. Find the gradient of the line. What does it tell you?

Try it first, then reveal one step at a time.

  1. Use two grid corners far apart: (0,90)(0, 90) and (12,30)(12, 30).
Check yourself
On a graph, each square across is 55 seconds and each square up is 1010 metres. A straight line goes down 33 squares for every 22 squares across. Find its gradient, in metres per second.

Gradient from two points Extended only

You don't need a grid. If you know two points on a line, subtract their coordinates instead of counting squares.

Learn this
gradient=y2−y1x2−x1\text{gradient} = \dfrac{y_2 - y_1}{x_2 - x_1}

Here (x1,y1)(x_1, y_1) is one point and (x2,y2)(x_2, y_2) is the other. The top is the change in yy. The bottom is the change in xx.

Subtract in the same order on the top and the bottom: second point minus first point in both. Either point can be first.

Worked exampleCalculate the gradient of the line through A(2,3)A(2, 3) and B(6,15)B(6, 15).

Try it first, then reveal one step at a time.

  1. Take AA as the first point and BB as the second.
Worked exampleCalculate the gradient of the line through C(−6,1)C(-6, 1) and D(4,−7)D(4, -7).

Try it first, then reveal one step at a time.

  1. Take CC first and DD second. Put each negative coordinate in brackets when you subtract it.
Check yourself
Calculate the gradient of the line through (−1,5)(-1, 5) and (5,−4)(5, -4).

Sometimes you know the gradient and one coordinate is missing. Write the gradient formula with the letter in it, then solve the equation.

Worked exampleA line passes through A(−2,7)A(-2, 7) and B(6,p)B(6, p). Its gradient is −34-\frac{3}{4}. Find pp.

Try it first, then reveal one step at a time.

  1. Write the formula with pp in it: p−76−(−2)=−34\dfrac{p - 7}{6 - (-2)} = -\dfrac{3}{4}.
Check yourself
A line passes through (k,2)(k, 2) and (9,14)(9, 14). Its gradient is 33. Find kk.

Common mistakes

  • Giving a positive gradient for a line that slopes down from left to right. Downhill always means a negative gradient.
  • Counting squares when the axes have different scales. Use the numbers on the axes.
  • Dividing across by up. The gradient is the change in yy divided by the change in xx.
  • Writing 2−52 - 5 for 2−(−5)2 - (-5). Put a negative coordinate in brackets before you subtract it.
  • Starting the top subtraction from one point and the bottom one from the other point. This flips the sign, so start both from the same point.

Exam tips

  • “Find the gradient”: show the change in yy and the change in xx as a fraction, such as −68\frac{-6}{8}, or draw the triangle on the grid. Working can earn a mark even if the final answer slips.
  • On a grid, choose points where the line crosses exact grid corners. A point between grid lines gives a guessed value.
  • Give the gradient as a whole number, a fraction in its lowest terms or a decimal (exact, or to 3 significant figures), such as −34-\frac{3}{4} or −0.75-0.75.
  • Before you write the answer, look at the line again. Check the sign matches its direction.

Key takeaways

Learn thisGradient =change in ychange in x= \dfrac{\text{change in } y}{\text{change in } x}: up (or down) divided by across.
Learn thisUphill from left to right: positive gradient. Downhill: negative. Horizontal: 0. Vertical: no gradient.
Learn thisOn a graph, read each change from the axis numbers, not by counting squares.
Learn thisOn a real-life graph the gradient is a rate of change, with units such as cm per minute.
Learn thisFrom two points: gradient =y2−y1x2−x1= \dfrac{y_2 - y_1}{x_2 - x_1}. Subtract in the same order, top and bottom.

Practise this

24 past-paper questions on 3.3 in the 0580 Extended bank, each with a mark scheme and a worked explanation.

Practise 3.3 →