576
NUMERICAL
SOLUTION OF SYSTEMS
OF
LINEAR EQUATIONS
these results with those based on directly solving
Ax
= b using
Gaussian elimination and complex arithmetic. Note
the greater ex-
pense of complex arithmetic operations.
6.
Let A, B, C be matrices of orders m X n, n X
p,
p X
q,
respectively. Do an
operations count for computing
A(BC)
and
(AB)C.
Give examples of
when one order of computation
is
preferable over the other.
7. (a) Show that the number of multiplications and divisions for the
Gauss-Jordan method of Section
8.3
is
about
tn
3
•
(b) Show how the Gauss-Jordan method, with partial pivoting, can be
used to invert an
n X n matrix within only
n(n
+
1)
storage loca-
tions.
~an
complete pivoting be used?
8.
Use either the programs of Problem 3(a) or the Gauss-Jordan method to
invert the matrices
in Problems 1 and 3(b).
9. Prove that if
A = LLT with L real and nonsingular, then A
is
symmetric
and positive definite.
·
10.
Using the Choleski method, calculate the decomposition A =
LLr
for
[
2.25
(a)
-3.0
4.5
-3.0
5.0
-10.0
4.5]
-10.0
34.0
(b)
[
15
-18
15
-3
-18
24
-18
4
15
-18
18
-3
11.
Let A be nonsingular. Let. A =
LU
=
LDM,
with all l;;,
mu
=
1,
and D
diagonal. Further assume A
is
symmetric. Show
that
M = Lr, and thus
A
=
LDe.
Show A
is
positive definite if and only if all
d;;
>
0.
12. Let A be real, symmetric, positive definite, and of order n. Consider solving
Ax
= b using Gaussian elimination without pivoting. The purpose of this
problem is to justify that the pivots will be nonzero.
(a) Show that
all of the diagonal elements satisfy
a;;
>
0.
This shows that
a
11
can be used
as
a pivot element.
(b) After elimination of x
1
from equations 2 through n, let the resulting
matrix
A<
2
> be written as ·
1<2).
Show that
1<
2
>·.is
symmetric and positive definite.