Manuscript Offprint
arXiv:2610.08565Singular Value Decomposition: A Geometric Rediscovery, Where Proofs Become Algorithms
Abstract
This article has a hidden agenda. On its surface it is a leisurely geometric rediscovery of the singular value decomposition — but its real claim is that the pretty piece of mathematics it builds turns out to be the machinery quietly running a great deal of your machine learning. The same construction that answers an idle question about ellipses is the algorithm behind principal component analysis, kernel methods, and PageRank; and it is not merely the results that transfer, but the proofs themselves, run as procedures.
The usual introduction to the SVD states the factorization and justifies it by applying the spectral theorem to — correct, and unilluminating: the geometry arrives already compressed into an algebraic identity, and a powerful theorem is assumed at the outset to reach a result that is, in the end, about ellipses. Part I reverses the order, following the path one might actually take to discover the decomposition. A linear map sends the unit circle to an ellipse; an ellipse has axes; one asks what input directions map to them, and finds — across example after example — that they are perpendicular. In the plane this can be watched: rotate a frame, track how badly its images miss being perpendicular, and a sign change forces a configuration where they do not miss at all. That surviving frame is where the map stretches hardest. The equivalence generalizes by maximizing the stretch and recurring, singular values falling out in order — and the construction turns out to have proved the spectral theorem rather than assuming it. The classical statement arrives at the end, as a name for what the geometry already built.
Part II collects the debt. Each of the constructions from Part I reappears as a working tool: the maximize-and-recurse proof becomes the power method and PageRank; the lemma locating the maximizer becomes the stopping rule of gradient descent; the duality between and becomes the transport at the heart of kernel PCA. Every connection is stated with its boundary — what the decomposition supplies and where some other idea takes over — because “the SVD is everywhere” is less useful than knowing exactly which part of a method it is responsible for.
The prerequisites are the standard sophomore sequence; worked examples are small enough to verify by hand, and every numerical and symbolic claim has been checked.
Orientation
This is a mathematics article written with a data scientist's temperament. It does not open with a definition and a theorem; it opens with an experiment — run a matrix on the unit circle and look at what comes back — notices a pattern, checks whether the pattern survives in higher dimensions, and only then sets out to prove it. That arc, from observation to conjecture to proof, is not just how the material is delivered here; it is the lesson. The singular value decomposition is usually handed to the reader fully formed. This article instead tries to let it be discovered, the way one might actually stumble onto it by paying attention to a picture.
Tools you will want in hand. The prerequisites are the standard sophomore sequence for a mathematics, physics, or data-science student, and nothing beyond it. From multivariable calculus (Calc III): directional derivatives and Lagrange multipliers. The one genuinely calculus-flavored step in the article — §2.4, where we maximize the length of an image vector over the unit sphere — is exactly the reasoning behind Lagrange multipliers, carried out by hand with an explicit curve rather than a multiplier; a reader who has seen constrained optimization will recognize it even though no λ appears. From a proof-based linear algebra course: inner products and their bilinearity, orthonormal bases, orthogonal matrices, and eigenvalues and eigenvectors through the spectral theorem. From single-variable calculus: the intermediate value theorem, which does the entire work of the first existence proof (§2). And throughout, comfort reading a short proof — the content prerequisites are light, but past §1 the article genuinely argues rather than merely computes.
Two signposts. First, you will meet the spectral theorem twice: once as a result you already know and are asked to recall, and once, near the end of the construction (§2.5), as something the geometry rebuilds from scratch without assuming it. That doubling is deliberate — the point is to watch a theorem you were handed get earned. Second, this article is a stepping stone. The singular value decomposition is the geometric foundation underneath principal component analysis, low-rank approximation, latent-factor models, and much of the linear structure in modern machine learning. If you are heading toward those tools, the picture built here is what they stand on; §9 makes the first of those connections explicit.
Discovering the decomposition
1 Circles become ellipses
Fix a matrix and think of it as a map . Feed it the unit circle — all input vectors of length one — and look at where they land. Take
which will serve as the running example. Applying A to the unit circle produces the closed curve on the right of Figure 1: an ellipse. Try other matrices and the same thing happens — the circle is stretched and turned, but it always comes out an ellipse, never a peanut or a teardrop. (For a degenerate matrix the ellipse can flatten to a segment, and in higher dimensions the sphere becomes an ellipsoid; §4 makes this precise. For now the picture is all we need.)
An ellipse has two distinguished directions: its axes, the long one and the short one, perpendicular to each other. They are features of the output. It is natural to ask what they came from — what input directions A sent to them.
Eq 1.1

unit circle
preimages of the axes

