Section formula

A GPS app plotting a rest stop exactly 40%40\% of the way along a road trip, or a physics problem finding the balance point between two masses — both are really asking the same vector question: given two points, where does the point sitting in a stated ratio between them land? The section formula answers this in one line, turning a geometric ratio into position-vector arithmetic. It is built from nothing more than the triangle law of vector addition and scalar multiplication, yet it is one of the most exam-frequent results in the Class 12 Vector Algebra chapter — the midpoint formula and the triangle centroid both fall out of it as special cases. Get the weight-pairing right once, and internal division, external division, midpoints and centroids all become the same three-line calculation.

The core insight

The point dividing ABAB internally in ratio m:nm:n has position vector r⃗=mb⃗+na⃗m+n\vec r = \dfrac{m\vec b+n\vec a}{m+n}, obtained from the triangle law by walking from AA a fraction mm+n\frac{m}{m+n} of the way toward BB.

The core idea

Fix an origin OO, and let points AA and BB have position vectors a⃗\vec a and b⃗\vec b. Let RR be the point on segment ABAB that divides it internally in the ratio m:nm:n, meaning AR:RB=m:nAR:RB = m:n. Its position vector is

r⃗=mb⃗+na⃗m+n,\vec r = \frac{m\vec b + n\vec a}{m+n},

where: a⃗,b⃗\vec a,\vec b are the position vectors of the two endpoints, m,nm,n are the two positive parts of the ratio (with mm paired to b⃗\vec b, the far point from AA), and r⃗\vec r is the position vector of the dividing point. A useful way to hold this formula in memory is the "cross-multiply" pairing: the coefficient sitting next to a⃗\vec a is nn (the part of the ratio nearer BB), and the coefficient next to b⃗\vec b is mm (the part nearer AA). As RR slides toward BB, mm grows relative to nn, and the formula automatically leans the answer toward b⃗\vec b — a fast sanity check against a swapped ratio. Three situations fall directly out of this one idea.

External division. If RR lies on line ABAB extended, outside the segment, dividing it externally in ratio m:nm:n, the same bookkeeping with a subtraction instead of an addition gives

r⃗=mb⃗−na⃗m−n,(m≠n).\vec r = \frac{m\vec b - n\vec a}{m-n}, \qquad (m\neq n).

Midpoint. Setting m=n=1m=n=1 collapses the section formula to the midpoint of ABAB:

m⃗=a⃗+b⃗2.\vec m = \frac{\vec a+\vec b}{2}.

Centroid of a triangle. For a triangle with vertices A,B,CA,B,C (position vectors a⃗,b⃗,c⃗\vec a,\vec b,\vec c), the centroid GG divides each median in ratio 2:12:1 from the vertex, which simplifies to the clean symmetric form

g⃗=a⃗+b⃗+c⃗3.\vec g = \frac{\vec a+\vec b+\vec c}{3}.

Notice how each of these three results is really the same formula wearing a different hat: the midpoint sets the ratio to 1:11:1, and the centroid result comes from applying the section formula twice — once to find the midpoint of a side, and once more along the median in ratio 2:12:1 from the opposite vertex. There is genuinely only one idea to learn here, not four.

Figure
Segment AB with point R dividing it internally in ratio m to n, showing the weighted pull toward B
R divides AB internally in ratio m to n A (vector a) B (vector b) R (vector r) m parts n parts AR is to RB as m is to n; the weight next to b is m, next to a is n

The main derivation

Derivation ASection formula for internal division

The goal is to derive the position vector of the point RR that divides segment ABAB internally in ratio m:nm:n using only the triangle law of vector addition and scalar multiplication of a vector, starting from the geometric statement AR:RB=m:nAR:RB=m:n and ending at the closed-form r⃗=(mb⃗+na⃗)/(m+n)\vec r = (m\vec b+n\vec a)/(m+n) that every later special case (midpoint, centroid) reduces to.

Step 1. Translate the ratio into a vector statement. Since RR lies on segment ABAB with AR:RB=m:nAR:RB=m:n, the length ARAR is the fraction mm+n\frac{m}{m+n} of the whole segment ABAB. Because AR→\overrightarrow{AR} and AB→\overrightarrow{AB} point the same way along the line, this fraction carries over to the vectors themselves: AR→=mm+n AB→\overrightarrow{AR} = \dfrac{m}{m+n}\,\overrightarrow{AB}.

Step 2. Write AB→\overrightarrow{AB} in terms of the position vectors. By the triangle law, AB→=b⃗−a⃗\overrightarrow{AB} = \vec b - \vec a (walking from AA to OO then OO to BB reverses the first leg). Substituting into Step 1 gives AR→=mm+n(b⃗−a⃗)\overrightarrow{AR} = \dfrac{m}{m+n}(\vec b-\vec a).

Step 3. Locate RR from the origin. Again by the triangle law, r⃗=a⃗+AR→\vec r = \vec a + \overrightarrow{AR}, so r⃗=a⃗+mm+n(b⃗−a⃗)\vec r = \vec a + \dfrac{m}{m+n}(\vec b-\vec a).

Step 4. Combine over a common denominator. r⃗=(m+n)a⃗+mb⃗−ma⃗m+n=mb⃗+na⃗m+n\vec r = \dfrac{(m+n)\vec a + m\vec b - m\vec a}{m+n} = \dfrac{m\vec b + n\vec a}{m+n}, since the ma⃗m\vec a terms cancel, leaving only na⃗n\vec a alongside mb⃗m\vec b. This is the section formula.

Worked example

