ArticleslgStudy

mathematics

Singular value decomposition

Singular value decomposition is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Singular value decomposition rather than just read about it. In short: In linear algebra, the singular value decomposition (SVD) is a factorization of a real or complex matrix into a rotation, followed by a scaling, followed by another rotation. It generalizes the eigendecomposition of a square normal matrix with an orthonormal eigenbasis to any ⁠ m × n {\displaystyle m\times n} ⁠ matrix.

Singular value decomposition — main illustration
Singular value decomposition — illustration

Key takeaways

  • Singular value decomposition belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Singular value decomposition to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Singular value decomposition from memory before moving on to harder problems.

Reference excerpt

In linear algebra, the singular value decomposition (SVD) is a factorization of a real or complex matrix into a rotation, followed by a scaling, followed by another rotation. It generalizes the eigendecomposition of a square normal matrix with an orthonormal eigenbasis to any ⁠ m × n {\displaystyle m\times n} ⁠ matrix. It is related to the polar decomposition, and is a common means for implementing low-rank approximation for matrices. Specifically, the singular value decomposition of an m × n {\displaystyle m\times n} complex matrix ⁠ M {\displaystyle \mathbf {M} } ⁠ is a factorization of the form ⁠ M = U Σ V ∗ {\displaystyle \mathbf {M} =\mathbf {U} \mathbf {\Sigma } \mathbf {V} ^{*}} ⁠, where ⁠ U {\displaystyle \mathbf {U} } ⁠ is an ⁠ m × m {\displaystyle m\times m} ⁠ complex unitary matrix, Σ {\displaystyle \mathbf {\Sigma } } is an m × n {\displaystyle m\times n} rectangular diagonal matrix with non-negative real numbers on the diagonal, ⁠ V {\displaystyle \mathbf {V} } ⁠ is an n × n {\displaystyle n\times n} complex unitary matrix, and ⁠ V ∗ {\displaystyle \mathbf {V} ^{*}} ⁠ is the conjugate transpose of ⁠ V {\displaystyle \mathbf {V} } ⁠. Such decompositions always exist for any complex matrix. If ⁠ M {\displaystyle \mathbf {M} } ⁠ is real, then some ⁠ U {\displaystyle \mathbf {U} } ⁠ and ⁠ V {\displaystyle \mathbf {V} } ⁠ can be found which are real (orthogonal) matrices; a real-valued SVD is often denoted ⁠ U Σ V T {\displaystyle \mathbf {U} \mathbf {\Sigma } \mathbf {V} ^{\mathsf {T}}} ⁠, where ⁠ V T {\displaystyle \mathbf {V} ^{\mathsf {T}}} ⁠ is the transpose of ⁠ V {\displaystyle \mathbf {V} } ⁠. The diagonal entries σ i = Σ i , i {\displaystyle \sigma _{i}=\mathbf {\Sigma } _{i,i}} of Σ {\displaystyle \mathbf {\Sigma } } are uniquely determined by ⁠ M {\displaystyle \mathbf {M} } ⁠, up to reordering, and are known as the singular values of ⁠ M {\displaystyle \mathbf {M} } ⁠. Conventionally they are arranged in descending order (from largest to smallest), which uniquely determines ⁠ Σ {\displaystyle \mathbf {\Sigma } } ⁠. The number of non-zero singular values, allowing repetitions, is equal to ⁠ r {\displaystyle r} ⁠, the rank of ⁠ M {\displaystyle \mathbf {M} } ⁠. The columns of ⁠ U {\displaystyle \mathbf {U} } ⁠ and the columns of ⁠ V {\displaystyle \mathbf {V} } ⁠ are called left-singular vectors and right-singular vectors of ⁠ M {\displaystyle \mathbf {M} } ⁠, respectively. They form two orthonormal bases, ⁠ { u 1 , … , u m } {\displaystyle \{\mathbf {u} _{1},\ldots ,\mathbf {u} _{m}\}} ⁠ and ⁠ { v 1 , … , v n } {\displaystyle \{\mathbf {v} _{1},\ldots ,\mathbf {v} _{n}\}} ⁠. In general the SVD is not unique, with certain unitary transformations of ⁠ U {\displaystyle \mathbf {U} } ⁠ and ⁠ V {\displaystyle \mathbf {V} } ⁠ producing valid alternative decompositions. The term SVD sometimes refers to the compact SVD, a similar decomposition ⁠ M = U r Σ r V r ∗ {\displaystyle \mathbf {M} =\mathbf {U} _{r}\mathbf {\Sigma } _{r}\mathbf {V} _{r}^{*}} ⁠, in which ⁠ Σ r {\displaystyle \mathbf {\Sigma } _{r}} ⁠ is an ⁠ r × r {\displaystyle r\times r} ⁠ matrix with only the non-zero singular values (allowing repetitions) on its main diagonal. In this variant, ⁠ U r {\displaystyle \mathbf {U} _{r}} ⁠ is an ⁠ m × r {\displaystyle m\times r} ⁠ semi-unitary matrix whose columns ⁠ { u 1 , … , u r } {\displaystyle \{\mathbf {u} _{1},\ldots ,\mathbf {u} _{r}\}} ⁠ span the columns of ⁠ M {\displaystyle \mathbf {M} } ⁠, and V r {\displaystyle \mathbf {V} _{r}} is an ⁠ n × r {\displaystyle n\times r} ⁠ semi-unitary matrix whose columns ⁠ { v 1 , … , v r } {\displaystyle \{\mathbf {v} _{1},\ldots ,\mathbf {v} _{r}\}} ⁠ span the columns of ⁠ M ∗ {\displaystyle \mathbf {M} ^{*}\!} ⁠. The SVD (with sorted singular values) splits ⁠ M {\displaystyle \mathbf {M} } ⁠ into a sum of ⁠ r {\displaystyle r} ⁠ rank-⁠ 1 {\displaystyle 1} ⁠ matrices, M = σ 1 u 1 v 1 ∗ + σ 2 u 2 v 2 ∗ + ⋯ + σ r u r v r ∗ {\displaystyle \textstyle \mathbf {M} =\sigma _{1}\mathbf {u} _{1}\mathbf {v} _{1}^{*}+\sigma _{2}\mathbf {u} _{2}\mathbf {v} _{2}^{*}+\cdots +\sigma _{r}\mathbf {u} _{r}\mathbf {v} _{r}^{*}\!} . Mathematical applications of the SVD include computing the pseudoinverse, matrix approximation, and determining the rank, range, and null space of a matrix. The SVD is also extremely useful in many areas of science, engineering, and statistics, such as signal processing, least squares fitting of data, and process control.

