foundation Estimated learning time: 6 h

1.2 Matrices as linear maps

You stop seeing matrix multiplication as a rule and start seeing it as a transformation.

Before:00. Orientation & SetupUnlocks:03. Data Handling & Analysis04. Classical AI — Agents, Search & Knowledge Representation

A matrix is a transformation of space, and multiplication is composition of transformations — this view is what makes neural network layers and coordinate changes make sense. The topic covers the special matrix families and the broadcasting rules that return in NumPy. It follows vectors because maps act on them. The common confusion is memorising the row-times-column rule without the mapping picture; the rule computes, but only the picture explains.

Work through these

  • Matrix–vector product as a change of coordinates

    Multiplying a matrix by a vector is best read as a transformation of that vector rather than as a rule for arranging numbers. Once you see the picture, matrix notation becomes descriptive instead of arbitrary.

  • Composition of maps = matrix multiplication

    Applying one transformation after another is exactly what multiplying two matrices does, which is why the order matters and why the shapes have to line up. This single fact explains most matrix algebra rules.

  • Special matrices: diagonal, orthogonal, symmetric, sparse

    Diagonal, orthogonal, symmetric and sparse matrices each have a geometric meaning worth attaching to the name. Recognising them tells you what a computation will do before you run it.

  • Broadcasting rules you will meet again in NumPy

    The rules for combining arrays of different shapes appear first in the mathematics and again in the numerical libraries. Learning them here saves a great deal of confusion later.

Sign in to keep your progress.

Free resources

These videos are on YouTube. Opening the link takes you to YouTube's page. Pressing "Watch here" loads YouTube's player into this page — nothing loads from YouTube until you do. Either way the video comes from Google and uses much more mobile data than a page of text. Something wrong with a link here?

Links last checked 29 Aug 2026.

Stuck here?

Ask a mentor. A real person answers, and they can see exactly which topic you're on. Usually within a couple of working days.

Checking your session…

Topics shown in module order.