SlideShare a Scribd company logo
Announcements




     Quiz 2 on Wednesday Jan 27 on sections 1.4, 1.5, 1.7 and 1.8
     If you have any grading issues with quiz 1, please discuss with
     me asap.
     Test 1 will be on Feb 1, Monday in class. More details later.
Last Class..




   Two matrices are equal if
       they have the same size
       the corresponding entries are all equal
Last Class..




   Two matrices are equal if
        they have the same size
        the corresponding entries are all equal
   If A and B are m × n matrices, the sum A + B is also an m × n matrix
Last Class..




   Two matrices are equal if
        they have the same size
        the corresponding entries are all equal
   If A and B are m × n matrices, the sum A + B is also an m × n matrix

   The columns of A + B is the sum of the corresponding columns of A
   and B .
Last Class..




   Two matrices are equal if
        they have the same size
        the corresponding entries are all equal
   If A and B are m × n matrices, the sum A + B is also an m × n matrix

   The columns of A + B is the sum of the corresponding columns of A
   and B .
   A + B is dened only if A and B are of the same size.
Matrix Multiplication




   Denition
   Suppose A is an m × n matrix and let B be another matrix of size
   n × p with columns b1 , b2 , . . . , bp , the product AB is the m × p
   matrix whose columns are Ab1 , Ab2 , . . . , Abp
   In other words,
   AB = A b1 b2 . . . bp        =   Ab1 Ab2 . . . Abp
Matrix Multiplication




   For multiplication of 2 matrices to be possible,
       The number of columns in the rst matrix (multiplicant) must
       be same as the number of rows in the second matrix
       (multiplier).
Matrix Multiplication




   For multiplication of 2 matrices to be possible,
       The number of columns in the rst matrix (multiplicant) must
       be same as the number of rows in the second matrix
       (multiplier).
       If both matrices are square matrices, you can always multiply
       them either way (that is AB or BA)
Matrix Multiplication




   For multiplication of 2 matrices to be possible,
       The number of columns in the rst matrix (multiplicant) must
       be same as the number of rows in the second matrix
       (multiplier).
       If both matrices are square matrices, you can always multiply
       them either way (that is AB or BA)
       For arbitrarily sized matrices, it is possible that you can nd
       AB but not nd BA. Or you could nd BA but not AB .
       Sometimes, both AB and BA will not exist.
Matrix Multiplication




   For multiplication of 2 matrices to be possible,
       The number of columns in the rst matrix (multiplicant) must
       be same as the number of rows in the second matrix
       (multiplier).
       If both matrices are square matrices, you can always multiply
       them either way (that is AB or BA)
       For arbitrarily sized matrices, it is possible that you can nd
       AB but not nd BA. Or you could nd BA but not AB .
       Sometimes, both AB and BA will not exist.
       Thus in general AB = BA
Questions




    1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB
       exist?
Questions




    1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB
       exist? NO
    2. What about BA?
Questions




    1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB
       exist? NO
    2. What about BA?NO
    3. Suppose A is a 6 × 4 matrix and B is a 4 × 3 matrix, does AB
       exist?
Questions




    1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB
       exist? NO
    2. What about BA?NO
    3. Suppose A is a 6 × 4 matrix and B is a 4 × 3 matrix, does AB
       exist? Yes
    4. What about BA?
Questions




    1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB
       exist? NO
    2. What about BA?NO
    3. Suppose A is a 6 × 4 matrix and B is a 4 × 3 matrix, does AB
       exist? Yes
    4. What about BA? NO
Questions

   Suppose A is a 2 × 5 matrix and B is a 5 × 3 matrix, what are the
   sizes of AB and BA?
                                        B
                     A                                AB
                                               
                                    ∗   ∗   ∗
                                   ∗   ∗   ∗   
              ∗ ∗ ∗ ∗ ∗                            ∗ ∗ ∗
                                    ∗   ∗   ∗   =
                                               
              ∗ ∗ ∗ ∗ ∗                              ∗ ∗ ∗
                                
                                               
                                   ∗   ∗   ∗   
                                    ∗   ∗   ∗

                    2×5                 5×3




   The product BA is not dened here.
Questions

   Suppose A is a 2 × 5 matrix and B is a 5 × 3 matrix, what are the
   sizes of AB and BA?
                                        B
                     A                                AB
                                               
                                    ∗   ∗   ∗
                                   ∗   ∗   ∗   
              ∗ ∗ ∗ ∗ ∗                            ∗ ∗ ∗
                                    ∗   ∗   ∗   =
                                               
              ∗ ∗ ∗ ∗ ∗                              ∗ ∗ ∗
                                
                                               
                                   ∗   ∗   ∗   
                                    ∗   ∗   ∗

                    2×5                 5×3
                            Match



   The product BA is not dened here.
Questions

   Suppose A is a 2 × 5 matrix and B is a 5 × 3 matrix, what are the
   sizes of AB and BA?
                                        B
                     A                                AB
                                               
                                    ∗   ∗   ∗
                                   ∗   ∗   ∗   
              ∗ ∗ ∗ ∗ ∗                            ∗ ∗ ∗
                                    ∗   ∗   ∗   =
                                               
              ∗ ∗ ∗ ∗ ∗                              ∗ ∗ ∗
                                
                                               
                                   ∗   ∗   ∗   
                                    ∗   ∗   ∗

                    2×5                 5×3
                            Match

                           Size of AB

   The product BA is not dened here.
Questions

   Suppose A is a 2 × 5 matrix and B is a 5 × 3 matrix, what are the
   sizes of AB and BA?
                                        B
                     A                                AB
                                               
                                    ∗   ∗   ∗
                                   ∗   ∗   ∗   
              ∗ ∗ ∗ ∗ ∗                            ∗ ∗ ∗
                                    ∗   ∗   ∗   =
                                               
              ∗ ∗ ∗ ∗ ∗                              ∗ ∗ ∗
                                
                                               
                                   ∗   ∗   ∗   
                                    ∗   ∗   ∗

                    2×5                 5×3           2×3
                            Match

                           Size of AB

   The product BA is not dened here.
The Row-Column rule




   The following is the more ecient and easy way for computing AB .

   If the product AB is dened, the entry in row i and column j of AB
    is the sum of the products of corresponding entries from
    row i of A and column j of B
   For example, The entry in the rst row, second column in AB is the
   sum of the products of the entries from the rst row of A and the
   second column of B .
Example




                                             0 2
                                                   
                      2 3   −1
  Find AB where A =              and B =    −2 3
                      0 1   2
                                                    
                                             4 2
B : 3 rows 2 columns
                                          
                            
                                0     2   
                                           
                                          
                                          
              0                 −2     3
                                          
         2×
                                          
                                          
                                          
                                 4     2
                                          
                                          




                                        


   2    3        −1   
                       
                            
                               −10    ∗   
                                           
                                        
                                        
    0    1        2
                                          
                              ∗     ∗   


