The Maths You Actually NeedLesson 18 of 76

Module 2 · Matrices, and what a layer really does

Singular values, and the honest measure of importance

In this lesson

  • 10 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 9 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
Two layers, and how much of each lives in how few directions05010010768Singular values kept, out of 768Share of the squared magnitude kept, %—— A layer that compresses: 90 per cent by 60 directions– – A layer that does not: 90 per cent needs 620Four lines of NumPy produce this before you attempt any compression. The first layer can be replacedby two thin ones for a known error; the second cannot, and no amount of tuning changes that.
Four lines of NumPy produce this before you attempt any compression. The first layer can be replaced by two thin ones for a known error; the second cannot, and no amount of tuning changes that.

Figure

A little at a time

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

Step 1 of 8Free · no account needed
Lesson steps

The factorisation that always exists

Eigenvectors need a square matrix and still sometimes fail. The singular value decomposition has no such conditions. Every matrix (rectangular, singular, whatever) can be written as

Text
A = U S V^T

where U and V are orthogonal (rotations, possibly with a reflection) and S is diagonal with non-negative entries down it. Those diagonal entries are the singular values, conventionally listed largest first.

The geometric reading is clean and worth memorising: any linear transformation, however complicated it looks, is rotate, stretch along the new axes, rotate again. That is all a matrix can do. The singular values are the stretch factors.

For an m × n matrix, there are min(m, n) singular values. The number of non-zero ones is the rank. The largest divided by the smallest is the condition number. Three concepts from earlier lessons all fall out of one decomposition.

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) ‘Singular values, and the honest measure of importance’, in The Maths You Actually Need. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/maths-you-need/singular-values-and-svd (Accessed: 29 November 2026).