Chpter 3 MTRIX In this chpter: Definition nd terms Specil Mtrices Mtrix Opertion: Trnspose, Equlity, Sum, Difference, Sclr Multipliction, Mtrix Multipliction, Determinnt, Inverse ppliction of Mtrix in Solving Liner Eqution System Determinnt of 3 x 3 Mtrices 3. MTRIX NOTTION ND TERMINOLOGY Defnition. mtrix is rectngulr rry of numbers. The numbers in the rry re clled the entries in the mtrix. Exmples: Nottion Generlly written s: m n= ij 5 8 6 = 0 4 7 C = 2 3 4 5 6 2 D = 8 4 0 7 3 6 mtrix with 2 rows, nd 3 columns NOT mtrix mtrix with 3 rows, nd 3 columns 2 3 D 3 3
n rows nd n columns n n, is squre mtrix. SPECIL MTRICES The following re severl specil mtrices. Generl form Nme Properties Exmples 6 7 nd = n [ n] Row mtrix Only one row [ ] 2 [ 5 3 4 0 6] 2 n = n Column mtrix Only one column 3 nd 8 9 3 4 0 0... 0 m n= 0 0... 0 Null mtrix ll entries re null 0 0 0 0, 0 0 0 0 0 0 D I n d 0 0 0 d 0 0 0 dn 2 n = 0... 0 0 0 = 0 0 Digonl mtrix Identity mtrix squre mtrix in which ll of the entries off the min digonl re zero, i.e. = 0, i j ij squre mtrix, with ll digonl entries re, nd zero elsewhere. 2 0 0 5, 3 0 0 0 7 0 nd 0 0 2 I I 2 3 0 = 0, 0 0 = 0 0 0 0 2
n n... 0 0 0 2 n 22 2n = nn Upper tringulr mtrix squre mtrix in which ll the entries below the min digonl re zero 3 5 0 2, 5 9 2 0 3 4 0 0 7 n n n n 0... 0 0 n n2 nn 2 22 = 2 n 2 22 2n = n n2... nn Lower tringulr mtrix Symmetric mtrix squre mtrix in which ll the entries bove the min digonl re zero squre mtrix in which ij = for ll i nd j. ji 0 0 2 0 6 5, 5 9 0 5 3 0 OPERTIONS ON MTRICES Definition. Two mtrices re defined to be equl if they hve the sme size nd their corresponding entries re equl. In mtrix nottion, if only if ( ) ( B) ij ij = ij nd B bij =, or equivlently ij = bij for ll i nd j. = hve the sme size, then = B if nd Exmple: Consider the mtrices 3 3 = 2 x, B 3 4 = 2 7, nd C = 2 6 0. Is = B? Why? 3. Is = C? Why? 2. Is B = C? Why? 3
Definition. If then: = ij nd B bij = re mtrices of the sme size, ( + B) = ( ) + ( B) = ij + bij, nd ( B) = ( ) ( B) = ij bij ij ij ij ij ij ij Exmple: Consider the mtrices 4 0 = 0 5, 9 7 B = 4 5 nd 3 9 C = 6 2 Then: 4 0 9 7 4+ 9 0 + ( 7) 5 7 + B= + = = 0 5 4 5 0 + 4 5 + 5 4 0, B=... Wht bout: + C? C B? Definition. If = is ny mtrix nd c is ny sclr, then the product c is the ij mtrix obtined by multiplying ech entry of by c. In mtrix nottion, if = ij then ( c) c( ) c ij ij ij = =. Exmple. For the mtrices We hve 3 8 6 = 9 2 0,nd B 5 3 0 = 4 5 2(3) 2( 8) 2(6) 6 36 2 2 = = 2(9) 2(2) 2(0) 8 24 0, 6 2 3 = 3 4 0 4
Wht bout: 5 = 3 = B = 2 B = 2+ 3B= + 2B = Definition. If = is n m x r mtrix nd B is n r x n mtrix, then the product ij B is the m x n mtrix whose entries re determined s follows. B = sum of multipliction of corresponding entries in row i of nd Entry of ( ) ij column j of B. The definition of mtrix multipliction requires tht the number of columns of the first fctor be the sme s the number of rows of the second fctor B in order to form the product B. If this condition is not stisfied, the produt is undefined. Exmple: For the mtrices 2 3 4 = 2 22 23 24 Let C = B. nd B b b b b b b 2 3 2 22 23 = b3 b32 b33 b b b 4 42 43, 5
Then b b2 b3 2 3 4 b2 b22 b 23 C = B = c c2 c3 2 22 23 = 24 b3 b32 b33 c2 c22 c 23 b4 b42 b43 nd The entry of row 2 nd column 3 of C is: c23 = 2b3 + 22b23 + 23b33 + 24b43 Cn B be clculted? Exmple. Consider the mtrices 6 4 4 2 5 = 3 7, nd B = 2 8 3 9 Then: 6 4 4 2 5 B = 2 8 4( 6) + ( 2)(2) + 5(3) 4(4) + ( 2)(8) + 5(9) 3 7 = 3( 6) (2) 7(3) 3(4) (8) 7(9) 3 9 + + + + 24 4 + 5 6 6 + 45 3 45 = = 8 + 2 + 2 2 + 8 + 63 5 83 B = TRNSPOSE OF MTRIX T Definition. If is ny m x n mtrix, then the trnspose of, denoted by, is defined to be the n x m mtrix tht results from interchnging the rows nd the columns of. In mtrix nottion, ( T ) ( ) ij =. ji 6
Exmple. Consider the mtrices 0 3 3 4 2 = 4 8 nd B = 4 0 5 5 2 5 9 Then: T 0 4 = 3 8 5. T B =... Exmine: Is T T =? Why? Is B = B? Why? TRCE OF SQURE MTRIX Definition. If is squre mtrix, then the trce of, denoted by tr( ), is defined to be the sum of the entries on the min digonl of. The trce of is undefined if is not squre mtrix. Exmple. The following re exmples of mtrices nd their trces. 3 4 2 = 4 0 5, then tr ( ) = 3+ 0 9= 6 2 5 9 3 45 B = 5 83, then tr ( B ) = 3+ 83 = 70 7
EXERCISE. Suppose tht, B, C, D, nd E re mtrices with the following sizes: 4 5 B4 5 C5 2 D4 2 E. 5 4 Determine which of the following mtrix expressions re defined. For those which re defined, give the size of the resulting mtrix.. B e. E(+B) b. C + D f. E(C) c. E + B g. E T d. B + B h. ( T +E)D 2. Solve the following mtrix eqution for, b, c, nd d. b b+ c 8 = 3d + c 2 4d 7 6 3 0 3. Consider the mtrices 2 4 4 2 =, B = 0 2, C = 3 5, 5 2 6 3 D = 0, E = 2. 3 2 4 4 3 Compute the following (where possible).. D + E b. 2B-C 8
c. -3(D+2E) g. (3E)D d. 4tr(7B) h. B e. 2 T +C i. B f. 2E T 3D T j. (2D T -E) 4. Find the 3 x 3 mtrix = ij whose entries stisfy the stted condition., if i j >. ij = i+ j b. ij =, if i j 5. Given tht 3 + b 5 3 2 2b is symmetric mtrix, find nd b. 5 4 7 9
DETERMINNT OF 2 X 2 MTRIX Definition. Let b = c d, then the determinnt of is d bc, tht is det() = d bc In mtrix nottion, the determinnt of cn be written s, b det() = = = d bc c d Exmple: Consider the following mtrices: 9 3. 5 4 = 4 b. B = 4 3 Then: c. 3 6 C = 2. det() = 4 3() 9(4) 33 36 3 9 3 = = = b. det(b) =... c. det(c) =... Exmple: Find x so tht the determinnt of x 2 4 = x + 3 3 is 8. Solution: x 2 4 Det() = = ( x 2)( 3) 4( x+ 3) = 3x+ 6 4x 2= 7x 6 x + 3 3 Since the determinnt is 8, then 7x 6= 8 7x = 4 x = 2 0
. Find x so tht the determinnt of x 2 4 = x + 3 3 is 2. 2. Find x so tht the determinnt of x + 2 B = 3 x 5 is EXERCISE. Evlute the determinnt. 5 3. 2 4 d. 2 6 4 3 b. 3 5 7 4 e. 2 5 2 c. 3 6 9 2 f. 3 5 3 2 2. Find x so tht the determinnt of 3 x 4 is 8. x 2
3. Find ll possible vlues for so tht the determinnt of 2 2 + 3 is 6. 5 2 4. Consider the mtrices 2 4 =, B =. Evlute: 4 3. det() d. det() + det(b) b. det(b) e. det(b) c. det( + B) f. det()det(b) INVERSE OF 2 x 2 MTRIX Definition. If is squre mtrix, nd if mtrix B of the sme size cn be found such tht B = B = I, then is sid to be invertible nd B is clled n inverse of. In mtrix nottion, the inverse of is, so if B = B = I, then = B Hence, = = I 2
Exmple: The mtrix 3 5 2 5 = 2 is n inverse of B = 3, since nd 3 5 2 5 6 5 5 + 5 0 B = I 2 = = = 3 2 2 5+ 6 0 2 5 3 5 6 5 0 0 0 B= = = = I 3 2 3+ 3 5+ 6 0 Theorem. The mtrix b = c d is invertible if d bc 0, in which cse the inverse is given by the formul d b = d bc c non-invertible mtrix, or mtrix with the determinnt = 0 is clled singulr mtrix. Wht is non-singulr mtrix? Exmple. Consider the following mtrices: 3 5 = 2 B 6 4 = 5 4 2 3 C = 6 9 Then the inverses re: 2 5 2 5 2 5 = =. = 2.3.5 3 3 3 B =... C =... 3
Properties of n inverse If nd B re non-singulr squre mtrices of the sme size, then ( B) = B Exmple: 2 Let = 2 3 nd Then, B 2 0 = 3 On the other hnd, 2 2 0 4 2 B = 2 3 = 3 5 3 nd 3 2 ( B) = 2 ( 0) 5 4 3 2 = 2 5 4 3 2 = 5 2 2 3 2 3 2 = = 3 ( 4) 2 2 0 0 0 B 2 nd B = = = 2 0 3 2 2 3 2 3 2 3 0 2 3 2 2 = 3 2 = 5 2 2 2 Both give the sme result, which verify tht ( B) = B EXERCISE. Determine whether is the inverse of B, or vise vers. 3. 4 =, B 4 3 = b. =, 4 3 2 7 2 B = 3 5 4
2. Evlute whether the following mtrices re singulr or non-singulr. If it is non-singulr mtrix, find the inverse. 6 4 3. d. 2 2 7 b. 5 4 e. 7 8 3 3 3 3. Let 3 4 =, B =. Find: 4 0. nd B c. (B) b. B d. B 5
5 8 4. Let =. Find: 2 4. T c. ( T ) b. d. ( ) T 5. Given the following informtion, find. 9. = 4 b. 6 7 (3 ) = 7 8 6