1. NPTEL โ Physics โ Mathematical Physics - 1
Module 3 Matrices
Lecture : 15
Rank of a matrix and linear dependence
The maximum number of linearly independent row vectors of a matrix ๐ด = [๐๐๐ ] is
3 0 2 2
called the rank of A. e.g. [๐ด] = [โ6 42 24 54] has rank 2.
21 โ 21 0 15
This is because there exists a relation involving all three, 6๐โ1 โ 2
๐โ2 โ ๐โ3
= 0
Where ๐โ๐ is a vector constituting the row elements. For example,
1
๐โ1 = ( ) , ๐โ2 = ( ) , ๐โ3 = ( )
3 โ6 21
0 42 โ21
2
2
24
54
0
15
It is to be kept in mind that the rank of a matrix is only zero when [๐ด] = 0. In another
example,
2 2 โ 1
Consider a matrix [ 4 0 2 ]
0 6 3
where there is no such relation among the rows (or columns) and hence has a rank is 3.
Inverse of a Matrix
The inverse of a matrix can be defined in the same spirit as that of the inverse
of a
number. For example, the inverse of โ2โ is 1
, which is also called as the reciprocal.
Joint initiative of IITs and IISc โ Funded by MHRD Page 1 of 17
2
However such divisions by matrices are not allowed. Still in the same way as a
number
and its reciprocal, when multiplied yields 1, a matrix and its inverse when multiplied
will yield a unit matrix 1. Thus inverse of a matrix A is defined as,
๐ด ร ๐ดโ1 = 1
Where ๐ดโ1 is the inverse of A and vice versa. The method of calculating
inverse of a matrix is shown below.
2. NPTEL โ Physics โ Mathematical Physics - 1
[๐ดโ1] = 1
det[๐ด]
[๐ด ]๐ =
๐
๐
1
det[๐ด] .
Joint initiative of IITs and IISc โ Funded by MHRD Page 2 of 17
[๐ด1๐ ๐ด2๐ โฆ โฆ โฆ โฆ โฆ ๐ด๐๐]
matrix A. Taking the transpose of a matrix is
equivalent to interchanging rows and columns. It is clear
that a matrix is invertible if the determinant exists. Here ๐ด๐๐
are the cofactors of the matrix A. Cofactors are defined
by the determinants of the matrix composed of matrix
elements that exclude the row and the column of
matrix element whose cofactor is being calculated.
1 2 3
For example, the cofactors of the matrix ๐ด = [0 4 5]
1 0 6
๐ด12๐ด22 โฆ โฆ โฆ โฆ โฆ ๐ด๐2
๐ด11๐ด21 โฆ โฆ โฆโฆ โฆ ๐ด๐1
.
.
where ๐ด๐ is the transpose of the
๐ด11 = |4 5
0 6
| = 24 ๐ด31 = | | = โ2
2 3
4 5
๐ด12 = โ | | = 5
0 5
1 6
๐ด32 = โ | | = โ5
1 3
0 5
๐ด13 = |0 4
1 0
| = โ4 ๐ด33 = | | = 1
1 2
0 4
๐ด21 = โ | | = โ12
2 3
0 6
Thus the cofactor matrix is
24 5 โ 4
|โ12 3
2|
โ2 โ 5 4
๐ด22 = | | = 3
1 3
1 6
๐ด23 = โ | | = 2
1 2
1 0
Using this, find the inverse of
โ1 1 2
[๐ด] = [3 โ 1 1], det [๐ด] = 10
โ1 3 4
3. NPTEL โ Physics โ Mathematical Physics - 1
More examples :
1 1 1
๐ด = ( 1 2 1)
1 1 3
1) First calculate det A to ascertain A is invertible.
2) The cofactors of the top row are
๐11 = | | = 5, ๐12 = | | = 2, ๐13 = | | = โ1
2 1 1 1 1 2
1 3 1 3 1 1
Thus, det ๐ด = ๐ด11๐11 โ ๐ด12๐12 + ๐ด13๐13 = 2
= 2, thus A is invertible. (Since โ 0)
3) The cofactor matrix is constructed from the
minor,
๐ถ = (โ๐21๐22 โ ๐23) = ( โ2
๐11 โ ๐12๐13
๐31 โ ๐32๐33
5 โ 2 โ 1
2 0 )
โ1 0 1
Thus, ๐ดโ1 = 1
( โ2
Joint initiative of IITs and IISc โ Funded by MHRD Page 3 of 17
2
5 โ 2 โ 1
0 )
1
2
0
โ1