math 221 linear algebra
play

Math 221: LINEAR ALGEBRA 2-4. Matrix Inverses Le Chen 1 Emory - PowerPoint PPT Presentation

Math 221: LINEAR ALGEBRA 2-4. Matrix Inverses Le Chen 1 Emory University, 2020 Fall (last updated on 08/18/2020) Creative Commons License (CC BY-NC-SA) 1 Slides are adapted from those by Karen Seyffarth from University of Calgary. The n n


  1. reduced row-echelon matrix. into a The Matrix Inversion Algorithm Let A be an n × n matrix. To fjnd A − 1 , if it exists, Step 1 take the n × 2 n matrix � A I n � obtained by augmenting A with the n × n identity matrix, I n . � � Step 2 Perform elementary row operations to transform A I n Theorem (Matrix Inverses) Let A be an n × n matrix. Then the following conditions are equivalent. 1. A is invertible. 2. the reduced row-echelon form on A is I. � � � A − 1 � 3. A I n can be transformed into I n using the Matrix Inversion Algorithm.

  2. Problem  1 0 − 1  Find, if possible, the inverse of − 2 1 3  .  − 1 1 2

  3. Problem  1 0 − 1  Find, if possible, the inverse of − 2 1 3  .  − 1 1 2 Solution Using the matrix inversion algorithm

  4. Problem  1 0 − 1  Find, if possible, the inverse of − 2 1 3  .  − 1 1 2 Solution Using the matrix inversion algorithm   1 0 − 1 1 0 0 − 2 1 3 0 1 0   − 1 1 2 0 0 1

  5. Problem  1 0 − 1  Find, if possible, the inverse of − 2 1 3  .  − 1 1 2 Solution Using the matrix inversion algorithm     1 0 − 1 1 0 0 1 0 − 1 1 0 0  → − 2 1 3 0 1 0 0 1 1 2 1 0    − 1 1 2 0 0 1 0 1 1 1 0 1

  6. Problem  1 0 − 1  Find, if possible, the inverse of − 2 1 3  .  − 1 1 2 Solution Using the matrix inversion algorithm     1 0 − 1 1 0 0 1 0 − 1 1 0 0  →  → − 2 1 3 0 1 0 0 1 1 2 1 0   − 1 1 2 0 0 1 0 1 1 1 0 1   1 0 − 1 1 0 0 0 1 1 2 1 0   0 0 0 − 1 − 1 1 From this, we see that A has no inverse.

  7. Problem   3 1 2 Let A = 1 − 1 3  . Find the inverse of A, if it exists.  1 2 4

  8. Solution Using the matrix inversion algorithm

  9. Solution Using the matrix inversion algorithm  3 1 2 1 0 0   1 − 1 3 0 1 0  � �  → A I = 1 − 1 3 0 1 0 3 1 2 1 0 0    1 2 4 0 0 1 1 2 4 0 0 1     1 − 1 3 0 1 0 1 − 1 3 0 1 0  → 0 4 − 7 1 − 3 0 0 1 − 8 1 − 2 − 1 →    0 3 1 0 − 1 1 0 3 1 0 − 1 1     1 0 − 5 1 − 1 − 1 1 0 − 5 1 − 1 − 1  → → 0 1 − 8 1 − 2 − 1 0 1 − 8 1 − 2 − 1    − 3 5 4 0 0 25 − 3 5 4 0 0 1 25 25 25 10 − 5 1 0 0 0   25 25  = A − 1 � 1 − 10 7 � → 0 1 0 I  25 25 25 − 3 5 4 0 0 1 25 25 25

  10. Solution (continued) Therefore, A − 1 exists, and 10 − 5 0     10 0 − 5 25 25  = 1 A − 1 = 1 − 10 7 1 − 10 7    25 25 25 25 − 3 5 4 − 3 5 4 25 25 25

  11. Solution (continued) Therefore, A − 1 exists, and 10 − 5 0     10 0 − 5 25 25  = 1 A − 1 = 1 − 10 7 1 − 10 7    25 25 25 25 − 3 5 4 − 3 5 4 25 25 25 You can check your work by computing AA − 1 and A − 1 A.

  12. Systems of Linear Equations and Inverses Suppose that a system of n linear equations in n variables is written in matrix x = � form as A � b , and suppose that A is invertible.

  13. Systems of Linear Equations and Inverses Suppose that a system of n linear equations in n variables is written in matrix x = � form as A � b , and suppose that A is invertible. Example The system of linear equations 2 x − 7 y = 3 5 x − 18 y = 8 x = � can be written in matrix form as A � b: � 2 � � x � 3 � � − 7 = 5 − 18 y 8

  14. Systems of Linear Equations and Inverses Suppose that a system of n linear equations in n variables is written in matrix x = � form as A � b , and suppose that A is invertible. Example The system of linear equations 2 x − 7 y = 3 5 x − 18 y = 8 x = � can be written in matrix form as A � b: � 2 � � x � 3 � � − 7 = 5 − 18 y 8 � 18 � − 7 You can check that A − 1 = . 5 − 2

  15. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following.

  16. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following. � A � x = b

  17. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following. � A � x = b A − 1 � A − 1 ( A � x ) = b

  18. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following. � A � x = b A − 1 � A − 1 ( A � x ) = b A − 1 � ( A − 1 A ) � x = b

  19. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following. � A � x = b A − 1 � A − 1 ( A � x ) = b A − 1 � ( A − 1 A ) � x = b A − 1 � I � x = b

  20. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following. � A � x = b A − 1 � A − 1 ( A � x ) = b A − 1 � ( A − 1 A ) � x = b A − 1 � I � x = b A − 1 � x = b �

  21. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following. � A � x = b A − 1 � A − 1 ( A � x ) = b A − 1 � ( A − 1 A ) � x = b A − 1 � I � x = b A − 1 � x = b � x = � x = A − 1 � i.e., A � b has the unique solution given by � b.

  22. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following. � A � x = b A − 1 � A − 1 ( A � x ) = b A − 1 � ( A − 1 A ) � x = b A − 1 � I � x = b A − 1 � x = b � x = � x = A − 1 � i.e., A � b has the unique solution given by � b. Therefore, � 3 � 18 � � 3 � − 2 � � � − 7 x = A − 1 � = = 8 5 − 2 8 − 1

  23. Example (continued) Since A − 1 exists and has the property that A − 1 A = I, we obtain the following. � A � x = b A − 1 � A − 1 ( A � x ) = b A − 1 � ( A − 1 A ) � x = b A − 1 � I � x = b A − 1 � x = b � x = � x = A − 1 � i.e., A � b has the unique solution given by � b. Therefore, � 3 � 18 � � 3 � − 2 � � � − 7 x = A − 1 � = = 8 5 − 2 8 − 1 You should verify that x = − 2 , y = − 1 is a solution to the system.

  24. The last example illustrates another method for solving a system of linear Unless that coeffjcient matrix is , this is generally an effjcient method for solving a system of linear equations. equations when the coefficient matrix is square and invertible .

  25. The last example illustrates another method for solving a system of linear solving a system of linear equations. equations when the coefficient matrix is square and invertible . Unless that coeffjcient matrix is 2 × 2 , this is generally NOT an effjcient method for

  26. Example Let A , B and C be matrices, and suppose that A is invertible. 1. If AB = AC, then

  27. Example Let A , B and C be matrices, and suppose that A is invertible. 1. If AB = AC, then A − 1 ( AB ) A − 1 ( AC ) =

  28. Example Let A , B and C be matrices, and suppose that A is invertible. 1. If AB = AC, then A − 1 ( AB ) A − 1 ( AC ) = ( A − 1 A ) B ( A − 1 A ) C =

  29. Example Let A , B and C be matrices, and suppose that A is invertible. 1. If AB = AC, then A − 1 ( AB ) A − 1 ( AC ) = ( A − 1 A ) B ( A − 1 A ) C = IB = IC

  30. Example Let A , B and C be matrices, and suppose that A is invertible. 1. If AB = AC, then A − 1 ( AB ) A − 1 ( AC ) = ( A − 1 A ) B ( A − 1 A ) C = IB = IC B = C

  31. Example Let A , B and C be matrices, and suppose that A is invertible. 1. If AB = AC, then A − 1 ( AB ) A − 1 ( AC ) = ( A − 1 A ) B ( A − 1 A ) C = IB = IC B = C 2. If BA = CA, then

  32. Example Let A , B and C be matrices, and suppose that A is invertible. 1. If AB = AC, then A − 1 ( AB ) A − 1 ( AC ) = ( A − 1 A ) B ( A − 1 A ) C = IB = IC B = C 2. If BA = CA, then ( BA ) A − 1 ( CA ) A − 1 = B ( AA − 1 ) C ( AA − 1 ) = BI = CI B = C

  33. Example Let A , B and C be matrices, and suppose that A is invertible. 1. If AB = AC, then A − 1 ( AB ) A − 1 ( AC ) = ( A − 1 A ) B ( A − 1 A ) C = IB = IC B = C 2. If BA = CA, then ( BA ) A − 1 ( CA ) A − 1 = B ( AA − 1 ) C ( AA − 1 ) = BI = CI B = C Problem Find square matrices A , B and C for which AB = AC but B � = C.

  34. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T =

  35. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T =

  36. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T =

  37. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T

  38. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T

  39. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T

  40. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T .

  41. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 )

  42. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1

  43. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1

  44. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1 = AA − 1

  45. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1 = AA − 1 = I

  46. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1 = AA − 1 = I and ( B − 1 A − 1 )( AB )

  47. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1 = AA − 1 = I and ( B − 1 A − 1 )( AB ) = B − 1 ( A − 1 A ) B

  48. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1 = AA − 1 = I and ( B − 1 A − 1 )( AB ) = B − 1 ( A − 1 A ) B = B − 1 IB

  49. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1 = AA − 1 = I and ( B − 1 A − 1 )( AB ) = B − 1 ( A − 1 A ) B = B − 1 IB = B − 1 B

  50. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1 = AA − 1 = I and ( B − 1 A − 1 )( AB ) = B − 1 ( A − 1 A ) B = B − 1 IB = B − 1 B = I

  51. Inverses of Transposes and Products Example Suppose A is an invertible matrix. Then A T ( A − 1 ) T = ( A − 1 A ) T = I T = I and ( A − 1 ) T A T = ( AA − 1 ) T = I T = I This means that ( A T ) − 1 = ( A − 1 ) T . Example Suppose A and B are invertible n × n matrices. Then ( AB )( B − 1 A − 1 ) = A ( BB − 1 ) A − 1 = AIA − 1 = AA − 1 = I and ( B − 1 A − 1 )( AB ) = B − 1 ( A − 1 A ) B = B − 1 IB = B − 1 B = I This means that ( AB ) − 1 = B − 1 A − 1 .

  52. The previous two examples prove the fjrst two parts of the following theorem. Inverses of Transposes and Products

  53. The previous two examples prove the fjrst two parts of the following theorem. Inverses of Transposes and Products Theorem 1. If A is an invertible matrix, then ( A T ) − 1 = ( A − 1 ) T .

  54. The previous two examples prove the fjrst two parts of the following theorem. Inverses of Transposes and Products Theorem 1. If A is an invertible matrix, then ( A T ) − 1 = ( A − 1 ) T . 2. If A and B are invertible matrices, then AB is invertible and ( AB ) − 1 = B − 1 A − 1

  55. The previous two examples prove the fjrst two parts of the following theorem. Inverses of Transposes and Products Theorem 1. If A is an invertible matrix, then ( A T ) − 1 = ( A − 1 ) T . 2. If A and B are invertible matrices, then AB is invertible and ( AB ) − 1 = B − 1 A − 1 3. If A 1 , A 2 , . . . , A k are invertible, then A 1 A 2 · · · A k is invertible and ( A 1 A 2 · · · A k ) − 1 = A − 1 k A − 1 k − 1 · · · A − 1 2 A − 1 1 (the third part is proved by iterating the above, or, more formally, by using the mathematical induction)

  56. Properties of Inverses Theorem 1. I is invertible, and I − 1 = I.

  57. Properties of Inverses Theorem 1. I is invertible, and I − 1 = I. 2. If A is invertible, so is A − 1 , and ( A − 1 ) − 1 = A.

  58. Properties of Inverses Theorem 1. I is invertible, and I − 1 = I. 2. If A is invertible, so is A − 1 , and ( A − 1 ) − 1 = A. 3. If A is invertible, so is A k , and ( A k ) − 1 = ( A − 1 ) k . (A k means A multiplied by itself k times)

  59. Properties of Inverses Theorem 1. I is invertible, and I − 1 = I. 2. If A is invertible, so is A − 1 , and ( A − 1 ) − 1 = A. 3. If A is invertible, so is A k , and ( A k ) − 1 = ( A − 1 ) k . (A k means A multiplied by itself k times) 4. If A is invertible and p ∈ R is nonzero, then pA is invertible, and ( pA ) − 1 = 1 p A − 1 .

  60. Example � 1 � 1 Given (3 I − A T ) − 1 = 2 , we wish to find the matrix A. 2 3

  61. Example � 1 � 1 Given (3 I − A T ) − 1 = 2 , we wish to find the matrix A. Taking 2 3 inverses of both sides of the equation: � 1 �� − 1 � 1 3 I − A T = 2 2 3

  62. Example � 1 � 1 Given (3 I − A T ) − 1 = 2 , we wish to find the matrix A. Taking 2 3 inverses of both sides of the equation: � 1 �� − 1 � 1 3 I − A T = 2 2 3 � 1 � − 1 1 1 = 2 3 2

  63. Example � 1 � 1 Given (3 I − A T ) − 1 = 2 , we wish to find the matrix A. Taking 2 3 inverses of both sides of the equation: � 1 �� − 1 � 1 3 I − A T = 2 2 3 � 1 � − 1 1 1 = 2 3 2 � � 1 3 − 1 = − 2 1 2

  64. Example � 1 � 1 Given (3 I − A T ) − 1 = 2 , we wish to find the matrix A. Taking 2 3 inverses of both sides of the equation: � 1 �� − 1 � 1 3 I − A T = 2 2 3 � 1 � − 1 1 1 = 2 3 2 � � 1 3 − 1 = − 2 1 2 3 − 1 � � = 2 2 1 − 1 2

Recommend


More recommend