Linear Algebra
Intermediate

Vector Magnitude

Length of a vector.

Formula

v=v12+v22+v32|\vec{v}| = \sqrt{v_1^2 + v_2^2 + v_3^2}

Variables

v_1,v_2,v_3Components

Example

|(3, 4, 0)| = √(9+16+0) = 5.

Did You Know?

A vector's magnitude is the Pythagorean theorem generalized to any number of dimensions.