IB Maths AA SL Topic 3 โ€” Geometry & Trig Paper 1 & 2 ~7 min read

Coordinate Geometry

Three formulas. That’s it. Given two points on the plane, you’ll always need to find one of these: the midpoint, the distance, or the gradient. Get fluent at substituting, and this topic gives you free marks every paper.

๐Ÿ“˜ What you need to know

The three formulas at a glance

Memorise these. They’ll come up in every Geometry paper at SL.

๐Ÿ“
Midpoint
(x1 + x22, y1 + y22)
โœ“ in formula booklet
๐Ÿ“
Distance
d = โˆš((x1 โˆ’ x2)2 + (y1 โˆ’ y2)2)
โœ“ in formula booklet
๐Ÿ“ˆ
Gradient
m = y2 โˆ’ y1x2 โˆ’ x1
โœ“ in formula booklet
All three formulas are given in the IB formula booklet, but you should know them by heart. You shouldn’t have to flip pages mid-paper โ€” that wastes time on easy marks.
Two points ยท Three things to find
x y O ฮ”x = run ฮ”y = rise d A(xโ‚, yโ‚) B(xโ‚‚, yโ‚‚) M (midpoint)

1. The midpoint formula

The midpoint of two points is just the average of each coordinate. Add the two x‘s and divide by 2. Add the two y‘s and divide by 2. Done.

Midpoint of (x1, y1) and (x2, y2) M = (x1 + x22,   y1 + y22) โœ“ in formula booklet (prior learning)
Quick example: Midpoint of (4, โˆ’2) and (6, 8) is   (4 + 62, โˆ’2 + 82) = (5, 3).

2. The distance formula

The distance between two points is the length of the line segment joining them. The formula is just Pythagoras’ theorem applied on the coordinate grid.

Distance between (x1, y1) and (x2, y2) d = โˆš( (x1 โˆ’ x2)2 + (y1 โˆ’ y2)2 ) โœ“ in formula booklet (prior learning)

๐Ÿค” Why is this just Pythagoras?

Drop a horizontal line and a vertical line from your two points. You’ve made a right-angled triangle whose horizontal side is (x1 โˆ’ x2) and vertical side is (y1 โˆ’ y2). The distance is the hypotenuse, so d2 = (ฮ”x)2 + (ฮ”y)2. Take the square root and you’ve got the formula.

Order doesn’t matter: (x1 โˆ’ x2)2 = (x2 โˆ’ x1)2 because squaring removes the sign. So you can subtract either way round.
In IB notation, the line segment between points A and B is written [AB] (with square brackets) and its length is just AB. Use the right notation in your written answers.

3. The gradient formula

The gradient (or slope) of a line tells you how steep it is. It’s rise over run โ€” the change in y divided by the change in x.

Gradient of line through (x1, y1) and (x2, y2) m = y2 โˆ’ y1x2 โˆ’ x1 โœ“ in formula booklet (functions)
Order matters here โ€” but only in the sense that you must keep things consistent. If you put y2 on top, you must put x2 on the bottom. Don’t mix them up.

What does the sign of m tell you?

Positive
m > 0 ยท slopes up
Negative
m < 0 ยท slopes down
Zero
m = 0 ยท horizontal
Undefined
vertical line
A vertical line has no gradient โ€” the formula gives division by zero. Watch for this in problems involving lines like x = 4.

Worked examples

WE 1

Find the midpoint

Find the midpoint of P(7, โˆ’3) and Q(โˆ’1, 5).

Step 1: Label the coordinates P: x1 = 7, y1 = โˆ’3 Q: x2 = โˆ’1, y2 = 5 Step 2: Average each coordinate x: 7 + (โˆ’1)2 = 62 = 3 y: โˆ’3 + 52 = 22 = 1 Midpoint = (3, 1)
WE 2

Find the distance between two points

Find the distance between C(2, 1) and D(8, 9).

Step 1: Label and substitute d = โˆš( (2 โˆ’ 8)2 + (1 โˆ’ 9)2 ) Step 2: Compute = โˆš( (โˆ’6)2 + (โˆ’8)2 ) = โˆš(36 + 64) = โˆš100 d = 10 units classic 3-4-5 triangle scaled by 2
WE 3

Find the gradient

Find the gradient of the line through E(โˆ’2, 3) and F(4, โˆ’9).

Step 1: Label and substitute E: x1 = โˆ’2, y1 = 3 F: x2 = 4, y2 = โˆ’9 Step 2: Apply the formula m = โˆ’9 โˆ’ 34 โˆ’ (โˆ’2) = โˆ’126 m = โˆ’2 negative โ†’ line slopes down
WE 4

All three formulas in one question (SME-style)

Point A has coordinates (3, โˆ’4) and point B has coordinates (โˆ’5, 2). Find:

(i) the distance AB  (ii) the gradient of AB  (iii) the midpoint of [AB]

(i) Distance d = โˆš( (3 โˆ’ (โˆ’5))2 + (โˆ’4 โˆ’ 2)2 ) = โˆš(82 + (โˆ’6)2) = โˆš(64 + 36) = โˆš100 AB = 10 units (ii) Gradient m = 2 โˆ’ (โˆ’4)โˆ’5 โˆ’ 3 = 6โˆ’8 m = โˆ’34 (iii) Midpoint M = (3 + (โˆ’5)2, โˆ’4 + 22) = (โˆ’22, โˆ’22) M = (โˆ’1, โˆ’1)
WE 5

Reverse: find the missing endpoint

The midpoint of [PQ] is M(2, โˆ’1). Given that P(โˆ’3, 4), find the coordinates of Q.

Step 1: Set up the midpoint equations x-coord: โˆ’3 + x2 = 2 y-coord: 4 + y2 = โˆ’1 Step 2: Solve each โˆ’3 + x = 4 โ†’ x = 7 4 + y = โˆ’2 โ†’ y = โˆ’6 Q = (7, โˆ’6) just multiply both sides by 2 โ€” never overthink it

๐Ÿ’ก Top tips

โš  Common mistakes

These three formulas come up in every Geometry paper. Get fluent with them now and you’ll save brainpower for the harder questions later in the paper.

Need help with Coordinate Geometry?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session โ†’