The three core formulas — distance, midpoint, gradient — and the ways Grade 10 exams use 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) = 4/3.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) = 4/2 = 2.Find each gradient.
- 2Gradient of CD: (4 − 0)/(3 − 1) = 4/2 = 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). One exception: a vertical line has no gradient, so the product rule cannot be used for it: a line perpendicular to a vertical line is horizontal (gradient 0), and the other way round. For two non-vertical lines, perpendicular means m₁ × m₂ = −1.
- 1Perpendicular gradient × 3 = −1.Product of perpendicular gradients is −1.
- 2So the perpendicular gradient = −1/3.The negative reciprocal of 3.
5Type 4: Collinear points (on the same straight line)
- 1Gradient AB: (6 − 2)/(3 − 1) = 4/2 = 2.Points are collinear if the gradients between them are equal.
- 2Gradient BC: (10 − 6)/(5 − 3) = 4/2 = 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.
7Proving a shape from its coordinates
The ATP asks you to represent quadrilaterals on the Cartesian plane and then prove what they are. You already have every tool: distance decides whether sides are equal, gradient decides whether they are parallel or perpendicular, and the midpoint decides whether diagonals bisect each other.
- Two sides equal? → distance formula on both.
- Two sides parallel? → gradients equal.
- Perpendicular? → product of the gradients is −1.
- Diagonals bisect each other? → both diagonals have the same midpoint.
- 1m(AB) = (4 − 2)/(5 − 1) = 2/4 = ½Gradient of one side.
- 2m(DC) = (8 − 6)/(7 − 3) = 2/4 = ½The opposite side.
- 3AB ∥ DCEqual gradients.
- 4AB = √((5 − 1)² + (4 − 2)²) = √20 and DC = √((7 − 3)² + (8 − 6)²) = √20Distance formula on the same pair.
- 5∴ ABCD is a parallelogramOne pair of opposite sides equal AND parallel.
Prove the cheapest condition. Diagonals that bisect each other need only two midpoints. One pair of opposite sides that is both equal and parallel needs two gradients and two distances. Four equal sides also proves it — a quadrilateral with all four sides equal is a rhombus, and every rhombus is a parallelogram — but that takes four distance calculations.
Deciding the shape by looking at the plotted points. A sketch is for orientation only — the marks are for the calculation. And check the vertices are given in order round the shape: A, B, C, D means AB and DC are the opposite pair, not AB and CD reversed.
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 ▴
−1/2 (negative reciprocal) - 7What gradient is perpendicular to gradient −3/4? (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 - 11P(−1 ; 1), Q(3 ; 3), R(5 ; 7) and S(1 ; 5) are the vertices of a quadrilateral. Prove that PQRS is a parallelogram.
Show answer ▾Hide answer ▴
m(PQ) = 2/4 = ½ ✓; m(SR) = 2/4 = ½ ✓, so PQ ∥ SR; PQ = √20 and SR = √20 ✓; ∴ parallelogram (one pair opp sides equal and parallel) ✓ - 12A(0 ; 0), B(4 ; 2) and C(2 ; 6). Show that AB ⊥ BC.
Show answer ▾Hide answer ▴
m(AB) = 2/4 = ½ ✓; m(BC) = (6 − 2)/(2 − 4) = −2 ✓; ½ × (−2) = −1, so AB ⊥ BC ✓ - 13The diagonals of quadrilateral KLMN are KM and LN. K(1 ; 1), L(6 ; 2), M(7 ; 6), N(2 ; 5). Show that the diagonals bisect each other.
Show answer ▾Hide answer ▴
Midpoint KM = (4 ; 3,5) ✓; midpoint LN = (4 ; 3,5) ✓; the midpoints are the same, so the diagonals bisect each other ✓
Quick Quiz
5 quick questions on what you just read. Take it when you feel ready.
Now practise it
Download Grade 10 past papers and worksheets on this topic.