Linear-Algebra-Done-Right Β· Unit 21 Β· Video 2 Β· Interactive Practice

Singular Value Decomposition: Rank, Isometries, Proof

IKey Formulas

FormulaNameWhat it decides
TT injective β€…β€ŠβŸΊβ€…β€Š0\iff 0 is not a singular value of TTInjectivity testLook for a zero in the list
dim⁑range⁑T=#{k:sk>0}\dim \operatorname{range} T = \#\{k : s_k > 0\}Rank countTT is surjective β€…β€ŠβŸΊβ€…β€Š\iff this count =dim⁑W= \dim W
SS isometry β€…β€ŠβŸΊβ€…β€Š\iff every singular value of SS equals 11Isometry testEvery entry counts, zeros included
Tv=s1⟨v,e1⟩f1+β‹―+sm⟨v,em⟩fmTv = s_1\langle v, e_1\rangle f_1 + \cdots + s_m\langle v, e_m\rangle f_mSingular value decompositionTβˆ—Tek=sk2ekT^*Te_k = s_k^2 e_k and fk=Tek/skf_k = Te_k / s_k

Key Insight: every linear map is a sum of simple pieces sk⟨v,ek⟩fks_k\langle v, e_k\rangle f_k: measure vv along eke_k, scale by sks_k, point along fkf_k.

IIVisualization 1 β€” What the List Decides

The list of singular values alone settles the rank, injectivity, surjectivity and whether TT is an isometry.

IIIVisualization 2 β€” The Unit Circle Becomes an Ellipse

The SVD sends the unit circle onto an ellipse whose half-axes are s1f1s_1 f_1 and s2f2s_2 f_2.

IVVisualization 3 β€” Building the Two Lists

Both orthonormal lists come from Tβˆ—TT^*T: its eigenvectors are the eke_k, and fk=Tek/skf_k = Te_k / s_k.

Step 1 Β· Eigenvectors of Tβˆ—TT^*T

Tβˆ—T=(3405)(3045)=(25202025)T^*T = \begin{pmatrix} 3 & 4 \\ 0 & 5 \end{pmatrix}\begin{pmatrix} 3 & 0 \\ 4 & 5 \end{pmatrix} = \begin{pmatrix} 25 & 20 \\ 20 & 25 \end{pmatrix} Tβˆ—Te1=45 e1,Tβˆ—Te2=5 e2,e1=12(1,1),Β e2=12(1,βˆ’1)T^*Te_1 = 45\,e_1, \quad T^*Te_2 = 5\,e_2, \qquad e_1 = \tfrac{1}{\sqrt{2}}(1, 1), \ e_2 = \tfrac{1}{\sqrt{2}}(1, -1)

VQuiz Questions

Problem 1 Β· Read the List

Given: T∈L(F5,F3)T \in \mathcal{L}(\mathbf{F}^5, \mathbf{F}^3) has singular values 44, 22, 22, 00, 00. Which statement is true?

βœ… Correct! Three positive singular values give dim⁑range⁑T=3=dim⁑F3\dim \operatorname{range} T = 3 = \dim \mathbf{F}^3, and the zeros mean TT is not injective.
❌ Not quite. 00 appears in the list, so TT is not injective: null⁑Tβˆ—T=null⁑T\operatorname{null} T^*T = \operatorname{null} T is nonzero.
❌ Close, but… surjectivity compares the number of positive singular values, 33, with dim⁑W=3\dim W = 3, not with the length of the list.
❌ Not quite. Count the positive singular values and compare with dim⁑W\dim W; look for a zero to test injectivity.
Show solution

Injectivity: 00 is a singular value of TT, so TT is not injective. In fact dim⁑null⁑T=5βˆ’3=2\dim \operatorname{null} T = 5 - 3 = 2, matching the two zeros.

Surjectivity: the positive singular values are 4,2,24, 2, 2, so

