jagomart
digital resources
picture1_Matrix Pdf 174015 | 3013 L04


 129x       Filetype PDF       File size 0.33 MB       Source: math.okstate.edu


File: Matrix Pdf 174015 | 3013 L04
lecture 4 matrices and matrix algebra cont d 1 examples of matrix multiplication recall from the preceding lecture our denition of matrix multiplication definition 4 1 let a be an ...

icon picture PDF Filetype PDF | Posted on 27 Jan 2023 | 2 years ago
Partial capture of text on file.
                                                              LECTURE 4
                                       Matrices and Matrix Algebra, Cont’d
                                                1. Examples of Matrix Multiplication
                 Recall from the preceding lecture our definition of matrix multiplication.
                 Definition 4.1. Let A be an m by n matrix and let B be an s by t matrix. If n = s the matrix product
                 ABis not defined (i.e. if the number of columns of A does not equal the numbe of rows of B, the matrix
                 product is not defined). If n = s, then the matrix product AB is defined and is the m by t matrix whose
                 entries (AB)ij are prescribed by
                                                (AB)      = a b +a b +···+a b
                                                      ij       i1 1j   i2 2j         in nj
                                                               n
                                                          = aikbkj
                                                              k=1
                 In other words, the entry in jth column of the ith row of the product matrix AB is the dot product the vector
                 correspondind to the ith row of A and the vector corresponding to the jth column of B.
                 Let’s now compute some illustrative examples
                 Example 4.2.
                                                   1  1 −1 
                                                   2  2 −1             does not exist
                                                    3      1  −2
                 Because we need the same number of columns in the first factor as there are rows in the second factor.
                 Example 4.3.
                                                                             
                                                         12 1 = −1
                                                         −12 −1               −3
                                                             	                   	
                                                                  12
                                                      1   −1     −12= 20
                 So even though the 2 by 1 matrix  1  and the 1 by 2 matrix  1 −1 	 correspond to the same
                                                        −1
                                                                                            
                 2-dimensional vector (1,−1), their products with the 2 by 2 matrix    12arenotthesame.
                                                                                      −12
                 Example 4.4.
                                                                                  
                                                     21 1 −1 = 10
                                                    −11 −12 −23
                                                                                  
                                                     1   −1       21 30
                                                    −12 −11= −41
                                                                     1
                                                                                    2. OTHER MATRIX OPERATIONS                                                                            2
                          So the product AB of two matrices A and B is not necessarily the same as the product BA. In other
                          words, matrix multiplication is not commutative in general. Indeed, it can happen that AB exists but BA
                          is not even defined.
                          Note that this circumstances partially explains the paradox of the first example. Let A denote the 2 by 2
                                                   
                                          12
                          matrix        −12.Ifweinterprete the vector (1,−1)asa2by1matrixv , then only the product Av is
                          defined; and if we interprete the vector (1,−1) as a 1 by 2 matrix then only the product vA is defined
                          Example 4.5.
                                                                                                                           
                                                                                      00 00= 00
                                                                                      10 10 00
                          Recall that for real numbers x2 = 0 implies x = 0. This is evidently not the case for matrices: it can happen
                                    2
                          that A =0 but A is not equal to the zero matrix 0.
                          Example 4.6.
                                                                                                                            
                                                                                     −11 11= 00
                                                                                      0011 00
                          Recall that for real numbers xy = 0 implies either x =0ory = 0. This is evidently not the case for
                          matrices: it can happen that AB = 0 but neither A or B is equal to the zero matrix 0.
                          Example 4.7.
                                                                                                                                               
                                                                  100 a11 a12 a13                                            a11      a12     a13
                                                                                                                                               
                                                                  010 a21 a22 a23                                  =         a21      a22     a23
                                                                  001 a31 a32 a33                                            a31      a32     a33
                                                                                                                                               
                                                                  a11     a12     a13          100                           a11      a12     a13
                                                                                                                                               
                                                                  a21     a22     a23          010 = a21 a22 a23
                                                                  a31     a32     a33          001                           a31      a32     a33
                          And so muliplying any 3 by 3 matrix A by the matrix
                                                                                                                    
                                                                                                       100
                                                                                                                    
                                                                                             I =       010
                                                                                                       001
                          just replicates the matrix A:
                                                                                                AI=IA=A
                          The example above generalizes to arbitrary n by n matrices (i.e. “square matrices”). This motivates the
                          following definition.
                          Definition 4.8. Let I be the n by n matrix whose entries are given by
                                                                                          Iij = 
 1         if   i = j
                                                                                                       0    if   i = j
                          In other words, I is an n by n matrix with 1’s along the diagonal (running from the upper left to the lower
                          right) and 0’s everywhere else. We call such a matrix the n by n identity matrix. It has the property that
                          IA=AI=Aforall n by n matrices A except the 0 matrix.
                                                                                  2. Other Matrix Operations
                          Definition 4.9. Let A be an m by n matrix, and let r be any real number. Then the scalar product rA is
                          defined as the m by n matrix whose ijth entry is r times the ijth entry of A:
                                                                                              (rA)ij = r(A)ij
                                                          2. OTHER MATRIX OPERATIONS                                           3
                  Example 4.10. If
                                                                 A= 1 −1 
                                                                        23
                  then
                                                                                 
                                                                         −22
                                                              −2A=
                                                                         −2 −6
                  Definition 4.11. Let A and B be m by n matrices. Then the matrix sum A+B is defined as the m by n
                  matrix whose ijth entry is the sum of the ijth entries of A and B:
                                                           (A+A)ij =(A)ij +(B)ij
                  Example 4.12. If
                                                                                            
                                                  A= 1 −1                ,        B= 01
                                                         23                              12
                  then
                                                                                
                                                               A+B= 00
                                                                            35
                  Combining these two operations of scalar multiplication and addition we can now from linear combina-
                  tions of matrices; e.g. 2A−3B.
                                                                                         T
                  Definition 4.13. Let A be an m by n matrix, then the transpose A         of A is the n by m such that
                                                                  T
                                                                  A ij =(A)ji
                                                      th          T                                     th
                  In other words, the entries in the i   row of A are identical to the entries in the i    column of A.
                  Example 4.14. If
                                                                                
                                                                        13
                                                                                
                                                               A= −21
                                                                        3    −1
                  then
                                                                                  
                                                               T      1 −23
                                                             A =
                                                                      31−1
                  Example 4.15. Recallthat wecan interpretean n-dimenional v =(v ,v ,...,v ) either as a n by1matrix
                                                                                         1   2       n
                  (which we called a column vector)
                                                                        v1 
                                                                        v2 
                                                                   c =      
                                                                        . 
                                                                           .
                                                                        . 
                                                                          vn
                  or as a 1 by n matrix (which we called a row vector)
                                                            r = v1    v2   ···  vn 	
                  Note that
                                                                      c = rT
                  and
                                                                      r =cT
                  Definition 4.16. An n by n matrix with the property that A = AT is called a symmetric matrix.
                                               2. OTHER MATRIX OPERATIONS                              4
              Example 4.17.
                                                       12−1
                                                                  
                                                  A= 231
                                                        −112
              is a symmetric matrix, but
                                                                 
                                                          211
                                                                 
                                                   B= 231
                                                         −112
              is not symmetric because, for example
                                             2=(B)21 =BT21 ≡(B)12 =1
              With a little experience it is easy to glance a matrix and determine whether or not it’s symmetric.
              Theorem 4.18. Suppose the matrix product AB is defined, then
                                                     T T
                                                   (A )   = A
                                                       T        T
                                                   (rA)   = rA
                                                (A+B)T = AT+BT
                                                       T       T  T
                                                  (AB)    = B A
The words contained in this file might help you see if this file matches what you are looking for:

...Lecture matrices and matrix algebra cont d examples of multiplication recall from the preceding our denition definition let a be an m by n b s t if product abis not dened i e number columns does equal numbe rows is then ab whose entries ij are prescribed j in nj aikbkj k other words entry jth column ith row dot vector correspondind to corresponding now compute some illustrative example exist because we need same rst factor as there second so even though correspond dimensional their products with arenotthesame operations two necessarily ba commutative general indeed it can happen that exists but note this circumstances partially explains paradox denote ifweinterprete asabymatrixv only av interprete va for real numbers x implies evidently case zero xy either ory neither or muliplying any just replicates ai ia above generalizes arbitrary square motivates following given iij along diagonal running upper left lower right everywhere else call such identity has property aforall except r scala...

no reviews yet
Please Login to review.