The three core formulas — distance, midpoint, gradient — and every way an exam uses them: parallel and perpendicular lines, collinear points, and finding an unknown coordinate, each worked in full with a worksheet.
Analytical (coordinate) geometry works out geometric facts using algebra, by placing points on the Cartesian plane. Almost every question uses one of three formulas, applied to two points (x1, y1) and (x2, y2). This guide covers the formulas and every question type built on them.
1The three formulas
2Type 1: Distance, midpoint and gradient of two points
- 1Distance: d = (4−1)2 + (6−2)2 = 9 + 16 = 25 = 5.Pythagoras on the horizontal gap (3) and vertical gap (4).
- 2Midpoint: ((1+4)/2 , (2+6)/2) = (2,5, 4).Average each coordinate.
- 3Gradient: m = (6−2)/(4−1) = 43.Rise over run — keep the points in the same order.
3Type 2: Parallel lines (equal gradients)
Two lines are parallel when their gradients are equal.
- 1Gradient of AB: (5−1)/(2−0) = 42 = 2.Find each gradient.
- 2Gradient of CD: (4−0)/(3−1) = 42 = 2.
- 3Equal gradients (both 2) → the lines are parallel.
4Type 3: Perpendicular lines (gradients multiply to −1)
Two lines are perpendicular when their gradients multiply to −1 (each is the negative reciprocal of the other).
- 1Perpendicular gradient × 3 = −1.Product of perpendicular gradients is −1.
- 2So the perpendicular gradient = −13.The negative reciprocal of 3.
5Type 4: Collinear points (on the same straight line)
- 1Gradient AB: (6−2)/(3−1) = 42 = 2.Points are collinear if the gradients between them are equal.
- 2Gradient BC: (10−6)/(5−3) = 42 = 2.
- 3Equal gradients → the three points are collinear.They lie on one straight line.
6Type 5: Find an unknown coordinate
- 1The midpoint x-value: (2 + x)/2 = 5.Use the midpoint formula on the x-coordinates.
- 22 + x = 10 → x = 8.Solve the equation.
- 1(x−0)2 + (4−0)2 = 5 → x2 + 16 = 25.Square both sides to remove the root.
- 2x2 = 9 → x = 3.Take the positive root (given x > 0).
Parallel → equal gradients; perpendicular → gradients multiply to −1. These two facts unlock most 'prove it' questions about shapes (e.g. showing a quadrilateral is a rectangle).
Keep the points in the same order on the top and bottom of the gradient fraction. Swapping only x or only y flips the sign and gives the wrong gradient.
Analytical geometry expands to lines, circles and tangents in Grades 11–12, all built on these three formulas. Master every type below.
Practice exercises
Work each one out, then click to reveal the answer.
- 1Distance between (1, 1) and (4, 5). (distance)
Show answer ▾Hide answer ▴
9+16 = 25 = 5 - 2Distance between (−2, 1) and (1, 5). (distance)
Show answer ▾Hide answer ▴
9+16 = 5 - 3Midpoint of (2, 4) and (6, 10). (midpoint)
Show answer ▾Hide answer ▴
((2+6)/2,(4+10)/2) = (4, 7) - 4Gradient of the line through (1, 2) and (5, 10). (gradient)
Show answer ▾Hide answer ▴
(10−2)/(5−1) = 2 - 5Are gradients 3 and 3 parallel or perpendicular? (parallel)
Show answer ▾Hide answer ▴
Equal → parallel - 6What gradient is perpendicular to gradient 2? (perpendicular)
Show answer ▾Hide answer ▴
−12 (negative reciprocal) - 7What gradient is perpendicular to gradient −34? (perpendicular)
Show answer ▾Hide answer ▴
4⁄3 - 8Are (0, 0), (2, 4), (3, 6) collinear? (collinear)
Show answer ▾Hide answer ▴
Gradients 2 and 2 → Yes - 9Midpoint of (1, 2) and (x, 8) is (4, 5). Find x. (unknown)
Show answer ▾Hide answer ▴
(1+x)/2 = 4 → x = 7 - 10Distance from (0, 0) to (x, 12) is 13 (x > 0). Find x. (unknown)
Show answer ▾Hide answer ▴
x2 + 144 = 169 → x = 5
Now practise it
Download Grade 10 past papers and worksheets on this topic.