Next: Tridiagonal Matrices
Up: Variants of Gaussian Elimination
Previous: Decomposition into Gaussian Triangular
We have so far always chosen the diagonal elements of L to be 1,
following Gaussian Elimination. We now remove this restriction and write
the factorization equations for
in symmetric form as
| u11m11 |
= |
a11 |
(2.4) |
| ukkmkk |
= |
 |
(2.5) |
| u1j |
= |
 |
(2.6) |
| ukj |
= |
 |
(2.7) |
| mi1 |
= |
 |
(2.8) |
| mik |
= |
 |
(2.9) |
At each stage we have a free choice of ukk or mkk. The only
choice which might seem to offer an advantage is
 |
(2.10) |
In practice, this choice is only used for real symmetric matrices, when
it is known as Choleski's Method. The following theorem shows the
potential advantage of the method.
Theorem 2.3.1
If

is symmetric and can be
factorized into
LU, where
L,
U are lower and upper triangular factors
respectively, and if their diagonals are chosen to be identical, then
U=
LT and
A=
LLT.
Proof. (By induction on k).
Using (5.6) and (5.8), we find for
Now assume
.
With the help of (5.7) and (5.9) we obtain for
Thus, for a real symmetric matrix we only need to calculate the elements
of L or U, but we do have to compute square roots for the diagonal
elements. The operational count for one right hand side is
square roots.
Example. Factorize the matrix
.
The factorization is
Note that the diagonal element and hence the other elements in the
corresponding row of U can only be real or purely imaginary. Later
elements are then formed from the products of real or imaginary
elements, so that no complex numbers arise. We can even eliminate imaginary
elements from A=LLT by writing L=MD, where M is real and D is
diagonal with entries 1 or i (since the columns of L are either real
or pure imaginary). Then
A=(MD)(MD)T=(MD2)MT=NMT say, where N=MD2 has
the same columns as M apart possibly from the signs.Example. We return to the previous example where
Now
There are two connected snags; we cannot use interchanges without
destroying the symmetry, and because of this we may at some stage obtain
a zero pivot, so that we cannot proceed at all. These snags are avoided
if A is positive definite, and so the method is only usually used for
such matrices.
Definition 2.3.2
A symmetric matrix

is
positive definite if

for all nonzero vectors

.
Lemma 2.3.3
Let
Ak be the matrix formed from the first
k rows and
columns of

.
If
A is positive definite
then so is
Ak for

.
Proof. For arbitrary
let
. Then
.
Theorem 2.3.4
If

is symmetric and
positive definite then the Choleski factorization exists and the factors
are real.
Proof. With
L=[mij], we use induction, in which the
kth inductive step consists of proving that
mkk2>0, so that the kth column of L is real.
By the lemma,
A1=[a11] is positive definite, so that
a11x12>0 for all non zero x1, which implies that
m112=a11>0, and so column 1 of L is real.
Suppose the Choleski decomposition exists and
mii2>0 for
, so that the
first k-1 columns of L are real. The equation
Ak=LkLkT displayed is
All elements of Lk are real, except possibly mkk. Now choose
so that
, or in displayed form
If mkk=0 we can choose
real and nonzero. Otherwise
xk=1 and other components of
are real by back-substitution.
Hence
.
Now
Next: Tridiagonal Matrices
Up: Variants of Gaussian Elimination
Previous: Decomposition into Gaussian Triangular
John Gilbert
1999-02-25