… excerpt ends here. Continue reading the full article.

Illustrations

Singular value decomposition: Illustration of the singular value decomposition UΣV* of a real 2 × 2 matrix M..mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}Top: The action of M, indicated by its effect on the unit disc D and the two canonical unit vectors e1 and e2.Left: The action of V*, a rotation, on D, e1, and e2.Bottom: The action of Σ, a scaling by the singular values σ1, horizontally, and σ2, vertically.Right: The action of U, another rotation.
Illustration of the singular value decomposition UΣV* of a real 2 × 2 matrix M..mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}Top: The action of M, indicated by its effect on the unit disc D and the two canonical unit vectors e1 and e2.Left: The action of V*, a rotation, on D, e1, and e2.Bottom: The action of Σ, a scaling by the singular values σ1, horizontally, and σ2, vertically.Right: The action of U, another rotation.
Singular value decomposition: Animated illustration of the SVD of a 2D, real shearing matrix M. First, we see the unit disc in blue together with the two canonical unit vectors. We then see the actions of M, which distorts the disk to an ellipse. The SVD decomposes M into three simple transformations: an initial rotation V*, a scaling Σ along the coordinate axes, and a final rotation U. The lengths σ1 and σ2 of the semi-axes of the ellipse are the singular values of M, namely Σ1,1 and Σ2,2.
Animated illustration of the SVD of a 2D, real shearing matrix M. First, we see the unit disc in blue together with the two canonical unit vectors. We then see the actions of M, which distorts the disk to an ellipse. The SVD decomposes M into three simple transformations: an initial rotation V*, a scaling Σ along the coordinate axes, and a final rotation U. The lengths σ1 and σ2 of the semi-axes of the ellipse are the singular values of M, namely Σ1,1 and Σ2,2.
Singular value decomposition: Visualization of the matrix multiplications in singular value decomposition
Visualization of the matrix multiplications in singular value decomposition
Singular value decomposition: If a bitmap image is interpreted as a matrix, the SVD can be used for image compression. Here an original photograph (upper-left) is compared with low-rank approximations of rank 1, 10, and 100.
If a bitmap image is interpreted as a matrix, the SVD can be used for image compression. Here an original photograph (upper-left) is compared with low-rank approximations of rank 1, 10, and 100.
Singular value decomposition: Visualization of Reduced SVD variants. From top to bottom: 1: Full SVD,

2: Thin SVD (remove columns of U not corresponding to rows of V*),

3: Compact SVD (remove null singular values and corresponding columns/rows in U and V*),

4: Truncated SVD (keep only largest t singular values and corresponding columns/rows in U and V*).
Visualization of Reduced SVD variants. From top to bottom: 1: Full SVD, 2: Thin SVD (remove columns of U not corresponding to rows of V*), 3: Compact SVD (remove null singular values and corresponding columns/rows in U and V*), 4: Truncated SVD (keep only largest t singular values and corresponding columns/rows in U and V*).

Worked examples

Example 1 — a first encounter with Singular value decomposition

Start with the simplest possible case. Write down what Singular value decomposition claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Singular value decomposition before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Singular value decomposition ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Singular value decomposition

In research
Singular value decomposition appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Singular value decomposition in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Singular value decomposition is common in secondary-school and first-year university syllabi. It links to neighbouring topics Functional analysis, Linear algebra, Matrix decompositions, so understanding it makes those chapters shorter.
In everyday life
Look for Singular value decomposition outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Singular value decomposition in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Singular value decomposition means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Singular value decomposition out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Singular value decomposition in simple terms?

In linear algebra, the singular value decomposition (SVD) is a factorization of a real or complex matrix into a rotation, followed by a scaling, followed by another rotation. It generalizes the eigendecomposition of a square normal matrix with an orthonormal eigenbasis to any ⁠ m × n {\displaystyle…

Why does Singular value decomposition matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Singular value decomposition?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Singular value decomposition.

Tags

  • Functional analysis
  • Linear algebra
  • Matrix decompositions
  • Matrix theory
  • Numerical linear algebra
  • Singular value decomposition

Keep exploring