Vectors and matrices
Vectors, the dot and cross products, matrix multiplication and the way a 2×2 matrix moves the plane.
About 6 hours of study
Learning objectives
- Compute lengths, dot products, angles and cross products
- Multiply matrices and check shapes
- Build and combine rotations, scalings and shears
Lessons
- 1
Vectors and the dot product
Vectors as arrows and as lists of numbers: adding, scaling, length, the dot product, the angle between two vectors, cosine similarity and the cross product.
- 2
Matrices and matrix multiplication
Matrices as grids of numbers, the row-times-column rule, which shapes can be multiplied, why A·B is usually not B·A, and matrix times vector.
- 3
Matrices as transformations
What a 2×2 matrix does to the plane: rotations, scaling and shears, reading a matrix from its columns, and combining moves by multiplying.
Module practice
- Dot product and angleEasy
- Find the most similar documentMedium
- Cross product and box volumeHard
- Matrix times vectorEasy
- Multiply two matricesMedium
- A matrix to a powerHard
- Rotate a pointEasy
- Where the unit square goesMedium
- Combine transformationsHard