image ellipse
axes (long, short)
Figure 1: The unit circle maps to an ellipse under . The ellipse's axes point along (long, length ) and (short, length ). Their preimages — the input directions sent to the axes — are marked on the circle. The question of §1.1 is whether those preimages are perpendicular.
Are the preimages of the ellipse's axes special?
This is the question the first half of the article answers. Nothing about the setup suggests the preimages should be nice: mangles most directions, tilting and skewing as it goes. But the axes are where the image is longest and shortest, so their preimages are at least distinguished by something, and it is worth looking.
1.1 What the examples show
Compute the axis-preimages for a few matrices and a pattern appears at once.
| A | axes at | preimages at | axes ⊥? | preimages ⊥? |
|---|---|---|---|---|
| 10.9°, 100.9° | 34.1°, 124.1° | yes | yes | |
| 31.7°, 121.7° | 58.3°, 148.3° | yes | yes | |
| 45°, -45° | 45°, 135° | yes | yes |
The axes are perpendicular — of course they are, they are the axes of an ellipse. The striking column is the last one: their preimages are perpendicular too. The two input directions that sends to the ellipse's axes form a right angle, and carries that right angle to another right angle (the axes).
This should be surprising, because mangles right angles as a rule. The shear sends the perpendicular pair to and , which meet at ; run almost any perpendicular pair through almost any matrix and it comes out skew. Perpendicularity is not something linear maps respect. So a pair that keeps perpendicular is a genuine exception, not the norm — which is exactly what makes “is there such a pair, and does it always land on the axes?” a real question rather than an idle one. Every example above answers yes, but examples are not a proof, and it is not yet clear why it should be true or whether the perpendicular preimage pair is unique. The next sections settle both, first in the plane, then in general.
Because this pair is what we are hunting, give its members names now. Write for the preimages of the long and short axes, and for the axis half-lengths, so that
where are the unit vectors along the axes. These are the singular values , right singular vectors , and left singular vectors of , and assembling the two relations into matrix form gives — the singular value decomposition. §3 returns to the names; the task between here and there is to prove the frame exists.
2 Why the perpendicular pair must exist
The examples of §1.1 suggest that among all perpendicular input pairs, there is one whose images stay perpendicular — and that this one lands on the ellipse’s axes. To prove it, forget the ellipse for a moment and hunt directly for such a pair. Take a perpendicular frame and rotate it rigidly as varies, watching what does to the right angle between the arms. Measure the failure with
the inner product of the two images. The inner product is the natural gauge of “how far from perpendicular”: it is zero exactly when the images are perpendicular, positive when the angle between them has closed below a right angle, negative when it has opened past one (Figure 2). So f measures the damage A does to the right angle; the input arms stay perpendicular throughout, by construction, and we are asking whether any makes the damage vanish. If one does, that frame’s images are perpendicular — and, being the images of a perpendicular pair under A, they are exactly the kind of pair the axes are.
2.1 The sign flips every quarter turn
Rotate the frame by exactly . What happens to its two arms?
• rotated by becomes . That is what perpendicular means.
• rotated by becomes . Another quarter turn past lands opposite , not on it.
So and . Apply , use linearity to pull the sign out, and use the symmetry of the inner product:
This is worth pausing on, because the swap alone would achieve nothing — the inner product is symmetric, so exchanging its two arguments leaves it unchanged. The minus sign is doing all the work. And that minus sign is unavoidable: you cannot rotate an orthonormal pair by a quarter turn and recover the same pair, because one arm always comes back reversed.
Claim. Every matrix preserves at least one right angle.
Eq 1.2
Eq 2.1
Eq 2.2
Proof. is continuous, and for any . If we are done. Otherwise and have opposite signs, so by the intermediate value theorem vanishes somewhere strictly between.
The argument used nothing about A — not invertibility, not squareness, not any structure. In the same conclusion holds via the spectral theorem ( ); the planar version is just the case you can see.
2.2 How many such angles are there?
Continuity gives existence but is silent on count. To settle that, compute in closed form. Writing and , , expanding and collecting terms gives
Eq 2.3
Two features of this expression matter, and the second is the important one.
First, everything is in , not . That is the algebraic shadow of the quarter-turn symmetry: advancing by advances by , which negates both cos and sin. The sign flip proved above is visible directly in the formula.
Second, and crucially, there is no constant term. f is a pure sinusoid oscillating about zero — not a sinusoid plus an offset. This is why the sign flip is not merely a curiosity but a guarantee: a sinusoid with a nonzero mean might never reach zero, but this one must.
Write it in amplitude-phase form as
Eq 2.4
where and . Suppose . As runs over a half turn , the argument runs over a full turn, so the cosine vanishes exactly twice, at
Eq 2.5
The two roots are apart (Figure 2). But a frame and the same frame rotated by consist of the same pair of lines — as shown above, the quarter turn merely swaps the arms and reverses one. So the two roots describe one geometric object.
Claim. Unless , the frame is unique: exactly one perpendicular pair of directions has perpendicular images, up to relabelling the arms and flipping their signs.
The degenerate case. means , i.e. and every frame works. The two coefficients are readable off :
Eq 2.6
so is its off-diagonal entry and the difference of its diagonal entries. Both vanish precisely when — when is a scalar multiple of an orthogonal matrix. Then maps the sphere to a sphere, there is no direction of maximum stretch, and no frame is distinguished. The generic case and the degenerate case both fall out of the one formula.








Figure 2: Sweeping the frame. Each panel shows an orthonormal input frame (left, always perpendicular) and its image under (right, generally not). The number below each image is the angle between and ; the shaded wedge makes it visible. As increases the wedge narrows to , then widens back through — the highlighted panel, where the right angle survives — and on past . The plot below tracks over the full half-turn: a pure sinusoid in with no vertical offset, crossing zero exactly twice, at and . Those two crossings are apart and describe the same pair of lines.
2.3 The same thing happens in three dimensions
The plane is settled: a perpendicular pair whose images are perpendicular exists, is essentially unique, and lands on the ellipse’s axes. Before generalizing, it is worth checking whether the phenomenon even persists — so run the experiment one dimension up. In the unit sphere maps to an ellipsoid, which has three axes, mutually perpendicular. Do their preimages form an orthonormal triple, as the two axis-preimages did in the plane?
Take
Eq 2.7
compute the ellipsoid’s axes and pull them back. The semi-axis lengths come out , , , and the three preimages , , satisfy
Eq 2.8
a perfect orthonormal triple, angles to the numerical precision checked. Repeating with other matrices — symmetric, asymmetric, random — gives the same verdict every time (Figure 3). The ellipsoid’s axes always pull back to a perpendicular frame, and A carries that frame to the axes: , just as in the plane. And it is just as surprising: a generic orthonormal triple, run through this same A, comes out skewed — the axis-preimages are again the exception, not the rule.

unit sphere
preimages (orthonormal)


image ellipsoid
axes (orthogonal)
Figure 3: The three-dimensional experiment. The unit sphere (left) maps under to an ellipsoid (right). The ellipsoid's three axes are mutually perpendicular; their preimages — the input directions A sends to those axes — form an orthonormal triple. The phenomenon of §1.1 survives intact into three dimensions.
So the pattern is real and dimension-independent, but the proof was not. The rotating-frame argument was thoroughly planar: it swept a single angle and watched a scalar change sign. In a frame is not fixed by one angle, and in an orthonormal frame has parameters while its images must satisfy orthogonality conditions — a coupled system, not a single equation, and the intermediate value theorem has nothing to say about it. Fixing up one pair disturbs another. A new idea is needed to carry the planar success upward, and the experiments hint at where to find it: the axes came in order, a longest and a shortest, and the longest is where the image stretches most. Perhaps maximizing the stretch is the handle.
2.4 From two dimensions to n
The plan is to establish, in the plane where both sides can be seen, that the surviving frame and the direction of maximum stretch are the same object; then to notice that one half of that equivalence never used the dimension; then to recurse on it, peeling off the longest axis at each step as the experiments suggest.
One thing the sweep assumes. Recall that in the input arms are kept perpendicular by construction — the domain-side right angle is a constraint we impose, and the whole question is whether the image-side right angle can be made to hold at the same time. We are not deriving that the frame is orthonormal; we are searching, among orthonormal input frames, for one whose images are orthonormal too.
In the plane: the crossing is the peak
So far has been the only thing measured. But Figure 2 shows something else changing as turns: the images grow and shrink. At the first arm's image is short; by it has reached the ellipse's long axis. That second quantity is the one the reader already cares about — was defined as a length, not as an angle. So track it:
the squared length of the first arm’s image. The square is a convenience: differentiating itself produces a square root in the denominator, while the squared version stays polynomial. Nothing is lost, because squaring is monotone on nonnegative numbers — whatever maximizes maximizes too.
Figure 4 sweeps the same frame again, watching g instead of f. The two crossings of f sit exactly at the peak and the trough of g. That is not a coincidence, and one observation explains it.
A tool: differentiating an inner product. The derivation below, and the one in the converse argument, both rest on a single calculus fact — the product rule for inner products. For any two vector-valued functions and ,
which is the ordinary product rule applied coordinatewise and summed, using the bilinearity of the inner product. Two special cases are all we need. When the two slots hold the same function, symmetry of the inner product merges the terms:
Eq 2.10
Eq 2.11
And when a constant matrix A sits inside, it commutes with the derivative, since differentiation acts entrywise and A does not depend on .
Eq 2.9






