Docsity

LU Factorization-Linear Algebra-Handout, Exercises of Linear Algebra

Partial preview of the text

Download LU Factorization-Linear Algebra-Handout and more Exercises Linear Algebra in PDF only on Docsity!

80 Chapteo! Linear Equations and Matrices re ie) wesmem [3] (a) Find A“. (b) Find (A7)~!. How do (A7)~! and A~! compare? 19, Is the inverse of a nonsingular symmetric matrix always symmetric? Explain. 20. (a) Is(A+B)'=A'+B2 * I yt c 21, For what values of & does the homogeneous system Q-Dx+ 2y 2x +Q-Ny have a nontrivial solution? (b) Is (cA) 22, If A and B are nonsingular, are A + B, A — B, and —A nonsingular? Explain. 4 0 0 23. 1fD=|0 -2 0], find D-!. 0 0 3 4. IEA 21 ang B-' = [2 . 3) and 8 =| 25. Solve Ax = b for x if 26, Let A be a3 x 3 matrix. Suppose that L| is a solution to the homogeneous system Ax = 0. Is A singular or nonsingular? Justify your answer. In Exercises 27 and 28, find the inverse of the given partitioned matrix A and express A~' asa partitioned matrix. Theoretical Exercises 3 ‘TA. Suppose that A and B are square matrices and ‘AB = O. If B is nonsingular, find A. T.2. Prove Corollary 1.2. 3, Let A be ann x n matrix, Show that if A is singular, then the homogeneous system Ax = 0 has a nontrivial solution. (Hint: Use Theorem 1.12.) ‘TA, Show that the matrix is nonsingular if and only if ad — be # 0. If this condition holds, show that d ad — be ates -¢ ad — be ‘'T.S. Show that the matrix cos sind —sind cosé is nonsingular, and compute its inverse. T.6. Show that the inverse of a nonsingular upper (lower) triangular matrix is upper (lower) triangular. ‘T.7. Show that if A is singular and Ax = b, b # 0 has one solution, then it has infinitely many. (Hint: Use Exercise T.13 in Section 1.5.) ‘8. Show that if A is a nonsingular symmetric matrix, then ArT is symmetric I matrix with nonzero diagonal + 4q,. Show that A~' is nonsingular ygonal matrix with diagonal entries Vays, A/az2, «+5 1/dun- T.10. If B = PAP~!, express B?, B?, ..., BY, where k isa positive integer, in terms of A, P, and P~' Maras Exercises In order to use MATLAB in this section, you should first have read Chapter 12 through Section 12.5. ML.L. Using MATLAB, determine which of the following matrices are nonsingular. Use command rref. welt | (b) A= 12 3 @A=]4 5 6}. 7 8 0 =e (eee) ML.2. Using MATLAB, determine which of the following matrices are nonsingular. Use command rref. oo 1 0 0 w a-[ | (ob) A=|0 1 Oj. be ieee rosy @A=|0 1 2). 1 0 0 ML.3. Using MATLAB, determirée the inverse of each of the following matrices. Use command rrefi({A eye(size(A))]). 1 1 2 id wa=[ \| (bo) A=]2 1 1}. re [ 2 i Sec. 1.7. LU-Factorization (Optional) 81 MLA. Using MATLAB, determine the inverse of each of the following matrices. Use command rrefi(A eye(size(A)))). 1-1 2 wa=[} 4 @a=lo 2 11. I 0 0 MLS. Using MATLAB, determine a postive integer so that (11 — A) is singular. 13 ene asl} i} ( A=]1o 4 If. 0 0 -4 —————— 1.7 LU-FACTORIZATION (OPTIONAL) In this section we discuss a variant of Gaussian elimination (presented in Sec- tion 1.5) that decomposes a matrix as a product of a lower triangular matrix and an upper triangular matrix, This decomposition leads to an algorithm for solving a linear system Ax = b that is the most widely used method on computers for solving a linear system. A main reason for the popularity of this method is that it provides the cheapest way of solving a linear system for which we repeatedly have to change the right side. This type of situation occurs often in applied problems. For example, an electric utility company must determine the inputs (the unknowns) needed to produce some required outputs (the right sides). The inputs and outputs might be related by a linear system, whose coefficient matrix is fixed, while the right side changes from day to day, or even hour to hour, The decomposition discussed in this section is also useful in solving other problems in linear algebra. When U is an upper triangular matrix all of whose diagonal entries are different from zero, then the linear system Ux = b can be solved without transforming the augmented matrix [U { b] to reduced row echelon form or to row echelon form. The augmented matrix of such a system is given’by un Mi Mis Mie SB Oia ius 0 0 ws 000 x= Un—An-1 it ~ Dames ten Uj