Intuition The one core idea
Any matrix, no matter how ugly, is secretly just rotate → stretch → rotate . To read the sentence "A = U Σ V ⊤ " you only need to understand three characters: two rotations (U and V ) and one pure stretch (Σ ) — this page builds every symbol you need to see that picture from absolute zero.
This is the prerequisite page for Singular Value Decomposition (SVD) — full derivation . Read it first. We will name every symbol the parent note fires at you, draw the picture behind it, and explain why the derivation cannot proceed without it .
Throughout, watch for two families of special vectors: v 1 , … , v n (the right singular vectors , columns of V , living in input space) and u 1 , … , u m (the left singular vectors , columns of U , living in output space). We define them carefully in §5; when the "Why" bullets below mention them, treat them for now as "the special input/output directions SVD will produce."
Definition Matrix = a machine that moves arrows
A matrix A is a grid of numbers, but its real meaning is a function that eats a vector and spits out a vector . Feed it an arrow x , it hands you back a (possibly rotated, stretched, squished) arrow A x .
Plain words: rows and columns of numbers.
The picture: a transformation of space. A grid of arrows before; the same arrows moved after.
Why the topic needs it: SVD is a claim about what this machine does to space — it says the messy motion is always "spin, stretch, spin". So we must first see a matrix as motion, not as a spreadsheet.
Figure s01 (below): the same grid of arrows shown twice — untouched on the left, and after the machine A has acted on the right. The amber and white arrows are the two coordinate axes; notice they tilt and stretch, proving A is motion of space , not a spreadsheet.
Shape notation. We write A ∈ R m × n .
A ∈ R m × n
R = the real numbers (ordinary decimals like 3 , − 1.5 , 2 ).
m × n = "m rows, n columns".
The picture: the machine takes arrows living in n -dimensional input space and produces arrows in m -dimensional output space. Input has n coordinates, output has m .
Why: SVD's whole point is that m and n can differ — the input and output spaces are different rooms , so we need two sets of directions, one per room.
A vector x is an arrow from the origin: a list of coordinates x = ( x 1 , x 2 , … , x n ) ⊤ telling you how far to walk along each axis. The little ⊤ (transpose ) here just means "stand this row up as a column".
The picture: an arrow in space with a length and a direction.
Why the topic needs it: SVD is entirely a story about what A does to arrows — it turns each special input arrow into a stretched output arrow. No vectors, no story.
A ⊤
The transpose flips a matrix across its diagonal: row i becomes column i . If A is m × n then A ⊤ is n × m .
The picture: hold the grid up to a mirror placed along the top-left-to-bottom-right diagonal.
Why the topic needs it: the entire derivation is built on the object A ⊤ A . Without transpose there is no derivation.
A ⊤ A appears on line one of the parent's proof, so you must be fluent in it.
Definition Dot product and length
The dot product of two vectors is x ⊤ y = x 1 y 1 + x 2 y 2 + ⋯ + x n y n — multiply matching coordinates, add them up. Its own dot with itself gives squared length :
∥ x ∥ 2 = x ⊤ x = x 1 2 + ⋯ + x n 2 .
∥ x ∥ (with the double bars) is the length (norm) of the arrow — straight-line distance from origin to tip, by Pythagoras.
Why the topic needs it: the proof line ∥ A v ∥ 2 = ( A v ) ⊤ ( A v ) = v ⊤ A ⊤ A v is nothing but the dot-product-is-squared-length trick. Each singular value σ turns out to be literally the length ∥ A v ∥ of a stretched special input vector v .
Figure s02 (below): an arrow x = ( 3 , 2 ) with its horizontal and vertical legs drawn in cyan. The amber hypotenuse is ∥ x ∥ ; the labels show that dotting x with itself, x ⊤ x = x 1 2 + x 2 2 , is Pythagoras — the squared length.
Intuition Why the dot product measures angle too
x ⊤ y = ∥ x ∥ ∥ y ∥ cos θ , where θ is the angle between the arrows. Two consequences we use constantly:
If x ⊤ y = 0 the arrows are perpendicular (cos 90° = 0 ).
x ⊤ x = ∥ x ∥ 2 (an arrow makes angle 0 with itself, cos 0 = 1 ).
Definition Orthonormal set
A set of vectors is orthonormal if every vector has length 1 (normal ) and every pair is perpendicular (ortho ). Compactly:
v i ⊤ v j = δ ij .
The picture: a set of unit arrows all at right angles — a clean, un-skewed set of axes.
Why the topic needs it: the two frames SVD produces (the v 's and the u 's) are required to be orthonormal — that is exactly what makes U and V rotations rather than sloppy skews.
Definition Identity matrix
I
I is the "do-nothing" machine: I x = x for every arrow. Its grid has 1 's on the diagonal, 0 's elsewhere. Subscript I n means the n × n version.
Definition Orthogonal matrix
A square matrix Q is orthogonal if its columns form an orthonormal set, equivalently Q ⊤ Q = I .
The picture: Q is a rigid motion — a rotation or a reflection. It never stretches, never squishes; lengths and angles are preserved. Feed it a square grid, get a rotated square grid of the same size.
Why the topic needs it: U and V in A = U Σ V ⊤ are exactly these. V (columns = right singular vectors) and U (columns = left singular vectors) are both orthogonal, so "SVD = rotate, stretch, rotate" means the two rotations are these orthogonal matrices.
Figure s03 (below): the unit axes before (left) and after an orthogonal matrix Q acts (right). The white unit circle stays a unit circle and the amber/cyan axes keep their length and right angle — they only rotate . This is the picture of U and V .
Q ⊤ Q = I means "rotation"
Column i dotted with column j is entry ( i , j ) of Q ⊤ Q . Demanding Q ⊤ Q = I says: every column is unit length (δ ii = 1 ) and perpendicular to the others (δ ij = 0 ). Perpendicular unit axes stay perpendicular unit axes — that is precisely a rotation/reflection. A bonus: Q ⊤ Q = I means Q ⊤ = Q − 1 , so undoing the rotation is free.
First, the word we are about to lean on:
r (named here so σ r makes sense)
The rank r of A is the number of genuinely independent output directions the machine can produce — the dimension of its output image. Full picture and "why" in §4; for now just read r as "how many nonzero stretches there are".
σ 1 ≥ σ 2 ≥ ⋯ ≥ σ r > 0 = σ r + 1 = …
Here σ r is the last nonzero stretch — the first r singular values are positive and the rest are zero, where r is the rank just defined above.
The span of a set of vectors is every arrow you can build by scaling and adding them. Two non-parallel arrows in a plane span the whole plane; two parallel ones span only a line.
The picture: the full region "reachable" by combining the arrows — a line, a plane, or all of space.
Why the topic needs it: column space, row space and null space are all spans of chosen vectors; SVD's payoff is that it hands you clean orthonormal spanning sets for each.
r (full version)
The dimension of the output image — the number of independent directions A can actually reach.
The picture: feed the machine the whole input space; the shadow it casts in output space is r -dimensional. If two rows are copies of each other, one direction is wasted and rank drops.
Why: the parent splits singular values into σ 1 … σ r > 0 (real stretching) and σ r + 1 ⋯ = 0 (directions the machine flattens to nothing).
The Four Fundamental Subspaces are the four rooms every matrix lives in. SVD hands you an orthonormal basis for all four at once — that is why we name them here.
A
The span of A 's rows (equivalently the column space of A ⊤ ) — the input directions that are not crushed.
The picture: the r -dimensional slice of input space that survives the transformation.
Why the topic needs it: the right singular vectors v 1 , … , v r (those with σ i > 0 ) form an orthonormal basis for it — the input side of SVD's atlas.
We can now define precisely what was promised at the top.
Definition Right singular vectors
v i and the matrix V
The right singular vectors v 1 , … , v n are an orthonormal set in input space R n ; stacked side by side they form the orthogonal matrix V = [ v 1 ∣ ⋯ ∣ v n ] .
The picture: the clean input frame SVD chooses — the axes along which A 's action is pure stretch.
Why the topic needs it: V ⊤ is the first rotation in "rotate → stretch → rotate"; it spins your input onto this special frame.
Definition Left singular vectors
u i and the matrix U
The left singular vectors u 1 , … , u m are an orthonormal set in output space R m ; stacked they form the orthogonal matrix U = [ u 1 ∣ ⋯ ∣ u m ] .
The picture: the clean output frame SVD lands in — A sends v i to σ i u i .
Why the topic needs it: U is the second rotation; after stretching by Σ , it places the result into output space.
Definition Eigenvector & eigenvalue
An eigenvector v of a square matrix M is a special arrow whose direction the machine does not change — it only scales it: M v = λ v . The scale factor λ is the eigenvalue .
The picture: most arrows get knocked off their line by M ; an eigenvector stays on its own line, just longer or shorter (or flipped).
Why: the derivation's engine is the eigenproblem A ⊤ A v i = σ i 2 v i . The eigenvectors of A ⊤ A are the right singular vectors; the eigenvalues are the squared singular values.
Full detail lives in Eigenvalues and Eigenvectors .
Definition Symmetric matrix
M is symmetric if M ⊤ = M (its mirror image equals itself). A ⊤ A is always symmetric because ( A ⊤ A ) ⊤ = A ⊤ A .
Definition Positive semi-definite (PSD)
M is PSD if x ⊤ M x ≥ 0 for every x . For M = A ⊤ A this reads x ⊤ A ⊤ A x = ∥ A x ∥ 2 ≥ 0 — a squared length, always non-negative.
To extend the orthonormal u i into a full basis, the parent invokes the Gram-Schmidt Process — the standard machine for turning any spanning set into an orthonormal one.
Symbol
Says out loud
Picture
Role in SVD
A
the matrix
motion of space
the thing we decompose
A ⊤
transpose
mirror across diagonal
builds A ⊤ A
x ⊤ y
dot product
length & angle
measures σ i = ∥ A v i ∥
δ ij
Kronecker delta
identity grid
encodes orthonormality
U , V
orthogonal
rotations
the two spins (left/right singular vectors)
Σ
diagonal
pure stretch
the singular values
λ i , v i
eigen-pair
invariant direction
σ i 2 and right vectors
r
rank
output dimension
count of nonzero σ i
Orthonormal sets and delta
Orthogonal matrices U and V
Symmetric matrix A-transpose-A
Eigenvalues and eigenvectors
SVD A = U Sigma V-transpose
Test yourself — reveal only after answering.
I can read A ∈ R m × n and say which space is input, which is output Input is R n (n columns), output is R m (m rows).
I can compute a transpose A ⊤ Flip across the main diagonal: row i becomes column i ; an m × n matrix becomes n × m .
I can write squared length as a dot product ∥ x ∥ 2 = x ⊤ x = x 1 2 + ⋯ + x n 2 .
I know what x ⊤ y = 0 means geometrically The two arrows are perpendicular.
I can state what δ ij equals 1 if i = j , else 0 .
I can define an orthogonal matrix two ways Columns are orthonormal; equivalently Q ⊤ Q = I (so Q ⊤ = Q − 1 ), a rotation/reflection.
I can describe what a diagonal matrix does to space Stretches each coordinate axis independently, no rotation.
I can write the eigenvalue equation M v = λ v — direction preserved, length scaled by λ .
I know why A ⊤ A is symmetric and PSD ( A ⊤ A ) ⊤ = A ⊤ A ; and x ⊤ A ⊤ A x = ∥ A x ∥ 2 ≥ 0 .
I know what the (real) Spectral Theorem grants me A real symmetric matrix has an orthonormal eigenbasis with real eigenvalues.
I can define rank and the null space Rank = dimension of the output image; null space = inputs sent to 0 .
I can name the four fundamental subspaces Row space and null space (input side), column space and left null space (output side).
Ready? Proceed to Singular Value Decomposition (SVD) — full derivation . Related destinations once you understand SVD: Low-Rank Approximation , Principal Component Analysis (PCA) , Moore-Penrose Pseudoinverse .