Matrix

CRASH COURSE Matrix

Any rectangular arrangement of numbers (real or complex)(or of real valued or complex valued expressions) is called a matrix. If a matrix has m rows and n columns then the order of matrix is said to be m by n (denoted as m × n).

The general m × n matrix is Matrix

aaaaa11121311 ...... jn  aaaaa21222322 ...... jn  ...... A = aaaaa ...... iiiijin123 ...... aaaaa ...... mmmmjmn123

th th where aij denote the element of i row & j column. The above matrix is usually denoted as [aij]m × n . Matrix

Note :

The elements a11, a22, a33,...... are called as diagonal elements.

Their sum is called as trace of A denoted as Tr(A) Matrix Basic Definitions (i) Row matrix :A matrix having only one row is called as row matrix (or row vector).

General form of row matrix is A = [a11, a12, a13, ...., a1n]

(ii) Column matrix : A matrix having only one column is called as column matrix. (or column vector)

푎11 푎21 Column matrix is in the form A = … 푎푚1 Matrix (iii) : A matrix in which number of rows & columns are equal is called a square matrix. General form of a square matrix is

aaa11121 ...... n  aaa ...... A = 21222 n ......  aaannnn12......

which we denote as A = [aij]n. Matrix

(iv) : A = [aij]m × n is called a zero matrix,

if aij = 0 " i & j.

(v) Upper :

A = [aij]m × n is said to be upper triangular, if aij = 0 for i > j (i.e., all the elements below the diagonal elements are zero).

(vi) Lower triangular matrix : A = [aij]m × n is said to be a

lower triangular matrix, if aij = 0 for i < j. (i.e., all the elements above the diagonal elements are zero.) Matrix

(vii) : A square matrix [aij]n is said to be a

diagonal matrix if aij = 0 for i  j. (i.e., all the elements of the square matrix other than diagonal elements are zero)

Note :

Diagonal matrix of order n is denoted as Diag (a11, a22, ...... ann). Matrix

(viii) Scalar matrix : Scalar matrix is a diagonal matrix in which all the diagonal elements are same

A = [aij]n is a scalar matrix,

if (i) aij = 0 for i  j and (ii) aij = k for i = j.

(ix) Unit matrix () : Unit matrix is a diagonal matrix in which all the diagonal elements are unity. Unit matrix of order 'n' is denoted by

In(or I). i.e. A = [aij]n is a unit matrix when aij = 0 for i  j & aii = 1 1 0 0 1 0 eg. I = , I = 0 1 0 . 2 0 1 3 0 0 1 Matrix (x) Comparable matrices : Two matrices A & B are said to be comparable, if they have the same order (i.e., number of rows of A & B are same and also the number of columns).

(xi) Equality of matrices : Two matrices A and B are said to be equal if they are comparable and all the corresponding elements are equal.

Let A = [aij]m × n & B = [bij]p × q A = B iff (i) m = p, n = q

(ii) aij = bij " i & j. Matrix

(xii) Multiplication of matrix by scalar :

Let l be a scalar (real or complex number) & A = [aij]m × n be a matrix. Thus the product lA is defined as

lA = [bij]m × n where bij = laij " i & j. Note : If A is a scalar matrix, then A = lI, where l is the diagonal element. Matrix

(xiii) Addition of matrices : Let A and B be two matrices of same

order (i.e. comparable matrices). Then A + B is defined to be.

A + B = [aij]m × n + [bij]m × n.

= [cij]m × n where cij = aij + bij " i & j. Matrix

(xiv) Substraction of matrices : Let A & B be two matrices of same order. Then A – B is defined as A + – B where – B is (– 1) B. (xvi) Multiplication of matrices : Let A and B be two matrices such that the number of columns of A is same as number of

rows of B. i.e., A = [aij]m × p & B = [bij]p × n. p Then AB = [cij]m × n where cij =  ab , which is the dot k1= ikkj

product of ith row vector of A and jth column vector of B. Question

111213   1n1 − 178 1n If    ...... =, then the inverse of is: 010101   01 01 01

1 −13 (A) 0 1 1 −12 (B) 0 1 1 0 (C) 13 1 1 0 (D) 12 1

Question

푥 1 Let and x  R and A4= [a ]. If a = 109, then a is equal to 1 0 ij 11 22 ...... Question 푐표푠훼 −푠푖푛훼 0 −1 Let , (a  R) such that A32 = . Then a value of 푠푖푛훼 푐표푠훼 1 0 a is : 휋 (A) 64 (B) 0 휋 (C) 32 휋 (D) 16 Question

 2  0-10-2 x +x x  +  = then x is equal to  32 -x+1x51

