Syllabus coverage
- Find the gradient of a straight line, reading it from a grid
- Extended only: calculate the gradient of a straight line from the coordinates of two points on it
- Find the gradient of a graph from its equation, for example the gradient of
- Recognise a positive, a negative, a zero and an undefined gradient
- Interpret the gradient as a rate of change when the graph is in a practical context
Part of the IGCSE Maths syllabus 0580.
What the gradient measures
The gradient of a straight line measures its steepness: how far the line rises or falls for each unit you travel across. Write it as a fraction, rise over run, and simplify it. A line that climbs 6 units while travelling 4 units across has gradient , which is also 1.5.
The sign is part of the answer. A line that goes up from left to right has a positive gradient, and a line that comes down has a negative gradient. Always read the line from left to right, because the same line read the other way would appear to have the opposite sign.
The gradient does not depend on which part of the line you measure. Any two points on a straight line give the same rise over run, and that is exactly what makes the line straight.
- Gradient = rise divided by run = the vertical change divided by the horizontal change
- Read the line from left to right
- Up to the right is positive, down to the right is negative
- Give the answer as a simplified fraction or an exact decimal
Finding the gradient from a grid
Choose two points on the line that sit exactly on grid intersections, as far apart as possible. Draw a right-angled triangle between them, with one horizontal side and one vertical side meeting at a right angle. The vertical side is the rise and the horizontal side is the run.
Count squares only when one square is one unit on both axes. Otherwise read the values off the axis labels. If the -axis is numbered every 5 units and the run is 3 squares, the run is 15, not 3.
Working from left to right makes the sign automatic: if the second point is higher than the first, the rise is positive, and if it is lower, the rise is negative. The run is always positive when you work left to right.
- The triangle must be right-angled, with both points on the line
- The vertical side is the rise and the horizontal side is the run
- Read the axis labels rather than the squares when one square is not one unit
- A line that falls has a negative rise, so its gradient is negative
Finding the gradient from two points
When the coordinates of two points are given, the gradient is : the difference in the -coordinates divided by the difference in the -coordinates. For and , .
Subtract in the same order both times. Taking the second point minus the first for the values and the first minus the second for the values flips the sign of the answer. Either order works, as long as both differences run the same way.
A negative answer is not a mistake: it means the line falls from left to right. For and , .
| Points | Change in | Change in | Gradient |
|---|---|---|---|
| and | 2 | ||
| and | -4 | ||
| and | -1 | ||
| and | 2 |
Reading the gradient from the equation
In the gradient is the number multiplying . So has gradient 6, and has gradient , because the -term is .
If has no number in front of it the gradient is 1, as in . If the terms are the other way round the gradient is unchanged, because and are the same line.
A horizontal line has gradient 0, because the rise is 0 however far you travel across. A vertical line has no gradient at all: the run is 0 and division by zero is undefined.
- The gradient is the coefficient of in
- has gradient 6 and intercept 3
- has gradient
- has gradient 0 and has an undefined gradient
Positive, negative, zero and undefined gradients
Four cases cover every straight line you will meet. A positive gradient climbs from left to right. A negative gradient falls from left to right. A gradient of 0 belongs to a horizontal line. An undefined gradient belongs to a vertical line.
The size of the gradient is the steepness, and the sign is the direction. A gradient of 5 is much steeper than a gradient of 0.5, but the second may still be the steeper-looking line on the page if the two axes use different scales, so trust the numbers rather than the picture.
Two lines with the same gradient are parallel, whatever their intercepts. That is why the gradient is the number worth finding first: once you have it, the direction and the steepness of the line are both settled.
| Gradient | The line | Example |
|---|---|---|
| positive | rises from left to right | |
| negative | falls from left to right | |
| 0 | horizontal | |
| undefined | vertical |
What a gradient means in context
When the axes carry real quantities, the gradient is a rate: how much the vertical quantity changes for each unit of the horizontal one. On a distance-time graph with distance in kilometres and time in hours, the gradient is a speed in km/h. On a graph of cost against quantity it is the price of one item.
The units come from the axes, so write them down. A gradient of 0.4 on a graph of kilometres against minutes means 0.4 km per minute, which is 24 km/h. The same number on a different pair of axes would mean something else entirely.
A gradient can also describe steepness directly. A ramp that rises 0.75 m over a horizontal run of 3 m has gradient , so it rises 1 m for every 4 m travelled along. In context a negative gradient means the quantity is falling, as with the depth of water in a draining tank.
Reading a gradient off a real graph works exactly like reading one off a plain grid, but the answer needs units. On a graph of a car's value against its age, a gradient of dollars per year means the value drops by 1500 dollars each year: the negative sign says the value is falling and the 1500 says how quickly.
- Distance-time graph: the gradient is the speed
- Cost against quantity: the gradient is the price of one item
- A negative gradient means the vertical quantity is falling
- Attach the units the axes give you to every gradient in context
Key terms you must be able to define
- Gradient
- How steep a straight line is: the vertical change divided by the horizontal change, rise over run.
- Rise
- The vertical change between two points on a line, positive if the line climbs and negative if it falls.
- Run
- The horizontal change between two points on a line, counted from left to right so that it is positive.
- Positive gradient
- A line that rises from left to right, with a gradient greater than zero.
- Negative gradient
- A line that falls from left to right, with a gradient less than zero.
- Zero gradient
- The gradient of a horizontal line: the rise is 0, so the gradient is 0.
- Undefined gradient
- The gradient of a vertical line: the run is 0, and division by zero is not defined.
- y-intercept
- The value of where a line crosses the -axis, written in .
- y = mx + c
- The form of the equation of a straight line, where is the gradient and is the -intercept.
- Rate of change
- A gradient read as a rate, with the units taken from the two axes of the graph.
- Parallel lines
- Lines with the same gradient, so they point the same way and never meet.
- Line segment
- A straight piece of a line between two given points, usually named by its endpoints.
In context
Cambridge sets 0580 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.
On the graph of , take the points and . The run is and the rise is , so the gradient is .
The gradient of the line through and is . Subtracting the other way round gives , the same answer, because both differences changed sign together.
The line through and has gradient , so it falls 2 units for every 1 unit across.
has gradient 6 and intercept 3. Extended: rearranges to , so and the gradient is , which is .
A taxi firm's graph of fare against distance is a straight line through and . Its gradient is , so the fare rises by 2 dollars for every kilometre travelled, and the intercept 3 is the fixed charge.
Flashcards
Click a card to flip it. Mark honestly — the tracker uses this.
Exam-style questions
7 questions, 16 marks. Write your answer, then reveal the mark scheme and tick each point you actually made. Answering honestly here is what makes the rest of the site useful.
Mark scheme — tick each point you actually made
- B16, the coefficient of in not checked yet
Mark scheme — tick each point you actually made
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- A10.25not checked yet
Mark scheme — tick each point you actually made
- B1
- B1gradient 0, so the line is horizontalnot checked yet
Mark scheme — tick each point you actually made
- M1
- B1undefined, because dividing by 0 is not definednot checked yet
Mark scheme — tick each point you actually made
- B1
- M1
- B1
- A110not checked yet
Exam technique for this topic
- Draw the right-angled triangle on the graph and write the rise and the run beside it before dividing. The two differences are worth a method mark, and they show where the sign of the answer came from.
- Use points that sit exactly on grid intersections and are as far apart as possible. Two points close together turn a small counting error into a large error in the gradient.
- Check the scale on each axis before counting squares. If one square is 2 units across and 5 units up, counting squares gives a gradient that is wrong by a factor of 2.5.
- Subtract in the same order for the values and for the values. Mixing the orders flips the sign, and a sign error loses the accuracy mark even when the method is right.
- Leave the gradient as a simplified fraction when it does not come out exactly, and give the units whenever the axes carry them - a gradient of 0.4 on a distance-time graph is a speed, not just a number.