The Maths You Actually NeedLesson 13 of 76

Module 2 · Matrices, and what a layer really does

Undoing a matrix, and why you rarely should

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 4 of 9 in this chapter

This chapter’s goalMultiply two matrices by hand and predict the output shape of any chain of layers, explain what the rank of a weight matrix costs and buys, and use singular values to justify replacing a 4096x4096 matrix with two thin ones and to state what that replacement gives up.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Three blocks of cells joined by arrows: a narrow column, a large square grid and a single tall bar.
A column of values entering a grid of weights and leaving as a shorter column, in that order: the shape change is what a layer does, and the grid’s rank decides whether two small matrices could stand in for it.

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

The matrix that does nothing

The identity matrix has 1s down the diagonal and 0s everywhere else:

Text
I = [ 1  0  0 ]
    [ 0  1  0 ]
    [ 0  0  1 ]

Multiply any vector by it and you get the vector back. Multiply any matrix by it and you get that matrix back. It is the matrix equivalent of the number 1, and it exists so that “undoing” has something to mean.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Funke, your AI tutor

How to cite: Addaly (2026) ‘Undoing a matrix, and why you rarely should’, in The Maths You Actually Need. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/maths-you-need/identity-inverse-and-solving (Accessed: 29 November 2026).