(A) –1 (B) 2 (C) 1 (D) No value of x Question

If A = diag (2, –1, 3), B = diag (–1, 3, 2), then A2 B equal to

(A) diag (5, 4, 11)

(B) diag (–4, 3, 18)

(C) diag (3, 1, 8)

(D) None of these Matrix Transpose of a Matrix T Let A =[aij]m × n. Then the transpose of A is denoted by A( or A ) and is defined as

A = [bij]n × m where bij = aji " i & j. i.e. A is obtained by rewriting all the rows of A as columns (or by rewriting all the columns of A as rows).

(i) For any matrix A = [aij]m × n, (A) = A

(ii) Let l be a scalar & A be a matrix. Then (lA) = lA Matrix

(iii) (A + B) = A + B & (A – B) = A – B for two comparable matrices A and B.

(iv) (A1 ± A2 ± ..... ± An) = A1 ± A2 ± ..... ± An, where Ai are comparable.

(v) Let A = [aij]m × p & B = [bij]p × n , then (AB) = BA

(vi) (A1 A2 ...... An) = An. An – 1 ...... A2 . A1, provided the product is defined.

(vii) Symmetric & skew : A square matrix A is said to be symmetric if A = A Matrix

i.e. Let A = [aij]n. A is symmetric iff aij = aji " i & j.

A square matrix A is said to be skew symmetric if A = – A

i.e. Let A = [aij]n. A is skew symmetric iff aij = – aji " i & j. ahg  e.g. A = hbf is a symmetric matrix. gfc o x y  B = −x o z is a skew symmetric matrix. −−yz0 Question

If A is a symmetric matrix and B is a skew-symmetrix matrix such 2 3 that A+B= , then AB is equal to : 5 −1 −4 2 (A) 1 4 4 −2 (B) −1 −4 4 −2 (C) 1 −4 −4 −2 (D) −1 4

Question

Let a, b, c R be all non-zero and satisfy a3+b3+c3 =2. If the matrix

푎 푏 푐 푏 푐 푎 satisfies ATA=I, then a value of abc can be: 푐 푎 푏 2 (A) 3 (B) 3 1 (C) − 3 1 (D) 3

Question

0 2푦 1 The total number of matrices A = 2푥 푦 −1 , (x,yR, x  y), for 2푥 −푦 1 T which A A = 3I3 is : (A) 6

(B) 4

(C) 3

(D) 2

Question

2 −1 4 1 A = & B = then BTAT is −7 4 7 2 (A) a null matrix

(B) an identity matrix

(C) scalar, but not an identity matrix

T T (D) such that Tr (B A ) = 4 Matrix

Submatrix, Minors, Cofactors & of a Matrix (i) Submatrix :Let A be a given matrix. The matrix obtained by deleting some rows or columns of A is called as submatrix of A.

푎 푏 푐 푑 eg.A = 푥 푦 푧 푤 푝 푞 푟 푠

푎 푐 푎 푏 푐 푎 푏 푑 Then 푥 푧 , , 푥 푦 푧 are all submatrices of A. 푝 푞 푠 푝 푟 푝 푞 푟 Matrix (ii) Determinant of a square matrix :

Let A = [a]1×1 be a 1×1 matrix. Determinant A is defined as |A| = a. e.g. A = [– 3]1×1 |A| = – 3 푎 푏 Let A = , then |A| is defined as ad – bc. 푐 푑 Matrix (iii) Minors & Cofactors :

Let A=[aij]n be a square matrix. Then of element aij, denoted by

Mij is defined as the determinant of the submatrix obtained by th th deleting i row & j column of A. Cofactor of element aij, denoted by i + j Cij (or Aij) is defined as Cij = (– 1) Mij. 푎 푏 e.g. 1A = 푐 푑 M11 = d = C11

M12 = c, C12 = – c

M21 = b, C21 = – b

M22 = a = C22 Matrix

Let A = [aij] and B = [bij] be two 3 × 3 real matrices such that

(i+j-2) bij = (3) aij, where i,j = 1, 2, 3. If the determinant of B is 81, then the determinant of A is:

(A)1/3

(B) 3

(C) 1/81

(D) 1/9 Question

521 a  If B = 021 is the inverse of a 3×3 matrix A, then the sum of a−31 all values of a for which det (A)+1 = 0, is : (A)-1 (B) 0 (C) 1 (D) 2 Question 1 1 1 Let the numbers 2, b, c be in an A.P. and A = 2 푏 푐 . 4 푏2 푐2 If det(A)  [2, 16], then c lies in the interval: (A) [4, 6] (B) [3, 2 + 23/4] (C) (2 + 23/4 , 4] (D) [2, 3)

