Chapter 05 · overview · 1 min read
Linear Algebra
Linear algebra is the maths of lists of numbers (vectors) and grids of numbers (matrices), and of the simple operations that combine them. It is the working language of machine learning: data is stored in vectors and matrices, models multiply them, and geometry ideas such as angle, projection and direction describe what those models are doing.
Topics in this section:
- Scalars and Vectors: single numbers, lists of numbers and what they mean.
- Vector Operations: adding, subtracting and scaling.
- Linear Combinations and Span: everything you can build from a few vectors.
- Linear Independence and Basis: which vectors are redundant, and what makes a coordinate system.
- Norms and Distance: the size of a vector and the gap between two.
- Dot Product: one number that measures how much two vectors agree.
- Cosine Similarity: comparing direction while ignoring size.
- Matrices as Transformations: grids of numbers as machines that move space.
- Matrix Multiplication: chaining transformations.
- Transpose, Identity and Inverse: flipping, doing nothing and undoing.
- Determinant: how a transformation scales area.
- Solving Linear Systems: finding the numbers that satisfy several equations at once.
- Rank and Null Space: how much information a matrix keeps.
- Orthogonality and Projection: right angles and shadows.
- Least Squares: the best fit when equations do not quite agree.
- Eigenvalues and Eigenvectors: directions a transformation only stretches.
- SVD and PCA: breaking a matrix into its most important directions.
- Tensors and Shapes: grids with any number of dimensions.