Vector Magnitude and Direction
Compute a vector's magnitude. Find its direction angle from its components.
5 min · Vectors · Foundations
Learning goals
- Compute a vector's magnitude
- Find its direction angle from its components
Understand the concept
For v = ⟨a,b⟩, the magnitude is |v| = √(a² + b²). This is the length of the arrow, found by the Pythagorean theorem. For a nonzero vector, its direction angle is measured counterclockwise from the positive x-axis.
Use the signs of the components to choose the correct quadrant. The ordinary inverse tangent of b/a alone cannot distinguish opposite quadrants; when a = 0, the direction is 90° or 270° according to the sign of b.
Worked example 1
For ⟨3,4⟩, the magnitude is 5 and the angle is arctan(4/3) ≈ 53.13°.
Worked example 2
For ⟨−1,1⟩, the magnitude is √2 and the direction is 135°.
Check your understanding
UNVRST English edition · Educational support · Editorial policy