3.6.33D Geometry

Section formula in 3D

1,630 words7 min readdifficulty · medium2 backlinks

Subtopic: How to find a point that divides a line segment in a given ratio — in 3D space.

Core Idea


WHY does a "weighted average" appear?

WHAT we want: coordinates of P=(x,y,z)P=(x,y,z) on line ABAB with AP:PB=m:nAP:PB = m:n.

HOW — derive from scratch using similar triangles / vectors.

Derivation (vector method — cleanest)

Let position vectors be a\vec{a} (for AA) and b\vec{b} (for BB). Since PP is on segment ABAB: AP=mnPB.\vec{AP} = \frac{m}{n}\,\vec{PB}. Why this step? The ratio AP:PB=m:nAP:PB=m:n means the vector from AA to PP is mn\frac{m}{n} times the vector from PP to BB (same direction, internal case).

Write vectors with position vectors: pa=mn(bp).\vec{p}-\vec{a} = \frac{m}{n}(\vec{b}-\vec{p}). Why? AP=pa\vec{AP}=\vec{p}-\vec{a} and PB=bp\vec{PB}=\vec{b}-\vec{p}.

Multiply by nn: n(pa)=m(bp).n(\vec{p}-\vec{a}) = m(\vec{b}-\vec{p}). npna=mbmp.n\vec{p}-n\vec{a} = m\vec{b}-m\vec{p}. Collect p\vec{p}: (m+n)p=mb+na.(m+n)\vec{p} = m\vec{b}+n\vec{a}.   p=mb+nam+n  \boxed{\;\vec{p} = \frac{m\vec{b}+n\vec{a}}{m+n}\;}

Reading off coordinates:

Figure — Section formula in 3D

The 80/20 of this topic


Worked Examples

  • m=2, n=3m=2,\ n=3.
  • x=2(3)+3(1)2+3=6+35=95x=\dfrac{2(3)+3(1)}{2+3}=\dfrac{6+3}{5}=\dfrac{9}{5}. Why? far weight mm multiplies x2x_2.
  • y=2(4)+3(2)5=865=25y=\dfrac{2(4)+3(-2)}{5}=\dfrac{8-6}{5}=\dfrac{2}{5}.
  • z=2(5)+3(3)5=10+95=15z=\dfrac{2(-5)+3(3)}{5}=\dfrac{-10+9}{5}=-\dfrac{1}{5}.
  • P=(95,25,15)\Rightarrow P=\left(\dfrac{9}{5},\dfrac{2}{5},-\dfrac{1}{5}\right).
  • Use mn=31=2m-n=3-1=2 in denominator.
  • x=3(4)1(2)2=1222=5x=\dfrac{3(4)-1(2)}{2}=\dfrac{12-2}{2}=5. Why subtract? external \Rightarrow replace nnn\to -n.
  • y=3(3)1(1)2=912=4y=\dfrac{3(3)-1(1)}{2}=\dfrac{9-1}{2}=4.
  • z=3(2)1(4)2=642=1z=\dfrac{3(2)-1(4)}{2}=\dfrac{6-4}{2}=1.
  • P=(5,4,1)\Rightarrow P=(5,4,1). Note it lies beyond BB, as expected since m>nm>n.

Forecast: PP looks close to AA, so expect small mm vs nn.

Let ratio =k:1= k:1. Use xx-coordinate: 5=k(9)+1(3)k+15k+5=9k+32=4kk=12.5=\frac{k(9)+1(3)}{k+1}\Rightarrow 5k+5=9k+3\Rightarrow 2=4k\Rightarrow k=\tfrac12. So ratio =12:1=1:2=\tfrac12:1 = 1:2.

Verify with zz: 1(10)+2(4)3=1083=6.\dfrac{1(-10)+2(-4)}{3}=\dfrac{-10-8}{3}=-6. ✓ Matches. Ratio confirmed 1:21:2 — and indeed PP is nearer AA. Forecast correct.


Common Mistakes (Steel-man)


Flashcards

