Note AcademyNote Academy

Mathematics (Syllabus D) 4024 · Chapter 3

Coordinate Geometry

The length and midpoint of a line, the equation of a straight line, and parallel and perpendicular lines, including the perpendicular bisector.

Written for the 2025–2027 syllabus · 5 min read

Length and midpoint

Length of a line

If you have two points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2), then the length of the line segment ABAB is found using the distance formula:

Length=(4−1)2+(6−2)2=32+42=9+16=25=5\text{Length} = \sqrt{(4 - 1)^2 + (6 - 2)^2} = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = \sqrt{25} = 5

Midpoint

To find the middle point between A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2), use this formula:

Midpoint=(1+42, 2+62)=(2.5, 4)\text{Midpoint} = \left(\frac{1 + 4}{2},\ \frac{2 + 6}{2}\right) = (2.5,\ 4)

A grid with A(1, 2), B(4, 6), the right-angled triangle that gives a length of 5, and the midpoint (2.5, 4)

A grid with A(1, 2), B(4, 6), the right-angled triangle that gives a length of 5, and the midpoint (2.5, 4)

Equations of linear graphs

FormWhat it meansExample
y=mx+cy = mx + cGradient and yy-intercept formy=2x+3y = 2x + 3
ax+by=cax + by = cGeneral form3x+4y=123x + 4y = 12
x=kx = kA vertical line at x=kx = kx=5x = 5
y=ky = kA horizontal line at y=ky = ky=−2y = -2

The graph of y = 2x + 3 with its y-intercept and a gradient triangle

The graph of y = 2x + 3 with its y-intercept and a gradient triangle

Finding the equation of a line

If you know the gradient and a point on the line (x1,y1)(x_1, y_1), use this formula:

This is called the point-gradient form.

y−2=3(x−(−1))⇒y−2=3x+3⇒y=3x+5y - 2 = 3\left(x - (-1)\right) \quad\Rightarrow\quad y - 2 = 3x + 3 \quad\Rightarrow\quad y = 3x + 5

Getting information from an equation

You can find the gradient and yy-intercept straight from the equation.

Rearrange it to the y=mx+cy = mx + c form:

4y=−5x+8⇒y=−54x+24y = -5x + 8 \quad\Rightarrow\quad y = -\frac{5}{4}x + 2

The gradient is −54-\dfrac{5}{4} and the yy-intercept is 2.

Parallel and perpendicular lines

Parallel lines have the same gradient.

  • The gradient of the given line is 4.
  • Use the point (1,−3)(1, -3) and plug into the point-gradient form:

y+3=4(x−1)⇒y+3=4x−4⇒y=4x−7y + 3 = 4(x - 1) \quad\Rightarrow\quad y + 3 = 4x - 4 \quad\Rightarrow\quad y = 4x - 7

Perpendicular lines are lines that meet at a right angle (90∘90^\circ), like the corners of a square. They have opposite reciprocal gradients. If a line has gradient mm, then a perpendicular line has gradient:

First, write it in y=mx+cy = mx + c form: y=32x+12y = \frac{3}{2}x + \frac{1}{2}. The gradient is 32\frac{3}{2}, so the perpendicular gradient is −23-\frac{2}{3} (reciprocal and change sign).

Two perpendicular lines with gradients 3/2 and minus 2/3

Two perpendicular lines with gradients 3/2 and minus 2/3

Perpendicular bisector

A perpendicular bisector cuts the line in half (through the midpoint) at a right angle.

Step 1: find the midpoint.

(−3+92, 8+(−2)2)=(3, 3)\left(\frac{-3 + 9}{2},\ \frac{8 + (-2)}{2}\right) = (3,\ 3)

Step 2: find the gradient of ABAB.

m=−2−89−(−3)=−1012=−56m = \frac{-2 - 8}{9 - (-3)} = \frac{-10}{12} = -\frac{5}{6}

Step 3: find the perpendicular gradient. Flip and change the sign: 65\dfrac{6}{5}.

Step 4: plug the midpoint into the point-gradient form.

y−3=65(x−3)⇒y=65x−185+3⇒y=65x−35y - 3 = \frac{6}{5}(x - 3) \quad\Rightarrow\quad y = \frac{6}{5}x - \frac{18}{5} + 3 \quad\Rightarrow\quad y = \frac{6}{5}x - \frac{3}{5}

The line AB, its midpoint and the perpendicular bisector y = 6/5 x minus 3/5

The line AB, its midpoint and the perpendicular bisector y = 6/5 x minus 3/5
Test yourself17 flashcards on this chapter.Flashcards →

Practise this chapter

Every past-paper question on these topics, with the mark scheme.