A 3D vector can be represented as a line segment in 3D by a directed line segment in 3D space R3, which has a start point and an end point. The length of this line is called the magnitude of the vector. For example, consider the below vector.
For Vector a = xi + yj + zk
then the magnitude of a is, |a| = a2 = x2 + y2 + z2