Length of a Line Segment: past-paper questions with worked solutions
Think you’ve got Length of a Line Segment? Prove it.

Go on. I’ll mark it.
All 87 questions, with worked solutions
87 real exam questions on length of a line segment from 0580, 4MA1, 4024, 0606, 4PM1, each with a full worked solution.
New to this? Read the free lesson on length of a line segment first →
طول قطعة مستقيمة: الأسئلة بالشرح العربي
Cambridge IGCSE Mathematics (0580)
- 0580/22 Feb/Mar 2026 Q19 · 11 marksGiven points A(−4, 3) and B(4, 7), work with vector BA, a point C with AC = 4√10, and point D dividing AB in ratio 3 : 1, finding a perpendicular line through D.
- 0580/21 May/Jun 2026 Q8 · 8 marksGiven P(0, 4) and Q(1, 8), find the midpoint of PQ, the vector QP, and c where y = x² + ax + b passes through P, Q and (−2, c).
- 0580/43 May/Jun 2026 Q14 · 7 marksGiven points A (5, 2) and B (−3, 6), work out the distance between them and the equation of a line at right angles to AB through (−2, 5), in y = mx + c form.
- 0580/23 May/Jun 2025 Q24 · 7 marksWork with coordinates of points A(a, 12) and B(b, 27), then use point D(22, 34) and E(23, 39) with 2CE = 5DE to locate C.
- 0580/22 Oct/Nov 2025 Q17 · 11 marksKite ABCD has B at (−3, 1) and D at (−5, 9), with BD a diagonal. Use the diagonal ratio and midpoint to find AC's length and equation.
- 0580/12 Feb/Mar 2024 Q3 · 1 markOn a straight line drawn from S to T, indicate the point halfway along it.
- 0580/41 May/Jun 2024 Q5 · 17 marksGiven points P(1, 7) and Q(5, −5) about a circle centred at O, work out vectors, lengths, circle measures, a midpoint and a line equation, plus a ratio-based position vector.
- 0580/42 May/Jun 2024 Q10 · 12 marksWork with points A(6, 2) and B(3, −4) and the line 4x + 3y − 12 = 0: locate a midpoint, measure a distance, and derive gradient, intercept and a perpendicular line.
- 0580/43 Oct/Nov 2024 Q2 · 12 marksGiven points A(3, 7) and B(−1, 5), work out the midpoint of AB, the column vector for AB, and point C where AC = 3BA; then perform transformations on shape P on a grid.
- 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/22 May/Jun 2023 Q15 · 7 marksUsing points C(5, −1) and D(13, 15), work out the midpoint, the gradient, and the perpendicular bisector equation in y = mx + c form.
- 0580/41 May/Jun 2023 Q6 · 14 marksSquare ABCD has A at (−2, 1) and B at (1, 5); locate C and D, then for P (−1, 3) and Q (6, 4) work out midpoint, distance, gradient and a related line.
- 0580/43 May/Jun 2023 Q11 · 9 marksFor points M(4, 1) and N(−2, −7), find the length and gradient of MN, then the equation of its perpendicular bisector.
- 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/13 May/Jun 2022 Q11 · 4 marksUsing a grid from −5 to 5 with P and R (−4, −3) shown, find P's coordinates, place Q from vector PQ, find QR, and complete a vector sum.
- 0580/42 May/Jun 2022 Q3 · 12 marksFor the segment joining F(3, 2) and G(−5, 4), work out its length, the equation of its perpendicular bisector, and y-axis points H with GH = 13.
- 0580/43 May/Jun 2022 Q8 · 18 marksGiven points A(−2, 7), B(1, −5), C(5, 4), work out midpoint, vector, length, and two line equations; then find intersections of y + 5x = 8 with y = 2x² + 6x − 13.
- 0580/23 Oct/Nov 2022 Q8 · 2 marksGiven points A(−3, 5) and B(5, 2), find the coordinates of the midpoint of line AB.
- 0580/42 Oct/Nov 2022 Q8 · 9 marksGiven midpoint M(12, 7) and endpoint A(2, 3) of line AB, find B, verify the perpendicular bisector equation 2y + 5x = 74, find n for N(2, n) on it, and find the area of triangle AMN.
- 0580/42 Feb/Mar 2021 Q12 · 14 marksDifferentiate a cubic to get the gradient at x = −2, then work with points A(7, 2) and B(−5, 8) on lengths, perpendicular lines and a parallelogram ABCD.
- 0580/21 May/Jun 2021 Q9 · 5 marksGiven points A (5, −5) and B (9, 3), find the midpoint of AB and then the length of AB.
- 0580/22 May/Jun 2021 Q16 · 6 marksGiven points A (5, 7) and B (9, −1), find the length AB and the equation of the line through A and B.
- 0580/43 May/Jun 2021 Q4 · 13 marksCoordinate geometry and vectors: midpoint and perpendicular bisector of A(1, 5) B(3, 9), vector PQ and a scaled point R, then vectors in a triangle with a ratio.
- 0580/43 Oct/Nov 2021 Q1 · 7 marksUsing three triangles T, A and B on a 1 cm² grid, identify the single transformations mapping T to A and to B, and find how far points of T move onto B.
- 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.
- 0580/43 May/Jun 2020 Q9 · 13 marksFor the line 3x − 8y + 20 = 0 and points P(−3, 8) and Q(9, −2), find gradients, intercept, length and equations of lines.
Pearson Edexcel International GCSE Mathematics A (4MA1)
- 4MA1/2F Jun 2025 Q5 · 4 marksUse the grid showing points P, Q and R to read off P's coordinates, plot a new point T at (3, −1), and work out the midpoint of QR.
- 4MA1/1FR Jun 2024 Q9 · 5 marksFrom a grid diagram with points A, B and C, write down A's coordinates, find the midpoint of AB, and determine D so that ABCD is a rectangle.
- 4MA1/2F Jan 2023 Q21 · 3 marksA is (6, 4) and B is (17, j), with midpoint (k, 15). Find j and k.
- 4MA1/2FR Jan 2023 Q4 · 5 marksUsing a grid with points A, B, C and line EF, find coordinates, plot point D at (3, −2), find the midpoint of BC, and give the equation of EF.
- 4MA1/2H Jan 2023 Q6 · 3 marksPoints A(6, 4) and B(17, j) have midpoint (k, 15). Find the constants j and k.
- 4MA1/2F Jun 2023 Q5 · 5 marksGrid diagram with points A, B and C; write coordinates, complete a rectangle, find a midpoint and draw a horizontal line.
- 4MA1/1F Nov 2023 Q4 · 5 marksOn a grid with points A, B and C, read coordinates, mark a midpoint, complete a kite and count its symmetry lines.
- 4MA1/2F Jan 2022 Q5 · 4 marksGrid with A at (−3, 1) and B at (1, 3); draw y = −2, find midpoint M of AB, and find d > 0 so triangle ABD with D at (5, d) is isosceles.
- 4MA1/2FR Jan 2022 Q2 · 5 marksFrom a grid diagram with points A, B and C, give coordinates of A and B, mark point D so ABCD is a rhombus, and find the midpoint of AB.
- 4MA1/1F Jun 2022 Q25 · 4 marksTwo circles on a cm grid: C₁ centre (−1, 3) radius 13 cm, C₂ centre (7, 18) radius 6 cm. Find the centre-to-centre distance and justify why the circles intersect.
- 4MA1/1FR Jun 2022 Q7 · 6 marksUsing points A, B and C marked on a centimetre grid, state A's coordinates, locate the midpoint of BC, calculate the area of triangle ABC, and mark point D so ABCD forms a rectangle.
- 4MA1/1H Jun 2022 Q10 · 4 marksCircle C₁ has centre (−1, 3) and radius 13 cm. Circle C₂ has centre (7, 18) and radius 6 cm.
- 4MA1/2H Jan 2021 Q18 · 7 marksRectangle ABCD on a centimetre grid with A(−4, −2) and B(1, 10); find the missing coordinates of C and D, then the rectangle's perimeter in centimetres.
- 4MA1/2F Jun 2021 Q4 · 5 marksUsing triangle ABC drawn on a coordinate grid, identify point B, classify the triangle, plot point D at (1, −4), and find the midpoint of AB.
- 4MA1/1H Jan 2020 Q1 · 4 marksGiven points A(5, −4) and B(13, 1) and line L with equation y = 2 − 3x, find the midpoint of AB, state the slope of L, and decide whether (100, −302) is on L with justification.
- 4MA1/2FR Jan 2020 Q7 · 4 marksUsing a grid with points P, Q and R marked, give coordinates, complete a rectangle PQRS, and locate the midpoint of PR.
- 4MA1/1FR Nov 2020 Q22 · 2 marksA is (−3, 11) and B is (47, b). The midpoint of AB is (a, −19). Find a and b.
- 4MA1/1HR Nov 2020 Q6 · 2 marksUsing the given coordinates of A and B and the midpoint of AB, find the values of a and b.
- 4MA1/2F Nov 2020 Q7 · 5 marksUsing a grid from −5 to 5, identify point A, plot D at (−2, −4), find the midpoint of B(−4, 1) and C(2, 3), and draw the line x = 4.
- 4MA1/1FR Jan 2019 Q6 · 5 marksFor triangle ABC on a grid, read a coordinate, plot D at (4, −1), name the triangle type and find the midpoint of AC.
- 4MA1/2FR Jun 2019 Q7 · 4 marksUsing a grid with points A to E plotted, answer three coordinate questions about naming a point, identifying a point from coordinates, and finding a midpoint.
- 4MA1/1FR Jun 2018 Q5 · 5 marksThree points A (4, 2), B (1, 4) and C (−1, 1) are plotted on a grid from −5 to 5 in both x and y. Work with a line, a midpoint and a square vertex.
Cambridge O Level Mathematics (4024)
- 4024/21 Oct/Nov 2025 Q11 · 5 marksA is (−4, 3) and B is (2, −7). Find the vector AB and the midpoint of AB. Then find the magnitude of the vector CD = (−5, 11).
- 4024/11 May/Jun 2024 Q23 · 7 marksFor segment AB with A(−2, 5) and B(1, 3): find point C given B is midpoint of AC, find t where AB = √t, and find the perpendicular line through A in y = mx + c form.
- 4024/22 May/Jun 2024 Q11 · 10 marksGiven Q(n, −4), R(−1, 8) and S(3, 2), work with distances, a ratio on a straight line, and a perpendicular bisector.
- 4024/11 Oct/Nov 2024 Q11 · 3 marksFor points A (2, 4) and B (5, −2) joined by a straight line, work out the midpoint of AB and the gradient of the line AB.
- 4024/12 Oct/Nov 2024 Q24 · 5 marksGiven points P(−1, 4) and Q(−3, −2), work out the midpoint of PQ and the equation of the line through P that is perpendicular to PQ.
- 4024/11 May/Jun 2023 Q26 · 1 markA is (−2, 3) and B is (4, 7). Find the midpoint of AB, then the equation of the line equidistant from A and B.
- 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 May/Jun 2022 Q11 · 7 marksGiven points P (3, −3) and Q (1, 5), work out the distance between them and then determine the line that cuts PQ in half at right angles.
- 4024/22 May/Jun 2022 Q10 · 12 marksCoordinate geometry with D(4, 6): find E(e, e) from a distance of √20, then use a perpendicular bisector of gradient 3/2 to find f and the constant k.
- 4024/12 Oct/Nov 2022 Q16 · 4 marksGiven points P(−2, 1) and Q(6, 13), with M the midpoint of PQ, find M's coordinates, the gradient of PQ, and the gradient of a perpendicular line.
- 4024/21 Oct/Nov 2022 Q6 · 9 marksGiven position vectors for A and B, work with vector AB and a parallelogram ABCD, then use midpoint and gradient conditions for points P and Q to find r, t and u.
- 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.
- 4024/22 Oct/Nov 2021 Q7 · 8 marksGiven points P(−5, 2) and Q(3, 7) with vector QR = (−4, 6), find midpoint, point R and length QR; then use quadrilateral OACB with vectors a and b to find AB and NC.
- 4024/11 May/Jun 2020 Q18 · 4 marksOn a 1 cm grid, quadrilateral PQRS has vertices P(4, 3), Q(−2, −3), R(−5, 2), S(−2, 5). Identify the shape, find the midpoint of QR, and find m where PS = √m cm.
Cambridge IGCSE Additional Mathematics (0606)
- 0606/11 May/Jun 2026 Q2 · 4 marksCircle with equation (x − 3)² + (y − 4)² = 20; find its centre, its radius, and point B given A (−1, 6) is one end of diameter AB.
- 0606/12 May/Jun 2026 Q2 · 7 marksGiven A(−2, 3) and B(8, −3), find c where the perpendicular bisector of AB meets C(0, c), and find integer n with D(2, −1) so that BD = (√n ÷ 2) AD.
- 0606/11 May/Jun 2025 Q3 · 6 marksA circle has equation (x − 4)² + (y + 3)² = 5 and point A is (3, −1). Show A is on the circle, find B given AB is a diameter, and find the tangent at A.
- 0606/22 Feb/Mar 2024 Q7 · 7 marksSolve the simultaneous equations 4x² − 3y² + xy = 24 and y = 2/x to find points P and Q, then find the length PQ in the form a√b.
- 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 Oct/Nov 2022 Q11 · 12 marksGiven A(−5, 6) and B(4, −6), with C on AB dividing AC:CB = 1:2, find C, the perpendicular through C, and two points D with BD = √125.
- 0606/13 May/Jun 2021 Q11 · 12 marksLine x + 2y = 10 meets the two lines from |x + y| = 2 at A and B; work with the perpendicular bisector of AB and points C and D on it.
- 0606/22 May/Jun 2021 Q6 · 8 marksFor square ABCD with diagonal AC from A(5, −4) to C(11, 6), find the diagonal length, centre coordinate, other diagonal's equation, and vectors to B and D.
- 0606/22 May/Jun 2020 Q6 · 7 marksFind the tangent to 2y = tan 2x + 7 at x = π/8 in the form ax − y = π/b + c, then find the length of PQ where it meets the axes.
- 0606/22 Oct/Nov 2020 Q3 · 8 marksWork with the line segment joining (12, 1) and (4, 3): determine its perpendicular bisector, then the distance between where that line meets the two axes.
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/01 Jun 2024 Q6 · 16 marksLine l through A(−2, 2) and B(3, 12); C on l with AC : CB = 3 : 2. Find C, perpendicular line k through C, length CD where k meets x-axis, and X on l with triangle DXC area 80 and m > 0.
- 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/01 Jan 2022 Q10 · 17 marksLine L₁ has equation y − 2x − 6 = 0 and point P(2, a) lies on it. Find a, find the perpendicular line L₂ through P, then use points A, B, C to find m, n and the area of ACBP.
- 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/01R Jun 2022 Q11 · 17 marksLine l is y − 3x = 3 with A on the y-axis and B = (10, b). C divides AB in ratio 2:3. Show k through C perpendicular to l has equation 3y + x − 49 = 0, then find D and the area of triangle ECF.
- 4PM1/02 Jun 2022 Q9 · 12 marksTwo perpendicular lines through A(4, 7) with gradient m < 0 and B(4, k) meet at C with y-coordinate Y; show the given formula for Y, then use an isosceles triangle ABC to find m.
- 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/01R Jan 2020 Q9 · 15 marksLine l₁: y + 2x − 4 = 0 passes through P(a, 6) and Q(3, b). Find a and b, then use perpendicular line l₂ through P with PR = 6√5 to find R, area PQR, and circle centre.
- 4PM1/01 Nov 2020 Q5 · 7 marksGiven points P(4, 7), Q(3, 0), R(10, 1) and S(11, 8), work with lines PR and QS and the quadrilateral PQRS.
- 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.
- 4PM1/02 Jun 2019 Q8 · 11 marksGiven points A(2, 6), B(6, 8) and C(4, 2), work out side lengths, angles of triangle ABC, then the centre and radius of its circumcircle.