dim⁑range⁑T=#{k:sk>0}=3=dim⁑F3,\dim \operatorname{range} T = \#\{k : s_k > 0\} = 3 = \dim \mathbf{F}^3,

and a subspace of F3\mathbf{F}^3 of dimension 33 is all of F3\mathbf{F}^3. So TT is surjective but not injective.

Problem 2 Β· Every Entry Counts

Given: PP is the orthogonal projection of R3\mathbf{R}^3 onto a plane through the origin. Its singular values are 11, 11, 00. Is PP an isometry?

βœ… Correct! An isometry needs all singular values equal to 11; the 00 fails that, and a nonzero vector uu with Pu=0Pu = 0 has βˆ₯Puβˆ₯=0β‰ βˆ₯uβˆ₯\|Pu\| = 0 \ne \|u\|.
❌ Close, but… the theorem asks for all singular values to equal 11, zeros included. The 00 means PP kills a nonzero vector.
❌ Not quite. The theorem says exactly that the singular values decide it: SS is an isometry β€…β€ŠβŸΊβ€…β€Š\iff every singular value equals 11.
❌ Not quite. Being an isometry means Pβˆ—P=IP^*P = I, not merely that Pβˆ—PP^*P is positive. Here Pβˆ—P=Pβ‰ IP^*P = P \ne I.
Show solution

SS is an isometry β€…β€ŠβŸΊβ€…β€ŠSβˆ—S=Iβ€…β€ŠβŸΊβ€…β€Š\iff S^*S = I \iff every eigenvalue of Sβˆ—SS^*S equals 1β€…β€ŠβŸΊβ€…β€Š1 \iff every singular value of SS equals 11.

For the projection, Pβˆ—P=P2=PP^*P = P^2 = P has eigenvalues 1,1,01, 1, 0, so the singular values are 1,1,01, 1, 0. The last one is not 11, so PP is not an isometry. Concretely, a unit normal uu to the plane has Pu=0Pu = 0, so βˆ₯Puβˆ₯=0β‰ 1=βˆ₯uβˆ₯\|Pu\| = 0 \ne 1 = \|u\|.

Problem 3 Β· Build the Decomposition

Given: T∈L(R2)T \in \mathcal{L}(\mathbf{R}^2), T(x,y)=(2x+2y,Β xβˆ’y)T(x, y) = (2x + 2y,\ x - y). Find its singular values and the vector f1f_1 of its SVD.

What are the singular values?

With e1=12(1,1)e_1 = \tfrac{1}{\sqrt{2}}(1, 1), what is f1f_1?

βœ… Correct! s1=22s_1 = 2\sqrt{2}, s2=2s_2 = \sqrt{2}, f1=(1,0)f_1 = (1, 0) and f2=(0,1)f_2 = (0, 1), so Tv=22⟨v,e1⟩f1+2⟨v,e2⟩f2Tv = 2\sqrt{2}\langle v, e_1\rangle f_1 + \sqrt{2}\langle v, e_2\rangle f_2.
❌ Close, but… 88 and 22 are the eigenvalues of Tβˆ—TT^*T. The singular values are their square roots.
❌ Not quite. 5\sqrt{5} is the length of each column of the matrix, the square root of a diagonal entry of Tβˆ—TT^*T, not of an eigenvalue.
❌ Not quite. Those are the absolute values of the eigenvalues of TT itself. Singular values come from the eigenvalues of Tβˆ—TT^*T.
❌ Not quite. Compute Tβˆ—TT^*T, find its eigenvalues and take square roots.
❌ Not quite. f1f_1 lives in the target and is usually not e1e_1: it is Te1/s1Te_1 / s_1.
❌ Close, but… that is Te1Te_1 itself, of length s1=22s_1 = 2\sqrt{2}. Divide by s1s_1 to get a unit vector.
❌ Not quite. (0,1)(0, 1) is f2=Te2/s2f_2 = Te_2 / s_2. Use f1=Te1/s1f_1 = Te_1 / s_1.
Show solution

