Midpoints and section ratios
Move the required fraction of the way from the first endpoint to the second.
The midpoint of (x₁,y₁) and (x₂,y₂) averages each coordinate separately. For a point P dividing AB internally in ratio AP:PB = m:n, its position is A + m/(m+n)(B − A). The fraction uses the distance travelled from A, which helps prevent the weights being reversed.
An internal point lies between the endpoints. Check each coordinate against the endpoint coordinates, allowing equality when that coordinate is unchanged along the segment. A coordinate outside those bounds suggests either an external division or an error. The ratio describes lengths along the same straight line; it is not a ratio of the x-coordinates alone.
Worked example
A = (−2,1), B = (8,6), and AP:PB = 2:3. Find P.
- P lies 2/(2+3) = 2/5 of the way from A to B.
- B − A = (10,5), so the displacement from A is (4,2).
- Add this displacement to A.
Answer: P = (2,3)
Practise midpoints and section ratios
Course mapping
These specification references show where the topic occurs. The questions cover only some parts of each topic.
- 8365 · core · 3.4: Midpoints and section ratios
- 7M20 · core · G4.6: Midpoints and section ratios
- 8365 · core · 3.4: Internal division of a line segment
- 7M20 · core · G4.6: Internal division of a line segment
Next practice: Straight lines and gradients, Pythagoras in three dimensions.