Linear Algebra Tool

SVD Calculator

Free SVD calculator for matrix decomposition. Calculate U, Σ, V matrices with step-by-step solutions for linear algebraand data analysis. Perfect for students learning matrix theory and machine learning applications.

Last updated: December 15, 2024

Multiple matrix sizes: 2×2, 2×3, 3×2, 3×3
U, Σ, V matrix decomposition
Step-by-step solutions with formulas

Need a custom linear algebra calculator for your educational platform? Get a Quote

SVD Calculator
Singular Value Decomposition calculator

SVD Decomposition

Decomposition Formula:

A = U × Σ × V^T

2×2 Matrix

Singular Value Decomposition

U Matrix (Left singular vectors):

0.405-0.915
0.9150.405

Σ Matrix (Singular values):

5.4650.366

V Matrix (Right singular vectors):

0.5760.817
0.817-0.576

Step-by-Step Solution:

Step 1: Given matrix A
A = [[1, 2], [3, 4]]
Step 2: Compute A^T × A
A^T = [[1, 3], [2, 4]]
A^T × A = [[10.00, 14.00], [14.00, 20.00]]
Step 3: Find eigenvalues of A^T × A
Characteristic polynomial: λ² - 30.00λ + 4.00 = 0
Eigenvalues: λ₁ = 29.866, λ₂ = 0.134
Step 4: Find singular values
σ₁ = √29.866 = 5.465
σ₂ = √0.134 = 0.366
Step 5: Find V matrix (eigenvectors of A^T × A)
V = [[0.576, 0.817], [0.817, -0.576]]
Step 6: Find U matrix
U = A × V × Σ⁻¹
U = [[0.405, -0.915], [0.915, 0.405]]

SVD Tips:

  • • A = U × Σ × V^T where U and V are orthogonal matrices
  • • Σ contains singular values in descending order
  • • U contains left singular vectors
  • • V contains right singular vectors
  • • Used in data compression and dimensionality reduction

SVD Decomposition Types

Full SVD
Complete decomposition

Formula

A = U × Σ × V^T

All singular values and vectors

Truncated SVD
Rank-k approximation

Formula

A_k = U_k × Σ_k × V_k^T

First k singular values only

Compact SVD
Non-zero singular values

Formula

A = U_r × Σ_r × V_r^T

Only non-zero singular values

Data Compression
Image and signal compression

Applications

JPEG, PCA, dimensionality reduction

Reduce storage while preserving information

Machine Learning
Feature extraction and analysis

Applications

Collaborative filtering, LSA, NLP

Extract latent features from data

Numerical Analysis
Solving linear systems

Applications

Least squares, pseudoinverse, rank

Solve overdetermined systems

Quick Example Result

SVD of matrix [[1, 2], [3, 4]]:

U Matrix

[[0.405, -0.915], [0.915, 0.405]]

Σ Matrix

[5.465, 0.366]

V Matrix

[[0.576, -0.817], [0.817, 0.576]]

How to Calculate SVD

Singular Value Decomposition is a fundamental matrix factorization technique in linear algebra that decomposes any matrix into three components. Understanding SVD is crucial for data analysis, machine learning, and numerical computingapplications where matrix approximation and dimensionality reduction are essential.

The SVD Process

Step 1: Compute A^T × A (transpose times original matrix)
Step 2: Find eigenvalues of A^T × A
Step 3: Calculate singular values as square roots of eigenvalues
Step 4: Find V matrix (eigenvectors of A^T × A)
Step 5: Calculate U matrix using U = A × V × Σ⁻¹

This systematic approach ensures accurate SVD decomposition for any matrix.

SVD Properties

The SVD decomposition A = U × Σ × V^T has several important properties: U and V are orthogonal matrices (U^T × U = I, V^T × V = I), Σ is a diagonal matrix with non-negative singular values in descending order, and the decomposition always exists for any matrix. The singular values represent the 'energy' or 'importance' of each dimension in the original matrix.

  • U matrix: Left singular vectors, orthogonal (U^T × U = I)
  • Σ matrix: Diagonal with singular values in descending order
  • V matrix: Right singular vectors, orthogonal (V^T × V = I)
  • Singular values are always non-negative
  • SVD provides the best low-rank approximation

Sources & References

  • Linear Algebra and Its Applications - David C. Lay (5th Edition)Comprehensive coverage of SVD and matrix decompositions
  • Matrix Computations - Gene H. Golub, Charles F. Van LoanAdvanced numerical methods for SVD computation
  • Khan Academy - Linear Algebra and SVDVideo tutorials and practice problems on matrix decompositions

Need help with other linear algebra topics? Check out our row reduction calculator and LU factorization calculator.

Get Custom Calculator for Your Platform

SVD Example

Step-by-Step Solution
SVD decomposition of matrix [[1, 2], [3, 4]]

Given Matrix:

A = [[1, 2], [3, 4]]

2×2 matrix

Solution Steps:

  1. Step 1: Given matrix A
  2. A = [[1, 2], [3, 4]]
  3. Step 2: Compute A^T × A
  4. A^T = [[1, 3], [2, 4]]
  5. A^T × A = [[10.00, 14.00], [14.00, 20.00]]
  6. Step 3: Find eigenvalues of A^T × A
  7. Characteristic polynomial: λ² - 30.00λ + 4.00 = 0
  8. Eigenvalues: λ₁ = 29.866, λ₂ = 0.134
  9. Step 4: Find singular values
  10. σ₁ = √29.866 = 5.465
  11. σ₂ = √0.134 = 0.366
  12. Step 5: Find V matrix (eigenvectors of A^T × A)
  13. V = [[0.576, 0.817], [0.817, -0.576]]
  14. Step 6: Find U matrix
  15. U = A × V × Σ⁻¹
  16. U = [[0.405, -0.915], [0.915, 0.405]]

Final Decomposition:

U Matrix

[[0.405, -0.915], [0.915, 0.405]]

Σ Matrix

[5.465, 0.366]

V Matrix

[[0.576, -0.817], [0.817, 0.576]]

Data Compression

Keep only largest singular values

A ≈ U_k × Σ_k × V_k^T

Dimensionality Reduction

Reduce from n to k dimensions

PCA uses SVD

Frequently Asked Questions

Found This Calculator Helpful?

Share it with others learning linear algebra and matrix theory

Share This Calculator
Help others discover this useful tool

Suggested hashtags: #SVD #LinearAlgebra #Matrix #Decomposition #Calculator

Related Calculators

Row Reduction Calculator
Perform Gaussian elimination to reduce matrices to REF or RREF form with complete linear system analysis.
Use Calculator
LU Factorization Calculator
Decompose matrices into Lower and Upper triangular matrices using Doolittle, Crout, or pivoting methods.
Use Calculator
Gradient Calculator
Calculate gradient vectors for multivariable functions with partial derivatives and directional analysis.
Use Calculator
SVD Calculator | thecalcs