Exercise 1.7.8 and [11] for more sophisticated ways to speed up the computation.
1.7.3. Back Substitution requires about one half the number of arithmetic operations as multi-
plying a matrix times a vector, and so is twice as fast.
♦1.7.4. We begin by proving (1.61). We must show that 1 + 2 + 3 + . . . + (n−1) = n(n−1)/2
for n= 2,3, . . .. For n= 2 both sides equal 1. Assume that (1.61) is true for n=k. Then
♥1.7.5. We may assume that the matrix is regular, so P= I , since row interchanges have no
effect on the number of arithmetic operations.
(a) First, according to (1.60), it takes 1
3n3−1
3nmultiplications and 1
3n3−1
2n2+1
6n
additions to factor A=LU. To solve Lcj=ejby Forward Substitution, the first j−1
multiplications and n(n−1)2additions.
(b) Starting with the large augmented matrix M=“A|I”, it takes 1
2n2(n−1) multipli-
cations and 1
2n(n−1)2additions to reduce it to triangular form “U|C”with Uupper
triangular and Clower triangular, then n2multiplications to obtain the special upper
1.7.6. Combining (1.60–61), we see that it takes 1
3n3+1
2n2−5
6nmultiplications and 1
3n3−1
3n
additions to reduce the augmented matrix to upper triangular form “U|c”. Dividing the
1.7.7. Less efficient, by, roughly, a factor of 3
2. It takes 1
2n3+n2−1
2nmultiplications and
1
2n3−1
2nadditions.
27