Find the position vector of the point RR that divides the segment joining A(a⃗=2i^−3j^+4k^)A(\vec a = 2\hat i-3\hat j+4\hat k) and B(b⃗=−i^+2j^−k^)B(\vec b = -\hat i+2\hat j-\hat k) internally in the ratio 3:23:2.

Step 1. Identify mm and nn. The ratio AR:RB=3:2AR:RB=3:2 gives m=3m=3, n=2n=2.

Step 2. Apply the formula. r⃗=mb⃗+na⃗m+n=3(−i^+2j^−k^)+2(2i^−3j^+4k^)5\vec r = \dfrac{m\vec b+n\vec a}{m+n} = \dfrac{3(-\hat i+2\hat j-\hat k)+2(2\hat i-3\hat j+4\hat k)}{5}.

Step 3. Expand each term. 3(−i^+2j^−k^)=−3i^+6j^−3k^3(-\hat i+2\hat j-\hat k) = -3\hat i+6\hat j-3\hat k, and 2(2i^−3j^+4k^)=4i^−6j^+8k^2(2\hat i-3\hat j+4\hat k) = 4\hat i-6\hat j+8\hat k. Adding component-wise: (−3+4)i^+(6−6)j^+(−3+8)k^=i^+0j^+5k^(-3+4)\hat i+(6-6)\hat j+(-3+8)\hat k = \hat i+0\hat j+5\hat k.

Step 4. Divide by m+n=5m+n=5. r⃗=i^+5k^5=15i^+k^\vec r = \dfrac{\hat i+5\hat k}{5} = \dfrac{1}{5}\hat i+\hat k.

Answer: RR has position vector 15i^+k^\dfrac{1}{5}\hat i+\hat k.

Competitive stretch

The same machinery verifies a centroid two ways. For a triangle with a⃗=i^+2j^+3k^\vec a=\hat i+2\hat j+3\hat k, b⃗=3i^−j^+2k^\vec b=3\hat i-\hat j+2\hat k, c⃗=−i^+4j^−k^\vec c=-\hat i+4\hat j-\hat k, the direct centroid formula gives g⃗=a⃗+b⃗+c⃗3=i^+53j^+43k^\vec g = \dfrac{\vec a+\vec b+\vec c}{3} = \hat i+\dfrac{5}{3}\hat j+\dfrac{4}{3}\hat k. Checking via the median from AA: the midpoint of BCBC is d⃗=b⃗+c⃗2=i^+32j^+12k^\vec d=\dfrac{\vec b+\vec c}{2}=\hat i+\dfrac32\hat j+\dfrac12\hat k, and applying the section formula on ADAD in ratio 2:12:1 from AA gives g⃗=2d⃗+a⃗3=3i^+5j^+4k^3\vec g=\dfrac{2\vec d+\vec a}{3}=\dfrac{3\hat i+5\hat j+4\hat k}{3}, matching exactly — the two routes to a centroid always agree.

Common traps

  • Swapping which weight goes with which point. The ratio AR:RB=m:nAR:RB=m:n pairs mm with b⃗\vec b and nn with a⃗\vec a — writing nb⃗+ma⃗m+n\dfrac{n\vec b+m\vec a}{m+n} by accident flips the point toward the wrong end.
  • Using the internal-division formula for an external-division problem. External division needs a minus sign in both numerator and denominator: r⃗=mb⃗−na⃗m−n\vec r=\dfrac{m\vec b-n\vec a}{m-n}, not just a sign flip in the numerator alone.
  • Treating the midpoint formula as unrelated. It is simply m=n=1m=n=1 in the same formula; students who memorize it separately sometimes apply the wrong ratio pairing on a genuine section-formula question.
  • Deriving the centroid via a median and mis-ordering the 2:12:1 split. The direct g⃗=a⃗+b⃗+c⃗3\vec g=\frac{\vec a+\vec b+\vec c}{3} is the safest route; use the median only to verify.

Ask the tutor: stuck on whether a problem needs internal or external division, or want the section-formula derivation walked through step by step again? Ask the AI tutor.

Why does the ratio m:n pair m with b instead of a?

Because mm measures the part of the segment closer to BB: in AR:RB=m:nAR:RB=m:n, mm is the length ARAR's "share" and it is exactly the fraction of AB→\overrightarrow{AB} you travel from AA. When you finish the derivation and simplify, that travel fraction ends up multiplying b⃗\vec b, while the leftover fraction, tied to nn, multiplies a⃗\vec a. The pairing feels backward until you re-derive it once by hand; after that, the "far point gets mm" rule sticks.

How do I know if a problem wants internal or external division?

Read whether the dividing point lies between AA and BB (internal) or outside the segment, on the extended line (external). Problems usually say "divides externally" explicitly, or give a ratio with m>nm>n combined with a point clearly beyond BB. If unsure, compute both interpretations and check which position vector actually lies on the correct side using the given coordinates — a quick visual or numeric check catches most mistakes.

Is there a quicker way to remember the centroid formula without deriving it every time?

Yes — treat g⃗=a⃗+b⃗+c⃗3\vec g=\frac{\vec a+\vec b+\vec c}{3} as a standalone fact worth memorizing directly, the way you would memorize the midpoint formula. Reserve the median-based derivation (section formula in ratio 2:12:1) for when a question explicitly asks you to prove the centroid divides each median in that ratio, or when you want a fast cross-check on an already-computed answer. In practice, most board questions simply hand you three vertices and ask for the centroid directly, so the one-line formula is usually all the marks require; the median route is worth keeping only because it occasionally appears as its own separate proof question.

Before this

Where this leads