HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Vectors in Two Dimensions and Their Magnitude
  1. 1Column vectors and directed lines
  2. 2Adding, subtracting and scaling vectors
  3. 3The magnitude of a vector
  1. Mathematics
  2. /Vectors in Two Dimensions and Their Magnitude
  3. /The magnitude of a vector

Course 20.2·Lesson 3 of 3

The magnitude of a vector

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
Vectors in Two Dimensions and Their Magnitude
  1. 1Column vectors and directed lines
  2. 2Adding, subtracting and scaling vectors
  3. 3The magnitude of a vector

Try the code and the simulations beside the lesson.

How long is the move?

A ship sails 333 kilometres east and then 444 kilometres north. Its journey is the vector (34)\dbinom{ 3 }{ 4 }(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=5 km\sqrt{3^2 + 4^2} = \sqrt{25} = 5\ \text{km}32+42​=25​=5 km. This is the magnitude of the vector. For (xy)\dbinom{ x }{ y }(yx​) it is

x2+y2.\displaystyle \sqrt{x^2 + y^2}.x2+y2​.

We write the magnitude of a\mathbf{a}a as ∣a∣|\mathbf{a}|∣a∣, and the magnitude of AB→\overrightarrow{AB}AB as ∣AB→∣|\overrightarrow{AB}|∣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 ∣(−34)∣=9+16=5\left|\dbinom{ -3 }{ 4 }\right| = \sqrt{9 + 16} = 5​(4−3​)​=9+16​=5 and ∣(−3−4)∣=5\left|\dbinom{ -3 }{ -4 }\right| = 5​(−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 333 significant figures if the question asks for a decimal.

Example: ∣(12)∣=1+4=5=2.236…\left|\dbinom{ 1 }{ 2 }\right| = \sqrt{1 + 4} = \sqrt{5} = 2.236\ldots​(21​)​=1+4​=5​=2.236…, which is 2.242.242.24 to 333 significant figures.

Some vectors give a whole number. These come from Pythagorean triples. The ones to remember are 3,4,53, 4, 53,4,5 and 5,12,135, 12, 135,12,13, then 8,15,178, 15, 178,15,17 and 7,24,257, 24, 257,24,25. Any multiple of a triple works too: 6,8,106, 8, 106,8,10 or 9,12,159, 12, 159,12,15.

The distance between two points

The magnitude of AB→\overrightarrow{AB}AB is the distance from AAA to BBB. Find the vector first, then its magnitude.

Example: A(−2,1)A(-2, 1)A(−2,1) and B(4,9)B(4, 9)B(4,9). AB→=(68)\overrightarrow{AB} = \dbinom{ 6 }{ 8 }AB=(86​), so ∣AB→∣=36+64=10|\overrightarrow{AB}| = \sqrt{36 + 64} = 10∣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→∣|\overrightarrow{BA}| = |\overrightarrow{AB}|∣BA∣=∣AB∣. Going there and going back are the same distance.

Magnitude with scalars and sums

A scalar multiple. ∣ka∣=∣k∣×∣a∣|k\mathbf{a}| = |k| \times |\mathbf{a}|∣ka∣=∣k∣×∣a∣. If a=(34)\mathbf{a} = \dbinom{ 3 }{ 4 }a=(43​), then 2a=(68)2\mathbf{a} = \dbinom{ 6 }{ 8 }2a=(86​) has magnitude 101010, which is 2×52 \times 52×5. And −2a-2\mathbf{a}−2a also has magnitude 101010: the minus sign only turns the arrow round.

A sum. Take a=(30)\mathbf{a} = \dbinom{ 3 }{ 0 }a=(03​) and b=(04)\mathbf{b} = \dbinom{ 0 }{ 4 }b=(40​). Then ∣a∣=3|\mathbf{a}| = 3∣a∣=3 and ∣b∣=4|\mathbf{b}| = 4∣b∣=4. But

a+b=(34)\displaystyle \mathbf{a} + \mathbf{b} = \dbinom{ 3 }{ 4 }a+b=(43​)

has magnitude 555, not 777. A straight line is shorter than two sides of a triangle. In general ∣a+b∣|\mathbf{a} + \mathbf{b}|∣a+b∣ is less than ∣a∣+∣b∣|\mathbf{a}| + |\mathbf{b}|∣a∣+∣b∣. They are equal only when the vectors point the same way.

Finding an unknown component. If ∣(k12)∣=13\left|\dbinom{ k }{ 12 }\right| = 13​(12k​)​=13, then k2+144=169k^2 + 144 = 169k2+144=169. So k2=25k^2 = 25k2=25 and k=5k = 5k=5 or k=−5k = -5k=−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∣|-3\mathbf{a}|∣−3a∣ equals 3∣a∣3|\mathbf{a}|3∣a∣. Then it shows that the magnitude of a sum is not the sum of the magnitudes.

Read it first. Then run it. Which of the five vectors give a whole number?

1. Add (8, 15) to the list. Predict its magnitude, then run it.

2. Change b to (4, 2). Do |a + b| and |a| + |b| come closer together? Why?

Common mistakes

  • Adding the components. The magnitude of (34)\dbinom{ 3 }{ 4 }(43​) is 555, not 777.
  • Forgetting the square root. 32+42=253^2 + 4^2 = 2532+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∣|\mathbf{a} + \mathbf{b}| = |\mathbf{a}| + |\mathbf{b}|∣a+b∣=∣a∣+∣b∣. It is true only for vectors that point the same way.

Remember these

  • ∣(xy)∣=x2+y2\left|\dbinom{ x }{ y }\right| = \sqrt{x^2 + y^2}​(yx​)​=x2+y2​. The magnitude is a length, so it is never negative.
  • ∣AB→∣|\overrightarrow{AB}|∣AB∣ is the distance from AAA to BBB.
  • ∣ka∣=∣k∣×∣a∣|k\mathbf{a}| = |k| \times |\mathbf{a}|∣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.

  1. Find the magnitude of (6−8)\dbinom{ 6 }{ -8 }(−86​).
  1. Find ∣(25)∣\left|\dbinom{ 2 }{ 5 }\right|​(52​)​, correct to 333 significant figures.
  1. Find the distance from P(1,−2)P(1, -2)P(1,−2) to Q(−3,1)Q(-3, 1)Q(−3,1).
  1. Extended. ∣a∣=7|\mathbf{a}| = 7∣a∣=7. Find ∣−4a∣|-4\mathbf{a}|∣−4a∣.
  1. Extended. ∣(k5)∣=13\left|\dbinom{ k }{ 5 }\right| = 13​(5k​)​=13. Find the possible values of kkk.

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.
No payment. You can leave at any time.

Problems (4)

Two drones make single moves, measured in metres…Easy · High School (9–10) · by StemPy Lab
A cable runs from a pole at P(-4, -2) to a pole at Q(8, 3) on a plan, where each unit is 1 m…Medium · High School (9–10) · by StemPy Lab
Extended. The vector dbinom k 24 has magnitude 26. Find the two possible values of k.Medium · High School (9–10) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Vectors in Two Dimensions and Their Magnitude
← Adding, subtracting and scaling vectorsNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Extended. a = dbinom 5 -12 and b = dbinom -4 3…Hard · High School (9–10) · by StemPy Lab

Python Labs (1)

Whole-number magnitudesPython Lab · by StemPy Lab

Question Sets (1)

Vectors and Magnitude: Concept Check10 questions · by StemPy Lab

Notes (1)

Vectors and Magnitude: Quick RevisionNote · by StemPy Lab