Example
we have the point (1,2,3)
Remember that
The first coordinate represents the x-axis
The second coordinate represents the y-axis
The third coordinate represents the z-axis
see the figure below to better understand the problem
In the figure, we have the representation of point P(1,2,3)
If you have the vectors
A(0,0,0) and B (1,2,3)
Find out the magnitude of vector AB
the formula to calculate the magnitude of a vector in 3D is similar to calculating the magnitude of a vector in 2D
so
[tex]\begin{gathered} AB=\sqrt{(1-0)^2+(2-0)^2+(3-0)^2} \\ AB=\sqrt{1+4+9} \\ AB=\sqrt{14} \\ The\text{ magnitude of vector AB is }\sqrt{14} \end{gathered}[/tex]Is the same formula that 2D , but we have an additional coordinate