Section Formula in Vector Form: Derivation and Examples
The section formula finds the position vector of a point P that divides the segment joining A and B in a given ratio m:n. Instead of measuring distances with a ruler, you combine the position vectors a and b of A and B with weights set by the ratio, and the formula returns the exact coordinates of P.
This matters because dividing segments in a ratio appears constantly: midpoints, centroids of triangles, points cutting a segment into equal parts, and interpolation between two positions in graphics and navigation. One formula handles all of them, in two dimensions and in three.
Key Concepts
- Internal division: P lies between A and B with AP:PB = m:n (m, n positive).
- External division: P lies outside segment AB on the same line; one weight goes negative. Requires m ≠ n.
- Position vectors: with a = OA and b = OB, the formula returns p = OP.
- The weight swap: the coefficient of a is n and of b is m — each endpoint takes the ratio part nearer the OTHER endpoint. Forgetting this swap is the most common error.
- Midpoint: the case m = n = 1: p = (a + b)/2.
Derivation (internal): since AP is the fraction m/(m+n) of AB, p − a = (m/(m+n))(b − a), which rearranges to p = (na + mb)/(m+n).
Formulas
- Internal: p = (n·a + m·b)/(m + n); A and B must be distinct.
- External: p = (m·b − n·a)/(m − n). Limit: m ≠ n, else the point recedes to infinity.
- Centroid link: applying the formula twice gives the triangle centroid g = (a + b + c)/3, since the centroid divides each median 2:1.
Worked Example
A = (1, 2) and B = (7, 8), so a = î + 2ĵ and b = 7î + 8ĵ. Find P dividing AB internally in ratio 2:1 (m = 2, n = 1).
- p = (1·a + 2·b)/3 — note the swap: a gets n = 1, b gets m = 2.
- (î + 2ĵ) + 2(7î + 8ĵ) = 15î + 18ĵ; divide by 3: p = 5î + 6ĵ, so P = (5, 6).
- Verify: AP = √32 = 4√2, PB = √8 = 2√2, so AP:PB = 2:1. Correct.
- Midpoint: (a + b)/2 = 4î + 5ĵ, i.e. (4, 5).
Common Misconceptions
- "The formula is (ma + nb)/(m + n)." Wrong — the weights are swapped. Test m = 0: only (na + mb)/(m+n) returns point A.
- "External division uses the same formula." No — it needs p = (mb − na)/(m − n); the internal one would wrongly put P inside the segment.
- "It works only in 2D." It applies component-wise in any dimension, including 3D: run it on x, y and z separately.
Real-World Applications
- Coordinate geometry: trisection points, centroids and ratio-division problems in exams and surveying.
- Computer graphics: interpolating between two positions along a line — every frame of a linear animation uses the internal formula.
- Navigation: a waypoint a given fraction along the journey from A to B is the internal division point for that ratio.
To recap: P dividing AB internally in ratio m:n has p = (na + mb)/(m + n) — weights swapped — and externally p = (mb − na)/(m − n), with the midpoint (a + b)/2 as the simplest case. The example found P = (5, 6) for the 2:1 division of (1, 2) and (7, 8), verified by distance. Remember the swap and the formula never fails.
Related blogs
- Scalars and Vectors: Difference Explained with Examples
- Types of Vectors: Zero, Unit, Equal & More Explained
- Addition and Subtraction of Vectors: Explained with Examples
- Scalar Multiplication of Vectors: Scaling Made Simple
- Dot Scalar Product: Concepts, Formulas and Examples
- Cross Vector Product: Concepts, Formulas and Examples