How To Calculate Magnitude Of A Vector?

For a 2D vector ( vec{v} = langle x, y rangle ), use ( |vec{v}| = sqrt{x^2 + y^2} )

For a 3D vector ( vec{v} = langle x, y, z rangle ), use ( |vec{v}| = sqrt{x^2 + y^2 + z^2} )

For an (n)-dimensional vector ( vec{v} = langle v_1, v_2, dots, v_n rangle ), use ( |vec{v}| = sqrt{v_1^2 + v_2^2 + cdots + v_n^2} )

Square each component of the vector

Add the squared values together

Take the square root of the sum

Suggested for You

Trending Today