Syllabus coverage
- Find the gradient of a straight line
- Calculate the gradient of a straight line from the coordinates of two points on it
- Estimate and interpret the gradient of a tangent at a point on a curve
- Read a gradient as a rate of change in a practical graph
Part of the O Level Maths syllabus 4024.
What a gradient actually measures
The gradient of a line is a number that says how much the line rises or falls for every unit you move to the right. A gradient of 3 means that for every 1 unit across, the line climbs 3 units. A gradient of means it climbs half a unit for every 1 unit across, which is a gentle slope. The gradient is a single number, and that number is the same at every point on a straight line.
Always read a line from left to right, the same direction you read a page. Going up as you move right gives a positive gradient. Going down as you move right gives a negative gradient. This convention is not a detail: a line that falls from left to right and is written with a positive gradient has the wrong sign, and the accuracy mark goes with it.
Gradient is often called slope, and in a practical graph it is a rate. On a distance-time graph the gradient is speed; on a conversion graph it is the exchange rate; on a cost graph it is the cost of one item. The arithmetic is identical in every case, which is why the same formula turns up in so many questions.
- Gradient , with the run measured to the right
- Rising left to right: positive gradient
- Falling left to right: negative gradient
- Flat: gradient 0. Vertical: no gradient at all
Rise over run from a grid
To read a gradient off squared paper, pick two points on the line that sit exactly on grid intersections, because those are the only points whose coordinates you can read without guessing. Draw a right-angled triangle with the two points at opposite corners. The vertical side of the triangle is the rise and the horizontal side is the run.
Count squares, not millimetres, and count from left to right. If the line goes up 4 squares while going across 2 squares, the gradient is . If it goes down 3 squares while going across 6, the gradient is . A steep line has a rise bigger than its run, so its gradient is greater than 1; a shallow line has a rise smaller than its run, so its gradient is between and 1.
Choose the two points as far apart as the grid allows. Two neighbouring points on a hand-drawn line give a gradient that is easily thrown off by half a square, while two points 8 squares apart average out that error. The examiner wants to see the triangle, so draw it on the grid rather than doing the counting invisibly.
| Rise | Run | Gradient | What the line does |
|---|---|---|---|
| 4 up | 2 right | steep, rising | |
| 3 down | 6 right | gentle, falling | |
| 0 | 5 right | horizontal | |
| 5 up | 0 | undefined | vertical |
Gradient from two coordinates: the formula
When the coordinates are given, you do not need a grid. The gradient is the change in divided by the change in : where and are the two points. Subtract in the same order both times: second point minus first point, top and bottom. That single rule prevents almost every sign error in this topic.
Take and . The change in is and the change in is , so the gradient is . Swap the points round and you get , the same answer. Swapping both points is safe; swapping only one of the two lines is not.
The formula works for negative coordinates too, because subtracting a negative adds. From to the change in is and the change in is , giving . Write the subtraction out in full before you simplify, so the double negative is visible on the page.
Negative gradients, step by step
A negative gradient means the line falls as it goes right. Students lose marks here not because they cannot see the fall but because they lose the minus sign in the arithmetic. The safe routine is: write the substitution with brackets, work out the top, work out the bottom, then divide.
From to : the top is , the bottom is , and . The line drops 8 units over a run of 4, so a gradient of is exactly what the picture should show. If you get , the top was calculated as instead of .
A negative gradient smaller than 1 in size is a gentle fall, not a steep one. falls only a quarter of a unit for every unit across. Compare magnitudes when you check: the size of the number tells you the steepness and the sign tells you the direction.
- to :
- to :
- to :
- to :
Horizontal and vertical lines
A horizontal line has no rise, so its gradient is 0. Every point on it has the same -coordinate, which is why its equation looks like . A gradient of 0 is a perfectly good answer and must be written as 0, not left blank.
A vertical line has no run, so the division by zero cannot be done. Its gradient is undefined, and that word, or the phrase no gradient, is the expected answer. Every point on a vertical line has the same -coordinate, so its equation looks like . Writing 0 for the gradient of a vertical line is one of the commonest errors in the topic: it turns a line that cannot be measured into a flat one.
The test is quick. Subtract the -coordinates first: if they are equal, stop, because the line is vertical. Subtract the -coordinates: if they are equal, the gradient is 0. Only when both differences are non-zero do you divide.
| Points | Change in | Change in | Gradient |
|---|---|---|---|
| and | 0 | 5 | |
| and | 0 | undefined | |
| and | 6 | 3 | |
| and | 6 |
Gradient as a rate of change
In a practical graph the gradient carries units, and those units come from the axes. A distance-time graph with distance in kilometres on the vertical axis and time in hours on the horizontal axis has a gradient measured in kilometres per hour, which is speed. A graph of cost against mass has a gradient in currency per kilogram, which is the price of one kilogram.
The arithmetic is unchanged: choose two points on the line, divide the change in the vertical quantity by the change in the horizontal quantity. If a cyclist covers 40 km in 2 hours, the gradient of the distance-time line is , and the answer is 20 km/h. Quoting the number without its unit loses a mark whenever the question asks for a rate.
A negative gradient in context means the quantity is falling: water draining, a car decelerating, a value depreciating. Read the graph left to right as always. A line that goes down as time increases has a negative gradient, and saying so is often worth a mark on its own.
The gradient of a curve: drawing a tangent
A curve does not have one gradient: it is steeper in some places than others. The gradient at a particular point is the gradient of the tangent at that point, where the tangent is the straight line that touches the curve at that point and follows its direction there.
To estimate it, lay a ruler against the curve at the point so that the straight edge touches the curve and does not cut across it. Adjust until the curve bends away evenly on both sides of the point of contact. Draw the tangent long enough to reach two clear grid intersections, then read two points from the tangent itself, not from the curve, and use the ordinary gradient formula.
The gradient of the curve at is then the gradient of that tangent. If the tangent passes through and , the estimate is . Because the tangent is drawn by eye, an answer within a small tolerance of the true value is accepted, but the two points must genuinely lie on the tangent you drew. A chord joining two points of the curve is not a tangent and gives the average gradient between them instead.
- Touch the curve at the point; do not cross it there
- Let the curve curve away evenly on both sides
- Extend the tangent to two readable grid points
- Read the two points from the tangent, then use
A routine that gets the mark every time
For a pair of coordinates, write the formula, substitute with brackets, evaluate the top and the bottom separately, then divide and simplify. Show the substitution, because the method mark is for using the correct difference, not for the final number.
For a graph, draw the rise-and-run triangle on the grid, label the two lengths, and write the division. For a tangent, say which two points you read from the tangent. In every case check the sign against the picture: if the line falls and your answer is positive, something in the subtraction has gone wrong.
Simplify the fraction unless the question asks for a decimal. should be written as , and as . A gradient left as looks unfinished and can lose the final accuracy mark.
| Question type | First move | What earns the method mark |
|---|---|---|
| Two coordinates | Write | the correct substitution with brackets |
| Line drawn on a grid | Draw the rise-and-run triangle | the two counted lengths |
| Tangent to a curve | Draw the tangent at the point | reading two points from the tangent |
| Rate in context | Read the two axes | dividing change in by change in |
Key terms you must be able to define
- Gradient
- The steepness of a line, measured as the rise divided by the run; the change in for each unit of change in .
- Rise
- The vertical distance between two points on a line, counted upwards as positive and downwards as negative.
- Run
- The horizontal distance between the same two points, always counted to the right so that it is positive.
- Gradient formula
- , subtracting second point minus first point on both lines.
- Positive gradient
- A line that rises as it goes from left to right, such as a gradient of .
- Negative gradient
- A line that falls as it goes from left to right, such as a gradient of .
- Zero gradient
- The gradient of a horizontal line, where the rise is 0 and the equation has the form .
- Undefined gradient
- The gradient of a vertical line, where the run is 0 and the division cannot be carried out.
- Tangent
- A straight line that touches a curve at one point and has the same direction as the curve there.
- Point of contact
- The single point where a tangent touches the curve; the gradient of the curve is measured there.
- Chord
- A straight line joining two points on a curve. Its gradient is an average, not the gradient at either point.
- Rate of change
- How quickly one quantity changes as another changes; on a graph it is the gradient, with units taken from the axes.
In context
Cambridge sets 4024 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.
A line passes through and . Rising from the first point to the second is 4 units while moving 2 units right, so the gradient is . The line climbs, so the answer is positive, and the equation of the line will be .
Find the gradient of the line through and . Top: . Bottom: . Gradient . The line falls 8 units over a run of 4, so a gradient of matches the picture.
Find the gradient of the line through and . Top: . Bottom: . Gradient . The double negative on the bottom line is the step that most students lose, so write it as before dividing.
Find the gradient of the line through and . The two -coordinates are equal, so the run is 0 and the line is vertical. The gradient is undefined; it is not 0, because 0 would describe a horizontal line.
The tangent to a curve at passes through and . Both points are on the tangent, so the gradient of the tangent is . The gradient of the curve at is therefore about 2. Reading the points from the curve instead of the tangent would answer a different question.
Flashcards
Click a card to flip it. Mark honestly — the tracker uses this.
Exam-style questions
8 questions, 20 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.
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
- B1
- B1the gradient is undefinednot checked yet
Mark scheme — tick each point you actually made
- B1both points have , so the line is horizontal and its gradient is 0not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1
Mark scheme — tick each point you actually made
- B1
- B1
Mark scheme — tick each point you actually made
- M1
- M1
- M1
- A1not checked yet
Exam technique for this topic
- Write the substitution with brackets before you calculate: shows the examiner the correct difference, and the method mark is for that line.
- Check the sign against the diagram. If the line falls from left to right and your gradient is positive, you have subtracted the coordinates in opposite orders.
- Do not write 0 for the gradient of a vertical line. Two equal -coordinates mean the gradient is undefined.
- When a tangent is involved, say which two points you read from the tangent. The examiner can then see that the gradient came from the tangent rather than from the curve.
- Simplify the fraction and give a rate its unit. is , and a speed read from a gradient needs km/h or m/s.
Why students lose marks here
Where this fits in O Level Maths 4024
This page is one topic of Cambridge O Level Maths 4024. O Level Maths 4024 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Maths 4024 syllabus page.