Suppose a road runs straight between two villages and a bus stop is to be built one third of the way along. Where exactly is it? The section formula answers questions like this: it gives the coordinates of the point that divides a segment in any ratio. Its simplest case, the midpoint formula, is used constantly. This lesson derives both and uses them to find dividing points, missing endpoints and unknown ratios.
A point P on the segment AB divides it internally in the ratio m:n if AP:PB=m:n.
Section formula. If A(x1,y1) and B(x2,y2), the point P dividing AB internally in the ratio m:n is
P(m+nmx2+nx1,m+nmy2+ny1)
Notice the cross pattern: m (the part next to A) multiplies the coordinates of B, and n multiplies the coordinates of A.
Derivation. Let P be (x,y). Draw horizontal lines through A and P, and vertical lines through P and B, to make two right triangles: one with hypotenuse AP and legs x−x1 and y−y1, the other with hypotenuse PB and legs x2−x and y2−y. These triangles have equal angles (their sides are parallel), so they are similar, and their sides are in the ratio AP:PB=m:n:
x2−xx−x1=nm⟹n(x−x1)=m(x2−x)⟹x=m+nmx2+nx1
The same steps give y.
Example 1#
Find the point that divides the segment joining A(1,−2) and B(7,4) internally in the ratio 1:2.
Here m=1, n=2.
x=1+21×7+2×1=39=3,y=31×4+2×(−2)=30=0
The point is (3,0). It is one third of the way from A to B.
The midpoint divides a segment in the ratio 1:1. Putting m=n=1:
Midpoint of AB=(2x1+x2,2y1+y2)
The midpoint's coordinates are the averages of the endpoints' coordinates.
Example 2#
Find the midpoint of the segment joining (−3,5) and (7,−1).
(2−3+7,25+(−1))=(2,2)
Example 3#
The midpoint of AB is M(2,3) and A is (−1,7). Find B.
Let B=(x,y). Then 2−1+x=2, so x=5, and 27+y=3, so y=−1. So B=(5,−1).
A quick way to remember it: B=2M−A, coordinate by coordinate.
Finding the ratio#
When the dividing point is known and the ratio is not, call the ratio k:1. Then P=(k+1kx2+x1,k+1ky2+y1). Use whichever coordinate is easier to find k, and check with the other.
Example 4#
In what ratio does the point P(0,1) divide the segment joining A(−2,5) and B(4,−7)?
Using the x-coordinates:
k+14k+(−2)=0⟹4k−2=0⟹k=21
So the ratio is 21:1=1:2. Check with y: 2321(−7)+5=1.51.5=1. Correct.
Example 5#
In what ratio does the x-axis divide the segment joining (2,−3) and (5,6)? Find the point of division.
Every point on the x-axis has y-coordinate 0:
k+16k+(−3)=0⟹k=21
The ratio is 1:2, and the point is (31×5+2×2,0)=(3,0).
Points of trisection#
The two points that divide a segment into three equal parts are its points of trisection. They divide it in the ratios 1:2 and 2:1.
Example 6#
Find the points of trisection of the segment joining A(2,−2) and B(−7,4).
Ratio 1:2:
(31×(−7)+2×2,31×4+2×(−2))=(−1,0)
Ratio 2:1:
(32×(−7)+1×2,32×4+1×(−2))=(−4,2)
Practice#
- Find the point dividing the segment joining (−1,7) and (4,−3) internally in the ratio 2:3.
- Find the midpoint of the segment joining (4,−6) and (−2,8).
- The midpoint of AB is (1,2) and A is (3,−4). Find B.
- Find the points of trisection of the segment joining (1,−3) and (7,6).
- In what ratio does the y-axis divide the segment joining (5,−6) and (−1,−4)? Find the point of division.
- In what ratio does (0,3) divide the segment joining (−4,1) and (8,7)?
- If (p,2) is the midpoint of the segment joining (3,6) and (7,−2), find p.
- Find the points that divide the segment from (0,0) to (9,12) into three equal parts.
Answers#
Show answers
- (52×4+3×(−1),52×(−3)+3×7)=(1,3)
- (1,1)
- B=(2×1−3,2×2−(−4))=(−1,8)
- (3,0) and (5,3)
- k+1−k+5=0 gives k=5: ratio 5:1. The point is (0,65×(−4)+1×(−6))=(0,−313).
- k+18k−4=0 gives k=21: ratio 1:2 (check: 37+2=3).
- p=23+7=5
- (3,4) and (6,8)