Recognize A = R transpose R with positive diagonal entries in R
Read the diagonal of R as the square roots of the pivots. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
For a symmetric positive definite there is an upper triangular with positive diagonal entries such that
This is the Cholesky factorisation. Two facts make it usable:
-'s diagonal holds the square roots of the pivots:. - exists with real entries exactly when is positive definite, because is real exactly when.
So "has a real Cholesky factor" and "is positive definite" are the same statement. That is the whole content of Test 3 in the source: with independent columns.
Two conventions, one matrix. A library may return lower triangular with, or upper triangular with. They are transposes of each other. The exam asks for one of them; read which.
Elimination gives with unit lower triangular and holding the pivots. Split the diagonal of into two square roots:
Then
is upper triangular because is, and its diagonal is the square roots of the pivots.
Now the equivalence is immediate. If some then is not real, so no real exists. Conversely positive definiteness forces every pivot positive, so every root is real and exists.
Why symmetry alone is not enough. is perfectly symmetric, and its second pivot is: is not real. Symmetry gets you; only positivity of the pivots gets you over the reals. Over the complex numbers a factor always exists — that is a different statement and not the one the exam asks.
Where the factor comes from in practice. You do not need to remember a formula. Run elimination to get the pivots, take their square roots for the diagonal, and fill in the off-diagonal entries by matching entry by entry from the top down.
Given, find..
- -.
- - →.
- - → →.
So. Check: ✔. Pivots: and, and ✔.
Given, find and test definiteness. gives. The pivots are and, both positive, consistent with having real positive diagonal entries. In fact any with real entries gives a positive semidefinite:. Definiteness additionally needs invertible.
- Read the diagonal of R as the square roots of the pivots
- Find the off-diagonal entries of R by matching S entry by entry
- Decide whether a real Cholesky factor exists from the pivot signs
- Tell the L L transpose convention from the R transpose R convention
- 1. Find for.
- 2. — does a real Cholesky factor exist?
- 3. If, what is, and what are its pivots?
Answers
1., so, and so.. 2. Pivots and: the second is negative, so no real factor exists. Eigenvalues are, one negative. 3., pivots and, roots and — the diagonal of. ✔