A : 2 rows 3 columns
B : 3 rows 2 columns
                                               
                                 
                                     0     2   
                                                
                                               
                                               
              0                      −2     3
                                               
         2×
                                               
                                               
                       2)                      
                   (−                 4     2
                                               
                                               
              3×


                                             


   2    3        −1        
                            
                                 
                                    −10    ∗   
                                                
                                             
                                             
    0    1         2
                                               
                                   ∗     ∗   


A : 2 rows 3 columns
B : 3 rows 2 columns
                                                        
                                          
                                              0     2   
                                                         
                                                        
                                                        
              0                               −2     3
                                                        
         2×
                                                        
                                                        
                       2)                               
                   (−                          4     2
                                                        
                                     4
                                                        
              3×
                            1   )×
                        (−

                                                      


   2    3        −1            
                                
                                          
                                             −10    ∗   
                                                         
                                                      
                                                      
    0    1         2
                                                        
                                            ∗     ∗   


A : 2 rows 3 columns
B : 3 rows 2 columns
                                                        
                                          
                                              0     2   
                                                         
                                                        
                                                        
              0                               −2     3
                                                        
         2×
                                                        
                                                        
                       2)
             +
                                                        
                   (−                          4     2
                                                        
                                     4
                                                        
              3×
                   +

                            1   )×
                        (−

                                                      


   2    3        −1            
                                
                                          
                                             −10    ∗   
                                                         
                                                      
                                                      
    0    1         2
                                                        
                                            ∗     ∗   


A : 2 rows 3 columns
B : 3 rows 2 columns
                                          
                            
                                0     2   
                                           
                                          
                  2
                                          
                                −2     3
                                          
             2×
                                          
                                          
                                          
                                 4     2
                                          
                                          




                                        

   2    3        −1   
                       
                            
                               10    11   
                                           
                                        
                                        

    0    1        2            ∗     ∗   



A : 2 rows 3 columns
B : 3 rows 2 columns
                                                  
                                    
                                        0     2   
                                                   
                                                  
                  2
                                                  
                                        −2     3
                                                  
             2×
                                                  
                                                  
                           3
                                                  
                      3×                 4     2
                                                  
                                                  




                                                

   2    3        −1           
                               
                                    
                                       10    11   
                                                   
                                                
                                                

    0    1        2                    ∗     ∗   



A : 2 rows 3 columns
B : 3 rows 2 columns
                                                       
                                          
                                             0    2    
                                                        
                                                       
                  2
                                                       
                                              −2   3
                                                       
             2×
                                                       
                                                       
                           3
                                                       
                      3×                      4    2
                                                       
                                      2
                                                       

                           (−
                               1) ×

                                                     

   2    3        −1           
                               
                                          
                                             10   11   
                                                        
                                                     
                                                     

    0    1        2                         ∗    ∗    



A : 2 rows 3 columns
B : 3 rows 2 columns
                                                     
                                        
                                           0    2    
                                                      
                                                     
                  2
                                                     
                                            −2   3
                                                     
             2×
                                                     
                                                     
              +          3
                                                     
                      3 ×+                  4    2
                                                     
                                    2
                                                     

                        (−
                             1) ×

                                                   

   2    3        −1         
                             
                                        
                                           10   11   
                                                      
                                                   
                                                   

    0    1        2                       ∗    ∗    



A : 2 rows 3 columns
B : 3 rows 2 columns
                                      
                        
                            0     2   
                                       
                                      
                                      
                            −2     3
                                      
                                      
         0                            
                                      
        0×

                             4     2
                                      
                                      




                                    


   2    3    −1   
                   
                        
                            10   11   
                                       
                                    
                                      
                             6
                  
    0    1     2
                                      
                                ∗   


A : 2 rows 3 columns
B : 3 rows 2 columns
                                       
                         
                             0     2   
                                        
                                       
                                       
                             −2     3
                                       
                                       
         0                             
                                       
        0×

                              4     2
                                       
             2)                        
             (−
          1×




                                     


   2    3     −1   
                    
                         
                             10   11   
                                        
                                     
                                       
                              6
                   
    0    1     2
                                       
                                 ∗   


A : 2 rows 3 columns
B : 3 rows 2 columns
                                       
                         
                             0     2   
                                        
                                       
                                       
                             −2     3
                                       
                                       
         0                             
                                       
        0×

                              4     2
                                       
             2)                        
             (−
          1×

                    4
               2×


                                     


   2    3     −1   
                    
                         
                             10   11   
                                        
                                     
                                       
                              6
                   
    0    1     2
                                       
                                 ∗   


A : 2 rows 3 columns
B : 3 rows 2 columns
                                          
                            
                                0     2   
                                           
                                          
                                          
                                −2     3
                                          
                                          
         0                                
                                          
        0×

                                 4     2
                                          
                 2)
             +

                                          
                 (−
          1×
                  +
                       4
                  2×


                                        


   2    3        −1   
                       
                            
                                10   11   
                                           
                                        
                                          
                                 6
                      
    0    1        2
                                          
                                    ∗   


A : 2 rows 3 columns
B : 3 rows 2 columns
                                        
                          
                              0     2   
                                         
                                        
                                        
                              −2     3
                                        
                                        
             2
         0×                             
                                        
                               4     2
                                        
                                        




                                      


   2    3    −1     
                     
                          
                             −10   11   
                                         
                                      
                                      
    0    1       2             6     7
                                      
                                        


A : 2 rows 3 columns
B : 3 rows 2 columns
                                             
                               
                                   0     2   
                                              
                                             
                                             
                                   −2     3
                                             
                                             
             2
         0×                                  
                                             
                      3             4     2
                                             
                                             
                 1×


                                           


   2    3    −1          
                          
                               
                                  −10   11   
                                              
                                           
                                           
    0    1       2                  6     7
                                           
                                             


A : 2 rows 3 columns
B : 3 rows 2 columns
                                                  
                                    
                                        0     2   
                                                   
                                                  
                                                  
                                        −2     3
                                                  
                                                  
             2
         0×                                       
                                                  
                      3                  4     2
                                                  
                                                  
                 1×
                               2
                          2×
                                                


   2    3    −1          
                          
                                    
                                       −10   11   
                                                   
                                                
                                                
    0    1       2                       6     7
                                                
                                                  


A : 2 rows 3 columns
B : 3 rows 2 columns
                                                     
                                    
                                        0       2    
                                                      
                                                     
                                                     
                                        −2       3
                                                     
                                                     
             2
         0×                                          
                                                     
                      3                  4       2
             +                                       
                                                     
                 1×
                               2
                     +

                          2×
                                                   


   2    3    −1          
                          
                                    
                                       −10      11   
                                                      
                                                   
                                                   
    0    1       2                       6       7
                                                   
                                                     


A : 2 rows 3 columns                         C = A × B : 2 rows 2 columns
Identity Matrix


       A diagonal matrix with 1's on the diagonals. (This
       automatically means that it is a square matrix).
       Use the notation In for the identity matrix of order n × n.
       A matrix A of suitable order multiplied with the identity matrix
       gives back A.

   Example

                                  1 0
                                  0 1
                                   I2
                                 1 0 0
                                        
                                0 1 0   
                                 0 0 1
                                   I3
Problem 2, sec 2.1 Parts 3 and 4



              7   −5 1          1    2             −5
   If B =                 ,C=            and E =        . Find CB
              1   −4 −3         −2   1             3
   and EB .
Problem 2, sec 2.1 Parts 3 and 4



              7   −5 1          1    2             −5
   If B =                 ,C=            and E =        . Find CB
              1   −4 −3         −2   1             3
   and EB .
   Obviously the product EB cannot be found (E has 1 column and B
   has 2 rows).
Problem 2, sec 2.1 Parts 3 and 4



              7   −5 1           1    2                 −5
   If B =                 ,C=                 and E =        . Find CB
              1   −4 −3          −2   1                 3
   and EB .
   Obviously the product EB cannot be found (E has 1 column and B
   has 2 rows).
                            1    2        7   −5 1
                     CB =
                            −2   1        1   −4 −3
Problem 2, sec 2.1 Parts 3 and 4



              7    −5 1                      1     2                 −5
   If B =                    ,C=                           and E =        . Find CB
              1    −4 −3                     −2    1                 3
   and EB .
   Obviously the product EB cannot be found (E has 1 column and B
   has 2 rows).
                                    1        2         7   −5 1
                         CB =
                                    −2       1         1   −4 −3

                   1.7 + 2.1    1.(−5) + 2.(−4)     1.1 + 2.(−3)
        =
                  (−2).7 + 1.1 (−2).(−5) + 1.(−4) (−2).1 + 1.(−3)
                                         9        −13 −5
                                =
                                     −13           6 −5
