Vectors & Matrices
Vector addition and length, unit vectors, dot and cross products, matrix multiplication and rotation matrices.
| Formula | |
|---|---|
| Vector Addition and Length A vector has direction and size. Add vectors component by component. | a + b = (a₁ + b₁, a₂ + b₂) |a| = √(a₁² + a₂²) |
| Unit Vectors (Normalization) Dividing a vector by its length gives a vector of length 1 in the same direction. | e = a ÷ |a| |
| Dot Product and the Angle Between Vectors The dot product measures how much two vectors point the same way. | a · b = a₁b₁ + a₂b₂ = |a||b| cos θ |
| Cross Product (2D) In 2D the cross product is the signed area of the parallelogram the two vectors make. | a × b = a₁b₂ − a₂b₁ (2D) |
| Matrix–Vector Multiplication and Determinant Multiplying a vector by a 2×2 matrix (a b / c d) transforms points: scaling, rotation, shearing and more. | (X, Y) = (a x + b y, c x + d y) det = ad − bc |
| Rotation Matrix Rotates a point by angle θ around the origin. | X = x cos θ − y sin θ Y = x sin θ + y cos θ |
Math Formula Quiz All formulas
Sources
- 文部科学省「平成29・30・31年改訂学習指導要領(本文、解説)」
- OpenStax, Precalculus 2e (CC BY 4.0)
- OpenStax, University Physics Volume 1 (CC BY 4.0)
Checked: 2026-11-29