How to Find the Magnitude of a Vector (With Examples)

To find out the value of any given vector component, it is necessary to find out its direction as well as magnitude. We, at Sciencestruck, have described the method to calculate the magnitude of a given vector.

Written by
ScienceStruck Editorial
Published
Reading time
3 minutes
Filed under
Science Facts
A bold diagonal arrow crossing a coordinate grid, with dashed guide lines forming a triangle to its tip, illustrating vector

Did You Know?

The vector with magnitude equal to 1 is known as a unit vector.

Vectors are used to describe the quantities that define motion. The quantities like momentum, force, velocity, etc., have a fixed direction. The vector component of these quantities give the direction as well as the magnitude.

Magnitude of the vector represents the displacement of a quantity from its origin. Thus, to describe a vector completely, the magnitude as well as direction is needed. Let us see some examples to calculate the magnitude of a vector.

Notation

The notation for magnitude of a vector is two vertical bars.
| x |
To avoid confusion with absolute value, the magnitude X can also be written as;
|| x ||
However, the double bar notation is not used frequently.

Formula

The magnitude of a vector, v = (x,y), is given by the square root of squares of the endpoints x and y.

   _______
| v | = √ x2 + y2

Thus, if the two components (x, y) of the vector v is known, its magnitude can be calculated by Pythagoras theorem.

If you have a vector (A,B) such that the components A and B are endpoints of the vector with coordinates A(x1, y1) and B(x2, y2), the vector magnitude is given by;

   ___________________
| v | = √ (x2 - x1)2 + (y2 - y1)2

Now let us take a look at a few examples that will help you understand the concept better.

Calculate magnitude of vector a = (4, 3).

   ________
√ 42 + 32
   ______
| a |  = √ 16 + 9 =  5
   ___
√ 25

Thus, the magnitude of vector a(4, 3) is 5 units.

Calculate magnitude of vector b = (-3, 5).

   __________
√ (-3)2 + 52
   ______
| b |  =  √ 9 + 25 =  6
   ___
√ 36

Thus, the magnitude of vector b(-3, 5) is 6 units.

Vector Magnitude in Space

The aforementioned examples are for the vectors in 2D form. However, if you have to calculate vector magnitude in 3D space, you cannot use this formula. To calculate magnitude of u(x1, x2, x3), the correct formula is;

   ______________
| u | = √ x12 + x22 + x32

Similarly, if the co-ordinates of the endpoints A(x1, y1, z1) and B(x2, y2, z2) are mentioned, the formula is modified as;

    _______________________________
| v | = √ (x2 - x1) 2 + (y2 - y1)2 + (z2 - z1)2

Let us solve a few vectors in 3D space examples.

Calculate the magnitude of vector c = (2,5,3).

    ____________
√ 22 + 52 + 32
    __________
| c | = √ 4 + 25 + 9 = 6.16
   ___
√ 38

The magnitude of vector c is 6.16 units.

Calculate the magnitude of vector u = (-1,1,2).

    ______________
√ (-1)2 + 12 + 22
   _________
u | = √ 1 + 1 + 4 = 2.44
   ___
√ 6

Thus, the magnitude of the given vector is 2.44 units.

Calculate magnitude of vector with co-ordinates A(2,3,4) and B(-1,3,-2).

    ________________________
√ (-1-2)2 + (3-3)2 + (-2-4)2
    _________
| u | = √ 9+ 0+ 36 = 6.7
   ___
√ 45

Thus, 6.7 units is the magnitude of the given vector.

Calculating a vector’s magnitude by summing squared components and taking the square root is the same kind of groundwork that motion forces and simple machines are built on.

Science Facts /

Difference Between Mass and Weight

Many students are confused about the difference between mass and weight. You need to know the difference to classify the properties of matter in an object. This article will help you accordingly.

5 min read

Science Facts /

What is the Difference Between Distance and Displacement?

Distance and displacement are two words which seem to have the same meaning. However, their in-depth definition differs from each other to a large extent. While displacement yields the shortest distance between two points, distance refers to the space between them. We explain to you the difference between distance and displacement, along with their formula, in this ScienceStruck article.

5 min read