Figure 4: The same sweep, watching length instead of angle. Each panel shows at angle and its image , with the image ellipse faint behind it. Since is a unit vector its image always lands on the ellipse; what changes is how far around, and so how long the arrow is. The first five panels climb — 1.69, 1.82, 2.06, 2.22 — until at the arrow reaches the long axis and . The last panel jumps to , the other extremum, where the arrow sits on the short axis and . Below, (solid) is plotted against (dashed, the same curve as in Figure 2). The zeros of fall exactly at the peak and trough of — which is what says: is the slope of .
The identity. As increases, which way does move? It rotates — and rotating infinitesimally pushes it toward , which is a quarter turn ahead. In symbols, with ,
Eq 2.12
This is the fact that drove the sign flip in §2.1, seen infinitesimally rather than a quarter turn at a time. Now differentiate , taking the steps one at a time:
Eq 2.13
So
Eq 2.14
The damage function is half the derivative of the stretch. Nothing was computed: the identity holds because differentiating the first arm produces the second, and pairing the second against the first is what f already measures.
This settles what the sweep was showing. The zero crossing of Figure 2 is not merely correlated with the ellipse's axis — it is the critical point of g. Where the right angle survives, the stretch is stationary; where the stretch peaks, the right angle survives. The sinusoid plotted beneath the film strip is, up to a factor of two, the derivative of the stretch curve in Figure 4.
That is the equivalence, and both directions are worth having explicitly.
Maximality orthogonal images. This is the direction that will carry the construction into higher dimensions, so it is worth stating carefully. The claim: if is the input direction whose image is longest, then is automatically orthogonal to Aw for every w perpendicular to . Perpendicularity of the images is not arranged; it is a consequence of maximizing a length.
The mechanism is the first-derivative test, applied on the sphere. We want to maximize subject to , so we cannot vary freely — any admissible variation must keep on the unit sphere. Fix a maximizer and a direction to test, and move along the arc
Eq 2.15
chosen for two reasons: it satisfies , so is the point we care about, and it stays on the sphere, since (the cross term drops because ). As moves away from 0 it tips toward ; so at is the directional derivative of the objective along , and that is the quantity a maximum forces to vanish.
Restrict the objective to the arc and expand by bilinearity of the inner product:
Eq 2.16
Differentiating, the and terms contribute , which vanish at ; the cross term contributes , equal to there. Hence
Eq 2.17
Since maximizes the objective over the sphere and the arc lies on the sphere with , the function has an interior maximum at , so this derivative is zero:
Eq 2.18
What the algebra encodes is geometric. The derivative of the stretch as you tip toward is exactly (twice) the overlap . If that overlap were nonzero, the stretch would have nonzero slope in the direction, and a small tip would lengthen the image — impossible, because was chosen to make it longest. So maximality is vanishing overlap in every perpendicular direction, which is to say is orthogonal to the image of the entire hyperplane . The second-derivative test is consistent and needs no separate check: precisely because is the largest stretch there is.
Orthogonal images maximality. The converse closes the loop. Its claim: take the surviving frame — a perpendicular input pair whose images are also perpendicular — and the arm with the longer image is the direction of maximum stretch. Where the previous direction started from a maximizer and produced orthogonality, this one starts from orthogonality and recovers the maximizer.
Note what is assumed. We take orthonormal in the domain (that is the frame we impose) and their images orthogonal, (that is the surviving property). Label the arms so that the first has the longer image, and write .
Because are orthonormal, they are a basis of the plane, so every unit input vector is a combination
Eq 2.19
and its image length is governed by how the weight is split. Expanding and using the orthogonality of the images to kill the cross term:
Eq 2.20
The result is a weighted average of and , with weights , that sum to one. An average of two numbers cannot exceed the larger, and reaches it only by placing all the weight there: , , that is . So among all unit inputs the longest image belongs to — it is the maximizer.
This is why the two planar descriptions are one. The surviving frame’s long arm is where the stretch peaks, and , defined a moment ago merely as “the longer of the two image lengths,” is in fact the largest image length there is — the major semi-axis of the ellipse. The step that made it work, , is worth remembering: once the images are orthogonal, the map acts on the , coordinates by simple scaling, with no interference between the arms. That decoupling is the whole point of the frame, and it is the shadow of .
The hinge
Now look back at the first of those two arguments and ask what it used. A unit vector ; a perpendicular unit vector ; the curve ; one derivative. Nothing in it mentions the dimension. In the only choice of is , so the conclusion looks like a statement about a single pair. In the same curve lies on the unit sphere , the same derivative computation goes through unchanged, and the conclusion becomes considerably stronger:
which is orthogonality relations at once, not one. The maximizer's image is orthogonal to the image of the entire hyperplane .
The other direction does not need to make the trip. It was there to show that the two planar descriptions coincide; having established that, we keep only the half that travels.
In : recursion
The construction now runs by induction, and each step is the hinge applied once.
-
The function is continuous and is compact, so a maximizer exists. Call it and set .
-
By the hinge, for every . So whatever we choose next from , its image is already orthogonal to — for free, with no further work.
-
Restrict to the hyperplane and repeat: maximize over the unit sphere of to get , with . Applying the hinge within that hyperplane gives for all with .
-
Continue. After steps the frame is orthonormal by construction, and its images are pairwise orthogonal: for , step 's hinge applies because lies in .
Two features of this deserve comment. First, the come out sorted, , automatically: each step maximizes over a subset of the previous step's domain, so it cannot do better. The descending convention is not a convention here — it is what the construction produces. Second, step 2 is doing all the work, and it is doing it before the next vector is chosen: maximality of pre-emptively guarantees orthogonality against every future choice. That is what makes the recursion compose, and it is precisely what the planar picture could not show, having no room to recurse into.
What the construction has already proved
Something has quietly happened. Return to the hinge, the statement that at the maximizer
Eq 2.22
and move A across the inner product onto the other argument:
Eq 2.23
12
Eq 2.21
So the hinge says: the vector is orthogonal to every w in the hyperplane . But the only vectors orthogonal to all of are the multiples of itself. Therefore
for some scalar — and pairing both sides with identifies it,
Eq 2.24
Eq 2.25
The maximizer is an eigenvector of , with eigenvalue the squared stretch. This was not assumed. It fell out of maximality alone, by one application of the adjoint move.
And the same holds at every step of the recursion, since each maximizes over a subspace on which the identical argument runs. So the construction of the previous page did not merely find a convenient frame — it produced an orthonormal basis of eigenvectors of , with nonnegative eigenvalues , sorted. That is a complete diagonalization:
Eq 2.26
Which is to say: the variational route has already proved the spectral theorem for . The next section does not introduce new machinery. It names this result in the standard language, states it for symmetric matrices in general rather than for Gram matrices in particular, and notes that once one has it, the entire construction collapses to a single sentence.
One caveat. The route above is specific to matrices of the form , because it maximizes , a quantity that is automatically nonnegative. A general symmetric can have negative eigenvalues — for instance has eigenvalues and — so no maximization of a squared length will ever produce them. The fix is to run the same argument on the Rayleigh quotient
Eq 2.27
whose stationary points are exactly the eigenvectors of and whose stationary values are the eigenvalues. The proof is the same derivative computation; only the functional changes. So the spectral theorem in full generality is this section’s argument with replaced by , and on the unit sphere when recovers what we did.
2.5 The same fact, algebraically
The previous section arrived at with the orthonormal. That statement has a name, and stating it for a general symmetric matrix rather than for costs nothing — the hypothesis that actually does the work is symmetry, not the particular form of the matrix.
Spectral theorem. Let be a real symmetric matrix, . Then has real eigenvalues (with multiplicity), and admits an orthonormal basis of eigenvectors, . Equivalently with orthogonal and diagonal.
“Variational” here is used in the linear-algebra sense: an object found by making a quantity extremal — here, maximizing over the unit sphere. This is the finite-dimensional cousin of the calculus of variations proper, which extremizes functionals over infinite-dimensional spaces of functions and produces Euler–Lagrange differential equations. None of that machinery appears here; our optimization lives on ordinary spheres in and is settled by the first-derivative test (equivalently, Lagrange multipliers).
Two clauses matter here and neither is free. Real eigenvalues: a general real matrix can have complex ones, as a rotation does. Orthonormal eigenbasis: a general matrix's eigenvectors need not be perpendicular, and a defective matrix does not have a full set of them at all. Symmetry buys both.
Taking the theorem as given — it is standard, and §2.4 sketched its proof — the whole of §2 and §2.4 collapses to three lines, which is the point of this section. The rotating frame and the greedy maximization were two ways of finding by hand what the following computation supplies at once, in any dimension.
Where the symmetry enters
The orthogonality half is short enough to see in full. Let be eigenvectors with . Start from the number and evaluate it two ways.
Pushing S onto the left argument:
Eq 2.28
Moving S across the inner product to the right argument instead:
Eq 2.29
The symmetry hypothesis is used exactly once, at the brace: without the chain breaks and nothing follows. Setting the two evaluations equal,
Eq 2.30
Since by assumption, the first factor is nonzero, so : the eigenvectors are perpendicular. (If the argument says nothing, and correctly so — within a repeated eigenvalue's eigenspace any basis is an eigenbasis, so one simply chooses an orthonormal one. This is the same freedom catalogued in §6 for repeated singular values.)
Applying it to
First, qualifies. It is symmetric because transposing reverses the order of a product and undoes itself:
Eq 2.31
The matrix is called the Gram matrix of : its entry is the inner product of column of with column , so its diagonal holds the squared column lengths and its off-diagonal entries measure how far from perpendicular the columns are. (Throughout, denotes the entry of in row , column .)
So the spectral theorem applies and supplies an orthonormal eigenbasis with — for free, in any dimension, with no rotating frame required. Now take any two of them, , and compute the inner product of their images one step at a time:
definition of the inner product
transpose of a product
regrouping; matrix product is associative
is an eigenvector of
scalars pull out
definition again
the are orthonormal, .
Eq 2.32
The images are orthogonal automatically. The eigenvectors of are the frame the whole note is about, and the rotating-frame picture of §2 is what this computation looks like in the plane.
Notice which step did the work. The eigenvector equation converted the operator into the scalar , after which orthogonality of the finished the job. Feed in a non-eigenvector and line four fails: is some other vector, not a multiple of , and the inner product has no reason to vanish.
Why the singular values are real
is not merely symmetric but positive semidefinite. For any vector ,
Eq 2.33
the last step because a squared length is never negative. Now take , an eigenvector:
Eq 2.34
and the same quantity equals by the display above. Hence
Eq 2.35
so is a well-defined nonnegative real number, and it is exactly the stretch factor we wanted.
This step deserves its own paragraph because it is easy to skip past. Symmetry alone gives real eigenvalues, but real numbers can be negative, and would then be imaginary — would not exist. What rules that out is positive semidefiniteness, which comes from being a Gram matrix rather than from its symmetry. Both properties are needed, and they are different properties.
The same statement in the plane
The two arguments are not merely analogous; they are the same equation. To see it, take any symmetric matrix and ask what its entries become in a frame rotated by . Conjugating by the rotation and reading off the off-diagonal entry gives
Eq 2.36
Now substitute the Gram matrix, , whose entries are
Eq 2.37
Then and , so
Eq 2.38
matching the closed form of §2.2 term for term. The off-diagonal entry of the Gram matrix in the rotated frame is the damage function.
So diagonalizing and solving are not two routes to the same answer — they are one problem stated twice. Both ask for the rotation that annihilates the off-diagonal entry. And the diagonal entries left behind,
Eq 2.39
are the squared singular values. For the running example this is checked numerically in §5.
Three routes, one frame
| Shows | Costs | |
| Rotating frame () | why a crossing is forced, and where it sits: the fulcrum where the distortion cancels | planar only; no route to |
| Variational () | constructive; explains why the come out sorted; proves the spectral theorem rather than assuming it | no picture above ; stationarity replaces balance |
| Spectral () | fastest; every dimension at once | most opaque; the geometry is invisible in the statement |
These are not three competing theorems. They are one theorem approached from three distances. The variational route is the spectral theorem's proof with the geometry left in; the spectral statement is that proof with the geometry compressed out; and the rotating frame is what both look like in the one dimension where you can watch them happen. The planar picture is worth keeping even though it does not scale, because it shows what the machinery above it is for: the greedy maximization and the eigenvectors are both, in the end, hunting the right angle that survives.
2.6 The same frame from the other side
Everything so far was built from the input side. We rotated a frame in the domain, watched its images, and chose the frame whose images come out perpendicular — which forced to diagonalize . But the picture that started the article was symmetric: a circle on the left, an ellipse on the right, and we could just as well have begun on the right. This subsection does that, and the reward is not a new theorem but a clearer view of the one we have.
Begin, then, from the output. The ellipse’s axes are a perpendicular frame in the codomain — take that as given, it is what “axes” means. What are their preimages? Solving , the question is whether the come out orthonormal. They do, and the reason is the mirror of the argument we already ran.

input sphere
maximize :
eigenvectors of
image ellipsoid
extremal radius surface:
eigenvectors of
Figure 5: Two proofs, two ends of the map. Left: the input-side construction of §§2–2.5 — maximize over the sphere, landing on the eigenvectors of . Right: the output-side construction — the ellipsoid's axes are its extremal radii, where the radius meets the surface at a right angle (marked), and these are the eigenvectors of . The arrow A links the two: . Same variational instinct — extremize a length — applied at opposite ends.
Why the axes are eigenvectors of . An axis of the ellipsoid is a direction of extremal radius, and at the tip of an axis the boundary is perpendicular to the radius (Figure 5, right) — slide along the surface anywhere else and the distance to the center changes to first order, so only there is the length stationary. Written in the output variable , the constraint becomes : the ellipsoid is the level set of the quadratic form , and the axes of such a form are its eigenvectors. So the ellipsoid's axes are the eigenvectors of — the output-space companion of .
The mirror computation. With the eigenvectors of , the preimages satisfy, for ,
Eq 2.40
using and with ; the final zero is orthogonality of distinct eigenvectors of the symmetric matrix . The same substitution with gives . The preimages of the axes are orthonormal — proved, this time, without a single derivative, by borrowing the spectral theorem in the output space rather than building it in the input space.
Written for invertible A, so that makes sense and the ellipsoid is full-dimensional. For rectangular or singular A the same argument runs with the pseudoinverse on the range of A.
One decomposition, two spectra. The two proofs are mirror images across the map (Figure 6). The input-side proof diagonalizes , an matrix living in the domain, and produces ; the output-side proof diagonalizes , an matrix living in the codomain, and produces . These two matrices are different — different sizes, even — but they share their nonzero eigenvalues, the squared singular values , because both measure the same stretches. The singular value decomposition is precisely the statement that their eigenframes are compatible: not two unrelated diagonalizations, but two ends of a single map welded together by .

Figure 6: The two proofs as one square. Down the left, the input-side construction lands on the eigenvectors of ; down the right, the output-side construction lands on the eigenvectors of . Across the top, A carries sphere to ellipsoid; across the bottom, identifies the two frames as the same decomposition seen from opposite corners. The SVD is the square commuting.
This is why the article kept only one of the two: they are the same content, and the input side is where the frame can be discovered rather than merely verified — you can rotate it and watch the crossing happen. The output side, elegant as it is, assumes the axes are already in hand. Kept together, they say that whichever end you grip the map by, the same orthonormal frame is waiting.
3 Naming the pieces
Write for that special input frame — the right singular vectors. Their images are orthogonal but not unit length, so factor out the lengths:
Eq 3.1
The are the singular values and the are the left singular vectors.
Before collecting these into a formula, it is worth seeing what they say about as a map. The are an orthonormal basis of the input space, so any input has an expansion , where is simply the coordinate of along . Apply and use linearity together with :
Eq 3.2
Read that off slowly. A takes the coordinate of x along each input axis , scales it by , and lays the result down along the matching output axis . The coordinates that go in are the coordinates that come out — only the axis labels change, , and each is stretched by its own . In these two bases the map is diagonal: whatever tangle A shows in the standard basis, in the right input frame and the right output frame it does nothing more complicated than scale each axis. Bundle this action into matrices — reads out the input coordinates, scales them, U writes them along the output axes — and it is a factorization:
Eq 3.3
The construction of §§2–2.5 has, without announcing it, proved that such a frame always exists — so the factorization is not a lucky feature of some matrices but a theorem about all of them, worth stating plainly.
Singular value decomposition. Every real matrix A factors as
with and orthogonal, and “diagonal” — and all other entries zero. The columns of V are the right singular vectors, the columns of U the left singular vectors, and the the singular values. Taking , the singular values are uniquely determined by A; the vectors U, V are determined up to the freedoms catalogued in §6.
The names left and right are positional — U sits on the left of the product, V on the right — and carry no deeper meaning.
Note the asymmetry in how the two frames arise. V is chosen; U is a consequence. We select the input frame by a property it has (its images are orthogonal), and the output frame is then whatever we happen to land on.
Four ways to say the same thing
The right singular vectors admit several characterizations, all equivalent:
Geometric. The orthonormal input frame whose images stay orthogonal. Every other orthonormal frame comes out skewed.
Metric. The frame that lands on the principal axes of the image ellipsoid ( ), with the semi-axis lengths.
Variational. The frame obtained by greedy maximization: , then the same among unit vectors orthogonal to , and so on.
Algebraic. The eigenvectors of .
The first is the one to keep in your head; the last is the one you compute with. Symmetrically, the left singular vectors are the eigenvectors of . Since and share the same nonzero eigenvalues , one serves both frames.
4 The ellipsoid
Let be the unit sphere in the input space. Its image is an ellipsoid. To see this, write in the -basis as with . Then , so the image point has coordinate along , and the constraint becomes
the standard ellipsoid equation in -coordinates. The are the axis directions; the are the axis lengths. Neither alone describes the ellipsoid — you need both.
This gives the reading of the factorization as a sequence of three motions. Right to left in :
rotate the input so that lands on the th coordinate axis
stretch axis by
rotate so that the coordinate axes land on the
Every linear map is a rotation, then an axis-aligned scaling, then another rotation. A shear does not look like that — it looks like sliding — but it is one, and the SVD is the change of viewpoint that reveals it.
Degenerate cases
The word “ellipsoid” must be read loosely. If some the ellipsoid is flattened in that direction. If it is a lower-dimensional ellipsoid embedded in a larger space. If the sphere maps onto the solid ellipsoid, not just its surface, because vectors with a kernel component land strictly inside.
The statement that covers every case at once: for of rank ,
A maps the unit sphere of the row space bijectively onto an -dimensional ellipsoid surface in the column space, with semi-axes along . The kernel is crushed to zero; the cokernel is never reached.
This is the four-fundamental-subspaces picture with metric information attached. The SVD says is an isomorphism from row space to column space, and diagonalizes it. Explicitly, with :
Eq 4.2
5 A worked example
Take
Eq 5.1
a matrix with no special structure — not symmetric, not a multiple of a rotation. Its Gram matrix is
Eq 5.2 whose off-diagonal entry is nonzero, so the standard basis is not the frame we want. Feeding , , , into the closed form of §2.2,
Eq 5.3
with amplitude and phase . The roots land at and — the crossings marked in Figure 2. Taking the first,
Eq 5.4
and the images are
Eq 5.5
Their inner product is , as promised. Their lengths are the singular values,
Eq 5.6
and normalizing gives and . As a check, .

at
at
Figure 7: The unit circle and its image. The frame at is the one whose images stay perpendicular; those images land on the ellipse's axes, with lengths and . The input frame sits at and the output frame at : a gap of . The two panels are different copies of ; the only link between them is the pairing .
That gap of between the frames is the rotation . Since it is a genuine rotation, not a reflection. For a generic matrix it is nonzero and bears no relation to anything else about A: knowing V tells you nothing about U without passing through A.
5.1 An aside: the shear
The virtue of an arbitrary matrix is that it has no structure to mislead. The vice is that nobody has any prior expectation about it, so the SVD's claim — this is a rotation, a stretch, and a rotation — is unsurprising.
For that, the shear is better:
Eq 5.7
It slides every point rightward by an amount equal to its height. Sliding does not look like rotate–stretch–rotate. But
Eq 5.8
the golden ratio and its reciprocal, with . The frames sit at : and : , differing by a rotation of . So the shear is a rotate–stretch–rotate, and the SVD is the change of viewpoint that reveals it.
Why ? The shear pushes points rightward in proportion to height. A frame sitting in the first quadrant has both arms up high, so both get pushed right and they rotate toward each other: the angle closes, . A frame straddling the vertical has one arm high-right and one high-left; pushing both rightward separates them and the angle opens, . At the two effects balance. The right angle sits at the fulcrum and comes through intact.
| ">} | angle | angle | gap | ||
|---|---|---|---|---|---|
| Generic | 2.2575 | 1.5504 | |||
| Shear | 1.6180 | 0.6180 |
Table 1: Neither matrix has aligned frames; both rotate by roughly between input and output. Alignment would require symmetric positive definite (), and neither matrix is symmetric.
One caution about the shear, which is why it is an aside rather than the main example. Its is exactly with the coordinates swapped, and the two angles sum to . That is an artifact: the shear is persymmetric (symmetric about its anti-diagonal), which forces the relation. It is easy to mistake this tidiness for alignment, or for a general fact. It is neither. The generic matrix above has no such pattern, and it is the honest picture.
6 Can you choose the frame? Uniqueness and freedom
A natural question tests how much the construction really pins down: given , could you pick any orthonormal basis of the input space and find a matching orthonormal and some diagonal with ? Perhaps the freedom to choose buys enough slack.
No. Requiring says precisely that are mutually orthogonal — and the are then forced to be the norms , not chosen. The freedom in is illusory; the orthogonality of the images is the entire constraint, and it is the same constraint from §2.2. In the plane this is exactly what Figure 2 shows: of the continuum of frames, two crossings, describing one.
The count confirms it in any dimension, and the same count will measure the leftover freedom in a moment, so it is worth doing once. An orthonormal frame in has degrees of freedom — build it column by column: is any unit vector parameters), any unit vector orthogonal to it , and so on, giving . (For this is 1, a single angle; for it is 3, the Euler angles.) Requiring the images to be pairwise orthogonal imposes one equation per pair, again . Constraints exactly consume parameters, so the solution set is generically discrete — finitely many sign and permutation variants of one frame, not a continuum. Equivalently, forces V to be an eigenbasis of the symmetric , and eigenbases are rigid.
The one exception. When a scalar multiple of an orthogonal matrix — every direction stretches equally, every orthonormal V works, and . The image of the sphere is a sphere, so no direction is distinguished. This is worth stating as a principle: the content of the SVD is anisotropy. The decomposition earns its keep exactly when the singular values differ; the ratio is the eccentricity of the image ellipsoid, and also the condition number.
Exactly what freedom remains
So V is forced — but not completely. The singular values are rigid (with the descending convention they are uniquely determined by A), yet the frames retain a sliver of freedom, and it is worth naming precisely what:
-
Sign. For a simple singular value, and together. The coupling is essential: you cannot flip one without the other, since must be preserved.
-
Repeated singular values. If has multiplicity , the corresponding -dimensional subspaces of and can be rotated by any orthogonal matrix — applied to both. (This is the exception above, localized to one repeated value instead of all of them.)
-
Zero singular values. The columns of U spanning coker(A) and of V spanning ker(A) are arbitrary orthonormal bases of those subspaces, independent of each other.
-
Ordering, if the descending convention is dropped.
Claim. For A of full rank with distinct singular values, the (thin) SVD is unique up to the signs in item 1.
That is the whole of it: the stretches are pinned exactly, the frames up to signs, with extra room only where a singular value repeats or vanishes.
A reparametrization, not a compression. Stepping back, the SVD of an matrix supplies
numbers — exactly the entries it started with. The information is rearranged from “what each column does” into “(input frame, stretches, output frame)”, and that arrangement is where the geometry lives.
U and V are independent. One consequence of the count deserves emphasis. Pick any orthogonal U, any orthogonal V, any nonnegative diagonal : then is a matrix with exactly that SVD. Nothing couples the two frames. Going backwards from a given A, they are determined but generally unrelated — you cannot infer one from the other without passing through A. This is precisely why the SVD carries more information than a single eigenbasis: two independent frames rather than one.
Eq 6.1
7 Relation to eigenvalues and eigenvectors
For a general square matrix, the two decompositions are largely unrelated.
Eq 7.1
Eq 7.2
The structural difference: singular vectors are always orthonormal and always exist in full; eigenvectors need not be orthogonal, and a defective matrix does not have a complete set. Eigenvectors live in one space and map to themselves; singular vectors come in coupled pairs across two spaces. That is the fundamental distinction — eigendecomposition uses one basis, SVD pairs two.
What does hold.
• .
- for every eigenvalue; in particular the spectral radius satisfies .
• Weyl: for each , with equality at .
• Yamamoto: .
When they coincide.
• Normal (i.e. ): , and the eigenbasis is orthonormal, so are the eigenvectors and .
• Symmetric positive semidefinite: and . The two decompositions are literally identical.
• Symmetric indefinite: , and and differ by sign flips on the negative eigendirections.
So characterizes symmetric positive semidefinite matrices. Neither example in this note is symmetric, which is why neither has aligned frames.
A caveat on the normal case: eigenvalues in a symmetric matrix give a repeated singular value , so the SVD acquires rotation freedom in that subspace that the eigendecomposition does not have. The eigendecomposition can be strictly more rigid.
8 Polar decomposition
The gap between the input frame V and the output frame U has come up more than once. Figure 7 showed it as a concrete angle — the by which the running example's frames differ — and §6 made the general point that U and V are independent, so this gap is real information, not an artifact. It is worth isolating that gap as a single object, and the SVD does it with one regrouping.
Start from and insert between two copies of the frames:
Eq 8.1
Name the two factors and . Then
Eq 8.2
the polar decomposition. Each factor is exactly what its construction makes it: is orthogonal (a product of orthogonal matrices), and it is precisely the rotation that carries 's frame onto 's — the gap itself, named. is symmetric positive semidefinite, a pure stretch along 's axes by the factors , with no rotation left in it.
So every matrix is a stretch followed by a rotation: deforms the input along the right singular directions, and then swings the result over to the output frame. It is the same content as the SVD — and are built from — repackaged to put the rotation in one box and the stretch in another. For the running example is the rotation by seen in Figure 7; for the shear it is . The analogy with a complex number — modulus times a unit phase — is exact and gives the decomposition its name: is the modulus, the phase.
Part II
Where the decomposition goes
Part I built the singular value decomposition from the ground up and stopped at the moment it was proved to exist. This part spends it. The SVD — or its symmetric shadow, the eigendecomposition — sits underneath a surprising share of modern data analysis and machine learning, and the sections below trace five of those connections. Each states plainly what the decomposition does supply and, just as plainly, where its contribution stops and some other idea takes over; the honesty is part of the point, because “the SVD is everywhere” is less useful than knowing exactly which part of a method it is responsible for.
One thing is worth watching for as they go by. In several of these connections it is not the result of a Part I proof that reappears but the proof itself — the argument, run as a procedure. The construction that found the frame becomes an algorithm that computes it; the lemma that characterized the maximizer becomes the rule that tells an optimizer when to stop. Where that happens it is flagged, and left to speak for itself.
9 Where this leads: principal component analysis
If you have ever run principal component analysis, reduced the dimension of a dataset, or called a low-rank approximation, you have used the object this article has been building — though probably without the picture. Here is the connection, in one step.
Let A be a data matrix: n rows, one per observation, and p columns, one per feature, with each column centered to have mean zero. Then the matrix
Eq 9.1 is exactly the sample covariance matrix of the features — its entry is the covariance of feature with feature , because centering makes the column inner products into covariances. But is the very matrix whose eigenvectors are the right singular vectors of ( ). So the right singular vectors are the eigenvectors of the covariance — the principal components, the orthogonal directions of greatest variance in the data. And the singular values give the variances outright: the spread of the data along is
so the largest singular value marks the direction of most variance, the next the most among directions orthogonal to it, and so on — which is precisely the greedy description of the frame from §2.4, now read as a statement about data.
The geometry carries over intact. The ellipsoid this article has drawn since §1 — the image of the unit sphere under A — is, for a data matrix, the shape of the data cloud itself, and its axes are the principal axes. Finding the perpendicular frame that maps to those axes, the whole problem the article set out to solve, is finding the principal components. PCA is not an application of the SVD so much as the same picture wearing the clothes of statistics.
10 Kernel methods: the two Gram matrices
§2.6 noticed that a matrix A carries two symmetric companions: , living in the input space, and , living in the output space, sharing their nonzero eigenvalues . That duality is not a curiosity — it is the engine of the kernel trick, the idea that lets a method reach into a vast feature space while computing only in a small one.
Suppose each data point x is lifted into a high-dimensional feature vector , and stack these as the rows of a matrix : n points (rows), d features (columns), with d possibly enormous. Principal component analysis in feature space wants the eigenvectors of the matrix — unusable if d is a million, or infinite. But the duality says the eigenvalues are shared with the matrix
whose entries are just the pairwise inner products of the lifted points, and whose eigenvectors map to the feature-space ones through . So one diagonalizes the matrix instead of the one — kernel PCA — and never touches the giant feature space directly. When there are fewer samples than features, this is the difference between possible and impossible.
Notice what kernel PCA is really doing: it is running the proof of the duality, not merely quoting its conclusion. §2.6 did not just observe that and share a spectrum — it exhibited the map between their eigenframes, carrying an eigenvector of one to an eigenvector of the other by applying (there, A) and rescaling. Kernel PCA executes exactly that transport: it finds the eigenvectors of the small K and pushes them through to recover the feature-space principal components it could never have computed directly. The argument that proved the two matrices are two ends of one map is, step for step, the algorithm.
Where the SVD's contribution stops. The duality explains why working with the small matrix K suffices — same spectrum, recoverable eigenvectors. It does not explain the other half of the trick: that the inner product can often be computed by a cheap formula
Eq 9.2
Eq 10.1
without ever forming — the Gaussian kernel evaluates an inner product in an infinite-dimensional space in one line. That the cheap formula corresponds to a genuine feature space is a separate theorem (Mercer’s, on positive-definite kernels), and it belongs to analysis, not to the linear algebra of Part I. The SVD supplies the dimension-dodge; Mercer supplies the cheap evaluation. Both are needed, and they are different ideas.
11 Gradient descent and the power method
Part I found the top singular direction by maximizing over the unit sphere, and derived the optimality condition . Read that condition again with an optimizer's eye. The gradient of is , and the eigenvector equation says exactly that this gradient points along — it has no component tangent to the sphere. There is nowhere left to climb. The eigenvector equation is the stopping condition of gradient ascent, and Part I's construction was, without saying so, a description of where an optimizer comes to rest.
And it is the same proof, not just the same statement. The heart of Part I's variational step was the lemma that at the maximizer, for every — the images of all competing directions are orthogonal to . That is precisely the assertion that the gradient has no component along any tangent direction : the lemma's "no direction improves the stretch" and the optimizer's "the gradient is tangentially zero" are one computation written twice. So an optimizer descending this landscape is not merely finding the same answer as Part I — it is re-running the maximality lemma, its every step of not being able to improve corresponding to a step of the proof.
This is not merely an analogy; it is how large singular value decompositions are actually computed. Rather than form and diagonalize it — impossible for a web-scale matrix — one climbs: start from a random , repeatedly apply and renormalize (the power method), and the iterate converges to . Peel it off and repeat for , exactly Part I's maximize-then-recurse recursion, now run numerically. The neural version, Oja's rule, is stochastic gradient ascent on the same objective and was one of the early bridges between optimization and unsupervised learning: a single neuron trained by it extracts the first principal component.
Where the SVD's contribution stops. That gradient ascent converges to the right answer is not automatic. Maximizing on the sphere is a non-convex problem with a critical point at every eigenvector; the method finds the global maximum only because the landscape is benign — the non-maximal critical points are saddles the iteration slides off, a property that has to be proved, not assumed. And the fashionable claim that “neural networks do SVD by gradient descent” should be handled with care: it is a precise theorem for deep linear networks, whose training dynamics learn the singular directions of the input–output correlation in order of decreasing (echoing Part I’s descending recursion), but it is not a statement about nonlinear networks in general. The clean connection is to the optimization landscape and the linear case; beyond that it is inspiration, not theorem.
12 Low-rank approximation: keeping the largest
Truncate the decomposition: keep the largest singular values and their vectors, discard the rest. The result is a rank- matrix, and the remarkable fact — the Eckart–Young theorem — is that it is the best rank-k approximation of A there is: no other rank-k matrix comes closer, in either the spectral or the Frobenius norm. The error is exactly the largest discarded singular value,
This is Part I's geometry read as compression: the singular values, sorted, rank the directions of A by importance, so keeping the top few keeps as much of A as any rank-k object can. It is the mathematical core of image compression, noise filtering (small are often noise), latent semantic analysis, recommender-system factorization (users and items as low-rank factors), and the low-rank adapters now used to fine-tune large models. In each, the SVD does not merely offer a compression — it offers the provably optimal one.
Where the SVD's contribution stops. Optimality is with respect to a particular measure of error — the spectral or Frobenius norm, which weight all entries alike. When the application cares about something else (missing entries, non-negativity, sparsity, a probabilistic likelihood), the plain SVD truncation is no longer the right answer, and its relatives — non-negative matrix factorization, probabilistic PCA, matrix completion — take over. The SVD is optimal for the question "closest rank-k matrix in Euclidean norm," and knowing that is knowing exactly when to reach for it and when not to.
13 Eigenvectors of a graph: PageRank and spectral clustering
The same machinery that finds the axes of an ellipsoid finds structure in a network, once the network is written as a matrix. Two examples, both resting on an eigenvector of a graph.
PageRank ranks web pages by importance, where a page is important if important pages link to it — a circular definition that resolves into an eigenvector equation. Encode the link structure as a column-stochastic matrix (column spreads page 's vote evenly over the pages it links to). The importance vector is the one unchanged by the process, : the dominant eigenvector of . And it is found by precisely the power method of §11 — start with uniform importance, apply repeatedly, converge. PageRank is the maximize-and-settle idea of Part I, run on the web.
Spectral clustering splits data into groups by building a graph of similarities, forming its Laplacian (degrees minus weights), and reading off the eigenvector of L with the second-smallest eigenvalue — the Fiedler vector. Its signs partition the graph into two well-separated pieces. The eigenvector exists, is orthogonal to the trivial all-ones eigenvector, and extremizes a meaningful quantity (it minimizes a relaxed cut) for exactly the reasons Part I laid out: it is the extremal direction of a symmetric matrix.
Where the SVD's contribution stops. The spectral machinery guarantees that the eigenvectors exist, are orthogonal, and solve an extremal problem — the content of Part I, applied to a graph matrix. What it does not decide is the modeling step that came first: how to turn pages into a stochastic matrix, or similarities into a Laplacian. Those choices — which similarity, which normalization, how many clusters — are where the domain judgment lives, and the eigenvector computation is only as good as the matrix it is handed. The SVD supplies the "how"; the graph construction is the "what," and it is not the SVD's to give.
Eq 12.1
A pattern in what recurred
Look back at what carried over from Part I. It was rarely a bare fact. The maximize-then-recurse construction reappeared as the power method and as PageRank; the lemma that the maximizer's gradient vanishes tangentially reappeared as an optimizer's stopping rule; the proof that two Gram matrices are two ends of one map reappeared as the transport at the center of kernel PCA. In each case the object that transferred was an argument — a sequence of steps first walked to establish that something is true — now walked again to compute it, or to run it. Not every proof came along: the sign-flip that opened Part I, the prettiest argument in it, has no descendant here; it is a way of seeing that the frame exists, not a way of finding it. What the recurrences have in common, and what that one lacks, is left for the reader to weigh.
14 Summary
A is completely described by which orthonormal input frame goes to which orthonormal output frame, and by how much each direction stretches. The SVD's claim is that such frames always exist.
Linearity means any basis determines A — that is not what makes the SVD special. What makes the V-basis special is that in it the action is diagonal: feed in , get out pure , scaled. Feed in any other basis and the images tangle together in a way that hides the geometry. Same information, worse presentation.
That was Part I: a frame found by watching an ellipse, a theorem earned rather than assumed. Part II spent it, and the spending revealed the article's real subject. The maximize-and-recurse construction was not left behind on the page once the SVD was proved — it walked off to become the power method, PageRank, the training of a principal-component neuron. The little lemma about where a stretch is maximal became the condition an optimizer halts on. The observation that and are two ends of one map became the trick that lets a kernel method reach into a space it cannot afford to enter. What looked like an island of geometry — circles, ellipses, a rotating frame — turned out to be the mainland: the structure quietly running tools that a working data scientist uses without a second thought.
The lesson underneath, never argued but repeatedly shown, is that a proof is not only a certificate that something is true. It is a procedure — a route walked once to establish a fact, and available to be walked again to compute it. Understand the route, and you understand the algorithm; and the same understanding recognizes it the next time it appears wearing different clothes. That is the case for meeting a piece of mathematics like this one all the way down to its proofs, rather than importing it as a name and a library call.
15 Sources and prior art
None of the mathematics here is new. The contribution, if any, is one of arrangement: a path of discovery assembled from standard pieces, with the powerful theorem placed at the end as a name for what the geometry already built rather than as an assumption at the start. This section says plainly where each piece comes from.
The classical results. The picture of a matrix carrying the unit sphere to an ellipsoid, with the singular values as semi-axis lengths, is the standard geometric introduction to the SVD; it is the opening of Trefethen and Bau's Numerical Linear Algebra [1], whose Lecture 4 this article's §4 follows. The variational construction of §2.4 — maximize , then recurse on the orthogonal complement — is also theirs, and is the proof of existence given in most graduate texts. The route through the spectral theorem applied to (§2.5), and the polar decomposition read off from it (§8), are presented exactly this way in Axler's Linear Algebra Done Right [2], where the SVD appears as a consequence of the spectral theorem and leads directly to the polar form. The computational origin of the subject — how one actually calculates an SVD — is Golub and Kahan [3]; the early history is surveyed by Stewart [4]. The four-fundamental-subspaces framing used in §4 is Strang's [5].
The closest relative. The organizing conceit of this article — adjust a perpendicular frame until its images are also perpendicular, and that configuration is the SVD — appears, in interactive form, in Heath's Interactive Educational Modules in Scientific Computing [6, 7]. That module places candidate singular vectors on the image ellipse and lets the reader drag them until the frame is orthogonal in both spaces at once, displaying the resulting U, , V. It is the same equivalence, driven from the image side rather than the domain side, and it stops at two-dimensional visualization: it lets one find the surviving frame but does not argue that one must exist, and does not carry the construction to higher dimensions. The existence argument of §2 and the recursion of §2.4 are what this article adds on top of that shared starting point.
The gap this fills. Tomasi’s widely used notes [8] state the central observation directly — the two pairs of points on the unit circle mapping to the ends of the ellipse’s axes “are always orthogonal” — and then remark that “simple and fundamental as this geometric fact may be, its proof by geometric means is cumbersome,” and prove it algebraically instead. This article is, in effect, the geometric proof Tomasi declines to give: the sign-flip argument of §2.1 is the missing elementary reason the axis-preimages are perpendicular, and the identity of §2.4 is what ties that perpendicularity to the extremal stretch that the algebraic proofs start from. Neither is deep, and neither is new in substance; but stating them, and staging the whole development so the spectral theorem is earned rather than assumed, is the point of the exercise.
This is not a survey. The literature on the SVD is vast, and the references above are entry points chosen for their relevance to the particular path taken here, not a representative sample of the field.
References
[1] L. N. Trefethen and D. Bau III, Numerical Linear Algebra, SIAM, Philadelphia, 1997.
[2] S. Axler, Linear Algebra Done Right, 4th ed., Undergraduate Texts in Mathematics, Springer, Cham, 2024.
[3] G. Golub and W. Kahan, Calculating the singular values and pseudo-inverse of a matrix, J. Soc. Indust. Appl. Math. Ser. B: Numer. Anal. 2 (1965), 205–224.
[4] G. W. Stewart, On the early history of the singular value decomposition, SIAM Review 35 (1993), 551–566.
[5] G. Strang, Linear Algebra and Learning from Data, Wellesley–Cambridge Press, Wellesley, MA, 2019.
[6] M. T. Heath, Scientific Computing: An Introductory Survey, revised 2nd ed., Classics in Applied Mathematics, SIAM, Philadelphia, 2018.
[7] M. T. Heath et al., Interactive Educational Modules in Scientific Computing, University of Illinois at Urbana–Champaign. https://heath.cs.illinois.edu/iem/
[8] C. Tomasi, Singular Value Decomposition, lecture notes, Department of Computer Science, Duke University.
All numerical values in this document were computed with NumPy's.linalg.svd and verified against the defining properties ( , , ).