Before diving into advanced matrix factorizations like Eigenvalue Decomposition and Singular Value Decomposition, we must build a strong foundation in essential matrix operations.
Matrix Inverse: For a square matrix A∈Rn×n, its multiplicative inverse A−1 is a unique matrix such that multiplying A by A−1 (in either order) yields the identity matrix I. If A−1 exists, A is called invertible or non-singular.
Diagonal Matrix: A square matrix Σ∈Rn×n is called diagonal if all entries off the main diagonal are zero. That is, Σij=0 whenever i=j.
Key Points
Inverse Properties
Uniqueness / Inverse Definition: If BA=I, then B is uniquely the left and right inverse of A, meaning B=A−1 and AB=I.
Product Inverse (Reversal Rule): The inverse of a product of multiple invertible matrices is the product of their inverses in reverse order:
(ABC)−1=C−1B−1A−1
Why it works:
(ABC)(C−1B−1A−1)=AB(CC−1)B−1A−1=A(BB−1)A−1=AA−1=I
Involution: Taking the inverse twice restores the original matrix:
(A−1)−1=A
Transpose and Inverse Commutativity: The operations of transposition and inversion commute:
(A−1)T=(AT)−1
Scalar Multiplication: For any non-zero scalar α=0:
(αA)−1=α1A−1
2×2 Explicit Inverse Formula: For A=[acbd], the inverse exists if and only if det(A)=ad−bc=0:
A−1=det(A)1[d−c−ba]
Diagonal Matrix Properties
Identity Matrix: An identity matrix In is a special diagonal matrix where all diagonal elements equal 1.
Matrix Powers: Computing powers of a diagonal matrix requires taking powers of individual diagonal entries directly:
[d100d2]k=[d1k00d2k]
Diagonal Inversion: A diagonal matrix is invertible if and only if all diagonal entries are non-zero:
[d100d2]−1=[d1−100d2−1]
Symmetry under Transposition: Every diagonal matrix is equal to its transpose:
DT=D
Mathematical Formula
Multi-Matrix Inverse Rule
(ABC)−1=C−1B−1A−1
A,B,C: Invertible matrices of dimension n×n.
2×2 Inverse Matrix Formula
[acbd]−1=ad−bc1[d−c−ba]
a,b,c,d: Real scalar entries of matrix A.
det(A)=ad−bc: Determinant of A. Must be non-zero for A−1 to exist.
Step-by-Step Explanation
Let us systematically simplify algebraic expressions containing matrix transpose and inverse operators.
Fundamental Matrix Rules
Transpose of a product: (XY)T=YTXT.
Transpose of a sum: (X+Y+Z)T=XT+YT+ZT.
Inverse of an orthonormal matrix: If U and V have orthonormal columns (UTU=I), then U−1=UT and V−1=VT.
Example 1
Verify algebraic properties of transpose and inverse on given symbolic expressions. Assume U and V are orthogonal matrices (UT=U−1 and VT=V−1), and Σ is diagonal (ΣT=Σ).
Simplify the following expressions:
(A+B+C)T
(UTV)T
(UΣVT)T
((U−1ΣVT)T)−1
Solution:
1. Expand (A+B+C)T:
Applying the additive property of transposes:
(A+B+C)T=AT+BT+CT
2. Expand (UTV)T:
Applying the product rule (XY)T=YTXT where X=UT and Y=V:
(UTV)T=VT(UT)T=VTU
3. Expand (UΣVT)T:
Applying the reversal rule for transposes on three matrices:
(UΣVT)T=(VT)TΣTUT
Since (VT)T=V and ΣT=Σ:
(UΣVT)T=VΣUT
4. Simplify ((U−1ΣVT)T)−1:
First, apply the inner transpose operation using the product reversal rule:
(U−1ΣVT)T=(VT)TΣT(U−1)T=VΣ(UT)−1
Now, take the overall inverse of VΣ(UT)−1 using the inverse product reversal rule (XYZ)−1=Z−1Y−1X−1:
((UT)−1)−1Σ−1V−1
Simplify each term:
((UT)−1)−1=UT
V−1=VT (since V is orthogonal)
Thus:
((U−1ΣVT)T)−1=UTΣ−1VT
Example 2
Given the concrete matrices:
A=[1237],B=[2038]
Verify the product inverse identity (AB)−1=B−1A−1.
Robotics Kinematics: Inverting transformation matrices allows computing inverse kinematics (finding joint angles required to position a robot arm at a specific coordinate).
Computer Graphics: Transformation pipelines rely on reversing sequence operations (Scale → Rotate → Translate) by multiplying inverses in reverse order.
Common Mistakes
Incorrect Inverse Multiplication Order: Writing (AB)−1=A−1B−1 instead of B−1A−1. Matrix multiplication is non-commutative (AB=BA), so the order must reverse.
Inverting non-diagonal elements directly: Assuming an arbitrary matrix can be inverted by replacing every element aij with 1/aij. This property holds only for diagonal matrices.
Exam Notes
Determinant Check: Before finding A−1, compute det(A). If det(A)=0, stop immediately—the inverse does not exist.
2×2 Quick Rule: Swap diagonal elements, change signs of off-diagonal elements, and divide by determinant.
Reversal Rules:
(AB)T=BTAT
(AB)−1=B−1A−1
Eigenvalue Decomposition (EVD)
Eigen Decomposition Architecture A (Square Matrix, n x n) │ ▼ V Σ V⁻¹ │ │ │ │ │ └── Inverse Eigenvector Matrix │ └───── Diagonal Eigenvalue Matrix (λ₁, λ₂, ..., λₙ) └─────── Eigenvector Column Matrix [v₁ | v₂ | ... | vₙ]
Definition
Eigenvalue Decomposition (EVD)—also known as matrix diagonalization—is the process of factoring a square matrix A∈Rn×n into a specific product of three matrices:
A=VΣV−1
where:
V is an n×n matrix whose columns are linearly independent eigenvectors of A.
Σ (or Λ) is an n×n diagonal matrix containing the corresponding eigenvalues along its main diagonal.
V−1 is the matrix inverse of V.
A matrix A is diagonalizable if and only if it possesses n linearly independent eigenvectors.
Key Points
The Eigenvalue Equation: By definition, an eigenvector vi and eigenvalue λi satisfy Avi=λivi.
Matrix Form Derivation: Stacking all vector equations side-by-side yields:
Find Eigenvalues: Solve the characteristic equation:
det(A−λI)=0
This produces an n-th degree characteristic polynomial whose roots are the eigenvalues λ1,λ2,…,λn. 2. Find Eigenvectors: For each eigenvalue λi, solve the homogeneous linear system:
(A−λiI)vi=0
Find the basis vectors for the null space Nul(A−λiI). 3. Check Diagonalizability: Ensure you have found n total linearly independent eigenvectors. If the geometric multiplicity (number of independent eigenvectors) equals the algebraic multiplicity for all eigenvalues, A is diagonalizable. 4. Construct V, Σ, and V−1:
Place eigenvectors as columns in V=[v1v2…vn].
Place eigenvalues along the diagonal of Σ in the matching column order.
Calculate V−1.
Example 1: 2×2 Non-Symmetric Matrix
Perform Eigenvalue Decomposition on matrix A:
A=[4123]
Solution:
Step 1: Find Eigenvalues
Set up the characteristic equation det(A−λI)=0:
det([4123]−λ[1001])=0
4−λ123−λ=0
(4−λ)(3−λ)−(2)(1)=0
12−4λ−3λ+λ2−2=0
λ2−7λ+10=0
Factor the quadratic equation:
(λ−5)(λ−2)=0
Therefore, the eigenvalues are:
λ1=5,λ2=2
Step 2: Find Eigenvectors
For λ1=5:
Solve (A−5I)v1=0:
[4−5123−5][xy]=[00]⟹[−112−2][xy]=[00]
Row reduction yields:
−x+2y=0⟹x=2y
Choosing y=1 gives x=2:
v1=[21]
For λ2=2:
Solve (A−2I)v2=0:
[4−2123−2][xy]=[00]⟹[2121][xy]=[00]
Row reduction yields:
x+y=0⟹x=−y
Choosing y=1 gives x=−1:
v2=[−11]
Step 3: Construct V and Σ
V=[v1v2]=[21−11]
Σ=[λ100λ2]=[5002]
Step 4: Calculate V−1
det(V)=(2)(1)−(−1)(1)=2+1=3
V−1=31[1−112]=[31−313132]
Final EVD Decomposition:
A=VΣV−1=[21−11][5002][31−313132]
Example 2: 2×2 Symmetric Matrix
Perform Eigenvalue Decomposition on matrix A:
A=[2112]
Solution:
Step 1: Find Eigenvalues
det(A−λI)=2−λ112−λ=0
(2−λ)2−(1)(1)=0
(4−4λ+λ2)−1=0⟹λ2−4λ+3=0
Factor the quadratic:
(λ−3)(λ−1)=0⟹λ1=3,λ2=1
Step 2: Find Eigenvectors
For λ1=3:
(A−3I)v1=0⟹[−111−1][xy]=[00]
−x+y=0⟹x=y⟹v1=[11]
For λ2=1:
(A−1I)v2=0⟹[1111][xy]=[00]
x+y=0⟹x=−y⟹v2=[1−1]
Notice that v1⋅v2=(1)(1)+(1)(−1)=0. The eigenvectors are orthogonal because A is symmetric!
Step 3: Construct Decomposition Components
V=[111−1],Σ=[3001]
Find V−1:
det(V)=(1)(−1)−(1)(1)=−2
V−1=−21[−1−1−11]=[212121−21]
Final Answer:
A=VΣV−1=[111−1][3001][212121−21]
Example 3: 3×3 Matrix with Block Structure
Perform Eigenvalue Decomposition on:
A=620230004
Solution:
Step 1: Find Eigenvalues
det(A−λI)=6−λ2023−λ0004−λ=0
Expand along the third row:
(4−λ)6−λ223−λ=0
Evaluate the 2×2 determinant:
(6−λ)(3−λ)−4=18−9λ+λ2−4=λ2−9λ+14=(λ−7)(λ−2)
Entire characteristic equation:
(4−λ)(λ−7)(λ−2)=0
The eigenvalues are:
λ1=7,λ2=2,λ3=4
Step 2: Compute Eigenvectors
For λ1=7:
(A−7I)v1=0⟹−1202−4000−3xyz=000
From the 3rd row: −3z=0⟹z=0.
From the 1st row: −x+2y=0⟹x=2y.
Setting y=1⟹x=2.
v1=210
For λ2=2:
(A−2I)v2=0⟹420210002xyz=000
From the 3rd row: 2z=0⟹z=0.
From the 1st row: 4x+2y=0⟹y=−2x.
Setting x=−1⟹y=2.
v2=−120
For λ3=4:
(A−4I)v3=0⟹2202−10000xyz=000
Equations 2x+2y=0 and 2x−y=0 force x=0 and y=0.
Variable z is free! Setting z=1:
v3=001
Step 3: Construct V and Σ
V=210−120001,Σ=700020004
Step 4: Compute V−1
Notice V is a block matrix with a 2×2 block and a scalar 1:
Differential Equations: Systems of linear differential equations dtdx=Ax are solved using matrix exponentials eAt=VeΣtV−1.
Common Mistakes
Mismatched Column Order: Placing eigenvalue λ1 in the second column of Σ while placing its eigenvector v1 in the first column of V. Columns of V and Σ must correspond exactly.
Assuming Non-Square Matrices can undergo EVD: EVD is defined only for square matrices (n×n).
Confusing Defective Matrices: Assuming every matrix is diagonalizable. Matrices that lack a full set of linearly independent eigenvectors (defective matrices) cannot undergo full EVD.
Exam Notes
Check Determinant and Trace:
det(A)=∏i=1nλi (Product of eigenvalues)
Tr(A)=∑i=1nλi (Sum of diagonal elements)
Use these two identities as a 10-second check on calculated eigenvalues!
Power Trick: If an exam question asks for A100, factor A=VΣV−1, compute Σ100, and multiply back out.
Singular Value Decomposition (SVD)
Singular Value Decomposition Architecture A (General m x n Matrix) │ ▼ U Σ Vᵀ │ │ │ │ │ └── Right Singular Vectors (n x n Orthogonal Matrix) │ └───── Singular Values Diagonal Matrix (m x n) └─────── Left Singular Vectors (m x m Orthogonal Matrix)
Definition
Singular Value Decomposition (SVD) is the ultimate matrix factorization theorem in linear algebra. Unlike Eigenvalue Decomposition—which requires square matrices and a full set of independent eigenvectors—SVD applies to any real m×n matrix A.
The SVD factors matrix A into three fundamental matrices:
A=UΣVT
where:
U is an m×morthogonal matrix (UTU=Im). Columns ui are called left singular vectors.
Σ is an m×nrectangular diagonal matrix containing non-negative real numbers σi (singular values) in descending order (σ1≥σ2≥⋯≥σr>0).
V is an n×northogonal matrix (VTV=In). Columns vi are called right singular vectors.
VT is the transpose of V.
Key Points
How SVD Overcomes Limitations of EVD
Feature
Eigenvalue Decomposition (EVD)
Singular Value Decomposition (SVD)
Applicable Matrix Shape
Square (n×n) only
Any rectangular shape (m×n)
Existence Guarantee
Only for non-defective matrices
Always exists for every matrix
Orthogonality of Basis
Orthogonal only if matrix is symmetric
Always uses orthogonal bases (U,V)
Values along Diagonal
Can be complex or negative numbers
Always non-negative real values (σi≥0)
Fundamental Theoretical Relationships
Right Singular Vectors V:
Multiply ATA:
ATA=(UΣVT)T(UΣVT)=VΣTUTUΣVT
Since UTU=I:
ATA=V(ΣTΣ)VT
Thus, V contains the eigenvectors of the symmetric matrix ATA, and singular values squared σi2 are the eigenvalues of ATA. 2. Left Singular Vectors U:
Multiply AAT:
AAT=(UΣVT)(UΣVT)T=UΣVTVΣTUT=U(ΣΣT)UT
Thus, U contains the eigenvectors of the symmetric matrix AAT. 3. Connecting Formula:
For non-zero singular value σi:
ui=σi1AviorAvi=σiui
Mathematical Formula
Singular Value Decomposition Definition
A=UΣVT
Structural Dimensions
A(m×n)=U(m×m)Σ(m×n)V(n×n)T
Singular Value Relationship
σi=λi(ATA)=λi(AAT)
Step-by-Step Explanation
Algorithmic Pipeline to Compute SVD
Form ATA: Multiply AT by A to obtain an n×n symmetric matrix.
Eigen-analysis of ATA:
Solve det(ATA−λI)=0 for eigenvalues λi.
Arrange non-negative eigenvalues in descending order: λ1≥λ2≥⋯≥λr>0.
Compute singular values σi=λi.
Construct Σ: Place singular values σ1,σ2,… along the main diagonal of an m×n zero matrix.
Construct V:
For each λi, solve (ATA−λiI)vi=0.
Normalize each eigenvector so ∥vi∥2=1.
Form V=[v1v2…vn].
Construct U:
For non-zero σi, compute left singular vectors using ui=σi1Avi.
If m>r, find remaining orthogonal vectors for U using Gram-Schmidt orthogonalization or solving the null space Nul(AT).
Assemble: Write A=UΣVT.
Example 1: 2×2 Symmetric Matrix SVD
Compute the Singular Value Decomposition of:
A=[2112]
Solution:
Step 1: Compute ATA
Since A is symmetric, AT=A:
ATA=A2=[2112][2112]=[5445]
Step 2: Find Eigenvalues & Singular Values of ATA
det(ATA−λI)=5−λ445−λ=0
(5−λ)2−16=0⟹(5−λ)2=16⟹5−λ=±4
λ1=9,λ2=1
Taking square roots yields the singular values:
σ1=9=3,σ2=1=1
Therefore:
Σ=[3001]
Step 3: Find Right Singular Vectors (Columns of V)
For λ1=9:
(ATA−9I)x=0⟹[−444−4][xy]=[00]⟹x=y
Unnormalized eigenvector: [11]. Normalize to unit length:
v1=12+121[11]=[2121]
For λ2=1:
(ATA−1I)x=0⟹[4444][xy]=[00]⟹x=−y
Unnormalized eigenvector: [1−1]. Normalize to unit length:
v2=[21−21]
Matrix V:
V=[212121−21]
Step 4: Compute Left Singular Vectors (Columns of U)
Use ui=σi1Avi:
For u1:
u1=31[2112][2121]=31[2323]=[2121]
For u2:
u2=11[2112][21−21]=1⋅[21−21]=[21−21]
Image Compression: Storing a high-resolution m×n image requires m×n values. Truncating its SVD to the top k singular values (Ak=∑i=1kσiuiviT) stores only k(m+n+1) values, compressing file size significantly while retaining visual fidelity.
Principal Component Analysis (PCA): SVD is the computational engine behind PCA for dimensionality reduction in data science.
Pseudoinverse (Moore-Penrose Inverse): For non-square or singular matrices, A+=VΣ+UT calculates least-squares solutions to linear systems.
Common Mistakes
Forgetting Transpose on V: Writing A=UΣV instead of A=UΣVT.
Unnormalized Singular Vectors: Forgetting to normalize eigenvectors of ATA or AAT to unit length (1). Left and right singular matrices U and Vmust be orthogonal matrices.
Incorrect Σ Dimensions: For an m×n matrix A, making Σ an r×r square matrix instead of matching m×n.
Exam Notes
Rank Formula: The rank of A equals the exact number of non-zero singular values (rank(A)=r).
Diagonal Matrix: Square matrix where off-diagonal elements are zero (Σij=0,∀i=j).
Eigenvalue Decomposition (EVD): A=VΣV−1. Factorization using eigenvalues and eigenvectors (Requires square matrix with n independent eigenvectors).
Singular Value Decomposition (SVD): A=UΣVT. Universal factorization using orthogonal left/right singular vectors and non-negative singular values (Applies to any m×n matrix).
Singular Value (σi): Square root of eigenvalues of ATA, i.e., σi=λi(ATA).
Essential Formulas Summary Table
Operation
Formula
Notes / Conditions
2×2 Inverse
[acbd]−1=ad−bc1[d−c−ba]
Requires ad−bc=0
Inverse Product
(ABC)−1=C−1B−1A−1
Reverses matrix order
Transpose Product
(ABC)T=CTBTAT
Reverses matrix order
EVD
A=VΣV−1
A∈Rn×n
Matrix Power via EVD
Ak=VΣkV−1
Σk=diag(λ1k,…,λnk)
SVD
A=UΣVT
A∈Rm×n
Left Singular Vector
ui=σi1Avi
For σi>0
Moore-Penrose Pseudoinverse
A+=VΣ+UT
Inverts non-zero entries of Σ
Quick Revision Bullets
det(A)=∏i=1nλi and Tr(A)=∑i=1nλi.
Symmetric matrices (A=AT) have real eigenvalues and orthogonal eigenvectors (A=VΣVT).
Columns of U in SVD are orthonormal eigenvectors of AAT.
Columns of V in SVD are orthonormal eigenvectors of ATA.
rank(A)= Number of non-zero singular values.
If U is orthogonal, U−1=UT and UTU=I.
Frequently Confused Concepts
EVD vs. SVD
EVD uses the same basis V on both sides (V and V−1). Vectors are generally not orthogonal unless A is symmetric.
SVD uses two distinct orthogonal bases (U and V). It works for any matrix shape.
Eigenvalues vs. Singular Values
Eigenvalues λi can be negative, positive, zero, or complex numbers.
Singular values σi are always real and non-negative (σi≥0).
Common Exam Questions & Solutions
How to check if a 3×3 matrix is diagonalizable?
Answer: Calculate all eigenvalues. If you obtain 3 distinct eigenvalues, A is guaranteed to be diagonalizable. If eigenvalues repeat, compute the dimension of the null space Nul(A−λI) for the repeated eigenvalues. If geometric multiplicity equals algebraic multiplicity for all eigenvalues, A is diagonalizable.
Given A=UΣVT, what is ATA?
Answer: ATA=(UΣVT)T(UΣVT)=VΣTUTUΣVT=V(ΣTΣ)VT. This is the Eigenvalue Decomposition of ATA.
How do you quickly compute A10 if A=[2112]?
Answer: Do not multiply A manually 10 times! Use EVD: A=VΣV−1 where Σ=diag(3,1). Then A10=V[31000110]V−1.