If O is the origin and OA=aˉ,OB=bˉ are the position vectors
of A,B, then in △AOB, using the triangle law,
AB=AO+OB=−OA+OB=OB−OA=bˉ−aˉ,
i.e. the vector joining two points is (position vector of the end point) minus (position vector of the
start point). Writing A≡(x1,y1,z1),B≡(x2,y2,z2), so that
OA=x1^+y1^+z1k^ and
OB=x2^+y2^+z2k^, this becomes
AB=(x2−x1)^+(y2−y1)^+(z2−z1)k^,
whose magnitude ∣AB∣=(x2−x1)2+(y2−y1)2+(z2−z1)2 is exactly the distance
formula between two points.
Worked examples.
For A(2,3),B(−1,5),C(−1,1),D(−7,5) in a plane, AB=bˉ−aˉ=−3^+2^ and CD=dˉ−cˉ=−6^+4^=2(−3^+2^),
so CD=2AB shows the two are parallel.
Given A,B,C four points and needing E=(k,l) with AC∥BE: form
AC and BE (the latter in terms of the unknown k), set
BE=mAC, and match components to solve simultaneously for m and then
k.
For A(1,−2,3),B(2,3,−4),C(0,−7,10): AB=^+5^−7k^ and …