ArticleslgStudy

mathematics

Cholesky decomposition

Cholesky 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 Cholesky decomposition rather than just read about it. In short: In linear algebra, the Cholesky decomposition or Cholesky factorization (pronounced shə-LES-kee) is a decomposition of a Hermitian, positive-definite matrix into the product of a lower triangular matrix and its conjugate transpose, which is useful for efficient numerical solutions, e.g., Monte Carlo simulations. It was discovered by André-Louis Cholesky for real matrices, and posthumously published in 1924.

Cholesky decomposition — main illustration
Cholesky decomposition — illustration

Key takeaways

  • Cholesky 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 Cholesky decomposition to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cholesky decomposition from memory before moving on to harder problems.

Reference excerpt

In linear algebra, the Cholesky decomposition or Cholesky factorization (pronounced shə-LES-kee) is a decomposition of a Hermitian, positive-definite matrix into the product of a lower triangular matrix and its conjugate transpose, which is useful for efficient numerical solutions, e.g., Monte Carlo simulations. It was discovered by André-Louis Cholesky for real matrices, and posthumously published in 1924. When it is applicable, the Cholesky decomposition is roughly twice as efficient as the LU decomposition for solving systems of linear equations.

Statement The Cholesky decomposition of a Hermitian positive-definite matrix A is a decomposition of the form 𝐀=𝐋𝐋∗, where L is a lower triangular matrix with real and positive diagonal entries, and L* denotes the conjugate transpose of L. Every Hermitian positive-definite matrix (and thus also every real symmetric positive-definite matrix) has a Cholesky decomposition and the lower triangular matrix is unique if we impose the diagonal to be strictly positive. The converse holds trivially: if A can be written as LL* for some invertible L, lower triangular or otherwise, then A is Hermitian and positive definite. When A is a real matrix (hence symmetric positive-definite), the factorization may be written 𝐀=𝐋𝐋𝖳, where L is a real lower triangular matrix with positive diagonal entries.

Positive semidefinite matrices If a Hermitian matrix A is only positive semidefinite, instead of positive definite, then it still has a decomposition of the form A = LL* where the diagonal entries of L are allowed to be zero. The decomposition need not be unique, for example: [0001]=𝐋𝐋∗,𝐋=[00cos⁡θsin⁡θ], for any θ. However, if the rank of A is r, then there is a unique lower triangular L with exactly r positive diagonal elements and n − r columns containing all zeroes. Alternatively, the decomposition can be made unique when a pivoting choice is fixed. Formally, if A is an n × n positive semidefinite matrix of rank r, then there is at least one permutation matrix P such that P A PT has a unique decomposition of the form P A PT = L L* with 𝐋=[𝐋10𝐋20], where L1 is an r × r lower triangular matrix with positive diagonal.

LDL decomposition A closely related variant of the classical Cholesky decomposition is the LDL decomposition, also known as Bunch-Kaufman factorization 𝐀=𝐋𝐃𝐋∗, where L is a lower unit triangular (unitriangular) matrix, and D is a diagonal matrix. That is, the diagonal elements of L are required to be 1 at the cost of introducing an additional diagonal matrix D in the decomposition. The main advantage is that the LDL decomposition can be computed and used with essentially the same algorithms, but avoids extracting square roots. For this reason, the LDL decomposition is often called the square-root-free Cholesky decomposition. For real matrices, the factorization has the form A = LDLT and is often referred to as LDLT decomposition (or LDLT decomposition, or LDL′). It is reminiscent of the eigendecomposition of real symmetric matrices, A = QΛQT, but is quite different in practice because Λ and D are not similar matrices. The LDL decomposition is related to the classical Cholesky decomposition of the form LL* as follows: 𝐀=𝐋𝐃𝐋∗=𝐋𝐃1/2(𝐃1/2)∗𝐋∗=𝐋𝐃1/2(𝐋𝐃1/2)∗. Conversely, given the classical Cholesky decomposition 𝐀=𝐂𝐂∗ of a positive definite matrix, if S is a diagonal matrix that contains the main diagonal of 𝐂, then A can be decomposed as 𝐋𝐃𝐋∗ where 𝐋=𝐂𝐒−1 (this rescales each column to make diagonal elements 1), 𝐃=𝐒𝐒∗. If A is positive definite then the diagonal elements of D are all positive. For positive semidefinite A, an 𝐋𝐃𝐋∗ decomposition exists where the number of non-zero elements on the diagonal D is exactly the rank of A. Some indefinite matrices for which no Cholesky decomposition exists have an LDL decomposition with negative entries in D: it suffices that the first n − 1 leading principal minors of A are non-singular.

