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 = √((x1x2)2 + (y1y2)2)
✓ in formula booklet
📈
Gradient
m = y2y1x2x1
✓ 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 = √( (x1x2)2 + (y1y2)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 (x1x2) and vertical side is (y1y2). 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: (x1x2)2 = (x2x1)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 = y2y1x2x1 ✓ 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 →