Chapter
7

Linear Algebra and Geometry

A matrix is not a table of numbers. It is a transformation of space, and it has a life of its own.

In this chapter

  1. 7.1 Rules That Fail for Matrices STEP II 1993 Worksheet
  2. 7.2 Stretching Without Turning STEP III 1990 Worksheet
  3. 7.3 What Makes a Determinant STEP II 2019 Worksheet
  4. 7.4 Matrices That Return to the Start STEP II 2020 Worksheet
  5. 7.5 Rotating in Three Dimensions STEP III 2022 Worksheet
  6. 7.6 Hyperbolic Rotations and Relativity STEP III 1991 Worksheet
  7. 7.7 Quantities That Never Change STEP III 2024 Worksheet
  8. 7.8 Four Squares STEP III 1994 Worksheet
  9. 7.9 Only Five Platonic Solids STEP III 1999 Worksheet
  10. ✔ Looking back: what we have learned
Chapter 7 \(\cdot\) Introduction

Transformations of Space

We think basis-free, we write basis-free, but when the chips are down we close the office door and compute with matrices like fury.

— Irving Kaplansky, on his and Paul Halmos’s approach to linear algebra

At school, a matrix usually appears as a tool for solving simultaneous equations, or as a recipe for transforming points: multiply the matrix by a column vector and read off the new coordinates. Both are useful, but they hide what makes matrices one of the most important ideas in mathematics. A matrix is a linear transformation: a way of stretching, rotating, reflecting and shearing space, and matrices can be added, multiplied, raised to powers and differentiated, just like numbers. Except that they are not like numbers. Their multiplication depends on the order, they can multiply to zero, and they have hidden invariants (trace, determinant, eigenvalues) that capture their essential behaviour regardless of how they are written down.

Why linear algebra matters

Linear algebra is probably the most widely used branch of mathematics. Every computer graphics engine, from video games to film animation, is a machine for multiplying matrices: every rotation of a character, every camera angle, every perspective projection is a matrix. The search engines and recommendation systems of the internet are built on eigenvectors. Engineers find the vibration frequencies of bridges and buildings from eigenvalues; statisticians find the main patterns in data with them; quantum mechanics is written entirely in the language of linear algebra. And modern machine learning, at its core, is very large amounts of matrix multiplication.

There is a reason for this ubiquity. Linear problems are the ones we can solve completely, and almost every non-linear problem looks linear if you zoom in close enough. That is the idea of calculus, and it means that linear algebra is the language in which the local behaviour of almost everything is described.

What you will meet at university

Linear algebra is one of the two pillars of the first year, alongside analysis. You will meet vector spaces (sets where you can add and scale, of which the plane and three-dimensional space are just the first examples) and linear maps between them, and learn that matrices are simply linear maps written in coordinates. You will study determinants, eigenvalues and eigenvectors, and the spectral theorem, which says that symmetric matrices can be diagonalised by a rotation. Later courses use this everywhere: in differential equations (Chapter 8), in geometry (where rotations and reflections form groups), in the theory of Lie groups, which describe continuous symmetries, and in functional analysis, which is linear algebra in infinitely many dimensions.

The questions that run through this chapter

Three big questions
  1. How are matrices like numbers, and how are they different? Which rules of arithmetic survive, and which fail?

  2. What does a matrix really do? How can we see the geometry of a transformation, and which numbers capture it independently of coordinates?

  3. What stays the same? Which quantities are preserved by transformations, or by motion, and what do they tell us?

The chapter starts with the rules of matrix algebra (Section 7.1), then turns to the geometry of transformations: eigenvectors, determinants, matrices of finite order, rotations in three dimensions and the hyperbolic rotations of special relativity. It continues with conserved quantities of evolving matrices, the four-square identity from determinants, and ends with a counting argument, Euler’s formula, that classifies the Platonic solids.

Ideas in this chapter

§ Topic Idea
7.1 Rules that fail Non-commutativity; zero divisors
7.2 Eigenvectors Directions a transformation does not rotate
7.3 The determinant Characterised by multiplicativity; signed area
7.4 Matrices of finite order Trace, determinant and Cayley–Hamilton
7.5 Rotations in 3D Rodrigues’ formula from the cross product
7.6 Lorentz boosts Hyperbolic angles add
7.7 Conserved quantities The trace of a commutator is zero
7.8 Four squares Multiplicative determinants
7.9 Platonic solids Double counting and Euler’s formula

How to read this chapter

For every matrix in this chapter, draw what it does. Take the unit square, or the unit circle, or a few vectors, and sketch their images. A two-minute sketch will often show you the answer (an eigenvector, a counterexample, an invariant line) before you start calculating, and it will help you check the calculation afterwards.