Equation of a Line Through Two Points: past-paper questions with worked solutions
Think you’ve got Equation of a Line Through Two Points? Prove it.

Go on. I’ll mark it.
All 31 questions, with worked solutions
31 real exam questions on equation of a line through two points from 0580, 4MA1, 4024, 0606, 4PM1, XMA01, each with a full worked solution.
New to this? Read the free lesson on equation of a line through two points first →
معادلة المستقيم المار بنقطتين: الأسئلة بالشرح العربي
Cambridge IGCSE Mathematics (0580)
- 0580/42 Feb/Mar 2023 Q6 · 11 marksUsing points A (0, 4) and B (8, 0), with L₁ horizontal through A and L₂ through A and B, find line equations and a perpendicular line through C (2, 3), then a length.
- 0580/42 Oct/Nov 2023 Q12 · 11 marksGiven O(0, 0), A(8, 1) and B(2, 5), work with vectors, the line through A and B, its perpendicular bisector, and the gap between two y-axis intercepts.
- 0580/43 Oct/Nov 2023 Q9 · 14 marksGiven points A(0, 2), B(3, 3) and C(4, 0), work with triangle ABC and a kite ABCD, finding side lengths, line equations and the coordinates of D.
- 0580/23 Oct/Nov 2021 Q18 · 3 marksFind the equation of the straight line through (2, −2) and (3, 10), giving it in the form y = mx + c.
- 0580/41 May/Jun 2020 Q10 · 18 marksUse rhombus diagonal AC with A(−3, 10) and C(4, −4) to find its length and line equations, then analyse turning points of a cubic.
Cambridge O Level Mathematics (4024)
- 4024/21 Oct/Nov 2023 Q3 · 7 marksFor line L with equation 4y = x − 5, find its gradient and y-axis crossing; for points A(4, 5) and B(−2, 8), find length AB and the equation of line AB in y = mx + c form.
- 4024/21 Oct/Nov 2021 Q8 · 7 marksGiven points A(−2, 3) and B(4, 5), work out the midpoint of AB, verify the given equation for line AB, and determine the perpendicular bisector's equation.
Cambridge IGCSE Additional Mathematics (0606)
- 0606/22 Oct/Nov 2023 Q1 · 7 marksWork with the straight line through (4, 23) and (−8, 29) and the line y = 2x + 5: locate their crossing point P, then work out how far P is from the origin.
- 0606/22 Feb/Mar 2022 Q1 · 3 marksLine L is 4x + 5y = 9; A(−6, 7) and B(1, 9). Find the equation of the line through the midpoint of AB that is parallel to L.
- 0606/22 May/Jun 2021 Q12 · 8 marksWithout a calculator, find where the curve y = 1/(2x + 1) meets the y-axis and the line 5y = x − 1 meets the x-axis, confirm C has x = 2, then find the exact shaded area.
Pearson Edexcel International GCSE Further Pure Mathematics (4PM1)
- 4PM1/01 Jun 2025 Q2 · 13 marksGiven A(3, 2), B(8, 3), C(4, 7), prove ABC is isosceles, find the line through A and midpoint M of BC, then find D on line AC with AD = kAC, k > 1, and angle ABD = 90.
- 4PM1/01R Jun 2024 Q9 · 12 marksGiven A(−4, 3) and B(6, 8) on line k, find the line equation, a point C dividing AB in ratio 4:1, a point D on the perpendicular through C with CD = 8√5 and p < 0, and the area of triangle ACD.
- 4PM1/02 Jun 2023 Q8 · 17 marksGiven points A(−6, 8) and B(12, 2), work through line AB, its length, a point X dividing AB in ratio 1:2, a perpendicular line L through X, and a circle with diameter AB.
- 4PM1/02R Jun 2023 Q8 · 16 marksGiven A(1, 5) and B(9, 9), work through line AB, a perpendicular line l through point X dividing AB in ratio 3:1, point C(6, p) on l, and parallelogram ABCD with negative x-coordinate for D.
- 4PM1/02R Jan 2022 Q2 · 8 marksUsing points A(−7, −1) and B(3, 4), find the line through them, then use C(−3, 7) and D(3, p) with AB = kAC and CD perpendicular to AB to find k and p.
- 4PM1/02 Jun 2021 Q4 · 16 marksGiven points A(−4, −10) and B(3, 11), work with line l through them, point P dividing AB in ratio 3:4, perpendicular point Q with PQ = √10, and point R(−11, −21).
- 4PM1/02 Nov 2021 Q11 · 15 marksGiven points A(−3, −5) and B(7, 5), work through line AB, a perpendicular condition fixing p, a ratio division to find D, and lengths and area.
- 4PM1/02R Jan 2020 Q2 · 6 marksFrom a diagram of two lines and shaded region R, find integer-form equations for l₁ and l₂, then state three inequalities defining R.
- 4PM1/01R Jun 2019 Q11 · 17 marksGiven points A(−1, 3) and B(5, 6), find line AB, a division point P, a point C on a perpendicular through P with circle radius 5, point D from perpendicular and parallel conditions, and the trapezium area.
Pearson Edexcel International AS Level Mathematics (XMA01)
- WMA11/01 Jan 2026 Q4 · 9 marksWork without a calculator with points A(−1, 8) and B(7, 2) on line L₁, and a perpendicular line L₂ through A that meets the x-axis at C.
- WMA11/01 Jun 2024 Q9 · 9 marksPoints A (4, 2) and B (15, 7) lie on line l₁, and l₂ through A is parallel to the x-axis, with C on l₂ and BC = 5√5.
- WMA11/01 Oct 2024 Q1 · 6 marksLine l₁ goes through A(−5, 20) and B(3, −4). Find l₁ in y = mx + c form, then find the perpendicular line l₂ through the midpoint of AB in px + qy + r = 0 form.
- WMA11/01 Jan 2023 Q8 · 8 marksFrom a sketch, find the equation of line l through (0, −12) and (4, 0), then use the quadratic C with minimum (7, −18) crossing the x-axis at 4 to find k, f(x), and define shaded region R.
- WMA11/01 Oct 2023 Q11 · 10 marksFor the curve y = 2x² − 12x + 14, complete the square, find its minimum point P, find the line through (−1, 28) and P, and describe region R with inequalities.
- WMA11/01 Oct 2022 Q3 · 5 marksShare price modelled by V = pt + q, with values £1.05 at t = 3 and £1.65 at t = 5. Find p and q, then find T when V = £2.50 to one decimal place.
- WMA11/01 Jan 2021 Q4 · 8 marksGiven P(−2, 13) and Q(4, −5), find the line through them, the quadratic with minimum at Q through P, and inequalities for shaded region R in the second quadrant.
- WMA11/01 Oct 2020 Q6 · 11 marksGiven points A(−4, 11) and B(8, 2), work with line AB, its midpoint M, a perpendicular line l through M, and point C on l so triangle ABC has area 37.5.
- WMA11/01 Oct 2019 Q2 · 5 marksTree height H metres t years after planting fits H = at + b, with H = 1.85 at t = 2 and H = 3.45 at t = 7. Find a and b, then the height at planting.