Matrix

(vi) Singular & non singular matrix : A square matrix A is said

to be singular or non singular according as |A| is zero or non

zero respectively. Matrix

(vii) Cofactor matrix & adjoint matrix : Let A = [aij]n be a square matrix. The matrix obtained by replacing each element of A by corresponding cofactor is called as cofactor matrix of A, denoted as cofactor A. The transpose of cofactor matrix of A is called as adjoint of A, denoted as adj A.

i.e. if A = [aij]n

then cofactor A = [cij]n when cij is the cofactor of aij " i & j.

Adj A = [dij]n where dij = cji " i & j. Matrix (viii) Properties of cofactor A and adj A:

(a) A . adj A = |A| In = (adj A) A where A = [aij]n. (b) |adj A| = |A|n – 1, where n is order of A. In particular, for 3 × 3 matrix, |adj A| = |A|2 (c) If A is a symmetric matrix, then adj A are also symmetric matrices. (d) If A is singular, then adj A is also singular. Matrix

(ix) Inverse of a matrix (reciprocal matrix) :Let A be a non

1 singular matrix. Then the matrix adj A is the multiplicative 퐴 inverse of A (we call it inverse of A) and is denoted by A–1.

We have A (adj A) = |A| In = (adj A) A

1 1 퐴 푎푑푗퐴 = I = 푎푑푗퐴 A, for A is non singular 퐴 n 퐴

1  A–1= adj A. 퐴 Question

ttt −− If eecos tesint then A is : ttttt −−−− eecos−−−+ tesintesintecos t ttt −− eesintecos22 t −

(A) not invertible for any tR.  (B) invertible only if t = . 2 (C) invertible only if t = p.

(D) invertible for all tR.

Question

1 1 2 푎푑푗퐵 If the matrices 퐴 = 1 3 4 , B = adj A and C = 3A , then is 퐶 1 −1 3 equal to : (A) 8 (B) 2 (C) 16 (D) 72 Matrix System of Linear Equations & Matrices Consider the system

a11 x1 + a12x2 + ...... + a1nxn = b1

a21x1 + a22 x2 + ...... + a2n xn = b2 ......

am1x1 + am2x2 + ...... + amnxn = bn. b x 1 aaa ...... 1  11 121 n b  2 aaa ...... x2 21 222 n  ... Let A = , x = & B =  ...... ...   x bn aaammmn12...... n Then the above system can be expressed in the matrix form as Ax = b Question

Suppose the vectors x1, x2 and x3 are the solutions of the system of linear equations, Ax=b when the vector b on the right side is equal to b1, b2 and b3 respectively. 100100       x1======, x2  , x0  ,b0  ,b2  and  b0 if 123123       , 111002       then the determinant of A is equal to (A) 2 1 (B) 2 3 (C) 2 (D) 4

Matrix

More on Matrices

(i) Characteristic polynomial & Characteristic equation :

Let A be a square matrix. Then the polynomial | A – xI | is

called as characteristic polynomial of A & the equation |A–xI|

= 0 is called as characteristic equation of A. Matrix

Remark : Every square matrix A satisfy its characteristic equation (Cayley - Hamilton Theorem).

n n – 1 i.e. a0 x + a1, x + ...... + an – 1x + an = 0 is the characteristic equation of A, then

n n – 1 a0A + a1A + ...... + an – 1 A + an I = 0 Matrix

(ii) More Definitions on Matrices :

(a) :

A square matrix A is said to be nilpotent (of order 2) if,A2= O.

A square matrix is said to be nilpotent of order p, if p is the

least positive such that Ap = O. Matrix

(b) : A square matrix A is said to be idempotent if, A2 = A.

1 0 e.g. is an idempotent matrix. 0 1

(c) Involutory matrix: A square matrix A is said to be involutory if A2 = I, I being the identity matrix.

1 0 e.g. A = is an involutory matrix. 0 1 Matrix

(d) : A square matrix A is said to be an orthogonal matrix if, A A = I = AA.

(e) : A square matrix A is said to be unitary if A (퐴ҧ) = I, where 퐴ҧ is the complex conjugate of A. Question

Let a be a root of the equation x2 + x + 1 = 0 and the matrix A

1 1 1 1 = 1 훼 훼2 , then the matrix A31is equal to 3 1 훼2 훼4 (A) A (B) A3 (C) A2

(D) I3

Question

The number of all 3 × 3 matrices A, with enteries from the set

{–1,0,1} such that the sum of the diagonal elements of AAT is 3, is

......