Distance and Midpoint
This whole topic starts with Pythagoras. One right-angled triangle gives the coordinate gaps: use them for distance, compare them for gradient, or halve them to find the midpoint.
A is the straight part between two endpoints.
Distance is Pythagoras
Join to . The horizontal change is and the vertical change is . Their sizes are the short sides of a right-angled triangle. is the hypotenuse: the side opposite the right angle. Pythagoras adds the squares of the two short sides.
A coordinate change can be negative; a length cannot. Squaring removes the sign. Keep the same subtraction order for both coordinates.
Swipe left or right to see the whole diagram →
Midpoint means halfway
The has an -coordinate halfway between the two endpoint -coordinates, and the same is true for . Halfway between two numbers is their average.
Worked example
Find the distance and midpoint between P(-2, 3) and Q(4, -5)
- The coordinate gaps are and .
- Use Pythagoras: .
- Average each coordinate: .
Distance: 10
Midpoint: (1, -1)
When a coordinate is unknown
Given the midpoint: equate the x-coordinates, then the y-coordinates. For , and midpoint (Coursebook Worked example 3.1):
Given the distance: square the coordinate gaps. Preserve both quadratic roots unless the geometry rejects one.
Worked example
The distance from to is . Find
Coursebook Worked example 3.3. Squaring the distance equation removes the square root without changing the positive length.
- Expand and simplify: , then divide by 2: .
- An ordinary calculator polynomial solver gives the convenient roots and . Show the supported working as .
Common mistake
Check the method
The points are , and . Find the midpoint of . Then decide whether by comparing squared distances.
Show worked answer
, while . Therefore .
