If P and Q are two points and we want to find the point that divides PQ in a given ratio, the section formula does the job in one shot.
Statement
Let P=(x1,y1) and Q=(x2,y2), and let R be a point on segment PQ such that PR:RQ=m:n. Then
R=(m+nmx2+nx1,m+nmy2+ny1).
Special case: if R is the midpoint (m:n=1:1),
R=(2x1+x2,2y1+y2).
Derivation
Draw the segment from P to Q. By similar triangles (drop perpendiculars to the x- and y-axes), the x-coordinate of R satisfies
x2−RxRx−x1=RQPR=nm.
Solving: n(Rx−x1)=m(x2−Rx)⇒Rx(m+n)=mx2+nx1⇒Rx=m+nmx2+nx1.
A parallel argument with y-coordinates gives the second component. ■
When to use
- Trisection points of a segment: PR:RQ=1:2 for the first trisector, 2:1 for the second.
- Midpoint of any segment.
- Centroid of a triangle: average of the three vertices: (3x1+x2+x3,3y1+y2+y3).
- A point dividing a segment in a known ratio (often given in problems).
A useful inverse: if you know P,Q, and R (on segment PQ), you can compute the ratio PR:RQ from coordinates. Just rearrange.
Worked examples
Example 1. Find the midpoint of A=(2,7) and B=(−4,5).
Midpoint =(22−4,27+5)=(−1,6).
Example 2. Find the point dividing the segment from A=(1,2) to B=(6,7) in the ratio 2:3.
R=(2+32⋅6+3⋅1,2+32⋅7+3⋅2)=(515,520)=(3,4).
Example 3. Find the trisection points of the segment from A=(4,−1) to B=(−2,−3).
Trisection points divide the segment in ratios 1:2 and 2:1.
P=(31⋅(−2)+2⋅4,31⋅(−3)+2⋅(−1))=(36,3−5)=(2,−5/3).
Q=(32⋅(−2)+1⋅4,32⋅(−3)+1⋅(−1))=(30,3−7)=(0,−7/3).
Example 4. Find the ratio in which the x-axis divides the segment from A=(−2,3) to B=(5,−4).
A point on the x-axis has y=0. Suppose it divides AB in ratio m:1 (call it k:1). The y-coordinate of the divider is
k+1k⋅(−4)+1⋅3=0⇒−4k+3=0⇒k=3/4.
So the ratio is 3:4.
Example 5. Find the centroid of the triangle with vertices (2,3),(−1,4),(5,−1).
Centroid =(32−1+5,33+4−1)=(2,2).
Try it yourself
- Midpoint of (3,−7) and (−1,5).
- Point dividing A=(−3,5) to B=(4,−2) in ratio 2:3.
- Find both trisection points of segment from (1,−2) to (4,1).
- Find the ratio in which the y-axis divides the segment from (−3,5) to (4,−2).
- Find the centroid of the triangle with vertices (3,−5),(−7,4),(10,−2).
- The midpoint of AB is (2,−3); if A=(5,1), find B.
- Find k if (k,4) is the midpoint of (2,5) and (8,k−1).
- Find the coordinates of the point that divides the segment from (3,0) to (−5,8) externally in ratio 3:5. (For external division use mx2−nx1/(m−n).)
- If (a,b) is the midpoint of (2a,3b) and (c,d), find c,d in terms of a,b.
- In what ratio is the segment joining (2,−3) and (5,6) divided by the x-axis?
Pitfalls / Insight
- The ratio m:n corresponds to mx2+nx1, not mx1+nx2. The number in the numerator near x2 is the near-Q part of the ratio.
- For the midpoint formula, just take the average. No fractions to mix up.
- Negative coordinates can confuse signs. Compute carefully.
Insight. The section formula is a weighted average of two points. Bigger weight on Q pulls the result closer to Q. Internalise it and you'll spot ratios in many geometry problems.