Gradient of a Line - Worksheets, Questions and Revision
59 original exam-style questions - 18 pages of questions with a full mark scheme - free printable PDF.
Gradient of a Line revision guideMore GCSE Maths practiceMock exams
This topic is chapter 3 of GCSE Maths Foundation Topic Workbook 4 and chapter 4 of GCSE Maths Higher Topic Workbook 2.

The gradient of a line is a number that measures how steep it is: how much y increases (or decreases) for every 1 unit increase in x. It is calculated as the change in y divided by the change in x between any two points on the line, and appears throughout GCSE algebra as the coefficient m in the equation y = mx + c.
- Choose two clear points on the line, either read from a graph or given as coordinates (x1, y1) and (x2, y2).
- Find the change in y by subtracting the y-coordinates: y2 - y1.
- Find the change in x by subtracting the x-coordinates, in the same order: x2 - x1.
- Divide the change in y by the change in x to get the gradient: m = (y2 - y1) / (x2 - x1).
- Check the sign: a positive gradient slopes upward left to right; a negative gradient slopes downward left to right.
- Remember the special cases: horizontal lines have gradient 0, and vertical lines have an undefined gradient.
Worked example
Calculate the gradient of the line joining the points A(2, 3) and B(6, 11).
- Change in y = 11 - 3 = 8.
- Change in x = 6 - 2 = 4.
- Gradient = change in y divided by change in x = 8 / 4 = 2, so the final answer is gradient = 2.
5.14 Gradient of a Line
Work out the gradient of the line and describe the line (horizontal, vertical or sloping).
| x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| y | 5 | 8 | 11 | 14 |
Question 1
- vertical line has undefined gradient; state 'undefined' or 'no gradient' oeB1
- Answer:Undefined
(The line is vertical so the gradient is undefined.)
Working check: change in x = 2 - 2 = 0 so gradient = (9 - 5)/0 which is not defined.
Question 2
- use (5 - 1)/(2 - 6) = 4/(-4) or equivalentM1
- -1 caoA1
- Answer:-1 (gradient = -1)
Working check: change in y = 5 - 1 = 4, change in x = 2 - 6 = -4, gradient = 4/(-4) = -1.
Question 3
- calculate gradient = (5 - 5)/(5 - 0) = 0/5 = 0M1
- state 'horizontal' oeB1
- 0 and horizontal stated caoA1
- Answer:Gradient = 0; the line is horizontal.
Working check: change in y = 0 so gradient 0. A horizontal line has gradient 0.
Question 4
- correct method to find rise and run using two points on the line, e.g. sight of 8 and 4, or 8/4M1
- 2 caoA1
- Answer: Gradient = 2
Question 5
- (a) 0 caoB1
- (a) Answer: 0
- (b) undefined oe (e.g. no defined gradient); do not accept infiniteB1
- (b) Answer: Undefined (the line has no defined gradient)
Question 6
- (a) gradient = 5 and y-intercept = (0, -2), both correctB1
- (a) Answer: Gradient = 5, y-intercept = (0, -2)
- (b) gradient = -3 and y-intercept = (0, 7), both correctB1
- (b) Answer: Gradient = -3, y-intercept = (0, 7)
Question 7
- 3 caoB1
- Answer: 3
Question 8
- -2 caoB1
- Answer: -2
Question 9
- use point-slope: y - 7 = -3(x - 3) or substitute y = mx + c formM1
- correct substitution to find c: 7 = -3*3 + c so c = 16M1
- y = -3x + 16 caoA1
- Answer:y = -3x + 16
Working check: y - 7 = -3(x - 3) => y - 7 = -3x + 9 => y = -3x + 16. Check with point (3,7): 7 = -3*3 + 16 = 7.
Question 10
- identifies constant increase of 3 in y for an increase of 1 in x, oe (e.g. uses two points in gradient formula)M1
- 3 caoA1
- Answer: Gradient = 3
Question 11
- (10 - 2) / (5 - 1) oeM1
- 2 caoA1
- Answer: Gradient = 2
Question 12
- 0 caoB1
- Answer: 0
Question 13
- undefined (the line is vertical), oeB1
- Answer: Undefined (vertical line)
Question 14
- 7 caoB1
- Answer: 7
Question 15
- -4 caoB1
- Answer: -4
Question 16
- (a) gradient = (3 - 1)/(2 - (-2)) = 2/4 = 1/2M1
- (a) 1/2 caoA1
- (a) Answer: 1/2
- (b) use y = mx + c with m = 1/2 and substitute a point, e.g. 1 = (1/2)(-2) + cM1
- (b) y-intercept = 2 caoA1
- (b) Answer: y-intercept = 2 (so equation y = 1/2 x + 2)
Question 17
- (a) difference in y over difference in x: (5 - (-1)) / (5 - 2) or equivalent methodM1
- (a) 2 caoA1
- (a) Answer: 2
Question 18
- gradient of L2 = 4, since parallel lines have equal gradientsB1
- uses gradient 4 with the point (0, 5), e.g. y = 4x + c, 5 = 4(0) + cM1
- y = 4x + 5 caoA1
- Answer: y = 4x + 5
Question 19
- (9 - 1) / (6 - 2) oeM1
- gradient = 2A1
- substitutes a point into y = 2x + c, e.g. 1 = 2(2) + c, or uses y - 1 = 2(x - 2) (dep)M1
- y = 2x - 3 caoA1
- Answer: y = 2x - 3
Question 20
- (16 - k) / (5 - 3) = 5 oeM1
- 16 - k = 10 (dep)M1
- k = 6 caoA1
- Answer: k = 6
Question 21
- y - 2 = -3(x - 4) oe, or 2 = -3(4) + cM1
- correctly expands/rearranges (dep)M1
- y = -3x + 14 caoA1
- Answer: y = -3x + 14
Question 22
- gradient of AB foundM1
- gradient of BC foundM1
- Yes, both gradients are -5A1
- Answer: Yes, both gradients are -5
Question 23
- (-8 - 7) / (5 - 7) oeM1
- 15/2 oeA1
- Answer: 15/2
Question 24
- (k - 0) / (13 - 4) = 2/3 oeM1
- multiplies out to isolate kM1
- k = 6A1
- Answer: k = 6
Question 25
- (26 - 10) / (9 - 1) oeM1
- gradient = 2A1
- rate of change, litres per minuteB1
- Answer: 2 litres per minute
Question 26
- (1 + 2) / (-4 + 6) oeM1
- 3/2 oeA1
- Answer: 3/2
Question 27
- gradient of AB foundM1
- gradient of BC foundM1
- Yes, both gradients are 4/3A1
- Answer: Yes, both gradients are 4/3
Question 28
- (k - 2) / (0 + 3) = -3 oeM1
- multiplies out to isolate kM1
- k = -7A1
- Answer: k = -7
Question 29
- (4 - 3) / (5 - 3) oeM1
- gradient = 0.5A1
- rate of change, km per hourB1
- Answer: 0.5 km per hour
Question 30
- (-1 - 2) / (3 - 2) oeM1
- -3 oeA1
- Answer: -3
Question 31
- (k - 5) / (1 - 4) = 2/3 oeM1
- multiplies out to isolate kM1
- k = 3A1
- Answer: k = 3
Question 32
- gradient of AB foundM1
- gradient of BC foundM1
- Yes, both gradients are 0A1
- Answer: Yes, both gradients are 0
Question 33
- (23 - 15) / (9 - 1) oeM1
- gradient = 1A1
- rate of change, km per hourB1
- Answer: 1 km per hour
Question 34
- (-5 - 5) / (2 - (-3)) oeM1
- -2 caoA1
- Answer: Gradient = -2
Question 35
- (a) subtracts 2x from both sides, e.g. y = 8 - 2x oeM1
- (a) y = -2x + 8 caoA1
- (a) Answer: y = -2x + 8
- (b) gradient = -2 (ft from part a)B1
- (b) y-intercept = (0, 8) (ft from part a)B1
- (b) Answer: Gradient = -2, y-intercept = (0, 8)
Question 36
- (a) (17 - 5) / (4 - 0) oeM1
- (a) 3 caoA1
- (a) Answer: Gradient = 3
- (b) oe, e.g. the hire cost increases by £3 for each extra hour / the hourly hire rate is £3 per hourB1
- (b) Answer: The cost of hiring the bicycle increases by £3 for each extra hour (the hire rate is £3 per hour).
Question 37
- (a) (170 - 0) / (2 - 0) oeM1
- (a) 85 caoA1
- (a) Answer: Gradient = 85
- (b) oe, e.g. the speed of the train is 85 km/hB1
- (b) Answer: The gradient represents the speed of the train, which is 85 km/h.
Question 38
- (7 - 1)/(4 - 1), oe substitution into the gradient formulaM1
- 2 caoA1
- Answer: 2
Question 39
- 3 caoB1
- correct reason given, e.g. parallel lines have the same (equal) gradientB1
- Answer: 3, because parallel lines have equal gradients
Question 40
- divides every term by 2, oeM1
- 4 cao (accept full statement y = 4x - 3)A1
- Answer: 4
Question 41
- (a) 3 caoB1
- (a) Answer: 3
- (b) y = 3x - 1 caoB1
- (b) Answer: y = 3x - 1
Question 42
- (a) -2 caoB1
- (a) Answer: -2
- (b) uses gradient -2 (ft from part a) with the point (4, 1), e.g. 1 = -2(4) + cM1
- (b) solves for c correctly (dep)M1
- (b) y = -2x + 9 caoA1
- (b) Answer: y = -2x + 9
Question 43
- (a) finds gradient of AB = (11 - 2) / (4 - 1) = 3M1
- (a) sets up equation using gradient AC = 3, e.g. (29 - 2) / (k - 1) = 3 oe (dep)M1
- (a) k = 10 caoA1
- (a) Answer: k = 10
- (b) m x (-1/3) = -1 oeM1
- (b) m = 3 caoA1
- (b) Answer: m = 3
Question 44
- rearranges to isolate y correctly, oeM1
- 5/2 oe (accept 2.5) caoA1
- Answer: 5/2
Question 45
- (1 - 5)/(8 - 2), oe substitution into the gradient formulaM1
- -2/3 oe caoA1
- Answer: -2/3
Question 46
- uses (gradient) x (perpendicular gradient) = -1, oeM1
- -1/6 oe caoA1
- Answer: -1/6
Question 47
- (a) 2.5 caoB1
- (a) correct interpretation, e.g. the speed of the narrowboat is 2.5 km/hB1
- (a) Answer: 2.5, the speed of the narrowboat in km/h
- (b) 3 caoB1
- (b) correct interpretation, e.g. the narrowboat is already 3 km from the lock when t = 0 (the start of the recorded journey)B1
- (b) Answer: 3, the narrowboat is 3 km from the lock at t = 0
Question 48
- (a) k = 2 caoB1
- (a) Answer: 2
- (b) use point (4,9) in y = mx - 3 to find m (method)M1
- (b) m = 3 caoA1
- (b) compare gradients to test for parallel/perpendicular (method)M1
- (b) state: neither (gradients 2 and 3 are not equal and not negative reciprocals) oeB1
- (b) Answer: m = 3; neither
Question 49
- finds midpoint of AB, e.g. ((-2 + 6)/2, (5 + 1)/2) oeM1
- midpoint = (2, 3)A1
- finds gradient of AB = (1 - 5) / (6 - (-2)) = -1/2 oeM1
- uses perpendicular gradient = 2 (negative reciprocal, ft their gradient) with the midpoint (dep)M1
- y = 2x - 1 caoA1
- Answer: y = 2x - 1
Question 50
- rearranges 4x - 2y = 6 to find the gradient, e.g. y = 2x - 3, gradient = 2M1
- uses gradient 2 with the point (2, -1), e.g. y - (-1) = 2(x - 2) oe (dep)M1
- simplifies to y = 2x - 5, ft their gradient (dep)M1
- 2x - y = 5 oe with integer coefficients, caoA1
- Answer: 2x - y = 5
Question 51
- uses (gradient) x (perpendicular gradient) = -1, oe, taking the negative reciprocal of -3/5M1
- 5/3 oe caoA1
- Answer: 5/3
Question 52
- (a) (12 - 4)/(3 - (-1)), oeM1
- (a) 2 caoA1
- (a) Answer: 2
- (b) uses y - 4 = 2(x + 1), oe, or substitutes A or B into y = 2x + c to find cM1
- (b) y = 2x + 6 caoA1
- (b) Answer: y = 2x + 6
Question 53
- identifies the gradient of L1 as 3M1
- uses the negative reciprocal to find the gradient of L2 as -1/3, ftM1
- y = -1/3 x - 4 caoA1
- Answer: y = -1/3 x - 4
Question 54
- rearranges 5x + y = 4 to find gradient -5M1
- uses y - (-2) = -5(x - 3), oe, or substitutes (3, -2) into y = -5x + c to find cM1
- y = -5x + 13 caoA1
- Answer: y = -5x + 13
Question 55
- (a) rearrange 2x - y = 5 to y = 2x - 5 to identify gradient 2M1
- (a) m = -1/2 caoA1
- (a) Answer: m = -1/2
- (b) use y = mx + c with m = -1/2 and substitute (1,4) to find cM1
- (b) y = -1/2 x + 9/2 caoA1
- (b) Answer: y = -1/2 x + 9/2
- (c) find intersection of r and s by solving their equations to get the point (method)M1
- (c) intersection (19/5, 13/5) caoA1
- (c) Answer: (19/5, 13/5)
Question 56
- gradient of L1 = (9 - 3)/(3 - 1) = 3M1
- gradient of L2 = (1 - 10)/(5 - 2) = -3M1
- tests the product of the two gradients, ft their gradientsM1
- correct conclusion: not perpendicular, since 3 x (-3) = -9, not -1, caoA1
- Answer: L1 and L2 are not perpendicular
Question 57
- (a) form x2 - mx - 2 = 0 or equivalent correct rearrangementM1
- (a) x2 - mx - 2 = 0 caoA1
- (a) Answer: x2 - mx - 2 = 0
- (b) use discriminant b2 - 4ac = 0 with a=1, b=-m, c=-2 leading to m2 - 4(1)(-2) = 0M1
- (b) correct algebra to obtain m2 + 8 = 0 then solve or equivalentM1
- (b) state there are no real m (m2 + 8 = 0 gives imaginary m) oeA1
- (b) conclude: no real tangent lines of form y = mx + 2 to y = x2 (cao) or state m = ±2√2i (if complex allowed) oeB1
- (b) Answer: No real values of m (m2 + 8 = 0 so m = ±2√2i).
Question 58
- rearranges 3x + y = 12 to find the gradient of L2 as -3M1
- uses the perpendicular condition to find the gradient of L1 as 1/3, ft their gradient of L2M1
- sets up (k - 5)/(8 - 2) = 1/3, oe, ft their gradient of L1M1
- k = 7 caoA1
- Answer: k = 7
Question 59
- (a) rearranges ay + bx = c to make y the subject: ay = -bx + c, then y = (-b/a)x + c/aM1
- (a) correctly identifies the coefficient of x as the gradient -b/a, csoA1
- (a) Answer: Gradient = -b/a
- (b) rearranges 3y - 9x = 5 to find its gradient = 3M1
- (b) uses the perpendicular condition (-b/a)(3) = -1, ft their expression -b/a from (a) and their gradient of the second lineM1
- (b) b = 4/3 oe caoA1
- (b) Answer: b = 4/3
Mark your answers
Check answers without an account. Some answers can be checked automatically; use the mark scheme to mark the rest.