Magnitude of a Vector Notes

Published on: September 29, 2026

These Magnitude of a Vector Notes explain how to measure how long a vector is in three dimensions, with the working shown line by line. Each component is squared, the squares are added, and the square root of that total is the length, which is Pythagoras applied twice. Squaring is what removes the signs, so direction never affects the answer. Following the same pattern every time keeps the length positive and easy to check.

x y z A ⟨a₁, a₂, a₃⟩

Enter the three components of \(\vec{A} = \langle a_{1}, a_{2}, a_{3} \rangle\).

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the components into the formula.
  4. Work out the magnitude.

Formula: Magnitude Formula

This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Useful Tips to Remember

The magnitude is never negative, because every component is squared before anything is added. A component of 0 still counts as a term, it just adds nothing. Keep the square root exact, such as \(\sqrt{14}\), and only round at the end. If all three components share a factor, the magnitude shares it too, so \(|\langle 3, 6, 9 \rangle| = 3|\langle 1, 2, 3 \rangle|\).

Required knowledge

Where Is the Magnitude of a Vector Used?

The magnitude of a vector turns a list of components into a single size, such as how fast, how strong or how far. Physics uses it to get the speed from a velocity vector and the size of a force from its parts. In 3D graphics and games, vectors are measured to find distances and to normalise directions for lighting. Engineers use it to find the total load on a beam, and in data science the same idea measures how big a data vector is, which is the first step in comparing two of them.

  • Finding speed from a velocity vector in physics
  • Working out the total size of a force or load
  • Normalising directions for lighting in 3D graphics
  • Measuring how far a drone or robot has moved
  • Comparing data vectors in machine learning

Magnitude of a Vector Practice Problems

Example 1 finds the length of \(\langle 3, 4, 0 \rangle\), which works out to a whole number, and Example 2 uses \(\langle 1, 2, 3 \rangle\), where the answer stays as a square root. Examples 3 and 4 give you two more problems of the same kind to try. Square, add and take the root yourself, then compare.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\vec{A} = \left\langle 3,\; 4,\; 0 \right\rangle\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the components into the formula.
  4. Work out the magnitude.

Formula

Formula: Magnitude Formula

This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the magnitude of \(\vec{A} = \left\langle 3,\; 4,\; 0 \right\rangle\).

\(\vec{A} = \left\langle 3,\; 4,\; 0 \right\rangle\)
x y z A ⟨3, 4, 0⟩

Step 2

Step 2 - Write the formula.

In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Step 3

Step 3 - Substitute the components into the formula.

In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{A}| = \sqrt{3^{2} + 4^{2} + 0^{2}}\).

\(|\vec{A}| = \sqrt{3^{2} + 4^{2} + 0^{2}}\)

Step 4

Step 4 - Work out the magnitude.

In this problem: Squaring the components gives \(3^{2} = 9\), \(4^{2} = 16\) and \(0^{2} = 0\). Adding the squares gives \(9 + 16 + 0 = 25\). Taking the square root gives \(\sqrt{25} = 5\).

\(|\vec{A}| = \sqrt{3^{2} + 4^{2} + 0^{2}} = 5\)

Final Answer

\(|\vec{A}| = 5\)
See Example 2 Hide Example 2

Problem

\(\vec{A} = \left\langle 1,\; 2,\; 3 \right\rangle\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the components into the formula.
  4. Work out the magnitude.

Formula

Formula: Magnitude Formula

This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the magnitude of \(\vec{A} = \left\langle 1,\; 2,\; 3 \right\rangle\).

\(\vec{A} = \left\langle 1,\; 2,\; 3 \right\rangle\)
x y z A ⟨1, 2, 3⟩

Step 2

Step 2 - Write the formula.

In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Step 3

Step 3 - Substitute the components into the formula.

In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{A}| = \sqrt{1^{2} + 2^{2} + 3^{2}}\).

\(|\vec{A}| = \sqrt{1^{2} + 2^{2} + 3^{2}}\)

Step 4

Step 4 - Work out the magnitude.

In this problem: Squaring the components gives \(1^{2} = 1\), \(2^{2} = 4\) and \(3^{2} = 9\). Adding the squares gives \(1 + 4 + 9 = 14\). Taking the square root gives \(\sqrt{14} \approx 3.74\).

\(|\vec{A}| = \sqrt{1^{2} + 2^{2} + 3^{2}} = \sqrt{14} \approx 3.74\)

Final Answer

\(|\vec{A}| = \sqrt{14} \approx 3.74\)
See Example 3 Hide Example 3

Problem

\(\vec{A} = \left\langle 2,\; 3,\; 6 \right\rangle\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the components into the formula.
  4. Work out the magnitude.

Formula

Formula: Magnitude Formula

This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the magnitude of \(\vec{A} = \left\langle 2,\; 3,\; 6 \right\rangle\).

\(\vec{A} = \left\langle 2,\; 3,\; 6 \right\rangle\)
x y z A ⟨2, 3, 6⟩

Step 2

Step 2 - Write the formula.

In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Step 3

Step 3 - Substitute the components into the formula.

In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{A}| = \sqrt{2^{2} + 3^{2} + 6^{2}}\).

\(|\vec{A}| = \sqrt{2^{2} + 3^{2} + 6^{2}}\)

Step 4

Step 4 - Work out the magnitude.

In this problem: Squaring the components gives \(2^{2} = 4\), \(3^{2} = 9\) and \(6^{2} = 36\). Adding the squares gives \(4 + 9 + 36 = 49\). Taking the square root gives \(\sqrt{49} = 7\).

\(|\vec{A}| = \sqrt{2^{2} + 3^{2} + 6^{2}} = 7\)

Final Answer

\(|\vec{A}| = 7\)
See Example 4 Hide Example 4

Problem

\(\vec{A} = \left\langle 1,\; 4,\; 8 \right\rangle\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the components into the formula.
  4. Work out the magnitude.

Formula

Formula: Magnitude Formula

This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the magnitude of \(\vec{A} = \left\langle 1,\; 4,\; 8 \right\rangle\).

\(\vec{A} = \left\langle 1,\; 4,\; 8 \right\rangle\)
x y z A ⟨1, 4, 8⟩

Step 2

Step 2 - Write the formula.

In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.

\(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\)

Step 3

Step 3 - Substitute the components into the formula.

In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{A}| = \sqrt{1^{2} + 4^{2} + 8^{2}}\).

\(|\vec{A}| = \sqrt{1^{2} + 4^{2} + 8^{2}}\)

Step 4

Step 4 - Work out the magnitude.

In this problem: Squaring the components gives \(1^{2} = 1\), \(4^{2} = 16\) and \(8^{2} = 64\). Adding the squares gives \(1 + 16 + 64 = 81\). Taking the square root gives \(\sqrt{81} = 9\).

\(|\vec{A}| = \sqrt{1^{2} + 4^{2} + 8^{2}} = 9\)

Final Answer

\(|\vec{A}| = 9\)

Calculator and Practice Mode