Singular Value Decomposition (SVD) Calculator screenshot

Singular Value Decomposition (SVD) Calculator

Work out the U, Σ and V of a 2 by 2 matrix from 2 by 2 matrix (two rows). Σᵢ = √λᵢ(AᵀA); A = U Σ Vᵀ, and the page prints the substitution so the result can be checked by hand.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Formula printed with the answer

Singular Value Decomposition (SVD) Calculator

Work out the U, Σ and V of a 2 by 2 matrix from 2 by 2 matrix (two rows). Σᵢ = √λᵢ(AᵀA); A = U Σ Vᵀ, and the page prints the substitution so the result can be checked by hand.

How this page computes

Σᵢ = √λᵢ(AᵀA); A = U Σ Vᵀ

The singular values are the square roots of the eigenvalues of AᵀA, and for a 2 by 2 matrix that is a quadratic with a closed form. A larger matrix needs an iterative eigensolver, which would be a different kind of answer.

The singular values print as exact radicals and as rationals when the eigenvalue is a square, and U Σ Vᵀ is multiplied back and compared with A.

The calculation runs entirely in this browser tab; nothing is uploaded.

Singular Value Decomposition (SVD) Calculator computes the U, Σ and V of a 2 by 2 matrix. Σᵢ = √λᵢ(AᵀA); A = U Σ Vᵀ. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.

The singular values are the square roots of the eigenvalues of AᵀA, and for a 2 by 2 matrix that is a quadratic with a closed form. A larger matrix needs an iterative eigensolver, which would be a different kind of answer. Pressed with 2 by 2 matrix 1 2; 0 1, it answers: AᵀA = [ 1 2 ; 2 5 ]

How to use Singular Value Decomposition (SVD) Calculator

Enter 2 by 2 matrix 1 2; 0 1, then press Run: the page evaluates the U, Σ and V of a 2 by 2 matrix and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.

Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.

With 2 by 2 matrix 1 2; 0 1, the answer is AᵀA = [ 1 2 ; 2 5 ].

Why 2 by 2 only

The singular values are the square roots of the eigenvalues of AᵀA, and for a 2 by 2 matrix that is a quadratic with a closed form. A larger matrix needs an iterative eigensolver, which would be a different kind of answer.

The singular values print as exact radicals and as rationals when the eigenvalue is a square, and U Σ Vᵀ is multiplied back and compared with A.

What to Expect

Best for

  • Working out the U, Σ and V of a 2 by 2 matrix without a spreadsheet
  • Checking a figure someone else quoted
  • Seeing the formula behind an answer

Not ideal for

  • A matrix larger than 2 by 2 is refused, because a larger SVD needs an iterative solver the catalogue does not ship.
  • A quantity the page cannot compute, which it refuses instead of estimating
  • Rounding an answer that has an exact form

What this tool keeps

  • Σᵢ = √λᵢ(AᵀA); A = U Σ Vᵀ
  • Every input exactly as typed

What may need cleanup

  • Nothing: the printed answer is the final output
  • A unit conversion, if the inputs were entered in different units

Common errors

  • A matrix larger than 2 by 2 is refused, because a larger SVD needs an iterative solver the catalogue does not ship.
  • An empty field is refused with the field's name

Example use cases

  • Work out the U, Σ and V of a 2 by 2 matrix for one set of inputs
  • Check the result against the formula by hand
  • See which input the answer is most sensitive to

Sample input

Singular Value Decomposition (SVD) Calculator: 2 by 2 matrix 1 2; 0 1

Sample output

AᵀA = [ 1 2 ; 2 5 ] — Eigenvalues of AᵀA: λ₁ = (6 + √(32)) ÷ 2, λ₂ = (6 − √(32)) ÷ 2

Who this is for

  • Students checking a formula
  • Anyone who needs the number and the working

Frequently asked questions

What formula does this page use?

Σᵢ = √λᵢ(AᵀA); A = U Σ Vᵀ. The page prints the substitution as well, so the answer can be checked against the rule.

What does Singular Value Decomposition (SVD) Calculator refuse?

A matrix larger than 2 by 2 is refused, because a larger SVD needs an iterative solver the catalogue does not ship.

What does the default example give?

2 by 2 matrix 1 2; 0 1 gives AᵀA = [ 1 2 ; 2 5 ]. Every line below that restates the same arithmetic.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.