#L09 · Linear Algebra & Manifolds · Lv.5View in 3D Mind-Map

Singular Value Decomposition (SVD) & PCA

Beltrami, Jordan, Eckart & Young · 1936 CE

A=UΣVT=∑i=1rσiuiviTA = U\Sigma V^T = \sum_{i=1}^{r} \sigma_i \mathbf{u}_i \mathbf{v}_i^T
ATAvi=σi2vi,Energy(k)=∑i=1kσi2∑j=1rσj2A^T A \mathbf{v}_i = \sigma_i^2 \mathbf{v}_i,\quad \text{Energy}(k) = \frac{\sum_{i=1}^k \sigma_i^2}{\sum_{j=1}^r \sigma_j^2}

Factorizes any m×n matrix into orthogonal rotation Vᵀ, diagonal singular values Σ, and rotation U—powering PCA dimensionality reduction, image compression, and LLM LoRA fine-tuning.

🧮 Live Formula Calculator & Plotter
1st Singular σ₁
2nd Singular σ₂
3rd Singular σ₃
Rank-1 Energy=102102+42+12=85.5%\text{Rank-1 Energy} = \frac{10^2}{10^2+4^2+1^2} = 85.5\%
Rank-1 에너지 보존율
85.47%
Rank-2 누적 보존율
99.15%
프로베니우스 노름 ||A||_F
10.817
σ₁²85.5σ₂²13.7σ₃²0.9

Prerequisite Path (19 STEP)

Full Path Analyzer

Click steps in order to follow the 3D neon path from basics to target.

STEP 1#G01Pythagorean Theorem
STEP 2#G03Pi, Radian Measure & Circular Sector
STEP 3#A02Polynomial Expansion & Factoring
STEP 4#A03Laws of Exponents & Radicals
STEP 5#L01Vector Operations, L1/L2 Norms & Normalization
STEP 6#A01Linear Equation & Balance Axiom
STEP 7#G022D/3D Euclidean Distance Formula
STEP 8#L033D Cross Product & Surface Normal Vector
STEP 9#G05Law of Sines & Law of Cosines
STEP 10#G04Unit Circle Trigonometry & Identities
STEP 11#A04Quadratic Formula & Discriminant
STEP 12#A05Vieta's Formulas (Roots & Coefficients)
STEP 13#L02Dot Product & Cosine Similarity
STEP 14#L04Matrix Multiplication & Linear Transformation
STEP 15#G06Trigonometric Addition & Double-Angle Formulas
STEP 16#L05Determinant & Matrix Inverse
STEP 17#L072D/3D Rotation Matrix & Orthogonal Group SO(3)
STEP 18#L08Eigenvalues & Eigenvectors (Av = λv)
STEP 19#L09Singular Value Decomposition (SVD) & PCA

Geometric & Intuitive Insight

수백만 화소의 사진이나 거대한 AI 가중치 행렬에서 가장 큰 특이값 σ₁, σ₂ 몇 개만 남기고 작은 특이값들을 버려도(Low-Rank Approximation), 원본 정보의 95% 이상이 그대로 보존되면서 용량은 1/10로 줄어듭니다!

Step-by-Step Derivation

  1. Step 1.1단계: 임의의 m×n 행렬 A에 대해 대칭행렬 A^T A 의 고윳값 λ_i ≥ 0 와 직교 고유벡터 v_i 를 구합니다.
  2. Step 2.2단계: 특이값을 σ_i = √λ_i 로 정의하고, u_i = (1/σ_i) A v_i 로 좌특이벡터를 구성합니다.
  3. Step 3.3단계: 이를 행렬로 묶으면 AV = UΣ 가 되고, V가 직교행렬(V⁻¹=V^T)이므로 A = UΣV^T 가 완성됩니다.

AI & Coding Real-World Use

LLM Low-Rank Adaptation (LoRA), PCA dimensionality reduction, recommender systems, and image compression

#LLM LoRA Fine-Tuning#PCA Dimensionality#Recommender System
const explainedRatio = (s1:number, s2:number, s3:number) => (s1*s1) / (s1*s1 + s2*s2 + s3*s3);

Linear Algebra & Manifolds — Related Formulas in This Cluster