Step 1: with the matrix (221βˆ’1)\begin{pmatrix} 2 & 2 \\ 1 & -1 \end{pmatrix},

Tβˆ—T=(212βˆ’1)(221βˆ’1)=(5335).T^*T = \begin{pmatrix} 2 & 1 \\ 2 & -1 \end{pmatrix}\begin{pmatrix} 2 & 2 \\ 1 & -1 \end{pmatrix} = \begin{pmatrix} 5 & 3 \\ 3 & 5 \end{pmatrix}.

Step 2: (1,1)(1, 1) is an eigenvector with eigenvalue 88 and (1,βˆ’1)(1, -1) one with eigenvalue 22, so e1=12(1,1)e_1 = \tfrac{1}{\sqrt{2}}(1, 1), e2=12(1,βˆ’1)e_2 = \tfrac{1}{\sqrt{2}}(1, -1) and

s1=8=22,s2=2.s_1 = \sqrt{8} = 2\sqrt{2}, \qquad s_2 = \sqrt{2}.

Step 3: Te1=12(4,0)Te_1 = \tfrac{1}{\sqrt{2}}(4, 0), so

f1=Te1s1=122β‹…12(4,0)=(1,0).f_1 = \frac{Te_1}{s_1} = \frac{1}{2\sqrt{2}} \cdot \frac{1}{\sqrt{2}}(4, 0) = (1, 0).

Likewise Te2=12(0,2)Te_2 = \tfrac{1}{\sqrt{2}}(0, 2) gives f2=(0,1)f_2 = (0, 1), and f1,f2f_1, f_2 is orthonormal, as the proof guarantees.

Problem 4 Β· From the Decomposition Back to the List

Given: T∈L(F6,F4)T \in \mathcal{L}(\mathbf{F}^6, \mathbf{F}^4) satisfies Tv=7⟨v,e1⟩f1+3⟨v,e2⟩f2+⟨v,e3⟩f3Tv = 7\langle v, e_1\rangle f_1 + 3\langle v, e_2\rangle f_2 + \langle v, e_3\rangle f_3 for all vv, with e1,e2,e3e_1, e_2, e_3 orthonormal in F6\mathbf{F}^6 and f1,f2,f3f_1, f_2, f_3 orthonormal in F4\mathbf{F}^4. Find the list of singular values of TT and dim⁑null⁑T\dim \operatorname{null} T.

βœ… Correct! The positive singular values are 7,3,17, 3, 1; the list has length dim⁑F6=6\dim \mathbf{F}^6 = 6, and dim⁑null⁑T=6βˆ’3=3\dim \operatorname{null} T = 6 - 3 = 3. So TT is neither injective nor surjective.
❌ Not quite. The list of singular values has length dim⁑V=6\dim V = 6, the dimension of the domain, not dim⁑W=4\dim W = 4.
❌ Close, but… the SVD shows only the positive singular values. Zeros fill the list up to length dim⁑V=6\dim V = 6, and they record the null space.
❌ Close, but… 4βˆ’34 - 3 uses dim⁑W\dim W. Rank–nullity uses the domain: dim⁑null⁑T=dim⁑Vβˆ’dim⁑range⁑T\dim \operatorname{null} T = \dim V - \dim \operatorname{range} T.
Show solution

In an SVD the coefficients sks_k are the positive singular values, so they are 7,3,17, 3, 1 and m=3=dim⁑range⁑Tm = 3 = \dim \operatorname{range} T.

The full list has length dim⁑F6=6\dim \mathbf{F}^6 = 6, so three zeros follow: 7,3,1,0,0,07, 3, 1, 0, 0, 0.

By rank–nullity, dim⁑null⁑T=6βˆ’3=3\dim \operatorname{null} T = 6 - 3 = 3, matching the three zeros. Since 3<4=dim⁑W3 \lt 4 = \dim W, TT is not surjective, and since 00 is in the list, TT is not injective.

Solved: 0 / 4