Problem 4, sec 2.1




               9   −1   3
                          

   If A =    −8   7    −6 , nd A − 5I3 and (5I3 )A.
              −4   1     8
Problem 4, sec 2.1




               9   −1   3
                          

   If A =    −8   7    −6 , nd A − 5I3 and (5I3 )A.
              −4   1     8
                1 0 0            5       0    0
                                            

   Since I3 =  0 1 0 , 5I3 =  0       5    0 ,
                0 0 1            0       0    5
                9 −1 3          5       0    0        4   −1   3
                                                               

   A − 5I3 =  −8 7 −6  −  0          5    0  =  −8   2    −6   
               −4 1   8         0       0    5       −4   1     3
Problem 4, sec 2.1




                5 0 0         9 −1 3
                                         

   (5I3 )A =  0 5 0        −8 7 −6  =
                0 0 5         −4 1       8
      5.9 + 0.(−8) + 0.(−4)   5.(−1) + 0.7 + 0.1 5.3 + 0.(−6) + 0.8
                                                                     
    0.9 + 5.(−8) + 0.(−4)    0.(−1) + 5.7 + 0.1 0.3 + 5.(−6) + 0.8   
      0.9 + 0.(−8) + 5.(−4)   0.(−1) + 0.7 + 5.1 0.3 + 0.(−6) + 5.8

                                  45 −5     15
                                                 

                         =       −40 35    −30   
                                  −20 5      40
Problem 10, sec 2.1




        2    −3          8 4             5   −2
   A=             , B=         and C =            . Verify that
        −4   6           5 5             3   1
   AB = AC but B = C .
Problem 10, sec 2.1




         2    −3           8 4               5   −2
   A=              , B=           and C =             . Verify that
         −4  6             5 5               3   1
   AB = AC but B = C .

   Solution: This example shows that the usual cancellation rule does
   not apply to matrices in general. (Usually, if ab = ac , you can
   cancel a on both sides (if a = 0 ) and this will give b = c .)
            2 −3       8 4            1 −7
   AB =                         =
           −4 6        5 5           −2 14
            2 −3       5 −2            1 −7
   AC =                           =
           −4 6        3 1             −2 14
   Thus AB = AC but clearly, B = C .
Transpose of a Matrix




      If A is an m × n matrix, then the transpose of A is denoted by
      AT .
Transpose of a Matrix




      If A is an m × n matrix, then the transpose of A is denoted by
      AT .
      AT is an n × m matrix whose columns are the rows of A. (Or
      swap the rows and columns of A).
Transpose of a Matrix




      If A is an m × n matrix, then the transpose of A is denoted by
      AT .
      AT is an n × m matrix whose columns are the rows of A. (Or
      swap the rows and columns of A).
      If A = AT , then A is called a symmetric matrix.
Transpose of a Matrix




      If A is an m × n matrix, then the transpose of A is denoted by
      AT .
      AT is an n × m matrix whose columns are the rows of A. (Or
      swap the rows and columns of A).
      If A = AT , then A is called a symmetric matrix.
      (AT )T = A.
Transpose of a Matrix




      If A is an m × n matrix, then the transpose of A is denoted by
      AT .
      AT is an n × m matrix whose columns are the rows of A. (Or
      swap the rows and columns of A).
      If A = AT , then A is called a symmetric matrix.
      (AT )T = A.

   Example
            1 2
               
                             1 3 5
   If A =  3 4 , then AT =
                             2 4 6
            5 6
Powers of a Matrix




   If A is an n × n matrix, then Ak is A multiplied k times
Powers of a Matrix




   If A is an n × n matrix, then Ak is A multiplied k times
   Example
          1 2             1 2             1 2          7 10
   If A =     , then A2 =                        =
          3 4             3 4             3 4         15 22
Powers of a Matrix




   If A is an n × n matrix, then Ak is A multiplied k times
   Example
           1 2                 1 2  1 2      7 10
   If A =          , then A2 =           =
           3 4                 3 4  3 4     15 22
                         7 10   1 2    37 54
   Also, A3 = A2 A =                =
                        15 22   3 4    81 118
Powers of a Matrix




   If A is an n × n matrix, then Ak is A multiplied k times
   Example
           1 2                 1 2  1 2      7 10
   If A =          , then A2 =           =
           3 4                 3 4  3 4     15 22
                         7 10   1 2    37 54
   Also, A3 = A2 A =                =
                        15 22   3 4    81 118


   Please do this and convince yourself that this is true.
Section 2.2 Inverse of a Matrix




   Recall that for numbers the inverse (or the multilpicative inverse) is
   its reciprocal.
         The inverse of 8 is 1/8 or 8−1 .
Section 2.2 Inverse of a Matrix




   Recall that for numbers the inverse (or the multilpicative inverse) is
   its reciprocal.
         The inverse of 8 is 1/8 or 8−1 .
         Satises 8−1 .8 = 1 and 8.8−1 = 1
Section 2.2 Inverse of a Matrix




   Recall that for numbers the inverse (or the multilpicative inverse) is
   its reciprocal.
         The inverse of 8 is 1/8 or 8−1 .
         Satises 8−1 .8 = 1 and 8.8−1 = 1
         Can generalize the concept of inverse to a matrix
Section 2.2 Inverse of a Matrix




   Recall that for numbers the inverse (or the multilpicative inverse) is
   its reciprocal.
         The inverse of 8 is 1/8 or 8−1 .
         Satises 8−1 .8 = 1 and 8.8−1 = 1
         Can generalize the concept of inverse to a matrix
         The matrix involved must be a square matrix
         No slanted line notation for matrix inverses.
Section 2.2 Inverse of a Matrix




   Given an n × n matrix A, we want to nd another n × n matrix C
   such that AC = In and CA = In where In is the identity matrix of size
   n × n.
        Such a matrix C is called the inverse of A.
Section 2.2 Inverse of a Matrix




   Given an n × n matrix A, we want to nd another n × n matrix C
   such that AC = In and CA = In where In is the identity matrix of size
   n × n.
        Such a matrix C is called the inverse of A.
        The inverse of a matrix is unique.
Section 2.2 Inverse of a Matrix




   Given an n × n matrix A, we want to nd another n × n matrix C
   such that AC = In and CA = In where In is the identity matrix of size
   n × n.
        Such a matrix C is called the inverse of A.
        The inverse of a matrix is unique.
        We denote the inverse of A by A−1
Section 2.2 Inverse of a Matrix




   Given an n × n matrix A, we want to nd another n × n matrix C
   such that AC = In and CA = In where In is the identity matrix of size
   n × n.
        Such a matrix C is called the inverse of A.
        The inverse of a matrix is unique.
        We denote the inverse of A by A−1
        Thus if A is an n × n matrix, AA−1 = A−1 A = In
Section 2.2 Inverse of a Matrix




   Not every n × n matrix has an inverse
       If A−1 exists, we say that A is invertible.
Section 2.2 Inverse of a Matrix




   Not every n × n matrix has an inverse
       If A−1 exists, we say that A is invertible.
       A matrix that is not invertible is also called a singular matrix.
       Invertible matrices are also called non-singular matrices.
Section 2.2 Inverse of a Matrix




   Not every n × n matrix has an inverse
       If A−1 exists, we say that A is invertible.
       A matrix that is not invertible is also called a singular matrix.
       Invertible matrices are also called non-singular matrices.
   Denition
                      a b
   Given a matrix A =     , the quantity ad − bc is called the
                         c   d
   determinant of A.
Finding Inverse of a 2   ×2   Matrix




             a b
   Let A =         . If ad − bc = 0 then A is invertible and
             c d

                                1       d   −b
                     A−1 =
                             ad − bc   −c    a
   .
