Linear Algebra

Learn how vectors describe data and how matrices transform it, from solving equations to compressing and reconstructing observations.

Start here

You need school algebra and the Pythagorean theorem. Work through the modules in order if linear algebra is new to you.

Each module has a worked calculation, exercises with solutions, and a quiz. Try each exercise before opening its solution. Six demonstrations let you change the inputs and see what changes in the result. Python is optional. Install SymPy and NumPy if you want to run the examples using the Python download.

Vectors and linear systems

Structure and approximation

Spectra and data

Reference

Use the formula sheet for the rules and when they apply, the glossary for terminology, and Common mistakes for counterexamples to common shortcuts.

Mathematical Foundations places these ideas alongside discrete mathematics, probability, and numerical computation. Calculus develops differentiation, integration, and multivariable optimisation.