Internal section formula for A,BA,B in ratio m:nm:n
P=(mx2+nx1m+n,my2+ny1m+n,mz2+nz1m+n)P=\left(\frac{mx_2+nx_1}{m+n},\frac{my_2+ny_1}{m+n},\frac{mz_2+nz_1}{m+n}\right)
Which endpoint's coordinate gets multiplied by mm?
The opposite/far endpoint BB (i.e. x2x_2), because weight mm pulls PP toward BB.
External division formula change
Replace nn by n-n: denominators become mnm-n and numerators subtract.
In external division, do AP\vec{AP} and PB\vec{PB} point the same or opposite way?
Opposite directions (they point the same way only in internal division); that reversal is what nnn\to -n encodes.
Midpoint of A,BA,B in 3D
(x1+x22,y1+y22,z1+z22)\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2},\frac{z_1+z_2}{2}\right), i.e. ratio 1:11:1.
Vector form of section formula
p=mb+nam+n\vec p=\frac{m\vec b+n\vec a}{m+n}.
How to find ratio in which PP divides ABAB?
Set ratio k:1k:1, use one coordinate to solve kk, verify with another coordinate.
What does m=nm=n give in external division?
Denominator mn=0m-n=0 → point at infinity (line through A,BA,B direction), undefined point.
Why is 3D section just 1D done thrice?
Each coordinate is independent; the weighted average applies separately to x,y,zx,y,z with same m,nm,n.

Recall Feynman: explain to a 12-year-old

Picture a stick with a red dot at one end (AA) and blue at the other (BB). You want to mark a spot so the red-side piece and blue-side piece are in a ratio like 2 to 3. To find that spot's position, you just take a "mixing" of the two ends. If the spot is closer to blue, blue's numbers count more. You mix the left–right numbers, the front–back numbers, and the up–down numbers separately — three little mixings, one for each direction. That's the whole secret.


Connections

Concept Map

defines

explains

done 3 times

vector method

solve for p

read coordinates

replace n with minus n

set m = n = 1

opposite directions

applies to

Ratio AP:PB = m:n

Point P divides AB

Weighted average of endpoints

x, y, z independently

p = a + m over n times PB

p = m b plus n a over m plus n

Internal division formula

External division formula

Midpoint formula

Sign flip encodes outside segment

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, section formula ka idea bilkul simple hai: ek line segment ke do points AA aur BB hain, aur tumhe wo point PP chahiye jo is segment ko m:nm:n ratio me baant de. Iska matlab sirf itna hai ki PP ki position do endpoints ka weighted average hai. Jis taraf zyada weight, PP us taraf zyada khinch jaata hai — jaise rassi pe agar tum BB ke paas khade ho to BB ka "vote" zyada count hota hai.

Sabse important baat: 3D bhi 2D/1D jaisa hi hai, bas teen baar karna padta hai — ek baar xx ke liye, ek baar yy, ek baar zz, same mm aur nn use karke. Formula yaad rakhne ka trick: ratio AP:PB=m:nAP:PB = m:n me, pehla number mm hamesha door wale point BB ke coordinate (x2x_2) se multiply hota hai. Bahut students ulta kar dete hain (mm ko AA ke saath laga dete hain) — yahi sabse common galti hai, isse bacho.

External division me bas nn ki jagah n-n likh do, denominator mnm-n ban jaata hai, aur point segment ke bahar aa jaata hai. Yaad rakho: internal division me AP\vec{AP} aur PB\vec{PB} ek hi direction me point karte hain, lekin external division me ye opposite directions me hote hain — yahi reversal nnn\to -n wali sign change me chhupa hai. Agar kisi question me ratio puchha ho, to ratio ko k:1k:1 maan ke ek coordinate se kk nikaal lo, phir doosre coordinate se verify kar lo — yeh forecast-then-verify trick exam me galti pakad leta hai. Midpoint to bas 1:11:1 ka special case hai, simple average.

Go deeper — visual, from zero

Test yourself — 3D Geometry

Connections