Finding Inverse of a 2    ×2    Matrix




             a b
   Let A =          . If ad − bc = 0 then A is invertible and
             c d

                                  1      d    −b
                       A−1 =
                               ad − bc   −c   a
   .

   So if the determinant of A (or det A) is equal to 0, A−1 does not
   exist.
Finding Inverse of a 2    ×2   Matrix




   Steps for a 2 × 2 matrix A
    1. First check whether det A=0. If so, stop. A is not invertible.
Finding Inverse of a 2    ×2   Matrix




   Steps for a 2 × 2 matrix A
    1. First check whether det A=0. If so, stop. A is not invertible.
    2. If det A = 0, swap the main diagonal elements of A.
Finding Inverse of a 2    ×2   Matrix




   Steps for a 2 × 2 matrix A
    1. First check whether det A=0. If so, stop. A is not invertible.
    2. If det A = 0, swap the main diagonal elements of A.
    3. Then change the sign of both o diagonal elements (don't
       swap these)
Finding Inverse of a 2    ×2   Matrix




   Steps for a 2 × 2 matrix A
    1. First check whether det A=0. If so, stop. A is not invertible.
    2. If det A = 0, swap the main diagonal elements of A.
    3. Then change the sign of both o diagonal elements (don't
       swap these)
    4. Divide this matrix (after steps 2 and 3) by detA to give A−1 .
       (This divides each element of the resultant matrix.)
    5. If you want to check your answer, you can see whether
                   1 0
       AA−1 =
                   0 1
    6. This method will not work for 3 × 3 or bigger matrices.
Finding Inverse of a 2    ×2   Matrix




   Find the inverse of
                                    1 2
                              A=
                                    3 4
   Solution: Here detA = (1)(4) − (2)(3) = −2 = 0. So we can nd A−1 .
Finding Inverse of a 2    ×2   Matrix




   Find the inverse of
                                    1 2
                              A=
                                    3 4
   Solution: Here detA = (1)(4) − (2)(3) = −2 = 0. So we can nd A−1 .
   Interchange the positions of 1 and 4. Change the signs of 2 and 3.
   Then we get
                                  4 −2
                                 −3 1
   .
Finding Inverse of a 2    ×2   Matrix




   Find the inverse of
                                    1 2
                              A=
                                    3 4
   Solution: Here detA = (1)(4) − (2)(3) = −2 = 0. So we can nd A−1 .
   Interchange the positions of 1 and 4. Change the signs of 2 and 3.
   Then we get
                                  4 −2
                                 −3 1
   . Divide each element of the matrix by detA which is -2. This gives
                                   −2     1
                         A−1 =
                                   3/2   −1/2
What's the use?




   Remember solving the matrix equation Ax = b for suitable A and x ?
What's the use?




   Remember solving the matrix equation Ax = b for suitable A and x ?
   Theorem
   If A is an n × n invertible matrix, then for each vector b in Rn , the
   equation Ax = b has a unique solution x = A−1 b

   So, nd the inverse and multiply with the vector b to get the vector
   x.
Example




  Use the inverse of the previous example to solve
                           x1 + 2x2 = 2
                          3x1 + 4x2 = 4


  Solution: Based on the previous theorem,
                    x1       −2          1   2       0
              x=         =                       =
                    x2       3/2    −1/2     4       1
                                   A−1       b
Example




  Theorem
    1. If A is an invertible matrix, its inverse A−1 is also an invertible
       matrix and (A−1 )−1 = A
Example




  Theorem
    1. If A is an invertible matrix, its inverse A−1 is also an invertible
       matrix and (A−1 )−1 = A
    2. If A is an invertible matrix, its transpose AT is also an
       invertible matrix and (AT )−1 = (A−1 )T
Example




  Theorem
    1. If A is an invertible matrix, its inverse A−1 is also an invertible
       matrix and (A−1 )−1 = A
    2. If A is an invertible matrix, its transpose AT is also an
       invertible matrix and (AT )−1 = (A−1 )T
    3. If A and B are invertible matrices, their product AB is also
       invertible
Example




  Theorem
    1. If A is an invertible matrix, its inverse A−1 is also an invertible
       matrix and (A−1 )−1 = A
    2. If A is an invertible matrix, its transpose AT is also an
       invertible matrix and (AT )−1 = (A−1 )T
    3. If A and B are invertible matrices, their product AB is also
       invertible and (AB )−1 = B −1 A−1 . This is called the
       shoes-socks principle. (Remember the order in which you
       put your socks and shoes on and the order in which you
       remove them?)
Example




  Denition
  Elementary Matrix: A matrix obtained by doing one row operation
  on an identity matrix.
  Example
               1 0 0
                      

  For I3 =    0 1 0      the following are elementary matrices.
               0 0 1
Example




  Denition
  Elementary Matrix: A matrix obtained by doing one row operation
  on an identity matrix.
  Example
             1    0   0
                          

  For I3 =  0    1   0       the following are elementary matrices.
             0    0   1
          0 0     1
                     

  E1 =  0 1      0   ,
          1 0     0
       R 1←→R 3
Example




  Denition
  Elementary Matrix: A matrix obtained by doing one row operation
  on an identity matrix.
  Example
             1    0   0
                         

  For I3 =  0    1   0      the following are elementary matrices.
             0    0   1
          0 0     1                 4 0 0
                                         

  E1 =  0 1      0   , E2 =      0 1 0 ,
          1 0     0                 0 0 1
       R 1←→R 3                     4R 1
Example




  Denition
  Elementary Matrix: A matrix obtained by doing one row operation
  on an identity matrix.
  Example
             1    0   0
                         

  For I3 =  0    1   0      the following are elementary matrices.
             0    0   1
          0 0     1                 4 0 0           1 0 0
                                                          

  E1 =  0 1      0   , E2 =      0 1 0 , E3 =  0 1 0      
          1 0     0                 0 0 1           0 1 1
       R 1←→R 3                     4R 1             R 2+R 3

More Related Content

What's hot

Composition and inverse of functions
Composition  and inverse of functionsComposition  and inverse of functions
Composition and inverse of functionsCharliez Jane Soriano
 
Graphs of polynomial functions
Graphs of polynomial functionsGraphs of polynomial functions
Graphs of polynomial functionsCarlos Erepol
 
Polynomial functionsandgraphs
Polynomial functionsandgraphsPolynomial functionsandgraphs
Polynomial functionsandgraphsJerlyn Fernandez
 
Continuity Of Functions
Continuity Of FunctionsContinuity Of Functions
Continuity Of FunctionsYash Thakkar
 
Completing the square
Completing the squareCompleting the square
Completing the squareRon Eick
 
Powers and Roots of Complex numbers
Powers and Roots of Complex numbersPowers and Roots of Complex numbers
Powers and Roots of Complex numbersLeo Crisologo
 
Function and Its Types.
Function and Its Types.Function and Its Types.
Function and Its Types.Awais Bakshy
 
Polynomial and thier graphs
Polynomial and thier graphsPolynomial and thier graphs
Polynomial and thier graphsJessica Garcia
 
1.6 solving linear inequalities
1.6 solving linear inequalities1.6 solving linear inequalities
1.6 solving linear inequalitiesswartzje
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functionscoolhanddav
 
Lesson 11: Functions and Function Notation
Lesson 11: Functions and Function NotationLesson 11: Functions and Function Notation
Lesson 11: Functions and Function NotationKevin Johnson
 
Quadratic Equation and discriminant
Quadratic Equation and discriminantQuadratic Equation and discriminant
Quadratic Equation and discriminantswartzje
 
Lesson 14: Exponential Functions
Lesson 14: Exponential FunctionsLesson 14: Exponential Functions
Lesson 14: Exponential FunctionsMatthew Leingang
 
Factoring polynomials
Factoring polynomialsFactoring polynomials
Factoring polynomialsMark Ryder
 
