The magnitude of a vector is its length. You find it with Pythagoras from the two components, write it with modulus signs, and use it to find the distance between two points. You also see how the magnitude of a scalar multiple behaves, and why the length of a sum is not the sum of the lengths.
about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
How long is the move?
A ship sails 3 kilometres east and then 4 kilometres north. Its journey is the vector (43). How far is the ship from where it started, in a straight line? The two parts are the sides of a right-angled triangle, and the straight line is its longest side.
The magnitude
A grid with x from 0 to 5 and y from 0 to 4. A blue arrow runs from the origin to (4, 3). Dashed lines make a right-angled triangle with a base of 4 along the x-axis and a height of 3. The length of the arrow is marked as 5, because 4 squared plus 3 squared is 25.
By Pythagoras, the straight-line distance is 32+42=25=5km. This is the magnitude of the vector. For (yx) it is
x2+y2.
We write the magnitude of a as ∣a∣, and the magnitude of AB as ∣AB∣. The bars are called modulus signs. The magnitude is the length of the arrow. It is never negative.
Signs do not matter inside the root, because squares are positive. So (4−3)=9+16=5 and (−4−3)=5 as well.
Exact answers and decimals
Often the sum under the root is not a perfect square. Then give an exact answer, or round to 3 significant figures if the question asks for a decimal.
Example: (21)=1+4=5=2.236…, which is 2.24 to 3 significant figures.
Some vectors give a whole number. These come from Pythagorean triples. The ones to remember are 3,4,5 and 5,12,13, then 8,15,17 and 7,24,25. Any multiple of a triple works too: 6,8,10 or 9,12,15.
The distance between two points
The magnitude of AB is the distance from A to B. Find the vector first, then its magnitude.
Example: A(−2,1) and B(4,9). AB=(86), so ∣AB∣=36+64=10. You met the distance formula in the coordinate geometry chapter. This is the same formula, seen through vectors.
Also ∣BA∣=∣AB∣. Going there and going back are the same distance.
Magnitude with scalars and sums
A scalar multiple.∣ka∣=∣k∣×∣a∣. If a=(43), then 2a=(86) has magnitude 10, which is 2×5. And −2a also has magnitude 10: the minus sign only turns the arrow round.
A sum. Take a=(03) and b=(40). Then ∣a∣=3 and ∣b∣=4. But
a+b=(43)
has magnitude 5, not 7. A straight line is shorter than two sides of a triangle. In general ∣a+b∣ is less than ∣a∣+∣b∣. They are equal only when the vectors point the same way.
Finding an unknown component. If (12k)=13, then k2+144=169. So k2=25 and k=5 or k=−5. There are two vectors, one on each side.
Practise with new numbers
Try it in Python
The program finds the magnitude of five vectors with a function. It shows that ∣−3a∣ equals 3∣a∣. Then it shows that the magnitude of a sum is not the sum of the magnitudes.
Common mistakes
Adding the components. The magnitude of (43) is 5, not 7.
Forgetting the square root.32+42=25 is the square of the length.
A negative magnitude. A length is never negative, even for a vector with negative components.
Squaring a sum. Square each component first. Do not square their sum.
Writing ∣a+b∣=∣a∣+∣b∣. It is true only for vectors that point the same way.
Remember these
(yx)=x2+y2. The magnitude is a length, so it is never negative.
∣AB∣ is the distance from A to B.
∣ka∣=∣k∣×∣a∣.
The magnitude of a sum is at most the sum of the magnitudes.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the magnitude of (−86).
Find (52), correct to 3 significant figures.
Find the distance from P(1,−2) to Q(−3,1).
Extended.∣a∣=7. Find ∣−4a∣.
Extended.(5k)=13. Find the possible values of k.
References
Cambridge International, IGCSE Mathematics 0580 syllabus (2025, 2026 and 2027), Extended section 7.3 Magnitude of a vector, with the modulus notation.
Enroll free in Vectors in Two Dimensions and Their Magnitude
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.