Magnitude and Distance
What You'll Learn
You'll learn how to measure the length (or magnitude) of a vector and use that to compute the distance between any two points in space.
The Core Idea
Now that you can represent vectors as ordered lists of numbers and perform operations on them, it's time to measure how long they are.
The magnitude (or norm, or length) of a vector tells you its size. Think of it as the straight-line distance from the tail to the tip when you draw the vector as an arrow.
For a vector v = ⟨v₁, v₂, v₃⟩ in three dimensions, the magnitude is:
||v|| = √(v₁² + v₂² + v₃²)
This formula comes straight from the Pythagorean theorem extended to higher dimensions. In two dimensions, it's just ||v|| = √(v₁² + v₂²).
Example
If v = ⟨3, 4⟩, then:
||v|| = √(3² + 4²) = √(9 + 16) = √25 = 5
Distance Between Points
To find the distance between two points P and Q, form the vector from P to Q by subtraction: v = Q − P. Then the distance is simply the magnitude of that vector:
distance = ||Q − P||
Example
Points P = (1, 2) and Q = (4, 6):
- Vector from P to Q: v = ⟨4−1, 6−2⟩ = ⟨3, 4⟩
- Distance = ||v|| = √(3² + 4²) = 5
The magnitude gives you a single non-negative number that quantifies "how far" — whether you're measuring a vector's size or the separation between points.
Key Takeaway: The magnitude of a vector v is ||v|| = √(sum of squared components); distance between points is the magnitude of their difference vector.