IB Maths AA HL Topic 3 โ€” Geometry & Trigonometry Paper 1 & 2 ~6 min read

Coordinate Geometry

Coordinate geometry is the toolkit that links algebra and the plane. Three formulas do almost all the work: the midpoint of a line segment, the distance between two points, and the gradient of the line joining them. They appear constantly throughout the IB course โ€” in trigonometry, vectors, calculus, and modelling โ€” so getting the basics fast and accurate pays dividends everywhere.

๐Ÿ“˜ What you need to know

Midpoint of two points

The midpoint sits exactly halfway along the segment joining two points โ€” equidistant from both ends. Each coordinate is just the average of the two coordinates of the same name.

Midpoint formula M = ( x1 + x22 , y1 + y22 )

That’s it โ€” average the x‘s, average the y‘s. The order of the points makes no difference, since addition is commutative.

Reverse use: if you know the midpoint and one endpoint, you can solve for the other endpoint by rearranging. For midpoint M(mx, my) and known endpoint P, the other endpoint is Q = (2mx โˆ’ Px, 2my โˆ’ Py).

Distance between two points

The distance is the length of the line segment joining the points. Drop a horizontal and vertical from each point and you get a right-angled triangle whose hypotenuse is the segment โ€” Pythagoras finishes the job.

Distance formula d = โˆš( (x1 โˆ’ x2)2 + (y1 โˆ’ y2)2 )

The differences are squared, so it doesn’t matter which point you call (x1, y1) โ€” negative differences become positive squares. Always take the positive square root: distance is non-negative.

If you forget the formula, redraw the triangle: horizontal leg = |ฮ”x|, vertical leg = |ฮ”y|, hypotenuse = distance. The formula is just Pythagoras.

Gradient between two points

The gradient measures the steepness โ€” how much the y-value rises (or falls) per unit increase in x.

Gradient formula m = y2 โˆ’ y1x2 โˆ’ x1

Order matters here in one specific way: the first y on the numerator must come from the same point as the first x on the denominator. You can swap both rows simultaneously and get the same answer, but mixing them up flips the sign.

Parallel lines
m1 = m2
same gradient, different intercepts
Perpendicular lines
m1 ยท m2 = โˆ’1
gradients are negative reciprocals

๐Ÿงญ Recipe โ€” coordinate geometry workflow

  1. Label the points clearly: write (x1, y1) above the first point and (x2, y2) above the second.
  2. Pick the right formula: midpoint for “halfway”, distance for “length” or “how far”, gradient for “slope” or “steepness”.
  3. Substitute carefully: keep negatives in brackets to avoid sign slips โ€” (x2) โˆ’ (x1), not x2 โˆ’ x1 with signs floating.
  4. Simplify: leave fractions in lowest terms; leave surds exact unless asked for a decimal.
  5. Sanity check with a sketch: does the gradient sign match the line’s direction? Does the midpoint sit visually between the two endpoints?

Worked examples

WE 1

Distance between two points

Find the distance between P(1, 7) and Q(4, 11).

Step 1: Label the coordinates (xโ‚, yโ‚) = (1, 7); (xโ‚‚, yโ‚‚) = (4, 11) Step 2: Substitute into d = โˆš((xโ‚โˆ’xโ‚‚)ยฒ + (yโ‚โˆ’yโ‚‚)ยฒ) d = โˆš((1โˆ’4)ยฒ + (7โˆ’11)ยฒ) d = โˆš((โˆ’3)ยฒ + (โˆ’4)ยฒ) = โˆš(9 + 16) d = โˆš25 = 5 d = 5 units a 3-4-5 triangle hidden in the differences โ€” clean exact answer
WE 2

Gradient of a line through two points

Find the gradient of the line passing through M(โˆ’2, 8) and N(6, โˆ’4).