Example Here is the Cholesky decomposition of a symmetric real matrix: (412−161237−43−16−4398)=(200610−853)(26−8015003). And here is its LDLT decomposition: (412−161237−43−16−4398)=(100310−451)(400010009)(13−4015001).

Geometric interpretation

The Cholesky decomposition is equivalent to a particular choice of conjugate axes of an ellipsoid. In detail, let the ellipsoid be defined as yTAy=1, then by definition, a set of vectors v1,...,vn are conjugate axes of the ellipsoid iff viTAvj=δij. Then, the ellipsoid is precisely{∑ixivi:xTx=1}=f(𝕊n)where f maps the basis vector ei↦vi, and 𝕊n is the unit sphere in n dimensions. That is, the ellipsoid is a linear image of the unit sphere. Define the matrix V:=[v1|v2|⋯|vn], then viTAvj=δij is equivalent to VTAV=I. Different choices of the conjugate axes correspond to different decompositions. The Cholesky decomposition corresponds to choosing v1 to be parallel to the first axis, v2 to be within the plane spanned by the first two axes, and so on. This makes V an upper-triangular matrix. Then, there is A=LLT, where L=(V−1)T is lower-triangular. Similarly, principal component analysis corresponds to choosing v1,...,vn to be perpendicular. Then, let λ=1/‖vi‖2 and Σ=diag(λ1,...,λn), and there is V=UΣ−1/2 where U is an orthogonal matrix. This then yields A=UΣUT.

Applications

Numerical solution of system of linear equations The Cholesky decomposition is mainly used for the numerical solution of linear equations 𝐀𝐱=𝐛. If A is symmetric and positive definite, then 𝐀𝐱=𝐛 can be solved by first computing the Cholesky decomposition 𝐀=𝐋𝐋∗, then solving 𝐋𝐲=𝐛 for y by forward substitution, and finally solving 𝐋∗𝐱=𝐲 for x by back substitution. An alternative way to eliminate taking square roots in the 𝐋𝐋∗ decomposition is to compute the LDL decomposition 𝐀=𝐋𝐃𝐋∗, then solving 𝐋𝐲=𝐛 for y, and finally solving 𝐃𝐋∗𝐱=𝐲. For linear systems that can be put into symmetric form, the Cholesky decomposition (or its LDL variant) is the method of choice, for superior efficiency and numerical stability. Compared to the LU decomposition, it is roughly twice as efficient.

… excerpt ends here. Continue reading the full article.

Illustrations

Cholesky decomposition: Access pattern (white) and writing pattern (yellow) for the in-place Cholesky—Banachiewicz algorithm on a 5×5 matrix
Access pattern (white) and writing pattern (yellow) for the in-place Cholesky—Banachiewicz algorithm on a 5×5 matrix

Worked examples

Example 1 — a first encounter with Cholesky decomposition

Start with the simplest possible case. Write down what Cholesky 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 Cholesky 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 Cholesky 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 Cholesky decomposition

In research
Cholesky 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 Cholesky 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
Cholesky decomposition is common in secondary-school and first-year university syllabi. It links to neighbouring topics Matrix decompositions, Numerical linear algebra, Operator theory, so understanding it makes those chapters shorter.
In everyday life
Look for Cholesky 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cholesky decomposition” →

How to study Cholesky decomposition in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cholesky 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 Cholesky decomposition out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cholesky decomposition in simple terms?

In linear algebra, the Cholesky decomposition or Cholesky factorization (pronounced shə-LES-kee) is a decomposition of a Hermitian, positive-definite matrix into the product of a lower triangular matrix and its conjugate transpose, which is useful for efficient numerical solutions, e.g., Monte Carl…

Why does Cholesky 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 Cholesky 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 Cholesky decomposition.

Tags

  • Matrix decompositions
  • Numerical linear algebra
  • Operator theory

Keep exploring