Dividing a segment in a ratio
Find the point a given fraction of the way from A to B.
To find the point that divides segment AB in the ratio a:b, go a/(a + b) of the way from A to B. Find the change in x and the change in y from A to B, take that fraction of each, and add to A’s coordinates. The midpoint is the special case 1:1.
Example: A(1, 2), B(9, 6), ratio 1:3
- 1/4 of the way — 1:3 means 1 part out of 4
- (1 + (1/4)(8), 2 + (1/4)(4)) — Change in x is 8, change in y is 4
- (3, 3) — The point
Why it works: Splitting in the ratio a to b cuts the segment into a plus b equal steps. Going a of those steps from A lands on the point.
Tip: The ratio 1:3 is not 1/3 of the way. Add the parts to get the denominator: 1 + 3 = 4.