Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
5 Elementary Matrices 67
Triangular Factorization
If an n × n matrix A can be reduced to strict upper triangular form using only row
operation III, then it is possible to represent the reduction process in terms of a matrix
factorization. We illustrate how this is done in the next example.
EXAMPLE 6 Let
⎧ ⎫
⎪
⎪2 4 2⎪⎪
A=⎪
⎪1
⎪
⎩
5 2⎪⎪
⎪
⎭
4 −1 9
and let us use only row operation III to carry out the reduction process. At the first step,
we subtract 12 times the first row from the second and then we subtract twice the first
row from the third.
⎧ ⎫ ⎧ ⎫
⎪
⎪ 2 4 2⎪⎪ ⎪
⎪ 2 4 2⎪⎪
⎪
⎪1 2⎪⎪→⎪ ⎪0 1⎪⎪
⎪
⎩
5 ⎪
⎭ ⎪
⎩
3 ⎪
⎭
4 −1 9 0 −9 5
To keep track of the multiples of the first row that were subtracted, we set l21 =
1
2
and l31 = 2. We complete the elimination process by eliminating the −9 in
the (3,2) position.
⎧ ⎫ ⎧ ⎫
⎪
⎪ 2 4 2⎪⎪ ⎪
⎪ 2 4 2⎪⎪
⎪0
⎪ 1⎪⎪→⎪ ⎪0 1⎪⎪
⎪
⎩
3 ⎪
⎭ ⎪
⎩
3 ⎪
⎭
0 −9 5 0 0 8
Let l32 = −3, the multiple of the second row subtracted from the third row. If we call
the resulting matrix U and set
⎧ ⎫ ⎧ ⎫
⎪
⎪ 1 0 0 ⎪
⎪ ⎪ ⎪
⎪ 1 0 0⎪ ⎪
⎪
L=⎪ ⎪ 0⎪⎪ ⎪ ⎪
1
⎪ l21 1 ⎪ =
⎭ ⎪ ⎪ 1 0 ⎪
⎪
⎩ ⎩ 2
⎭
l31 l32 1 2 −3 1
The matrix L in the previous example is lower triangular with 1’s on the diagonal.
We say that L is unit lower triangular. The factorization of the matrix A into a product
of a unit lower triangular matrix L times a strictly upper triangular matrix U is often
referred to as an LU factorization.
To see why the factorization in Example 6 works, let us view the reduction process
in terms of elementary matrices. The three row operations that were applied to the
matrix A can be represented in terms of multiplications by elementary matrices
E3 E2 E1 A = U (3)
68 Chapter 1 Matrices and Systems of Equations
where
⎧ ⎫ ⎧ ⎫ ⎧ ⎫
⎪
⎪ 1 0 0⎪⎪ ⎪
⎪ 1 0 0⎪⎪ ⎪
⎪ 1 0 0⎪⎪
⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪
E1 = ⎪ − 12
⎪ 1 0⎪⎪
⎪
⎪
, E2 = ⎪
⎪ 0 1 0⎪⎪
⎪
⎪
, E3 = ⎪
⎪ 0 1 0⎪⎪
⎪
⎪
⎩ ⎭ ⎩ ⎭ ⎩ ⎭
0 0 1 −2 0 1 0 3 1
correspond to the row operations in the reduction process. Since each of the elementary
matrices is nonsingular, we can multiply equation (3) by their inverses.
[We multiply in reverse order because (E3 E2 E1 )−1 = E1−1 E2−1 E3−1 .] However, when the
inverses are multiplied in this order, the multipliers l21 , l31 , l32 fill in below the diagonal
in the product:
⎧ ⎫⎧ ⎫⎧ ⎫
⎪
⎪ 1 0 0⎪ ⎪ ⎪
⎪ 1 0 0⎪ ⎪ ⎪
⎪ 1 0 0⎪⎪
⎪1 ⎪ ⎪ ⎪ ⎪ ⎪
E1−1 E2−1 E3−1 = ⎪
⎪
⎪ 1 0 ⎪
⎪
⎪
⎪
⎪
⎪ 0 1 0 ⎪
⎪
⎪
⎪
⎪
⎪ 0 1 0 ⎪
⎪
⎪ =L
⎪
⎩ 2 ⎪
⎭⎩⎪ ⎪
⎭⎩ ⎪ ⎪
⎭
0 0 1 2 0 1 0 −3 1
In general, if an n×n matrix A can be reduced to strict upper triangular form using only
row operation III, then A has an LU factorization. The matrix L is unit lower triangular,
and if i > j, then lij is the multiple of the jth row subtracted from the ith row during the
reduction process.
The LU factorization is a very useful way of viewing the elimination process. We
will find it particularly useful in Chapter 7 when we study computer methods for solv-
ing linear systems. Many of the major topics in linear algebra can be viewed in terms
of matrix factorizations. We will study other interesting and important factorizations
in Chapters 5 through 7.
17. Let A and B be n × n matrices and let C = A − B. 26. Prove that B is row equivalent to A if and only
Show that if Ax0 = Bx0 and x0 = 0, then C must if there exists a nonsingular matrix M such that
be singular. B = MA.
18. Let A and B be n × n matrices and let C = AB. 27. Is it possible for a singular matrix B to be row
Prove that if B is singular then C must be singular. equivalent to a nonsingular matrix A? Explain.
Hint: Use Theorem 1.5.2. 28. Given a vector x ∈ Rn+1 , the (n+1)×(n+1) matrix
19. Let U be an n × n upper triangular matrix with V defined by
nonzero diagonal entries. 1 if j = 1
vij = j−1
(a) Explain why U must be nonsingular. xi for j = 2, . . . , n + 1
(b) Explain why U −1 must be upper triangular. is called the Vandermonde matrix.
20. Let A be a nonsingular n × n matrix and let B be (a) Show that if
an n × r matrix. Show that the reduced row echelon
form of (A|B) is (I|C), where C = A−1 B. Vc = y
21. In general, matrix multiplication is not commutat- and
ive (i.e., AB = BA). However, in certain special
p(x) = c1 + c2 x + · · · + cn+1 xn
cases the commutative property does hold. Show
that then
(a) if D1 and D2 are n × n diagonal matrices, then p(xi ) = yi , i = 1, 2, . . . , n + 1
D1 D2 = D2 D1 . (b) Suppose that x1 , x2 , . . . , xn+1 are all distinct.
(b) if A is an n × n matrix and Show that if c is a solution of Vx = 0 then
the coefficients c1 , c2 , . . . , cn must all be zero,
B = a0 I + a1 A + a2 A2 + · · · + ak Ak and hence V must be nonsingular.
where a0 , a1 , . . . , ak are scalars, then AB = BA. For each of following, answer true if the statement
22. Show that if A is a symmetric nonsingular matrix is always true and answer false otherwise. In the
then A−1 is also symmetric. case of a true statement, explain or prove your
answer. In the case of a false statement, give an
23. Prove that if A is row equivalent to B then B is row example to show that the statement is not always
equivalent to A. true.
24. (a) Prove that if A is row equivalent to B and B is 29. If A is row equivalent to I and AB = AC, then B
row equivalent to C, then A is row equivalent must equal C.
to C. 30. If E and F are elementary matrices and G = EF,
(b) Prove that any two nonsingular n × n matrices then G is nonsingular.
are row equivalent. 31. If A is a 4 × 4 matrix and a1 + a2 = a3 + 2a4 , then
25. Let A and B be an m × n matrices. Prove that if B is A must be singular.
row equivalent to A and U is any row echelon form 32. If A is row equivalent to both B and C, then A is
of A, then B is row equivalent to U. row equivalent to B + C.
If lines are drawn between the second and third rows and between the third and fourth
columns, then C will be divided into four submatrices, C11 , C12 , C21 , and C22 .
⎧ ⎫
⎧ ⎫ ⎪ ⎪ 1 −2
⎪
4 1 3⎪ ⎪
⎪
⎪ C11 C12 ⎪ ⎪
⎪ ⎪
⎪
⎪
⎪ ⎪
⎪ ⎪
⎪ 2 1 1 1 1 ⎪
⎪
⎩ ⎭ ⎪= ⎪ ⎪
⎪
C21 C22 ⎪
⎪ 3 3 2 −1 2 ⎪
⎪
⎪
⎩ ⎪
⎭
4 6 2 2 4
One useful way of partitioning a matrix is to partition it into columns. For
example, if
⎧ ⎫
⎪ −1 2
⎪ 1⎪⎪
B=⎪ ⎪ 2 3
⎪
⎩
1⎪⎪
⎪
⎭
1 4 1
we can partition B into three column submatrices:
⎧ ⎫
⎪
⎪ −1 2 1 ⎪
⎪
B = (b1 b2 b3 ) = ⎪
⎪
⎪ 2 3 1⎪⎪
⎪
⎩ ⎭
1 4 1
Suppose that we are given a matrix A with three columns; then the product AB can
be viewed as a block multiplication. Each block of B is multiplied by A and the result
is a matrix with three blocks: Ab1 , Ab2 , and Ab3 ; that is,
⎧ ⎫
AB = A(b1 b2 b3 ) = ⎩ Ab1 Ab2 Ab3 ⎭
For example, if
⎧ ⎫
A=⎪
⎩1 3 1⎪⎭
2 1 −2
then
⎧ ⎫ ⎧ ⎫ ⎧ ⎫
Ab1 = ⎪
⎩ 6⎪ ⎭ , Ab2 = ⎪
⎩ 15 ⎪
⎭ , Ab3 = ⎪
⎩5⎪ ⎭
−2 −1 1
and hence
⎧ ⎫
A(b1 b2 b3 ) = ⎪
⎩ ⎪
6 15 5 ⎭
−2 −1 1
⎧if A is an m ×⎫
In general, n matrix and B is an n × r matrix that has been partitioned
⎩ ⎭
into columns b1 · · · br , then the block multiplication of A times B is given by
In particular,
(a1 · · · an ) = A = AI = (Ae1 · · · Aen )