Composition Of Functions
Composition Of FunctionsComposition Of Functions
Composition Of Functionssjwong
 

What's hot (20)

Composition and inverse of functions
Composition  and inverse of functionsComposition  and inverse of functions
Composition and inverse of functions
 
Graphs of polynomial functions
Graphs of polynomial functionsGraphs of polynomial functions
Graphs of polynomial functions
 
Polynomial functionsandgraphs
Polynomial functionsandgraphsPolynomial functionsandgraphs
Polynomial functionsandgraphs
 
Quadratic functions
Quadratic functionsQuadratic functions
Quadratic functions
 
Continuity Of Functions
Continuity Of FunctionsContinuity Of Functions
Continuity Of Functions
 
Completing the square
Completing the squareCompleting the square
Completing the square
 
Powers and Roots of Complex numbers
Powers and Roots of Complex numbersPowers and Roots of Complex numbers
Powers and Roots of Complex numbers
 
The integral
The integralThe integral
The integral
 
Function and Its Types.
Function and Its Types.Function and Its Types.
Function and Its Types.
 
Polynomial and thier graphs
Polynomial and thier graphsPolynomial and thier graphs
Polynomial and thier graphs
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
1.6 solving linear inequalities
1.6 solving linear inequalities1.6 solving linear inequalities
1.6 solving linear inequalities
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functions
 
Lesson 11: Functions and Function Notation
Lesson 11: Functions and Function NotationLesson 11: Functions and Function Notation
Lesson 11: Functions and Function Notation
 
Slope of a Line
Slope of a LineSlope of a Line
Slope of a Line
 
2.2 Set Operations
2.2 Set Operations2.2 Set Operations
2.2 Set Operations
 
Quadratic Equation and discriminant
Quadratic Equation and discriminantQuadratic Equation and discriminant
Quadratic Equation and discriminant
 
Lesson 14: Exponential Functions
Lesson 14: Exponential FunctionsLesson 14: Exponential Functions
Lesson 14: Exponential Functions
 
Factoring polynomials
Factoring polynomialsFactoring polynomials
Factoring polynomials
 
Composition Of Functions
Composition Of FunctionsComposition Of Functions
Composition Of Functions
 

Viewers also liked

Matrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIAMatrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIADheeraj Kataria
 
Inverse of matrix
Inverse of matrixInverse of matrix
Inverse of matrixgandhinagar
 
Final test april 2010 (with answer key)
Final test april 2010 (with answer key)Final test april 2010 (with answer key)
Final test april 2010 (with answer key)Alex Venome
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Rai University
 
Presentation on inverse matrix
Presentation on inverse matrixPresentation on inverse matrix
Presentation on inverse matrixSyed Ahmed Zaki
 
Inverse Matrix & Determinants
Inverse Matrix & DeterminantsInverse Matrix & Determinants
Inverse Matrix & Determinantsitutor
 
Teaching Higher Order Thinking & 21st Century Skills
Teaching Higher Order Thinking & 21st Century SkillsTeaching Higher Order Thinking & 21st Century Skills
Teaching Higher Order Thinking & 21st Century SkillsTimothy Wooi
 

Viewers also liked (9)

Matrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIAMatrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIA
 
Inverse of matrix
Inverse of matrixInverse of matrix
Inverse of matrix
 
Final test april 2010 (with answer key)
Final test april 2010 (with answer key)Final test april 2010 (with answer key)
Final test april 2010 (with answer key)
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 
Presentation on inverse matrix
Presentation on inverse matrixPresentation on inverse matrix
Presentation on inverse matrix
 
Inverse matrix
Inverse matrixInverse matrix
Inverse matrix
 
Inverse Matrix & Determinants
Inverse Matrix & DeterminantsInverse Matrix & Determinants
Inverse Matrix & Determinants
 
Process of operating system
Process of operating systemProcess of operating system
Process of operating system
 
Teaching Higher Order Thinking & 21st Century Skills
Teaching Higher Order Thinking & 21st Century SkillsTeaching Higher Order Thinking & 21st Century Skills
Teaching Higher Order Thinking & 21st Century Skills
 

More from Prasanth George

Orthogonal sets and basis
Orthogonal sets and basisOrthogonal sets and basis
Orthogonal sets and basisPrasanth George
 
Determinants, Properties and IMT
Determinants, Properties and IMTDeterminants, Properties and IMT
Determinants, Properties and IMTPrasanth George
 
Finding eigenvalues, char poly
Finding eigenvalues, char polyFinding eigenvalues, char poly
Finding eigenvalues, char polyPrasanth George
 
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)Prasanth George
 
Subspace, Col Space, basis
Subspace, Col Space, basisSubspace, Col Space, basis
Subspace, Col Space, basisPrasanth George
 
Linear Transformations, Matrix Algebra
Linear Transformations, Matrix AlgebraLinear Transformations, Matrix Algebra
Linear Transformations, Matrix AlgebraPrasanth George
 
Linear Combination, Matrix Equations
Linear Combination, Matrix EquationsLinear Combination, Matrix Equations
Linear Combination, Matrix EquationsPrasanth George
 
Systems of Linear Equations, RREF
Systems of Linear Equations, RREFSystems of Linear Equations, RREF
Systems of Linear Equations, RREFPrasanth George
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear EquationsPrasanth George
 

More from Prasanth George (20)

Complex Eigenvalues
Complex EigenvaluesComplex Eigenvalues
Complex Eigenvalues
 
Orthogonal Decomp. Thm
Orthogonal Decomp. ThmOrthogonal Decomp. Thm
Orthogonal Decomp. Thm
 
Orthogonal Projection
Orthogonal ProjectionOrthogonal Projection
Orthogonal Projection
 
Orthogonal sets and basis
Orthogonal sets and basisOrthogonal sets and basis
Orthogonal sets and basis
 
Diagonalization
DiagonalizationDiagonalization
Diagonalization
 
Determinants, Properties and IMT
Determinants, Properties and IMTDeterminants, Properties and IMT
Determinants, Properties and IMT
 
Finding eigenvalues, char poly
Finding eigenvalues, char polyFinding eigenvalues, char poly
Finding eigenvalues, char poly
 
Eigenvalues - Contd
Eigenvalues - ContdEigenvalues - Contd
Eigenvalues - Contd
 
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
 
Cofactors, Applications
Cofactors, ApplicationsCofactors, Applications
Cofactors, Applications
 
Determinants
DeterminantsDeterminants
Determinants
 
IMT, col space again
IMT, col space againIMT, col space again
IMT, col space again
 
Linear (in)dependence
Linear (in)dependenceLinear (in)dependence
Linear (in)dependence
 
Subspace, Col Space, basis
Subspace, Col Space, basisSubspace, Col Space, basis
Subspace, Col Space, basis
 
Matrix Inverse, IMT
Matrix Inverse, IMTMatrix Inverse, IMT
Matrix Inverse, IMT
 
Linear Transformations, Matrix Algebra
Linear Transformations, Matrix AlgebraLinear Transformations, Matrix Algebra
Linear Transformations, Matrix Algebra
 
Linear Transformations
Linear TransformationsLinear Transformations
Linear Transformations
 
Linear Combination, Matrix Equations
Linear Combination, Matrix EquationsLinear Combination, Matrix Equations
Linear Combination, Matrix Equations
 
Systems of Linear Equations, RREF
Systems of Linear Equations, RREFSystems of Linear Equations, RREF
Systems of Linear Equations, RREF
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
 

Recently uploaded

Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfDr. M. Kumaresan Hort.
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptSourabh Kumar
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxShajedul Islam Pavel
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringDenish Jangid
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxricssacare
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxssuserbdd3e8
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxDenish Jangid
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersPedroFerreira53928
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfVivekanand Anglo Vedic Academy
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesRased Khan
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXMIRIAMSALINAS13
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 

