Internal and external division points

We find points that divide a segment in a given ratio. Consider the segment joining A(1,1)A(1, 1) and B(7,4)B(7, 4).

Internal division

An internal division point divides the segment inside, in the given ratio. The point PP with AP:PB=2:1AP : PB = 2 : 1 is found by mixing the coordinates of AA and BB with weights 1:21 : 2, the nearer endpoint getting the larger weight.

P=(11+272+1, 11+242+1)=(5,3)P = \left(\frac{1 \cdot 1 + 2 \cdot 7}{2 + 1}, \ \frac{1 \cdot 1 + 2 \cdot 4}{2 + 1}\right) = (5, 3)

In general, the point dividing A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) in the ratio m:nm : n internally is the following.

(nx1+mx2m+n,ny1+my2m+n)\left(\frac{n x_1 + m x_2}{m + n}, \frac{n y_1 + m y_2}{m + n}\right)

Why the weights look backwards

Thinking of the journey from AA to BB makes them natural. Saying AP:PB=2:1AP : PB = 2 : 1 means PP sits 23\dfrac{2}{3} of the way along.

x=1+23(71)=5y=1+23(41)=3\begin{align*} x &= 1 + \frac{2}{3}(7 - 1) = 5 \\ y &= 1 + \frac{2}{3}(4 - 1) = 3 \end{align*}

The closer the point is to BB, the more strongly the coordinates of BB count, which is why BB carries the larger weight.

Three cases

RatioPointPosition
1:11 : 1 internal(4,52)\left(4, \dfrac{5}{2}\right)the midpoint
2:12 : 1 internal(5,3)(5, 3)inside the segment
2:12 : 1 external(13,7)(13, 7)beyond BB

External division

An external division point divides on the extension outside the segment. Dividing in the ratio m:nm : n externally is obtained by replacing nn with n-n.

(nx1+mx2mn,ny1+my2mn)\left(\frac{-n x_1 + m x_2}{m - n}, \frac{-n y_1 + m y_2}{m - n}\right)

Only when m=nm = n does the denominator vanish and no external point exist: dividing 1:11 : 1 externally would place the point infinitely far along the line.

Applications

  • The centroid of a triangle divides each median in the ratio 2:12 : 1
  • Linear interpolation estimates a value between two known points1
  • Bezier curves are built from repeated internal division

The line on the graph passes through AA and BB, and the large dots are AA, BB, and the 2:12 : 1 internal division point.

  1. Linear interpolation, Wikipedia