← Back to 0580 past papers

Last reviewed: November 2026

Quick answer: In 0580 Specimen Paper 4 (2025), Question 16, A is (7, 2) and B is (−5, 8). (a) AB = √((−5 − 7)² + (8 − 2)²) = √180, so AB = 13.4 (3 significant figures). (b) The gradient of AB is 6/−12 = −1/2, so a perpendicular line has gradient 2. Putting (−1, 3) into y = 2x + c gives c = 5, so the line is y = 2x + 5. The question is worth 7 marks (3 + 4).

This is our own step-by-step solution to one question from the official Cambridge IGCSE Mathematics 0580 Specimen Paper 4 for exams from 2025. Paper 4 is the Extended paper where a calculator is allowed, so non-exact answers are given to 3 significant figures.

We don’t copy Cambridge questions. Open the official Specimen Paper 4 and its mark scheme on the Cambridge website, find Question 16, and work through it with this page beside you.

Perpendicular gradients still confusing? Try a FREE 2-day trial with 2 different tutors. One-to-one, online.

Book Free Trial

What Question 16 Asks

In short: A is the point (7, 2) and B is the point (−5, 8). Part (a) asks for the length of AB. Part (b) asks for the equation of the line that is perpendicular to AB and passes through the point (−1, 3), in the form y = mx + c.

PaperCambridge IGCSE Mathematics 0580, Specimen Paper 4 (Extended, calculator), for exams from 2025
Question16(a): 3 marks; 16(b): 4 marks
Syllabus topicE3.4 Length and midpoint, E3.5 Equations of linear graphs, E3.7 Perpendicular lines
Skills usedPythagoras on a grid, gradient from two points, the perpendicular-gradient rule, finding c

Why We Chose This Question

Seven marks for three short, standard skills. Length, gradient and perpendicular lines are all on the 0580 Extended syllabus, and they come up again and again. The question also has two classic sign traps: −5 − 7 is −12, not −2, and the perpendicular gradient needs both a flip and a sign change.

Step-by-Step Worked Solution

Part (a): the length of AB

Step 1: Find the change in x and the change in y

From A(7, 2) to B(−5, 8): change in x = −5 − 7 = −12 and change in y = 8 − 2 = 6.

Step 2: Use Pythagoras M2

AB² = (−12)² + 6² = 144 + 36 = 180

AB = √180

The mark scheme gives M2 for √((−5 − 7)² + (8 − 2)²) oe, or M1 for (−5 − 7)² + (8 − 2)² oe without the square root.

Step 3: Round 3 marks

√180 = 13.416…, so AB = 13.4 (3 significant figures). The mark scheme accepts 13.4 or 13.41 to 13.42.

Part (b): the perpendicular line

Step 4: Gradient of AB M1

gradient of AB = (8 − 2)/(−5 − 7) = 6/−12 = −1/2

Step 5: Perpendicular gradient M1dep

Perpendicular gradients multiply to −1, so p = −1 ÷ (−1/2) = 2. Flip the fraction and change the sign.

Check: −1/2 × 2 = −1. So 2 is the gradient of the NEW line, not the gradient of AB.

Step 6: Find c using (−1, 3) M1dep

Put x = −1, y = 3 into y = 2x + c: 3 = 2 × (−1) + c = −2 + c, so c = 5.

Step 7: Write the equation 4 marks

y = 2x + 5

Quick check: at x = −1, 2 × (−1) + 5 = 3, so the line goes through (−1, 3). The gradients multiply to −1/2 × 2 = −1, so the lines are perpendicular. On a grid with the same scale on both axes, the two lines meet at a right angle.

Where the 7 Marks Come From

This is how we read the official mark scheme for Question 16. Always check the mark scheme yourself.

Mark scheme itemWhat earns it
(a) Answer (3 marks)13.4 or 13.41 to 13.42
(a) M2√((−5 − 7)² + (8 − 2)²) oe
(a) or M1(−5 − 7)² + (8 − 2)² oe
(b) Answer (4 marks)[y =] 2x + 5 final answer
(b) M1[gradient of AB =] (8 − 2)/(−5 − 7) oe
(b) M1depgradient of perpendicular, p = −1 ÷ their −1/2 oe
(b) M1depon the previous M1, substituting (−1, 3) into y = their px + c oe, where their p ≠0

The correct answer earns all the marks for that part: 3 marks for 13.4 in part (a) and 4 marks for y = 2x + 5 in part (b). If a final answer is wrong, you can still get the method marks in the table. “M1dep” means the mark depends on the method mark before it. “Final answer” in part (b) means your last line must be the equation itself.

For more slips to avoid, see our guide to common IGCSE Maths mistakes.

Common Mistakes on This Question

  • Sign slips with negatives. −5 − 7 = −12. Writing −2 or 12 in the wrong place changes the gradient.
  • Squaring a negative on a calculator. Type (−12)² with brackets. Without them, some calculators give −144.
  • Using the gradient of AB. y = −1/2 x + c through (−1, 3) gives a line parallel to AB, not perpendicular to it.
  • Flipping without changing the sign. The perpendicular gradient to −1/2 is 2, not −2.
  • Getting c wrong. 2 × (−1) = −2, so 3 = −2 + c gives c = 5, not 1.
  • Leaving √180 in part (a). This is the calculator paper, so give 13.4 (3 significant figures).

Try a Similar Question

This is our own practice question, in the same style:

P is the point (1, 9) and Q is the point (7, 1).

(a) Calculate the length of PQ.

(b) Find the equation of the line that is perpendicular to PQ and passes through the point (4, 1). Give your answer in the form y = mx + c.

Show the answer and working

(a) change in x = 7 − 1 = 6, change in y = 1 − 9 = −8. PQ = √(6² + (−8)²) = √100, so PQ = 10.

(b) gradient of PQ = −8/6 = −4/3, so the perpendicular gradient is 3/4. Then 1 = 3/4 × 4 + c = 3 + c, so c = −2.

y = (3/4)x − 2 (you can also write y = 0.75x − 2).

Frequently Asked Questions

Does it matter which point I call the first point?

No. Going from B to A gives 7 − (−5) = 12 and 2 − 8 = −6. The squares are the same, and the gradient is still −6/12 = −1/2. Just use the same order for x and y.

How do I find a perpendicular gradient quickly?

Flip the fraction and change the sign. For −1/2 you get 2. For 3/4 you get −4/3. Check by multiplying: the answer should be −1.

Where can I find the full question and mark scheme?

On the official Cambridge IGCSE Mathematics 0580 past papers page, which links to the 2025 specimen papers and their mark schemes. We link to Cambridge rather than hosting the papers ourselves.

Book a Free Trial Class

Coordinate geometry marks are often lost to one small sign slip. A tutor who watches your child work can spot exactly where the slip happens and practise that step until it is safe. At TutorDock, every class is a live one-to-one online lesson, built around your child’s own papers and mistakes. See our IGCSE Mathematics (0580) tutor page, or go back to all 0580 past papers.

Tell us your child’s grade and which topics worry them, and we’ll arrange a FREE 2-day trial with 2 different tutors. Your child has a real one-to-one lesson with each tutor, and then you choose the tutor who suits them best.

Book a Free Trial Class

The question paper and mark scheme are © Cambridge University Press & Assessment. We do not host or reproduce them; links open the official Cambridge website. The solution, explanations and practice question on this page are our own. TutorDock is not affiliated with Cambridge.