Length and midpoint

Maths · Coordinate geometry. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths topics

The idea

A line segment is the part of a line between two points. Two things are asked about it: how long it is and where its middle is.

For the length, think of the segment as the longest side of a right-angled triangle. The other two sides are the difference in the x-coordinates and the difference in the y-coordinates. Pythagoras' theorem then gives the length.

The midpoint is halfway along, so its coordinates are the averages of the two x-coordinates and of the two y-coordinates. If you know the midpoint and one end, go the same step again to reach the other end.

Rules to remember

Common mistake

Subtracting for the midpoint or adding for the length. Also, a negative difference becomes positive when squared: (−15)2 = 225, not −225.

Worked example

A is (−1, 4) and B is (7, −11). Find the midpoint and the length of AB.

  1. Midpoint: ((−1 + 7)/2, (4 + (−11))/2) = (6/2, −7/2) = (3, −3.5).
  2. Differences: 7 − (−1) = 8 and −11 − 4 = −15.
  3. Length = √(82 + (−15)2) = √(64 + 225) = √289 = 17.

Answer: Midpoint (3, −3.5), length 17 units

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Gradient of linear graphsEquations of linear graphs →Take a Maths test