E3.4 Length and midpoint
- Syllabus
- 0580–2028–2029
- Topic
- E3.4
- Level
- Extended
The horizontal and vertical changes between two points form the perpendicular sides of a right-angled triangle. The line segment is its hypotenuse, so its length follows from Pythagoras’ theorem.
d=(x2−x1)2+(y2−y1)2
Subtract corresponding coordinates to find Δx and Δy. Keep brackets around negative values, square both changes, add, then take the positive square root. The subtraction order does not affect the length because each difference is squared.
A(−5,2), B(7,8):d=(7−(−5))2+(8−2)2=180=65≈13.4
The answer must be at least as large as the greater of ∣Δx∣ and ∣Δy∣. Here 13.4>12, so the result is plausible. If the points share an x- or y-coordinate, the formula reduces to the absolute difference on the other axis.
Do not add coordinate differences directly or round intermediate values. Square each complete signed difference and round only the final decimal when the required accuracy is known.
The midpoint lies exactly halfway between the endpoints in both horizontal and vertical directions. Find it by averaging the two x-coordinates and averaging the two y-coordinates separately.
M(2x1+x2,2y1+y2)
Pair like coordinates: add x to x and divide by 2, then add y to y and divide by 2. Use brackets when a coordinate is negative so the sign remains part of the sum.
P(−1,3), Q(6,4):M=(2−1+6,23+4)=(2.5,3.5)
From P to M, the change is (3.5,0.5); from M to Q, it is also (3.5,0.5). Equal coordinate changes confirm that M is halfway along the segment.
Do not divide only one coordinate or average an x-coordinate with a y-coordinate. A midpoint can have halves or other decimals even when both endpoints have integer coordinates.