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

The equation of a straight line describes every point (x, y) that lies on it, most often written as y = mx + c, where m is the gradient and c is the y-intercept. GCSE questions require finding this equation from two known points, a gradient and a point, or a parallel or perpendicular condition.
- Find the gradient m, either by using two known points with the formula (y2 - y1) / (x2 - x1), or by identifying it directly from a parallel or perpendicular condition.
- If the line must be parallel to a given line, use the same gradient; if perpendicular, use the negative reciprocal of that gradient (multiply the two gradients to check they give -1).
- Substitute the gradient and the coordinates of one known point into y = mx + c.
- Solve the resulting equation to find the value of c.
- Write the final equation in the form y = mx + c, using your values of m and c.
- Check your equation by substituting the other known point into it and confirming both sides match.
Worked example
Find the equation of the straight line that passes through the points (1, 5) and (4, 14). Give your answer in the form y = mx + c.
- Gradient = (14 - 5) / (4 - 1) = 9 / 3 = 3.
- Substitute the point (1, 5) and m = 3 into y = mx + c: 5 = 3(1) + c.
- Solve for c: 5 = 3 + c, so c = 2, giving the final answer y = 3x + 2.
5.15 Equation of a Line
- A) y = 4x + 5
- B) y = -4x + 5
- C) y = (1/4)x - 1
- D) 4y = x - 8
Find the equation of the line m that is parallel to l and passes through the point (4, 1). Give your answer in the form y = mx + c.
Question 1
- x = 5 caoB1
- Answer: 5
Question 2
- gradient = 2 caoB1
- Answer: 2
Question 3
- substitute gradient and point into y = mx + c to find c, or state c = -3M1
- y = 1/2 x - 3 caoA1
- Answer: y = 1/2 x - 3
Question 4
- (a) y = 2 caoB1
- (a) Answer: 2
- (b) y = 5 caoB1
- (b) Answer: 5
Question 5
- (a) 5 caoB1
- (a) Answer: 5
- (b) (0, -3) caoB1
- (b) Answer: (0, -3)
Question 6
- find gradient m = (5 - 1)/(2 - 0) = 2 or equivalent methodM1
- y = 2x + 1 caoA1
- Answer: y = 2x + 1
Question 7
- substitute x = 3 into y = 4x - 7 to get y = 5M1
- yes, (3, 5) lies on the line caoA1
- Answer: Yes, (3, 5) lies on the line since y = 4(3) - 7 = 5.
Question 8
- find x-intercept by setting y = 0 to get x = 2, or find y-intercept as c = -6M1
- x-intercept (2, 0) and y-intercept (0, -6) caoA1
- Answer: x-intercept (2, 0); y-intercept (0, -6)
Question 9
- (a) 3 caoB1
- (a) Answer: 3
- (b) (0, 7) oeB1
- (b) Answer: (0, 7)
Question 10
- (a) -2 caoB1
- (a) Answer: -2
- (b) 5 oe, e.g. (0, 5)B1
- (b) Answer: 5
Question 11
- (21 - 3) / (8 - 2) oe correct substitution into the gradient formulaM1
- 3 caoA1
- Answer: 3
Question 12
- A caoB1
- Answer: A) y = 4x + 5
Question 13
- correct substitution into (y2 - y1)/(x2 - x1), e.g. (13-5)/(6-2)M1
- 2 caoA1
- Answer: 2
Question 14
- find gradient m = (10 - 2)/(3 - (-1)) = 8/4 = 2M1
- substitute a point into y = 2x + c to find cM1
- y = 2x + 4 caoA1
- Answer: y = 2x + 4
Question 15
- use same gradient -1/2 and substitute point to find cM1
- y = -1/2 x + 3 caoA1
- Answer: y = -1/2 x + 3
Question 16
- 8/3 caoB1
- Answer: 8/3
Question 17
- substitute point into y = -2x + c to form an equation for cM1
- c = 7 caoA1
- y = -2x + 7 caoA1
- Answer: y = -2x + 7
Question 18
- rearranges L2 to y = 2x - 3 oeM1
- cao: states L1 and L2 are parallel but different lines, since both have gradient 2 but different y-intercepts (3 and -3)A1
- Answer: Parallel but different lines (both have gradient 2, but y-intercepts are 3 and -3)
Question 19
- gradient = 4, since parallel lines have equal gradientsB1
- substitutes (2, 1) and m = 4 into y = mx + c (dep)M1
- y = 4x - 7 oe caoA1
- Answer: y = 4x - 7
Question 20
- (a) sets y = 0 in 3x + 2y = 12M1
- (a) (4, 0) caoA1
- (a) Answer: (4, 0)
- (b) sets x = 0 in 3x + 2y = 12M1
- (b) (0, 6) caoA1
- (b) Answer: (0, 6)
Question 21
- (a) gradient = 1.20B1
- (a) oe, e.g. the cost increases by £1.20 for each extra mile / the charge is £1.20 per mileB1
- (a) Answer: Gradient = 1.20; it represents the cost, in pounds, charged per mile
- (b) y-intercept = 2.50B1
- (b) oe, e.g. the fixed charge before any miles are travelled / the cost when m = 0B1
- (b) Answer: y-intercept = 2.50; it represents the fixed charge, in pounds, before any miles are travelled
Question 22
- substitutes x = 4 into y = 3x - 1M1
- cso: obtains y = 11, matching the given point, so (4, 11) lies on the lineA1
- Answer: y = 3(4) - 1 = 11, so (4, 11) lies on the line
Question 23
- (a) sets y = 0 to find A and x = 0 to find BM1
- (a) A(6, 0) and B(0, 4), both correctA1
- (a) Answer: A(6, 0), B(0, 4)
- (b) uses area = (1/2) x base x height with base = 6 and height = 4, ft from part aM1
- (b) 12 (square units) caoA1
- (b) Answer: 12 square units
Question 24
- y = -x + c with substitution of (1, -8)M1
- c = -7 foundM1
- y = -x - 7 oeA1
- Answer: y = -x - 7
Question 25
- 3m or 2 identifiedM1
- C = 3m + 2 oeA1
- Answer: C = 3m + 2
Question 26
- 20 = 4 x 3 + kM1
- k = 8A1
- (-2, 0) oeA1
- Answer: k = 8, (-2, 0)
Question 27
- gradient = (9 - 1) / (2 - 0) oeM1
- substitutes a point to find cM1
- y = 4x + 1 oeA1
- Answer: y = 4x + 1
Question 28
- y = -1/2x + c with substitution of (4, 2)M1
- c = 4 foundM1
- y = -x/2 + 4 oeA1
- Answer: y = -x/2 + 4
Question 29
- gradient = 2/3 oe or c = -4M1
- y = mx - 4 with correct mM1
- y = 2x/3 - 4 oeA1
- Answer: y = 2x/3 - 4
Question 30
- y = 3x + c with substitution of (1, 0)M1
- c = -3 foundM1
- y = 3x - 3 oeA1
- Answer: y = 3x - 3
Question 31
- 8m or 2 identifiedM1
- C = 8m + 2 oeA1
- Answer: C = 8m + 2
Question 32
- gradient = 4/5 oe or c = -4M1
- y = mx - 4 with correct mM1
- y = 4x/5 - 4 oeA1
- Answer: y = 4x/5 - 4
Question 33
- divides every term by 4 or isolates 4yM1
- y = 3x/4 - 2 oeA1
- Answer: y = 3x/4 - 2
Question 34
- y = x + c with substitution of (-2, -9)M1
- c = -7 foundM1
- y = x - 7 oeA1
- Answer: y = x - 7
Question 35
- gradient = -5/3 oe or c = 5M1
- y = mx + 5 with correct mM1
- y = -5x/3 + 5 oeA1
- Answer: y = -5x/3 + 5
Question 36
- y = -1/2x + c with substitution of (-6, -2)M1
- c = -5 foundM1
- y = -x/2 - 5 oeA1
- Answer: y = -x/2 - 5
Question 37
- divides both sides by 2, e.g. y = 3x + 4 oeM1
- gradient = 3A1
- y-intercept = 4 oe (0, 4)A1
- Answer: y = 3x + 4; gradient = 3; y-intercept = (0, 4)
Question 38
- substitutes m = 3 and (2, 5) into y = mx + c, e.g. 5 = 3(2) + c, or uses y - 5 = 3(x - 2)M1
- correctly solves for c, e.g. c = -1 (dep)M1
- y = 3x - 1 oe caoA1
- Answer: y = 3x - 1
Question 39
- (10 - 4) / (3 - 1) oe correct method for gradientM1
- gradient = 3 caoA1
- substitutes a point and the gradient into y = mx + c to find c (dep)M1
- y = 3x + 1 oe caoA1
- Answer: y = 3x + 1
Question 40
- (a) y = -3 caoB1
- (a) Answer: y = -3
- (b) x = 5 caoB1
- (b) Answer: x = 5
Question 41
- correct method, e.g. ((-3+5)/2, (7+(-1))/2)M1
- (1, 3) caoA1
- Answer: (1, 3)
Question 42
- uses y - 1 = -2(x - 3), or substitutes (3, 1) into y = -2x + cM1
- c = 7 found (or equivalent correct intermediate step)A1
- y = -2x + 7 oe caoA1
- Answer: y = -2x + 7
Question 43
- finds the gradient, m = (-2-7)/(5-2) = -3M1
- substitutes a point into y = -3x + c to find c (or uses y - y1 = m(x - x1))M1
- y = -3x + 13 oe caoA1
- Answer: y = -3x + 13
Question 44
- (a) sets y = 0 and solves, 2x = 20M1
- (a) (10, 0) caoA1
- (a) Answer: (10, 0)
- (b) (0, 4) caoB1
- (b) Answer: (0, 4)
Question 45
- (a) 3/2 caoB1
- (a) Answer: 3/2
- (b) use gradient 3/2 and substitute (2,1) into y = 3/2 x + c to find cM1
- (b) y = 3/2 x - 2 caoA1
- (b) Answer: y = 3/2 x - 2
- (c) y = -2/3 x + 7/3 caoA1
- (c) Answer: y = -2/3 x + 7/3
Question 46
- rearrange 2x + y - 5 = 0 to y = -2x + 5M1
- use product of gradients k * -2 = -1 for perpendicular linesM1
- k = 1/2 caoA1
- Answer: 1/2
Question 47
- uses m1 x m2 = -1 to find the perpendicular gradientM1
- gradient = -2 caoA1
- substitutes (3, -1) and m = -2 into y = mx + c to find c (dep)M1
- y = -2x + 5 oe caoA1
- Answer: y = -2x + 5
Question 48
- correct substitution into √(x2-x1)2 + (y2-y1)2M1
- √52 oe (e.g. √36 + 16) seenA1
- awrt 7.21A1
- Answer: 7.21
Question 49
- gradient = 3 stated (parallel lines have equal gradients)B1
- substitutes (-2, 4) into y = 3x + c (or uses y - 4 = 3(x + 2))M1
- y = 3x + 10 oe caoA1
- Answer: y = 3x + 10
Question 50
- substitutes x = 5 into y = 2x + 3M1
- y = 13 foundA1
- (dep) correct conclusion: since 13 is not equal to 12, the point (5, 12) does not lie on the lineB1
- Answer: The point (5, 12) does not lie on the line, since y = 2(5) + 3 = 13, not 12.
Question 51
- find gradient AB = (-2 - 2)/(3 - 1) = -4/2 = -2M1
- find gradient BC = (-6 - (-2))/(5 - 3) = -4/2 = -2M1
- state gradients equal, so collinear caoA1
- give equation y = -2x + 4 caoB1
- Answer: They are collinear; equation y = -2x + 4
Question 52
- find midpoint ( (1+5)/2, (1+3)/2 ) = (3, 2 )M1
- find gradient of segment = (3 - 1)/(5 - 1) = 2/4 = 1/2M1
- perpendicular gradient = -2M1
- form equation y - 2 = -2(x - 3)M1
- y = -2x + 8 caoA1
- Answer: y = -2x + 8
Question 53
- (a) uses m1 x m2 = -1 with m1 = -1/3M1
- (a) 3 caoA1
- (a) Answer: 3
- (b) substitutes A(-1, 5) and m = 3 (ft from part a) into y = mx + cM1
- (b) y = 3x + 8 oe caoA1
- (b) Answer: y = 3x + 8
- (c) sets y = 0 in their equation from part b (ft)M1
- (c) (-8/3, 0) oe awrt (-2.67, 0), caoA1
- (c) Answer: (-8/3, 0)
- (d) correct substitution of A(-1, 5) and their B (ft) into √(x2-x1)2 + (y2-y1)2M1
- (d) √250/3 oe (e.g. √25/9 + 25) seenA1
- (d) awrt 5.27A1
- (d) Answer: 5.27
Question 54
- uses the negative reciprocal, -1 divided by (2/5)M1
- -5/2 oe (accept -2.5) caoA1
- Answer: -5/2
Question 55
- gradient of L = 2 identifiedB1
- perpendicular gradient = -1/2 (negative reciprocal)M1
- substitutes (4, 9) into y = -1/2 x + c (or uses y - 9 = -1/2(x - 4))M1
- y = -1/2 x + 11 oe caoA1
- Answer: y = -1/2 x + 11
Question 56
- finds the gradient of ABM1
- gradient of AB = 2A1
- finds the gradient of BCM1
- (dep on all previous marks) gradient of BC = 2; since gradient AB = gradient BC = 2 and B is a common point to both segments, A, B and C are collinearA1
- Answer: Gradient AB = gradient BC = 2, and B is common to both, so A, B and C are collinear.
Question 57
- finds the midpoint of RS, (-1, 5)M1
- finds the gradient of RS, 4/3M1
- finds the perpendicular gradient, -3/4M1
- substitutes the midpoint into y = -3/4 x + c (or uses y - 5 = -3/4(x + 1))M1
- y = -3/4 x + 17/4 oe caoA1
- Answer: y = -3/4 x + 17/4 (or y = -0.75x + 4.25)
Question 58
- (a) correct substitution, (6-(-2))/(3-(-1))M1
- (a) 2 caoA1
- (a) Answer: 2
- (b) correct substitution, (4-6)/(7-3)M1
- (b) -1/2 caoA1
- (b) Answer: -1/2
- (c) multiplies their two gradients together, ft their answers to (a) and (b)M1
- (c) product = -1, so L1 and L2 are perpendicular at B, caoA1
- (c) Answer: 2 x (-1/2) = -1, so L1 is perpendicular to L2 at B.
Mark your answers
Check answers without an account. Some answers can be checked automatically; use the mark scheme to mark the rest.