Matrices and Determinants
Matrices and Determinants
1
Determinants and Matrices
2
Determinants and Matrices
3
Determinants and Matrices
(3) Singleton matrix : If in a matrix there is only one (9) Triangular matrix : A square matrix [aij] is said to
element then it is called singleton matrix. be triangular matrix if each element above or below the
Thus, A [aij]m n is a singleton matrix, if m n 1 principal diagonal is zero. It is of two types
Example : [2], [3], [a], [–3] are singleton matrices. (i) Upper triangular matrix : A square matrix [aij] is
(4) Null or zero matrix : If in a matrix all the elements called the upper triangular matrix, if aij 0 when i j .
are zero then it is called a zero matrix and it is generally
3 1 2
denoted by O. Thus A [aij]m n is a zero matrix if aij 0 for
Example : 0 4 3 is an upper triangular matrix of order
all i and j. 0 0 6
0 0 0 0 0
Example : [0 ], , , [0 0 ] are all zero 3 × 3.
0 0 0 0 0
(ii) Lower triangular matrix : A square matrix [aij ] is
matrices, but of different orders.
(5) Square matrix: If number of rows and number of called the lower triangular matrix, if aij 0 when i< j.
columns in a matrix are equal, then it is called a square
1 0 0
matrix.
Example : 2 3 0 is a lower triangular matrix of order
Thus A [aij]m n is a square matrix if m n .
4 5 2
a11 a12 a13
3 × 3.
Example : a 21 a 22
a23 is a square matrix of order
a31 a32 a33
Trace of a matrix
3×3.
(i) If m n then matrix is called a rectangular matrix.
The sum of diagonal elements of a square matrix. A is
(ii) The elements of a square matrix A for which
called the trace of matrix A , which is denoted by tr A.
i j, i.e . a11 , a 22 , a33 ,.... ann are called diagonal elements and n
the line joining these elements is called the principal tr A aii a11 a22 ... ann
i 1
diagonal or leading diagonal of matrix A.
Properties of trace of a matrix
(6) Diagonal matrix : If all elements except the
principal diagonal in a square matrix are zero, it is called a Let A [aii]n n and B [bij]n n and be a scalar
diagonal matrix. Thus a square matrix A [aij] is a diagonal (i) tr(A) tr( A) (ii) tr( A B) tr( A) tr (B)
matrix if aij 0, when i j . (iii) tr( AB ) tr(BA ) (iv) tr ( A) tr ( A ' ) or
T
2 0 0 tr ( A )
Example : 0 3 0 is a diagonal matrix of order 3× (v) tr (In ) n (vi) tr (0)= 0
0 0 4
(vii) tr ( AB ) tr A . tr B
3, which can be denoted by diag [2, 3, 4].
(7) Identity matrix : A square matrix in which
Addition and subtraction of matrices
elements in the main diagonal are all '1' and rest are all
zero is called an identity matrix or unit matrix. Thus, the
square matrix A [aij] is an identity matrix, if If A [aij]m n and B [b ij ] m n are two matrices of the
1, if i j same order then their sum A+B is a matrix whose each
aij element is the sum of corresponding elements i.e.,
0, if i j
A B [a ij b ij ]m n .
We denote the identity matrix of order n by In .
1 0 0 Similarly, their subtraction A B is defined as
1 0 A B [aij bij]m n
Example : [1], 0 1 0 are identity matrices
,
0 1 0 0 1
Matrix addition and subtraction can be possible only
of order 1, 2 and 3 respectively. when matrices are of the same order.
(8) Scalar matrix : A square matrix whose all non Properties of matrix addition : If A, B and C are
diagonal elements are zero and diagonal elements are matrices of same order, then
equal is called a scalar matrix. Thus, if A [aij] is a square (i) A B B A (Commutative law)
, if i j
matrix and a ij , then A is a scalar matrix.
0, if i j (ii) ( A B) C A (B C ) (Associative law)
Unit matrix and null square matrices are also scalar (iii) A O O A A, where O is zero matrix which is
matrices. additive identity of the matrix.
4
Determinants and Matrices
(iv) A ( A) 0 ( A) A , where ( A) is obtained by If A,B and C are three matrices such that their
changing the sign of every element of A, which is product is defined, then
additive inverse of the matrix. (i) AB BA , (Generally not commutative)
A B A C (ii) ( AB )C A(BC ) , (Associative Law)
(v) B C (Cancellation law) (iii) IA A AI , where I is identity matrix for matrix
B A C A
multiplication.
(iv) A(B C ) AB AC , (Distributive law)
Scalar multiplication of matrices (v) If AB AC B C ,(Cancellation law is not
applicable)
Let A [aij]m n be a matrix and k be a number, then the (vi) If AB = 0, it does not mean that A= 0 or B = 0,
matrix which is obtained by multiplying every element of again product of two non zero matrix may be a zero
A by k is called scalar multiplication of A by k and it is matrix.
denoted by kA.
Thus, if A [aij]m n , then kA Ak [ka ij ] m n . Positive integral powers of a matrix
Properties of scalar multiplication
If A, B are matrices of the same order and , are The positive integral powers of a matrix A are
defined only when A is a square matrix.
any two scalars then
Also then A 2 A. A , A 3 A. A. A A 2 A .
(i) ( A B) A B (ii)
Also for any positive integers m and n,
( ) A A A
(i) Am An A m n
(iii) (A) (A) (A) (iv) (A) (A) ( A)
(ii) ( A m )n A mn ( An )m
All the laws of ordinary algebra hold for the
addition or subtraction of matrices and their (iii) In I, Im I
multiplication by scalars. (iv) A 0 In , where A is a square matrix of order n.
Two matrices A and B are conformable for the The matrix obtained from a given matrix A by
product AB if the number of columns in A (pre- changing its rows into columns or columns into rows is
multiplier) is same as the number of rows in B (post called transpose of matrix A and is denoted by A T or A .
multiplier). Thus, if A [aij]m n and B [bij]n p are two
From the definition it is obvious that if order of A is
matrices of order m × n and n p respectively, then their
m × n, then order of A T is n × m.
product AB is of order m p and is defined as
Example:
b1 j
n b a1 b1
a a a
( AB )ij airbrj [ai1 ai2 ... ain ] 2 j = (ith row of A)(jth column
Transpose of matrix 1 2 3
is a2 b 2
r 1 b 1 b 2 b 3 2 3
bnj a3 b3 3 2
of B) Properties of transpose : Let A and B be two matrices
.....(i) then, (i) ( A T )T A
where i =1, 2, ..., m and j =1, 2, ...p
Now we define the product of a row matrix and a (ii) ( A B)T A T B T , A and B being of the same
column matrix. order
b (iii) (kA )T kA T , k be any scalar (real or complex)
1
Let A a1a2 .... an be a row matrix and B b 2 be a (iv) ( AB )T B T A T , A and B being conformable for the
bn product AB
column matrix. (v) ( A1 A2 A3 ..... An 1 An )T An T An 1T ....... A3 T A2 T A1T
Then AB a1b1 a2 b 2 .... anbn
(vi) I T I
…..(ii)
Special types of matrices
Thus, from (i), ( AB) ij Sum of the product of elements
of ith row of A with the corresponding elements of jth
(1) Symmetric matrix : A square matrix A [aij] is
column of B.
Properties of matrix multiplication called symmetric matrix if aij a ji for all i, j or A T A .
5
Determinants and Matrices
a h g 2 3
Example : A
Example : h b f
4 5
g f c 2 3
then| A | 10 12 2 A is a non-singular
(2) Skew-symmetric matrix : A square matrix 4 5
A [aij] is called skew- symmetric matrix if aij a ji for all matrix.
T
i, j or A A . (4) Hermitian and Skew-hermitian matrix : A square
matrix A [aij] is said to be hermitian matrix if
0 h g
Example : h 0 f
aij a ji ; i, j i.e ., A A .
g f 0
3 3 4 i 5 2i
a b ic
All principal diagonal elements of a skew- symmetric Example : , 3 4 i 5 2 i
matrix are always zero because for any diagonal element. b ic d 5 2i 2 i
2
a ij aij a ij 0
are Hermitian matrices. If A is a Hermitian matrix
Properties of symmetric and skew-symmetric then aii aii a ii is real i, thus every diagonal element
matrices of a Hermitian matrix must be real.
(i) If A is a square matrix, then A A T , AA T , A T A are A square matrix, A = |aij| is said to be a Skew-
symmetric matrices, while A A T is skew- symmetric Hermitian if aij a ji. i, j i.e . A A . If A is a skew-
matrix. Hermitian matrix, then aii aii aii aii 0 i.e. aii must
(ii) If A is a symmetric matrix, be purely imaginary or zero.
T n 1 T
then A, KA, A , A , A , B AB are also symmetric matrices, 3i 3 2i 1 i
where n N , K R and B is a square matrix of order that 0 2 i
Example : , 3 2 i 2i 2 4 i
of A. 2 i 0
1 i 2 4i 0
(iii) If A is a skew-symmetric matrix, then
are skew-hermitian matrices.
(a) A 2 n is a symmetric matrix for n N . (5) Orthogonal matrix : A square matrix A is called
(b) A 2 n 1 is a skew-symmetric matrix for n N . orthogonal if AA T I A T A i.e., if A 1 A T
(c) kA is also skew-symmetric matrix, where cos sin
kR. Example : A
sin cos
(d) B T AB is also skew- symmetric matrix where cos sin
B is a square matrix of order that of A. is orthogonal because A 1 A
T
sin cos
(iv) If A, B are two symmetric matrices, then
In fact every unit matrix is orthogonal. Determinant
(a) A B, AB BA are also symmetric matrices, of orthonogal matrix is – 1 or 1.
(b) AB BA is a skew- symmetric matrix, (6) Idempotent matrix : A square matrix A is called
(c) AB is a symmetric matrix, when AB BA . an idempotent matrix if A 2 A .
(v) If A, B are two skew-symmetric matrices, then 1 / 2 1 / 2
Example : is an idempotent matrix,
(a) A B, AB BA are skew-symmetric matrices, 1 / 2 1 / 2
(b) AB BA is a symmetric matrix. because
(vi) If A a skew-symmetric matrix and C is a column 1 / 4 1 / 4 1 / 4 1 / 4 1 / 2 1 / 2
A2 A.
matrix, then C T AC is a zero matrix. 1 / 4 1 / 4 1 / 4 1 / 4 1 / 2 1 / 2
(vii) Every square matrix A can unequally be 1 0 0 0
Also, A and B are idempotent
expressed as sum of a symmetric and skew-symmetric 0 0 0 1
matrix matrices because A 2 A and B 2 B .
1 1 In fact every unit matrix is indempotent.
i.e., A ( A A T ) ( A A T ) .
2 2 (7) Involutory matrix : A square matrix A is called an
(3) Singular and Non-singular matrix : Any square involutory matrix if A 2 I or A 1 A
matrix A is said to be non-singular if | A | 0, and a square Example:
matrix A is said to be singular if | A | 0 . Here | A | (or 1 0
A is an involutory matrix because
det(A) or simply det |A| means corresponding 0 1
determinant of square matrix A. 1 0
A2 I
0 1
6
Determinants and Matrices
In fact every unit matrix is involutory. If A [aij]m n then A [b ji]nm where b ji aij
(8) Nilpotent matrix : A square matrix A is called a
i.e., the ( j, i) th element of A the conjugate of (i, j)th
nilpotent matrix if there exists a p N such that A p 0 .
element of A.
0 0
Example: A 1 2i 2 3 i 3 4 i
1 0 Example: If A 4 5 i 5 6 i 6 7 i ,
0 0 8 7 8i 7
is a nilpotent matrix because A 2 0 , (Here P
0 0 1 2 i 4 5 i 8
= 2) then A 2 3 i 5 6 i 7 8 i
7
Determinants and Matrices
(xi) A is symmetric adj A is also symmetric. matrix of order r. The determinant of the square sub-
(xii) A is diagonal adj A is also diagonal. matrix of order r is called a minor of A order r. Consider
any matrix A which is of the order of 3×4
(xiii) A is triangular adj A is also triangular.
1 3 4 5
(xiv) A is singular |adj A|= 0
say, A 1 2 6 7 . It is 3×4 matrix so we can have
1 5 0 1
Inverse of a matrix
minors of order 3, 2 or 1. Taking any three rows and three
columns minor of order three. Hence minor of order
A non-singular square matrix of order n is invertible if 1 3 4
there exists a square matrix B of the same order such that
3 1 2 6 0
AB In BA .
1 5 0
In such a case, we say that the inverse of A is B and
Making two zeros and expanding above minor is
we write A 1 B . The inverse of A is given by zero. Similarly we can consider any other minor of order
1
A 1 .adj A . 3 and it can be shown to be zero. Minor of order 2 is
| A|
obtained by taking any two rows and any two columns.
The necessary and sufficient condition for the 1 3
existence of the inverse of a square matrix A is that Minor of order 2 2 3 1 0 . Minor of
1 2
| A| 0 .
order 1 is every element of the matrix.
Properties of inverse matrix: Rank of a matrix: The rank of a given matrix A is said
If A and B are invertible matrices of the same order, to be r if (1) Every minor of A of order r+1 is zero.
then (2) There is at least one minor of A of order r which
(i) ( A 1 ) 1 A does not vanish. Here we can also say that the rank of a
(ii) ( A T ) 1 ( A 1 )T matrix A is said to be r ,if (i) Every square submatrix of
order r+1 is singular.
(iii) ( AB )1 B 1 A 1
(ii) There is at least one square submatrix of order
(iv) ( Ak )1 ( A 1 )k , k N [In particular r which is non-singular.
2 1 1 2
(A ) (A ) ] The rank r of matrix A is written as ( A) r .
(v) adj( A 1 ) (adj A)1
1 Echelon form of a matrix
(vi) | A 1 | | A | 1
| A|
(vii) A = diag (a1 a2 ... an ) A 1 diag (a11a21 ...an1 ) A matrix A is said to be in Echelon form if either A is
the null matrix or A satisfies the following conditions:
(viii) A is symmetric A 1 is also symmetric.
(1) Every non- zero row in A precedes every zero
(ix) A is diagonal, | A | 0 A 1 is also diagonal. row.
(x) A is a scalar matrix A 1 is also a scalar matrix. (2) The number of zeros before the first non-zero
(xi) A is triangular, | A | 0 A 1 is also triangular. element in a row is less than the number of such zeros in
the next row.
(xii)Every invertible matrix possesses a unique
If can be easily proved that the rank of a matrix in
inverse.
Echelon form is equal to the number of non-zero row of
(xiii) Cancellation law with respect to the matrix.
multiplication
Rank of a matrix in Echelon form : The rank of a matrix
If A is a non-singular matrix i.e., if | A | 0 ,then in Echelon form is equal to the number of non-zero rows in
A 1 exists and AB AC A 1 ( AB ) A 1 ( AC ) that matrix.
( A 1 A)B ( A 1 A)C
IB IC B C Homogeneous and non-homogeneous systems of linear
equations
AB AC B C | A | 0 .
8
Determinants and Matrices
In system of linear equations AX B, A (aij)n n is said We know that if x and y axis are rotated through an
to be angle about the origin the new coordinates are given
(i) Consistent (with unique solution) if | A | 0 . by
x X cos Y sin and y X sin Y cos
i.e., if A is non-singular matrix.
(ii) Inconsistent (It has no solution) if | A | 0 and x cos sin X cos sin
(adjA) B is a non-null matrix. y sin cos Y sin cos
is the matrix of rotation through an angle .
9
Determinants and Matrices
i.e a11 C11 a12 C12 a13 C13 a11 C11 a 21 C 21 a31 C 31 The multiplication of two triangular matrices is a
triangular matrix.
where the capital letters C11 , C12 , C13 etc. denote the
cofactors of a11 , a12 , a13 etc. 1
If A is involuntary matrix, then (I A ) and
2
In general, it should be noted 1 1
(I A) are idempotent and (I A ) . (I A) 0 .
2 2
ai1 C j1 ai2 C j2 ai3 C j3 0, if i j
Trace of a skew symmetric matrix is always 0.
or a1iC1 j a2 iC 2 j a3 iC 3 j 0, if i j Properties of determinant of a matrix
If ' is the determinant formed by replacing the (i) | A | exists A is square matrix
elements of a determinant by their corresponding (ii) | AB | | A || B |
cofactors, then if 0 , then C 0 , ' n 1 , where n
is the order of the determinant. (iii) | A T | | A |
A diagonal matrix of order n n having The adjoint of a square matrix of order 2 can be
d 1 , d 2 ,....., d n as diagonal elements is denoted by easily obtained by interchanging the diagonal elements
diag [d 1 , d 2 ,..., d n ] . and changing signs of off diagonal elements.
Diagonal matrix is both upper and lower The rank of the null matrix is not defined and the
triangular rank of every non-null matrix is greater than or equal
to 1.
The multiplication of two diagonal matrices is also
a diagonal matrix and The rank of a singular square matrix of order n
cannot be n.
diag
(a1 , a 2 ,.... an ) diag (b1 , b 2 ,.... bn ) diag (a1b1 , a 2 b 2 ,.... an bn ) . A Homogeneous system of equations is never
inconsistent.
The multiplication of two scalar matrices is also a
scalar matrix.
10