Unit vectors
Normalizing a nonzero vector divides each coordinate by its Euclidean length.
On this page 7 sections
01A unit vector has Euclidean length 1#
A unit vector has Euclidean length . Normalizing a nonzero vector keeps its direction and changes its length to .
Start with . Its length is , so divide both coordinates by . Each coordinate keeps its sign.
The normalized vector is u.
Check : its squared coordinates sum to , so its length is . Using the same positive divisor preserves the direction.
For a nonzero vector v.
Normalize . What is the first coordinate of the result?
Show answer and explanation
The length is . Divide the first coordinate: .
02The zero vector cannot be normalized: its length is 0, so the rule would divide by zero#
The zero vector cannot be normalized: its length is , so the rule would divide by zero. A vector already of length stays unchanged.
A negative direction stays negative.
Command x: 8, y: 6. Which unit command keeps its direction?
Show answer and explanation
Divide both entries by the length .
03Check your understanding#
A program normalizes to . What fails?
Show answer and explanation
The divisor is zero; normalization is undefined.
Divide every coordinate by the same positive length. Zero cannot be normalized.
- Normalize a nonzero vector to unit length
Sources & further reading
- [1]OpenStax Calculus Volume 3, 2.1 Vectors in the Plane ↗OpenStax · Book