Leep 203
Leep 203
Matrices
3.1 Overview
3.1.1 A matrix is an ordered rectangular array of numbers (or functions). For example,
x 4 3 A= 4 3 x 3 x 4
The numbers (or functions) are called the elements or the entries of the matrix. The horizontal lines of elements are said to constitute rows of the matrix and the vertical lines of elements are said to constitute columns of the matrix. 3.1.2 Order of a Matrix A matrix having m rows and n columns is called a matrix of order m n or simply m n matrix (read as an m by n matrix). In the above example, we have A as a matrix of order 3 3 i.e., 3 3 matrix. In general, an m n matrix has the following rectangular array :
a11 a 21 = am1 a12 a22 am 2 a1n a23 a2 n 1 i m, 1 j n i, j N. am3 amn m n a13
A = [aij]m n
The element, aij is an element lying in the ith row and jth column and is known as the (i, j)th element of A. The number of elements in an m n matrix will be equal to mn. 3.1.3 Types of Matrices (i) A matrix is said to be a row matrix if it has only one row.
MATRICES
43
(ii)
(iii) A matrix in which the number of rows are equal to the number of columns, is said to be a square matrix. Thus, an m n matrix is said to be a square matrix if m = n and is known as a square matrix of order n. (iv) A square matrix B = [bij]nn is said to be a diagonal matrix if its all non diagonal elements are zero, that is a matrix B = [bij]nn is said to be a diagonal matrix if bij = 0, when i j. (v) A diagonal matrix is said to be a scalar matrix if its diagonal elements are equal, that is, a square matrix B = [bij]nn is said to be a scalar matrix if bij = 0, when i j bij = k, when i = j, for some constant k. (vi) A square matrix in which elements in the diagonal are all 1 and rest are all zeroes is called an identity matrix. In other words, the square matrix A = [aij]nn is an identity matrix, if aij = 1, when i = j and aij = 0, when i j. (vii) A matrix is said to be zero matrix or null matrix if all its elements are zeroes. We denote zero matrix by O. (ix) Two matrices A = [aij] and B = [bij] are said to be equal if (a) they are of the same order, and (b) each element of A is equal to the corresponding element of B, that is, aij = bij for all i and j. 3.1.4 Additon of Matrices Two matrices can be added if they are of the same order. 3.1.5 Multiplication of Matrix by a Scalar If A = [aij] mn is a matrix and k is a scalar, then kA is another matrix which is obtained by multiplying each element of A by a scalar k, i.e. kA = [kaij]mn 3.1.6 Negative of a Matrix The negative of a matrix A is denoted by A. We define A = (1)A. 3.1.7 Multiplication of Matrices The multiplication of two matrices A and B is defined if the number of columns of A is equal to the number of rows of B.
44
MATHEMATICS
Let A = [aij] be an m n matrix and B = [bjk] be an n p matrix. Then the product of the matrices A and B is the matrix C of order m p . To get the (i, k)th element cik of the matrix C, we take the ith row of A and kth column of B, multiply them elementwise and take the sum of all these products i.e., cik = ai1 b1k + ai2 b2k + ai3 b3k + ... + ain bnk The matrix C = [cik]mp is the product of A and B. Notes: 1. 2. 3. 4. 5. 6. 3.1.8 1. If AB is defined, then BA need not be defined. If A, B are, respectively m n, k l matrices, then both AB and BA are defined if and only if n = k and l = m. If AB and BA are both defined, it is not necessary that AB = BA. If the product of two matrices is a zero matrix, it is not necessary that one of the matrices is a zero matrix. For three matrices A, B and C of the same order, if A = B, then AC = BC, but converse is not true. A. A = A2, A. A. A = A3, so on If A = [aij] be an m n matrix, then the matrix obtained by interchanging the rows and columns of A is called the transpose of A. Transpose of the matrix A is denoted by A or (AT). In other words, if A = [aij]mn, then AT = [aji]nm. 2. Properties of transpose of the matrices (i) (AT)T = A, (ii) (kA)T = kAT (where k is any constant) (iii) (A + B)T = AT + BT (iv) (AB)T = BT AT 3.1.9 Symmetric Matrix and Skew Symmetric Matrix (i) A square matrix A = [aij] is said to be symmetric if AT = A, that is, aij = aji for all possible values of i and j. For any matrices A and B of suitable orders, we have
Transpose of a Matrix
MATRICES
45
(ii)
A square matrix A = [aij] is said to be skew symmetric matrix if AT = A, that is aji = aij for all possible values of i and j.
Note : Diagonal elements of a skew symmetric matrix are zero. (iii) Theorem 1: For any square matrix A with real number entries, A + AT is a symmetric matrix and A AT is a skew symmetric matrix. (iv) Theorem 2: Any square matrix A can be expressed as the sum of a symmetric matrix and a skew symmetric matrix, that is
A= (A + A T ) (A A T ) + 2 2
3.1.10 Invertible Matrices (i) If A is a square matrix of order m m, and if there exists another square matrix B of the same order m m, such that AB = BA = Im, then, A is said to be invertible matrix and B is called the inverse matrix of A and it is denoted by A1. A rectangular matrix does not possess its inverse, since for the products BA and AB to be defined and to be equal, it is necessary that matrices A and B should be square matrices of the same order. If B is the inverse of A, then A is also the inverse of B. Theorem 3 (Uniqueness of inverse) Inverse of a square matrix, if it exists, is unique.
Note : 1.
2. (ii)
(iii) Theorem 4 : If A and B are invertible matrices of same order, then (AB)1 = B1A1. 3.1.11 Inverse of a Matrix using Elementary Row or Column Operations To find A1 using elementary row operations, write A = IA and apply a sequence of row operations on (A = IA) till we get, I = BA. The matrix B will be the inverse of A. Similarly, if we wish to find A1 using column operations, then, write A = AI and apply a sequence of column operations on A = AI till we get, I = AB. Note : In case, after applying one or more elementary row (or column) operations on A = IA (or A = AI), if we obtain all zeros in one or more rows of the matrix A on L.H.S., then A1 does not exist.
46
MATHEMATICS
3.2 Solved Examples Short Answer (S.A.) Example 1 Construct a matrix A = [ a ij] 22 whose elements a ij are given by aij = e2ix sin jx . Solution For For For For Thus i = 1, j = 1, i = 1, j = 2, i = 2, j = 1, i = 2, j = 2, a 11 a 12 a 21 a 22 = = = = e2x sin x e2x sin 2x e4x sin x e4x sin 2x
Example 2 If A =
which of the sums A + B, B + C, C + D and B + D is defined? Solution Only B + D is defined since matrices of the same order can only be added. Example 3 Show that a matrix which is both symmetric and skew symmetric is a zero matrix. Solution Let A = [aij] be a matrix which is both symmetric and skew symmetric. Since A is a skew symmetric matrix, so A = A. Thus for all i and j, we have aij = aji. Again, since A is a symmetric matrix, so A = A. Thus, for all i and j, we have aji = aij Therefore, from (1) and (2), we get aij = aij for all i and j or i.e., 2aij = 0, aij = 0 for all i and j. Hence A is a zero matrix. (2) (1)
MATRICES
47
Solution We have
[2x
or or
1 2 x 3] = O 2x 9 4x 3 0 8
x 8
= 0
2 x2
9x
32 x
= 0
2 x 2 23x 0
x = 0, x =
x(2 x 23) 0
23 2
Example 5 If A is 3 3 invertible matrix, then show that for any scalar k (non-zero), kA is invertible and (kA)1 = Solution We have (kA)
1 1 A k
1 1 A k
k.
1 k
1 1 A k
or
(kA)1 =
1 1 A k
Example 6 Express the matrix A as the sum of a symmetric and a skew symmetric matrix, where
2 A= 7 1
Solution We have
4 3 2
6 5 . 4
2 A= 7 1
4 3 2
6 5 , 4
then A =
2 7 4 3 6 5
1 2 4
48
MATHEMATICS
Hence
1 A + A = 2 2
4 11 11 6 5 3
5 11 3 = 2 8 5 2
11 2 3 3 2
5 2 3 2 4
and
1 A A = 2 2
0 3 7
3 0 7
7 3 7 = 2 0 7 2
3 2 0 7 2
7 2 7 2 0
Therefore,
11 2 2 A + A A A 11 + = 3 2 2 2 5 3 2 2
5 0 2 3 3 + 2 2 7 4 2
3 2 0 7 2
7 2 2 4 6 7 = 7 3 5 =A 2 . 1 2 4 0
Example 7 If A =
1 3 2 0 1 2
A34A23A+11I = O.
Solution
A2 = A A =
1 3 2 0 1 2
2 1 3 1 2 0 3 1 2
2 1 3
MATRICES
49
1 + 6 + 2 2 + 0 1 = 1 + 4 + 3
3+0+ 4 6+02 3+ 0+ 6
2 3 + 6 4 + 0 3 2 2 + 9
9 7 5 = 1 4 1 8 9 9
9 7 5 1 3 A3 = A2 A = 1 4 1 2 0 8 9 9 1 2 2 1 3
and
9 14 5 = 1 8 1 8 18 9
28 37 26 = 10 5 1 35 42 34
Now A3 4A2 3A + 11(I) 28 37 26 10 5 1 4 = 35 42 34 28 36 3 + 11 10 4 6 + 0 = 35 32 3 + 0
27 0 10 3 0 2 24 0 18
18 7 15 2 4 3 16 9 27
9 7 5 1 3 2 1 0 0 1 4 1 3 2 0 1 +11 0 1 0 8 9 9 1 2 3 0 0 1 37 28 9 + 0 5 16 + 0 + 11 42 36 6 + 0 26 20 6 + 0 1 4 + 3 + 0 34 36 9 + 11
50
MATHEMATICS
0 0 0 = 0 0 0 0 0 0
=O
0 0 1 8 + 7 12 12 + 0 = A2 4A + 7I = =O 0 0 4 + 4 + 0 1 8 + 7
A2 = 4A 7I = 16A 28I 7A = 9A 28I A5 = A3A2 = (9A 28I) (4A 7I) = 36A2 63A 112A + 196I = 36 (4A 7I) 175A + 196I = 31A 56I
2 3 1 0 = 31 56 1 2 0 1
118 93 = 31 118
MATRICES
51
Objective Type Questions Choose the correct answer from the given four options in Examples 9 to 12. Example 9 If A and B are square matrices of the same order, then (A + B) (A B) is equal to (A) A2 B2 (C) A2 B2 + BA AB (B) (D) A2 BA AB B2 A2 BA + B2 + AB
Example 10 If A =
2 3 and B = 4 1 1
3 2 , then 5
(C) AB and BA both are defined (D) AB and BA both are not defined. Solution defined. (C) is correct answer. Let A = [aij]23 B = [bij]32. Both AB and BA are
52
MATHEMATICS
= (BA AB) = (AB BA) Fill in the blanks in each of the Examples 13 to 15: Example 13 If A and B are two skew symmetric matrices of same order, then AB is symmetric matrix if ________. Solution AB = BA. Example 14 If A and B are matrices of same order, then (3A 2B) is equal to ________. Solution 3A 2B. Example 15 Addition of matrices is defined if order of the matrices is ________ Solution Same. State whether the statements in each of the Examples 16 to 19 is true or false: Example 16 If two matrices A and B are of the same order, then 2A + B = B + 2A. Solution True Example 17 Matrix subtraction is associative Solution False Example 18 For the non singular matrix A, (A)1 = (A1). Solution True Example 19 AB = AC B = C for any three matrices of same order. Solution False 3.3 EXERCISE Short Answer (S.A.) 1. If a matrix has 28 elements, what are the possible orders it can have? What if it has 13 elements?
a
2. In the matrix A =
1 3 5 x2
x y 2 5
, write :
2 0
MATRICES
53
(i) (ii)
(iii) Write elements a23, a31, a12 3. Construct a2 2 matrix where (i) (ii) 4. 5. aij =
(i 2 j ) 2 2
aij = | 2i
3j|
Construct a 3 2 matrix whose elements are given by aij = ei.xsinjx Find values of a and b if A = B, where
a 4 3b A= , 8 6
B=
2a 2 8
b2 2 b 2 5b
6.
3 2
1 3 ,
and B =
7.
If (i) (iii)
X=
X +Y
(ii)
2X 3Y
8.
9.
If A =
0 1 0 and B = 1 1 1
54
MATHEMATICS
1 x 1
1 3 2 2 5 1 15 3 2
5 1
1 2 = O. x
3 satisfies the equation A2 3A 7I = O and hence 2
A=
4 8 4 1 2 1 3 6 3
and B =
4 1 2 3 . 1 2
MATRICES
55
2 3 8 x + y + = O. 1 5 11
19. If X and Y are 2 2 matrices, then solve the following matrix equations for X and Y 2X + 3Y =
2 3 , 3X + 2Y = 4 0 2 1 2 . 5
20. If A = 3 5 , B = 7 3 , then find a non-zero matrix C such that AC = BC. 21. Give an example of matrices A, B and C such that AB = AC, where A is nonzero matrix, but B C. 22. If A =
1 2 2 , B= 2 1 3 3 and C = 4 1 0 , verify : 1 0
24. If : 2 1 3
1 0 1 1 0 1
1 0 1
1 0 = A, find A. 1
4 and C = 6 1 2 1 0 1 , verify that 2
25. If A =
2 1 ,
B =
5 3 8 7
A (B + C) = (AB + AC).
56
MATHEMATICS
1 0 26. If A = 2 1 0 1
matrix.
0 27. If A = 4 1 3
2 and 4
29. Show that AA and AA are both symmetric matrices for any matrix A. 30. Let A and B be square matrices of the order 3 3. Is (AB)2 = A2 B2 ? Give reasons. 31. Show that if A and B are square matrices such that AB = BA, then (A + B)2 = A2 + 2AB + B2. 32. Let A =
1 2 4 0 2 , B= , C = 1 3 1 5 1 0 and a = 4, b = 2. 2
MATRICES
57
cos sin cos2 sin2 33. If A = , then show that A2 = . sin cos sin2 cos2
34. If A =
0 x
x 0 1 , B= 0 1 0
1 3 3
1 4 . 4
36. Prove by Mathematical Induction that (A)n = (An), where n N for any square matrix A. 37. Find inverse, by elementary row operations (if possible), of the following matrices (i)
xy z 6 x 1 3 5 7 4 y
(ii)
1 2
3 . 6
38. If
39. If A = matrix.
58
MATHEMATICS
40. If A =
3 4
4 c d
a b . 3
2 1 1 0 A = 3 4
1 8 1 2 9 22
10 5 . 15
43. If A =
1 2 , find A2 + 2A + 7I. 4 1
P (x) . P (y) = P (x + y) = P (y) . P (x). 47. If A is square matrix such that A2 = A, show that (I + A)3 = 7A + I. 48. If A, B are square matrices of same order and B is a skew-symmetric matrix, show that ABA is skew symmetric. Long Answer (L.A.) 49. If AB = BA for any two sqaure matrices, prove by mathematical induction that (AB)n = An Bn.
MATRICES
59
51. If possible, using elementary row transformations, find the inverse of the following matrices
(i)
2 5 3
1 3 3 1 2 3
(ii)
2 1 1
3 2 1
3 2 1
(iii)
2 0 5 1 0 1
1 0 3
Choose the correct answer from the given four options in each of the Exercises 53 to 67.
x = 3, y = 1 x = 2, y = 4
(B) (D)
x = 2, y = 3 x = 3, y = 3
60
MATHEMATICS
x 1
cos 1 ( x ) sin
1
tan
56. If A =
cot 1 ( x)
, B =
tan 1 ( x)
, then
1 I 2
57. If A and B are two matrices of the order 3 m and 3 n, respectively, and m = n, then the order of matrix (5A 2B) is (A) 58. If A = m3 (B) 3 3 (C) m n (D) 3 n
0 1 , then A2 is equal to 1 0
0 1 1 0 1 0 1 0
(A)
(B)
(C)
0 1 0 1
(D)
1 0 0 1
59. If matrix A = [aij]2 2, where aij = 1 if i j = 0 if i = j then A2 is equal to (A) I (B) A (C) 0 (D) None of these
MATRICES
61
0 5 8
5 8 0 12 is a 12 0
(B) (D) symmetric matrix scalar matrix
62. If A is matrix of order m n and B is a matrix such that AB and BA are both defined, then order of matrix B is (A) (C) (A) (C) (A) (A) (C) mm nm skew symmetric matrix symmetric matrix A AB = BA AB = O (B) IA (B) (D) (B) (D) (B) (D) nn mn null matrix unit matrix (C) I+A (D) 3A
64. If A is a square matrix such that A2 = I, then (AI)3 + (A + I)3 7A is equal to 65. For any two matrices A and B, we have AB BA None of the above
66. On using elementary column operations C2 C2 2C1 in the following matrix equation
1 2 3 1 = 4 0 1 1 3 1 , we have : 2 4
1 2 1 2 3 5 2 0
(A)
1 5 0 4 =
(B)
1 1 5 0 4 = 0
1 1
3 5 0 2
62
MATHEMATICS
(C)
1 2
5 1 = 0 0
3 1
3 1 2 4
(D)
1 2
5 1 = 0 0
1 1
3 5 2 0
67. On using elementary row operation R1 R1 3R2 in the following matrix equation:
4 2 1 2 = 3 3 0 3 5 3 2 0 , we have : 1 1 7 3 2 0 1 1
(A)
7 1 = 3 0
(B)
5 3
5 3
7 1 2 = 3 0 3
7 1 = 3 1 2 7
1 1
3 1
(C)
2 0 1 1
(D)
4 5
2 1 2 = 7 3 3
2 0 1 1
Fill in the blanks in each of the Exercises 6881. 68. _________ matrix is both symmetric and skew symmetric matrix. 69. Sum of two skew symmetric matrices is always _________ matrix. 70. The negative of a matrix is obtained by multiplying it by _________. 71. The product of any matrix by the scalar _________ is the null matrix. 72. A matrix which is not a square matrix is called a _________ matrix. 73. Matrix multiplication is _________ over addition. 74. If A is a symmetric matrix, then A3 is a _________ matrix. 75. If A is a skew symmetric matrix, then A2 is a _________.
MATRICES
63
76. If A and B are square matrices of the same order, then (i) (ii) (iii) (AB) = _________. (kA) = _________. (k is any scalar) [k (A B)] = _________.
77. If A is skew symmetric, then kA is a _________. (k is any scalar) 78. If A and B are symmetric matrices, then (i) (ii) AB BA is a _________. BA 2AB is a _________.
79. If A is symmetric matrix, then BAB is _________. 80. If A and B are symmetric matrices of same order, then AB is symmetric if and only if _________. 81. In applying one or more row operations while finding A1 by elementary row operations, we obtain all zeros in one or more, then A1 _________. State Exercises 82 to 101 which of the following statements are True or False 82. A matrix denotes a number. 83. Matrices of any order can be added. 84. Two matrices are equal if they have same number of rows and same number of columns. 85. Matrices of different order can not be subtracted. 86. Matrix addition is associative as well as commutative. 87. Matrix multiplication is commutative. 88. A square matrix where every element is unity is called an identity matrix. 89. If A and B are two square matrices of the same order, then A + B = B + A. 90. If A and B are two matrices of the same order, then A B = B A. 91. If matrix AB = O, then A = O or B = O or both A and B are null matrices. 92. Transpose of a column matrix is a column matrix. 93. If A and B are two square matrices of the same order, then AB = BA. 94. If each of the three matrices of the same order are symmetric, then their sum is a symmetric matrix.
64
MATHEMATICS
95. If A and B are any two matrices of the same order, then (AB) = AB. 96. If (AB) = B A, where A and B are not square matrices, then number of rows in A is equal to number of columns in B and number of columns in A is equal to number of rows in B. 97. If A, B and C are square matrices of same order, then AB = AC always implies that B = C. 98. AA is always a symmetric matrix for any matrix A.
2 99. If A = 1 3 4
2 1 and B = 4 2 2
100. If A is skew symmetric matrix, then A2 is a symmetric matrix. 101. (AB)1 = A1. B1, where A and B are invertible matrices satisfying commutative property with respect to multiplication.