Distance and midpoint of two points
Find the distance and the coordinates of the midpoint of a line segment in the plane.
Calculate the result
Worked example
Problem
Given the points A(-2, 1) and B(4, 9). Calculate their distance and the coordinates of the midpoint of segment AB.
The points A(-2, 1) and B(4, 9) are 10 units apart and their midpoint is M(1, 5).
Calculate the coordinate differences
Find the distance
Take the mean on each axis
Common mistake
For distance we use coordinate differences. For the midpoint we use sums and divide each sum by 2.