Matrix multiplication, inverse

  • 1. Announcements Quiz 2 on Wednesday Jan 27 on sections 1.4, 1.5, 1.7 and 1.8 If you have any grading issues with quiz 1, please discuss with me asap. Test 1 will be on Feb 1, Monday in class. More details later.
  • 2. Last Class.. Two matrices are equal if they have the same size the corresponding entries are all equal
  • 3. Last Class.. Two matrices are equal if they have the same size the corresponding entries are all equal If A and B are m × n matrices, the sum A + B is also an m × n matrix
  • 4. Last Class.. Two matrices are equal if they have the same size the corresponding entries are all equal If A and B are m × n matrices, the sum A + B is also an m × n matrix The columns of A + B is the sum of the corresponding columns of A and B .
  • 5. Last Class.. Two matrices are equal if they have the same size the corresponding entries are all equal If A and B are m × n matrices, the sum A + B is also an m × n matrix The columns of A + B is the sum of the corresponding columns of A and B . A + B is dened only if A and B are of the same size.
  • 6. Matrix Multiplication Denition Suppose A is an m × n matrix and let B be another matrix of size n × p with columns b1 , b2 , . . . , bp , the product AB is the m × p matrix whose columns are Ab1 , Ab2 , . . . , Abp In other words, AB = A b1 b2 . . . bp = Ab1 Ab2 . . . Abp
  • 7. Matrix Multiplication For multiplication of 2 matrices to be possible, The number of columns in the rst matrix (multiplicant) must be same as the number of rows in the second matrix (multiplier).
  • 8. Matrix Multiplication For multiplication of 2 matrices to be possible, The number of columns in the rst matrix (multiplicant) must be same as the number of rows in the second matrix (multiplier). If both matrices are square matrices, you can always multiply them either way (that is AB or BA)
  • 9. Matrix Multiplication For multiplication of 2 matrices to be possible, The number of columns in the rst matrix (multiplicant) must be same as the number of rows in the second matrix (multiplier). If both matrices are square matrices, you can always multiply them either way (that is AB or BA) For arbitrarily sized matrices, it is possible that you can nd AB but not nd BA. Or you could nd BA but not AB . Sometimes, both AB and BA will not exist.
  • 10. Matrix Multiplication For multiplication of 2 matrices to be possible, The number of columns in the rst matrix (multiplicant) must be same as the number of rows in the second matrix (multiplier). If both matrices are square matrices, you can always multiply them either way (that is AB or BA) For arbitrarily sized matrices, it is possible that you can nd AB but not nd BA. Or you could nd BA but not AB . Sometimes, both AB and BA will not exist. Thus in general AB = BA
  • 11. Questions 1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB exist?
  • 12. Questions 1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB exist? NO 2. What about BA?
  • 13. Questions 1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB exist? NO 2. What about BA?NO 3. Suppose A is a 6 × 4 matrix and B is a 4 × 3 matrix, does AB exist?
  • 14. Questions 1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB exist? NO 2. What about BA?NO 3. Suppose A is a 6 × 4 matrix and B is a 4 × 3 matrix, does AB exist? Yes 4. What about BA?
  • 15. Questions 1. Suppose A is a 6 × 4 matrix and B is a 3 × 4 matrix, does AB exist? NO 2. What about BA?NO 3. Suppose A is a 6 × 4 matrix and B is a 4 × 3 matrix, does AB exist? Yes 4. What about BA? NO
  • 16. Questions Suppose A is a 2 × 5 matrix and B is a 5 × 3 matrix, what are the sizes of AB and BA? B A AB   ∗ ∗ ∗  ∗ ∗ ∗  ∗ ∗ ∗ ∗ ∗   ∗ ∗ ∗ ∗ ∗ ∗ =   ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗     ∗ ∗ ∗  ∗ ∗ ∗ 2×5 5×3 The product BA is not dened here.
  • 17. Questions Suppose A is a 2 × 5 matrix and B is a 5 × 3 matrix, what are the sizes of AB and BA? B A AB   ∗ ∗ ∗  ∗ ∗ ∗  ∗ ∗ ∗ ∗ ∗   ∗ ∗ ∗ ∗ ∗ ∗ =   ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗     ∗ ∗ ∗  ∗ ∗ ∗ 2×5 5×3 Match The product BA is not dened here.
  • 18. Questions Suppose A is a 2 × 5 matrix and B is a 5 × 3 matrix, what are the sizes of AB and BA? B A AB   ∗ ∗ ∗  ∗ ∗ ∗  ∗ ∗ ∗ ∗ ∗   ∗ ∗ ∗ ∗ ∗ ∗ =   ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗     ∗ ∗ ∗  ∗ ∗ ∗ 2×5 5×3 Match Size of AB The product BA is not dened here.
  • 19. Questions Suppose A is a 2 × 5 matrix and B is a 5 × 3 matrix, what are the sizes of AB and BA? B A AB   ∗ ∗ ∗  ∗ ∗ ∗  ∗ ∗ ∗ ∗ ∗   ∗ ∗ ∗ ∗ ∗ ∗ =   ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗     ∗ ∗ ∗  ∗ ∗ ∗ 2×5 5×3 2×3 Match Size of AB The product BA is not dened here.
  • 20. The Row-Column rule The following is the more ecient and easy way for computing AB . If the product AB is dened, the entry in row i and column j of AB is the sum of the products of corresponding entries from row i of A and column j of B For example, The entry in the rst row, second column in AB is the sum of the products of the entries from the rst row of A and the second column of B .
  • 21. Example 0 2   2 3 −1 Find AB where A = and B =  −2 3 0 1 2  4 2
  • 22. B : 3 rows 2 columns     0 2       0 −2 3   2×       4 2           2 3 −1     −10 ∗           0 1 2      ∗ ∗  A : 2 rows 3 columns
  • 23. B : 3 rows 2 columns     0 2       0 −2 3   2×     2)   (− 4 2     3×       2 3 −1     −10 ∗           0 1 2      ∗ ∗  A : 2 rows 3 columns
  • 24. B : 3 rows 2 columns     0 2       0 −2 3   2×     2)   (− 4 2   4   3× 1 )× (−       2 3 −1     −10 ∗           0 1 2      ∗ ∗  A : 2 rows 3 columns
  • 25. B : 3 rows 2 columns     0 2       0 −2 3   2×     2) +   (− 4 2   4   3× + 1 )× (−       2 3 −1     −10 ∗           0 1 2      ∗ ∗  A : 2 rows 3 columns
  • 26. B : 3 rows 2 columns     0 2     2   −2 3   2×       4 2           2 3 −1     10 11            0 1 2   ∗ ∗  A : 2 rows 3 columns
  • 27. B : 3 rows 2 columns     0 2     2   −2 3   2×     3   3× 4 2           2 3 −1     10 11            0 1 2   ∗ ∗  A : 2 rows 3 columns
  • 28. B : 3 rows 2 columns     0 2     2   −2 3   2×     3   3× 4 2   2   (− 1) ×       2 3 −1     10 11            0 1 2   ∗ ∗  A : 2 rows 3 columns
  • 29. B : 3 rows 2 columns     0 2     2   −2 3   2×     + 3   3 ×+ 4 2   2   (− 1) ×       2 3 −1     10 11            0 1 2   ∗ ∗  A : 2 rows 3 columns
  • 30. B : 3 rows 2 columns     0 2       −2 3     0     0× 4 2           2 3 −1     10 11         6   0 1 2      ∗  A : 2 rows 3 columns
  • 31. B : 3 rows 2 columns     0 2       −2 3     0     0× 4 2   2)   (− 1×       2 3 −1     10 11         6   0 1 2      ∗  A : 2 rows 3 columns
  • 32. B : 3 rows 2 columns     0 2       −2 3     0     0× 4 2   2)   (− 1× 4 2×       2 3 −1     10 11         6   0 1 2      ∗  A : 2 rows 3 columns
  • 33. B : 3 rows 2 columns     0 2       −2 3     0     0× 4 2   2) +   (− 1× + 4 2×       2 3 −1     10 11         6   0 1 2      ∗  A : 2 rows 3 columns
  • 34. B : 3 rows 2 columns     0 2       −2 3     2 0×     4 2           2 3 −1     −10 11           0 1 2 6 7       A : 2 rows 3 columns
  • 35. B : 3 rows 2 columns     0 2       −2 3     2 0×     3 4 2     1×       2 3 −1     −10 11           0 1 2 6 7       A : 2 rows 3 columns
  • 36. B : 3 rows 2 columns     0 2       −2 3     2 0×     3 4 2     1× 2 2×       2 3 −1     −10 11           0 1 2 6 7       A : 2 rows 3 columns
  • 37. B : 3 rows 2 columns     0 2       −2 3     2 0×     3 4 2 +     1× 2 + 2×       2 3 −1     −10 11           0 1 2 6 7       A : 2 rows 3 columns C = A × B : 2 rows 2 columns
  • 38. Identity Matrix A diagonal matrix with 1's on the diagonals. (This automatically means that it is a square matrix). Use the notation In for the identity matrix of order n × n. A matrix A of suitable order multiplied with the identity matrix gives back A. Example 1 0 0 1 I2 1 0 0    0 1 0  0 0 1 I3
  • 39. Problem 2, sec 2.1 Parts 3 and 4 7 −5 1 1 2 −5 If B = ,C= and E = . Find CB 1 −4 −3 −2 1 3 and EB .
  • 40. Problem 2, sec 2.1 Parts 3 and 4 7 −5 1 1 2 −5 If B = ,C= and E = . Find CB 1 −4 −3 −2 1 3 and EB . Obviously the product EB cannot be found (E has 1 column and B has 2 rows).
  • 41. Problem 2, sec 2.1 Parts 3 and 4 7 −5 1 1 2 −5 If B = ,C= and E = . Find CB 1 −4 −3 −2 1 3 and EB . Obviously the product EB cannot be found (E has 1 column and B has 2 rows). 1 2 7 −5 1 CB = −2 1 1 −4 −3
  • 42. Problem 2, sec 2.1 Parts 3 and 4 7 −5 1 1 2 −5 If B = ,C= and E = . Find CB 1 −4 −3 −2 1 3 and EB . Obviously the product EB cannot be found (E has 1 column and B has 2 rows). 1 2 7 −5 1 CB = −2 1 1 −4 −3 1.7 + 2.1 1.(−5) + 2.(−4) 1.1 + 2.(−3) = (−2).7 + 1.1 (−2).(−5) + 1.(−4) (−2).1 + 1.(−3) 9 −13 −5 = −13 6 −5
  • 43. Problem 4, sec 2.1 9 −1 3   If A =  −8 7 −6 , nd A − 5I3 and (5I3 )A. −4 1 8
  • 44. Problem 4, sec 2.1 9 −1 3   If A =  −8 7 −6 , nd A − 5I3 and (5I3 )A. −4 1 8 1 0 0 5 0 0     Since I3 =  0 1 0 , 5I3 =  0 5 0 , 0 0 1 0 0 5 9 −1 3 5 0 0 4 −1 3       A − 5I3 =  −8 7 −6  −  0 5 0  =  −8 2 −6  −4 1 8 0 0 5 −4 1 3
  • 45. Problem 4, sec 2.1 5 0 0 9 −1 3    (5I3 )A =  0 5 0   −8 7 −6  = 0 0 5 −4 1 8 5.9 + 0.(−8) + 0.(−4) 5.(−1) + 0.7 + 0.1 5.3 + 0.(−6) + 0.8    0.9 + 5.(−8) + 0.(−4) 0.(−1) + 5.7 + 0.1 0.3 + 5.(−6) + 0.8  0.9 + 0.(−8) + 5.(−4) 0.(−1) + 0.7 + 5.1 0.3 + 0.(−6) + 5.8 45 −5 15   = −40 35 −30  −20 5 40
  • 46. Problem 10, sec 2.1 2 −3 8 4 5 −2 A= , B= and C = . Verify that −4 6 5 5 3 1 AB = AC but B = C .
  • 47. Problem 10, sec 2.1 2 −3 8 4 5 −2 A= , B= and C = . Verify that −4 6 5 5 3 1 AB = AC but B = C . Solution: This example shows that the usual cancellation rule does not apply to matrices in general. (Usually, if ab = ac , you can cancel a on both sides (if a = 0 ) and this will give b = c .) 2 −3 8 4 1 −7 AB = = −4 6 5 5 −2 14 2 −3 5 −2 1 −7 AC = = −4 6 3 1 −2 14 Thus AB = AC but clearly, B = C .
  • 48. Transpose of a Matrix If A is an m × n matrix, then the transpose of A is denoted by AT .
  • 49. Transpose of a Matrix If A is an m × n matrix, then the transpose of A is denoted by AT . AT is an n × m matrix whose columns are the rows of A. (Or swap the rows and columns of A).
  • 50. Transpose of a Matrix If A is an m × n matrix, then the transpose of A is denoted by AT . AT is an n × m matrix whose columns are the rows of A. (Or swap the rows and columns of A). If A = AT , then A is called a symmetric matrix.
  • 51. Transpose of a Matrix If A is an m × n matrix, then the transpose of A is denoted by AT . AT is an n × m matrix whose columns are the rows of A. (Or swap the rows and columns of A). If A = AT , then A is called a symmetric matrix. (AT )T = A.
  • 52. Transpose of a Matrix If A is an m × n matrix, then the transpose of A is denoted by AT . AT is an n × m matrix whose columns are the rows of A. (Or swap the rows and columns of A). If A = AT , then A is called a symmetric matrix. (AT )T = A. Example 1 2   1 3 5 If A =  3 4 , then AT = 2 4 6 5 6
  • 53. Powers of a Matrix If A is an n × n matrix, then Ak is A multiplied k times
  • 54. Powers of a Matrix If A is an n × n matrix, then Ak is A multiplied k times Example 1 2 1 2 1 2 7 10 If A = , then A2 = = 3 4 3 4 3 4 15 22
  • 55. Powers of a Matrix If A is an n × n matrix, then Ak is A multiplied k times Example 1 2 1 2 1 2 7 10 If A = , then A2 = = 3 4 3 4 3 4 15 22 7 10 1 2 37 54 Also, A3 = A2 A = = 15 22 3 4 81 118
  • 56. Powers of a Matrix If A is an n × n matrix, then Ak is A multiplied k times Example 1 2 1 2 1 2 7 10 If A = , then A2 = = 3 4 3 4 3 4 15 22 7 10 1 2 37 54 Also, A3 = A2 A = = 15 22 3 4 81 118 Please do this and convince yourself that this is true.
  • 57. Section 2.2 Inverse of a Matrix Recall that for numbers the inverse (or the multilpicative inverse) is its reciprocal. The inverse of 8 is 1/8 or 8−1 .
  • 58. Section 2.2 Inverse of a Matrix Recall that for numbers the inverse (or the multilpicative inverse) is its reciprocal. The inverse of 8 is 1/8 or 8−1 . Satises 8−1 .8 = 1 and 8.8−1 = 1
  • 59. Section 2.2 Inverse of a Matrix Recall that for numbers the inverse (or the multilpicative inverse) is its reciprocal. The inverse of 8 is 1/8 or 8−1 . Satises 8−1 .8 = 1 and 8.8−1 = 1 Can generalize the concept of inverse to a matrix
  • 60. Section 2.2 Inverse of a Matrix Recall that for numbers the inverse (or the multilpicative inverse) is its reciprocal. The inverse of 8 is 1/8 or 8−1 . Satises 8−1 .8 = 1 and 8.8−1 = 1 Can generalize the concept of inverse to a matrix The matrix involved must be a square matrix No slanted line notation for matrix inverses.
  • 61. Section 2.2 Inverse of a Matrix Given an n × n matrix A, we want to nd another n × n matrix C such that AC = In and CA = In where In is the identity matrix of size n × n. Such a matrix C is called the inverse of A.
  • 62. Section 2.2 Inverse of a Matrix Given an n × n matrix A, we want to nd another n × n matrix C such that AC = In and CA = In where In is the identity matrix of size n × n. Such a matrix C is called the inverse of A. The inverse of a matrix is unique.
  • 63. Section 2.2 Inverse of a Matrix Given an n × n matrix A, we want to nd another n × n matrix C such that AC = In and CA = In where In is the identity matrix of size n × n. Such a matrix C is called the inverse of A. The inverse of a matrix is unique. We denote the inverse of A by A−1
  • 64. Section 2.2 Inverse of a Matrix Given an n × n matrix A, we want to nd another n × n matrix C such that AC = In and CA = In where In is the identity matrix of size n × n. Such a matrix C is called the inverse of A. The inverse of a matrix is unique. We denote the inverse of A by A−1 Thus if A is an n × n matrix, AA−1 = A−1 A = In
  • 65. Section 2.2 Inverse of a Matrix Not every n × n matrix has an inverse If A−1 exists, we say that A is invertible.
  • 66. Section 2.2 Inverse of a Matrix Not every n × n matrix has an inverse If A−1 exists, we say that A is invertible. A matrix that is not invertible is also called a singular matrix. Invertible matrices are also called non-singular matrices.
  • 67. Section 2.2 Inverse of a Matrix Not every n × n matrix has an inverse If A−1 exists, we say that A is invertible. A matrix that is not invertible is also called a singular matrix. Invertible matrices are also called non-singular matrices. Denition a b Given a matrix A = , the quantity ad − bc is called the c d determinant of A.
  • 68. Finding Inverse of a 2 ×2 Matrix a b Let A = . If ad − bc = 0 then A is invertible and c d 1 d −b A−1 = ad − bc −c a .
  • 69. Finding Inverse of a 2 ×2 Matrix a b Let A = . If ad − bc = 0 then A is invertible and c d 1 d −b A−1 = ad − bc −c a . So if the determinant of A (or det A) is equal to 0, A−1 does not exist.
  • 70. Finding Inverse of a 2 ×2 Matrix Steps for a 2 × 2 matrix A 1. First check whether det A=0. If so, stop. A is not invertible.
  • 71. Finding Inverse of a 2 ×2 Matrix Steps for a 2 × 2 matrix A 1. First check whether det A=0. If so, stop. A is not invertible. 2. If det A = 0, swap the main diagonal elements of A.
  • 72. Finding Inverse of a 2 ×2 Matrix Steps for a 2 × 2 matrix A 1. First check whether det A=0. If so, stop. A is not invertible. 2. If det A = 0, swap the main diagonal elements of A. 3. Then change the sign of both o diagonal elements (don't swap these)
  • 73. Finding Inverse of a 2 ×2 Matrix Steps for a 2 × 2 matrix A 1. First check whether det A=0. If so, stop. A is not invertible. 2. If det A = 0, swap the main diagonal elements of A. 3. Then change the sign of both o diagonal elements (don't swap these) 4. Divide this matrix (after steps 2 and 3) by detA to give A−1 . (This divides each element of the resultant matrix.) 5. If you want to check your answer, you can see whether 1 0 AA−1 = 0 1 6. This method will not work for 3 × 3 or bigger matrices.
  • 74. Finding Inverse of a 2 ×2 Matrix Find the inverse of 1 2 A= 3 4 Solution: Here detA = (1)(4) − (2)(3) = −2 = 0. So we can nd A−1 .
  • 75. Finding Inverse of a 2 ×2 Matrix Find the inverse of 1 2 A= 3 4 Solution: Here detA = (1)(4) − (2)(3) = −2 = 0. So we can nd A−1 . Interchange the positions of 1 and 4. Change the signs of 2 and 3. Then we get 4 −2 −3 1 .
  • 76. Finding Inverse of a 2 ×2 Matrix Find the inverse of 1 2 A= 3 4 Solution: Here detA = (1)(4) − (2)(3) = −2 = 0. So we can nd A−1 . Interchange the positions of 1 and 4. Change the signs of 2 and 3. Then we get 4 −2 −3 1 . Divide each element of the matrix by detA which is -2. This gives −2 1 A−1 = 3/2 −1/2
  • 77. What's the use? Remember solving the matrix equation Ax = b for suitable A and x ?
  • 78. What's the use? Remember solving the matrix equation Ax = b for suitable A and x ? Theorem If A is an n × n invertible matrix, then for each vector b in Rn , the equation Ax = b has a unique solution x = A−1 b So, nd the inverse and multiply with the vector b to get the vector x.
  • 79. Example Use the inverse of the previous example to solve x1 + 2x2 = 2 3x1 + 4x2 = 4 Solution: Based on the previous theorem, x1 −2 1 2 0 x= = = x2 3/2 −1/2 4 1 A−1 b
  • 80. Example Theorem 1. If A is an invertible matrix, its inverse A−1 is also an invertible matrix and (A−1 )−1 = A
  • 81. Example Theorem 1. If A is an invertible matrix, its inverse A−1 is also an invertible matrix and (A−1 )−1 = A 2. If A is an invertible matrix, its transpose AT is also an invertible matrix and (AT )−1 = (A−1 )T
  • 82. Example Theorem 1. If A is an invertible matrix, its inverse A−1 is also an invertible matrix and (A−1 )−1 = A 2. If A is an invertible matrix, its transpose AT is also an invertible matrix and (AT )−1 = (A−1 )T 3. If A and B are invertible matrices, their product AB is also invertible
  • 83. Example Theorem 1. If A is an invertible matrix, its inverse A−1 is also an invertible matrix and (A−1 )−1 = A 2. If A is an invertible matrix, its transpose AT is also an invertible matrix and (AT )−1 = (A−1 )T 3. If A and B are invertible matrices, their product AB is also invertible and (AB )−1 = B −1 A−1 . This is called the shoes-socks principle. (Remember the order in which you put your socks and shoes on and the order in which you remove them?)
  • 84. Example Denition Elementary Matrix: A matrix obtained by doing one row operation on an identity matrix. Example 1 0 0   For I3 =  0 1 0  the following are elementary matrices. 0 0 1
  • 85. Example Denition Elementary Matrix: A matrix obtained by doing one row operation on an identity matrix. Example 1 0 0   For I3 =  0 1 0  the following are elementary matrices. 0 0 1 0 0 1   E1 =  0 1 0 , 1 0 0 R 1←→R 3
  • 86. Example Denition Elementary Matrix: A matrix obtained by doing one row operation on an identity matrix. Example 1 0 0   For I3 =  0 1 0  the following are elementary matrices. 0 0 1 0 0 1 4 0 0     E1 =  0 1 0 , E2 =  0 1 0 , 1 0 0 0 0 1 R 1←→R 3 4R 1
  • 87. Example Denition Elementary Matrix: A matrix obtained by doing one row operation on an identity matrix. Example 1 0 0   For I3 =  0 1 0  the following are elementary matrices. 0 0 1 0 0 1 4 0 0 1 0 0       E1 =  0 1 0 , E2 =  0 1 0 , E3 =  0 1 0  1 0 0 0 0 1 0 1 1 R 1←→R 3 4R 1 R 2+R 3