For positive definite matrices, there is a special property that makes decomposition much simpler. LU decomposition can be performed without using a permutation matrix P because Gaussian elimination can proceed without row swapping, and all pivot elements generated are guaranteed to be positive.
This means we obtain factorization in the form A=L⋅U, where the diagonal elements of are positive pivot elements for all diagonal indices.
U
Since A=AT, we also have:
A=AT=(L⋅U)T=(L⋅D⋅U~)T=U~T⋅D⋅LT
where U~ is a matrix whose main diagonal is normalized to 1, and D is a diagonal matrix:
The Cholesky algorithm for computing the Cholesky factor L~ from A∈Rn×n requires:
61n3+O(n2)
arithmetic operations.
This is half the number of operations required to compute LU decomposition, because the use of symmetry allows us to perform computations without row swapping in a different order.