Example — Vector and distance between two points

Let A(0;3;4)A(0;3;4) and B(1;1;1)B(-1;-1;-1). The vector going from AA to BB is AB=BA=(1;4;5).\vec{AB} = B-A = (-1;-4;-5). Its length — that is, the distance between the two points — is AB=(1)2+(4)2+(5)2=1+16+25=426,48.|\vec{AB}| = \sqrt{(-1)^2+(-4)^2+(-5)^2} = \sqrt{1+16+25} = \sqrt{42}\approx 6{,}48.

Topics: Analytic geometry in space
Concepts: Distance between points · Cartesian plane · Vector
Skills: Analytic geometry · Using formulae