Step 1: Label coordinates (xโ‚, yโ‚) = (โˆ’2, 8); (xโ‚‚, yโ‚‚) = (6, โˆ’4) Step 2: Substitute into m = (yโ‚‚โˆ’yโ‚)/(xโ‚‚โˆ’xโ‚) m = (โˆ’4 โˆ’ 8)/(6 โˆ’ (โˆ’2)) m = โˆ’12/8 simplify: divide top and bottom by 4 m = โˆ’3/2 negative gradient โ€” line slopes downward from left to right, which matches: y went from 8 down to โˆ’4 as x increased
WE 3

Midpoint of a line segment

Find the midpoint of the line segment joining C(7, โˆ’3) and D(โˆ’1, 9).

Step 1: Apply midpoint formula M = ((xโ‚+xโ‚‚)/2, (yโ‚+yโ‚‚)/2) Step 2: Substitute M = ((7 + (โˆ’1))/2, (โˆ’3 + 9)/2) M = (6/2, 6/2) M = (3, 3) a quick sketch confirms (3, 3) sits visually halfway between (7, โˆ’3) and (โˆ’1, 9)
WE 4

Distance, gradient, and midpoint together

For the points E(2, 5) and F(8, โˆ’3), find (a) the length of [EF], (b) the gradient of the line EF, and (c) the midpoint of [EF].

(a) Distance d = โˆš((2โˆ’8)ยฒ + (5โˆ’(โˆ’3))ยฒ) d = โˆš((โˆ’6)ยฒ + 8ยฒ) = โˆš(36 + 64) d = โˆš100 = 10 |EF| = 10 units (b) Gradient m = (โˆ’3 โˆ’ 5)/(8 โˆ’ 2) = โˆ’8/6 m = โˆ’4/3 (c) Midpoint M = ((2+8)/2, (5+(โˆ’3))/2) = (10/2, 2/2) M = (5, 1) another clean Pythagorean triple โ€” 6, 8, 10 โ€” hiding behind the coordinates
WE 5

Find an unknown endpoint from the midpoint

The midpoint of [PQ] is M(2, 4) and one endpoint is P(โˆ’3, 1). Find the coordinates of the other endpoint Q.

Step 1: Set up the midpoint equations ((โˆ’3 + Qx)/2, (1 + Qy)/2) = (2, 4) Step 2: Solve for Qx (โˆ’3 + Qx)/2 = 2 โ†’ โˆ’3 + Qx = 4 โ†’ Qx = 7 Step 3: Solve for Qy (1 + Qy)/2 = 4 โ†’ 1 + Qy = 8 โ†’ Qy = 7 Q = (7, 7) check: midpoint of (โˆ’3, 1) and (7, 7) is ((โˆ’3+7)/2, (1+7)/2) = (2, 4) โœ“
WE 6

Equation of the perpendicular bisector

The points A(1, 2) and B(7, 6) lie on a coordinate plane. Find the equation of the perpendicular bisector of [AB], giving your answer in the form y = mx + c.

Step 1: Find the midpoint of [AB] M = ((1+7)/2, (2+6)/2) = (4, 4) Step 2: Find the gradient of AB mAB = (6โˆ’2)/(7โˆ’1) = 4/6 = 2/3 Step 3: Find the perpendicular gradient mperp = โˆ’1/(2/3) = โˆ’3/2 Step 4: Use point-gradient form through M(4, 4) y โˆ’ 4 = โˆ’3/2 (x โˆ’ 4) y = โˆ’3x/2 + 6 + 4 y = โˆ’3x/2 + 10 the perpendicular bisector passes through the midpoint and is perpendicular to the original โ€” uses all three formulas

๐Ÿ’ก Top tips

โš  Common mistakes

That’s the prior-learning toolkit you need before diving deeper into Topic 3. The next note, Arcs & Sectors Using Degrees, applies similar fraction-of-the-whole reasoning to circles โ€” the arc is a fraction of the circumference, the sector a fraction of the area. Once you’ve got the angle measured in degrees, both formulas reduce to multiplying by ฮธ/360.

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 โ†’