Vectors and Basic Operations
A vector is a quantity with magnitude and direction, represented by an arrow. In coordinates, a 2D vector is and a 3D vector is ; generally uses components. Components are signed displacements along axes.
Two operations govern vectors:
| Operation | Algebraic Rule | Geometric Rule |
|---|---|---|
| Addition | Tip-to-tail placement; sum runs from first tail to last tip. | |
| Scalar Multiplication | Scales length by ; negative reverses direction. |
Magnitude and Normalization
The magnitude (length or norm) is calculated via the Pythagorean theorem: in the plane, extending to space as . A unit vector has length 1. Normalizing a nonzero vector divides it by its length: .
Common pitfall: Never add vectors by adding their magnitudes, and never confuse magnitude with components. Vectors add componentwise. The triangle inequality states , with equality holding only when and point in the exact same direction.