Unit Vectors and Normalization
What You'll Learn
You'll learn how to create vectors with magnitude exactly 1 (called unit vectors) and how to normalize any nonzero vector to produce its corresponding unit vector.
The Core Idea
A unit vector is simply a vector whose magnitude equals 1. Think of it as the "pure direction" of a vector—it points the same way but has been scaled to standard length.
You've already met the standard unit vectors like i = (1, 0, 0) and j = (0, 1, 0) in ℝ³. These are unit vectors that point along the coordinate axes.
But what if you have a vector like v = (3, 4) and want to find a unit vector in the same direction? This process is called normalization.
Normalization: The Recipe
To normalize a vector v:
- Calculate its magnitude: ||v||
- Divide the vector by its magnitude: û = v / ||v||
The result û (pronounced "u-hat") is the unit vector in the direction of v.
Example
Let v = (3, 4).
- Magnitude: ||v|| = √(3² + 4²) = √25 = 5
- Normalized: û = (3, 4)/5 = (3/5, 4/5)
- Verify: ||(3/5, 4/5)|| = √(9/25 + 16/25) = √(25/25) = 1 ✓
Think of normalization like adjusting a spotlight beam: you keep the direction but standardize the reach to exactly one unit.
Why It Matters
Unit vectors are essential when you only care about direction, not magnitude. They appear everywhere: defining coordinate systems, specifying orientations in physics, and simplifying calculations in computer graphics.
Key Takeaway: A unit vector has magnitude 1; you normalize any nonzero vector v by dividing it by its magnitude: û = v/||v||.