# Lesson Explainer: Magnitude of a 2D Vector Mathematics

In this explainer, we will learn how to determine the magnitude of two-dimensional vectors.

The absolute value of a real number tells us the size of the number, or the distance between zero and the number on a number line. The magnitude of a vector is an analogue of the absolute value for real numbers; hence, the notation for the magnitude inherits the use of the absolute value.

### Definition: Magnitude of a Vector

The magnitude of a vector , denoted , is the length of the vector, or the distance between the initial and terminal points of a vector.

In particular, a unit vector is a vector whose magnitude is equal to 1. For instance, we recall the fundamental unit vectors in two dimensions

These unit vectors have magnitude 1, because if we measure their lengths drawn on a 2D plane, they are equal to 1 unit.

Another special case is a vector whose magnitude is equal to zero. There is only one vector whose length is equal to zero, and we call this vector the zero vector:

Let us begin by considering a simple example for the magnitude of a vector.

### Example 1: The Magnitude of a Vertical Vector

The vector is shown on the grid of unit squares below. Find the value of .

Recall that the notation represents the magnitude of the vector, which is the length of the vector. From the given diagram, we can see that the given vector spans two vertical grid lengths. Since the grids are unit squares, one side of the smallest square has a length of 1 unit. This tells us that the length of is 2 length units.

Because vector points downward, it may be tempting to conclude that the sign of the magnitude is negative. However, we should remember that a length, hence the magnitude of a vector, cannot be negative. Thus,

In the first example, we found the magnitude of a vertical vector from its graph. The magnitude of a vertical or a horizontal vector is simple to find when we are given the graph. If a vector is not vertical or horizontal, we can find its magnitude by applying the Pythagorean theorem, as we will see in the next example.

### Example 2: The Magnitude of a Vector

The vector is shown on the grid of unit squares below. Find the value of .

Recall that the notation represents the magnitude of the vector, which is the length of the vector. We can see that vector lies diagonally over multiple squares. We can form a right triangle so that the vector forms the hypotenuse of the right triangle. Since the grids are unit squares, one side of the smallest square has a length of 1 unit, which tells us the lengths of the two sides of the right triangle, as shown below.

Let us apply the Pythagorean theorem to find the length of this hypotenuse, which will be the magnitude of vector . The lengths of the two non-hypotenuse sides of the right triangle are 3 and 4, and the length of the hypotenuse is equal to the magnitude . Hence,

This means

Taking the square root of both sides of this equation leads to . Since the magnitude is a length, it cannot be negative, so we can ignore the negative answer. Hence,

In the previous example, we computed the magnitude of a vector by applying the Pythagorean theorem. We can use the same method to find the magnitude of any two-dimensional vector, as long as it is not vertical or horizontal.

Consider a vector , where both and are nonzero. Similarly to the previous example, we can draw a right triangle where the magnitude of this vector gives the hypotenuse of this right triangle.

Hence, the application of the Pythagorean theorem gives us

Taking the square root of both sides of this equation and ignoring the negative solution leads to the following formula.

### Definition: Magnitude of a 2D Vector

Let be a vector in two dimensions. Then, the magnitude of this vector is given by

While we have only shown this formula for vectors lying in the first quadrant, the formula holds for any 2D vector. For instance, we can see that if the vector lies in the third quadrant, we have the following diagram:

In the figure, we can see that the lengths of the two non-hypotenuse sides of the right triangles are given by the absolute values and . Applying the Pythagorean theorem and taking the positive square root leads to

But we know that for any real number , . This means that the formula for the magnitude of this vector agrees with the formula given above for general 2D vectors.

We can also verify this formula for vertical and horizontal vectors that have the form or . In this case, as we saw in the first example, the length of the - or -coordinate determines the magnitude of the vector. This means that the magnitudes of these vectors are given by or . Since either the - or -coordinate of these vectors is zero, this agrees with the formula for the magnitude of 2D vectors given above.

In the next example, we will apply this formula to find the magnitude of a vector in component form.

### Example 3: The Magnitude of a Vector

What is the magnitude of the vector ?

In this example, we need to find the magnitude of a vector given in component form. Recall that the magnitude of a vector is given by

The given vector is , so we can substitute and into this formula to obtain

Hence, the magnitude of the given vector is .

In the previous example, we computed the magnitude of a vector given in component form by using a formula. Recall that any 2D vector can be expressed in terms of the fundamental unit vectors and by

This means that we can apply the same formula to find the magnitude of the vector expressed in terms of fundamental unit vectors:

In the next example, we will find the magnitude of a vector expressed in terms of fundamental unit vectors using this formula.

### Example 4: Finding the Norm of a Given Vector

Given that , where and are perpendicular unit vectors, find .

In this example, we need to find the magnitude of a vector that is given in terms of fundamental unit vectors. Recall that if , its magnitude is given by

We are given , so we can substitute and above to obtain

Hence, .

So far, we have discussed how to find the magnitude of a vector given either in component form or in terms of fundamental unit vectors. Another way a vector can be defined is by specifying two endpoints. Recall that a vector beginning at point and ending at point is denoted . If we have the coordinates of points and , then this vector is given by

If we apply the formula for the magnitude of a 2D vector to this vector, we obtain

In the next example, we will first find the magnitude of a vector specified by its endpoints.

### Example 5: The Magnitude of a Vector

What is the magnitude of the vector , where and ?

In this example, we need to find the magnitude of a vector specified by its endpoints. Recall that a vector from point to point is defined by

From the given coordinates of and , we know

Substituting these values above, we obtain

Now, we need to find the magnitude of this vector. Recall that the magnitude of a vector is given by

Since our vector is , we can substitute and into this formula to obtain

Hence, the magnitude of is .

In our final example, we will find an unknown constant using concepts from the magnitude of a vector.

### Example 6: Finding an Unknown Constant Using the Magnitude of a Vector

If , , and length units, then .

In this example, we need to find an unknown constant when the magnitude of a vector is provided. Let us begin by finding the vector , which is specified by its endpoints. Recall that a vector from point to point is defined by

From the given coordinates of and , we know

Substituting these values above, we obtain

Now, let us find the magnitude of this vector. Recall that the magnitude of a vector is given by

Since our vector is , we can substitute and into this formula to obtain

We are given that this magnitude is equal to 5 length units. Hence,

Squaring both sides of this equation and simplifying,

Hence, .

Let us finish by recapping a few important concepts from this explainer.

### Key Points

• The magnitude of a vector , denoted , is the length of the vector, or the distance between the initial and terminal points of a vector.
• A unit vector is a vector whose magnitude is equal to 1. A zero vector is a vector whose magnitude is equal to 0.
• Let be a vector in two dimension. Then, the magnitude of this vector is given by
• If and ,