Skip to main content

Singular Value Decomposition

  • Situation: Orthogonal directions and independent stretches
  • Learning targets: SVD · Construction · Rank and inverse
  • Convention: Declared field ℝ or ℂ; column vectors; rightmost matrix first; dimensionless data unless units stated · Finite-dimensional inner product spaces; first slot linear, second conjugate-linear; standard inner product for numerical examples

Core concepts​

  • SVD: every real/complex m×n matrix A=UΣV*; U,V unitary, Σ rectangular diagonal with nonnegative singular values
A circle transformed by an orthogonal change of input directions, axis scaling, and an orthogonal change of output directions
Figure 1. Orthogonal directions and independent stretches
  • Construction: A*Avᵢ=σᵢ²vᵢ; for σᵢ>0, uᵢ=Avᵢ/σᵢ; zero directions handled without division
An ellipse with principal axes labeled by singular values
Figure 2. Singular values and retained directions
  • Rank and inverse: rank as positive singular-value count; kernel from zero right-singular directions; A†=VΣ†U*

  • Low-rank approximation: retain k largest singular terms; optimal spectral error σₖ₊₁ and Frobenius error √Σᵢ₍>ₖ₎σᵢ²; ties allowing nonuniqueness

  • Interpretation: right singular directions as input axes, left directions as output axes; PCA on centered data; small σ amplifying inverse noise

Worked example​

u=(1,1,0)T,v=(1,0,1)T,U={(x,y,z)T:x−y−z=0},e3=(0,0,1)Tu=(1,1,0)^T,\quad v=(1,0,1)^T,\quad U=\{(x,y,z)^T:x-y-z=0\},\quad e_3=(0,0,1)^T b=(2,0,1)T,n=(1,−1,−1)T,C=[u v],H=CTC=[2112]b=(2,0,1)^T,\quad n=(1,-1,-1)^T,\quad C=[u\ v],\quad H=C^TC=\begin{bmatrix}2&1\\1&2\end{bmatrix} q1=u/2,q2=(1,−1,2)T/6,Q0=[q1 q2],P=I−nnT/3q_1=u/\sqrt2,\quad q_2=(1,-1,2)^T/\sqrt6,\quad Q_0=[q_1\ q_2],\quad P=I-nn^T/3 s1=(1,1)T/2,s2=(1,−1)T/2s_1=(1,1)^T/\sqrt2,\quad s_2=(1,-1)^T/\sqrt2 σ1=3,σ2=1,f1=(2,1,1)T6,f2=(0,1,−1)T2,C=3f1s1T+f2s2T\sigma_1=\sqrt3,\quad \sigma_2=1,\quad f_1=\frac{(2,1,1)^T}{\sqrt6},\quad f_2=\frac{(0,1,-1)^T}{\sqrt2},\quad C=\sqrt3f_1s_1^T+f_2s_2^T

Practice​

  • Preparation: Paper or calculator; example inputs and ordered bases; exercise cases below as the calculation dataset
  • Prediction: Result, dimensions and applicable conditions before calculation
  • Calculation: First two exercises by hand → substitution into defining equations → exact and rounded checks separately
  • Record: Assumed inputs and calculated results; no physical measurements; optional software output recorded separately
  • Next step: Inputs, basis order and checked identities retained for the next chapter
CasePredictionExact result and reasonSoftware check
Cs1, Cs2C s_1,\ C s_2
C†bC^\dagger b
  • Optional extension: One changed input or removed hypothesis → recalculation → comparison of the conclusion

Exercises​

  1. Problem: Cs1, Cs2C s_1,\ C s_2
  2. Problem: C†bC^\dagger b
  3. Problem: C1=3f1s1T: ∥C−C1∥2, ∥C−C1∥FC_1=\sqrt3 f_1s_1^T:\ \|C-C_1\|_2,\ \|C-C_1\|_F
Answers and checks
  1. Answer: 3f1, f2\sqrt3 f_1,\ f_2
  2. Answer: s1f1Tb3+s2(f2Tb)=(1/3,4/3)Ts_1\frac{f_1^Tb}{\sqrt3}+s_2(f_2^Tb)=(1/3,4/3)^T
  3. Answer: 1,11,\quad1

Connections​