Handout 15 Matrix Inverse ¡1 If A is a square (n£n) matrix whose determinant is not zero, then there exists an inverse A satisfying: ¡1 ¡1 A A = I A A = I: Properties Uniqueness If the inverse exists, it is unique (a matrix can only have one inverse). ¡1 ¡1 Inverse of a product (A B)¡1 = B A . ¡1 Determinant of an inverse det (A ) = 1= det (A). ¡1 Inverse of an inverse (A )¡1 = A. Inverse of a small matrix For a 2 £ 2 matrix, if a b ¡1 1 d ¡b A = and det (A) 6= 0 then A = : µ c d ¶ det (A) µ ¡c a ¶ Gauss-Jordan elimination If we write an augmented matrix containing A j I we can use Gauss-Jordan elimination: ¡ ¢ 1. Carry out Gaussian elimination to get the matrix on the left to upper-triangular form. Check that there are no zeros on the digaonal (otherwise there is no inverse and we say A is singular) 2. Working from bottom to top and right to left, use row operations to create zeros above the diagonal as well, until the matrix on the left is diagonal. 3. Divide each row by a constant so that the matrix on the left becomes the identity matrix. ¡1 Once this is complete, so we have I j B , the matrix on the right is our inverse: B = A . ¡ ¢ Cofactor method There is a formal way to de¯ne the inverse. We ¯nd all the cofactors of our matrix (look back to determinants if you've forgotten) and put them in the matrix of cofactors. Then: C11 C21 ¢ ¢ ¢ Cn1 12 22 n2 ¡1 1 > 1 0 C C ¢ ¢ ¢ C 1 A = (matrix of cofactors) = . : det (A) det (A) B . .. C B C B C1n C2n ¢ ¢ ¢ Cnn C @ A When to use the matrix inverse ² If we have a single system to solve, usually use Gaussian elimination to ¯nd the solution. ² If we have many systems with the same matrix: A x1 = b1, A x2 = b2, A x3 = b3. then it may be ¡1 more e±cient to ¯nd A . ¡1 ² To ¯nd A , the cofactor method is quicker for small matrices but we can't do anything like row sums to check during the calculation. ² In real life (for large matrices) it's usually more e±cient to use the Gauss-Jordan method (with pivoting) ¡1 ² At the end of either of these, we should check A A = I to be sure we have the right answer..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages1 Page
-
File Size-