ADU4303 Unit - Session-3
ADU4303 Unit - Session-3
Session 3
3.1 Introduction
3.2 Rank of a Matrix
3.3 Elementary Transformations (Operations) on a Matrix
3.4 Inverse by Gauss-Jordan method
Review Questions
3.1 Introduction
In this session, we shall learn to determine the rank of a matrix and obtain the inverse of a
matrix using elementary transformations.
Learning Outcomes
▪ find the rank and inverse of a matrix using elementary row operations.
Given a matrix A not necessarily square, the rank of a matrix A is the positive integer
r such that there exists at least one r -rowed square sub-matrix with non-vanishing
r
determinant while the determinant of every (r + 1) or more rowed sub matrices is zero.
Thus the rank of a matrix is the largest order of a non-zero minor of that matrix. The rank
of A is denoted by r ( A ) .
3.2.1 Example
2 1 -1
Determine the rank of the following matrix A = 0 3
-2 .
2 4 -3
Solution
A = 2 ( −9 + 8 ) − 1 ( 0 + 4 ) − 1 ( 0 − 6 ) = 0
Since A = 0 implies rank of A 3 i.e., r ( A) 2
nd
Consider the determinant of 2 order sub matrices
2 1
Since = 6 0,
0 3
r ( A ) = 2.
Two matrices A and B are said to be equivalent, if one matrix say A can be obtained
from B by a sequence of elementary transformations. The equivalence is denoted by
A ~ B, .
3.3.2 Row-equivalence
Result: Equivalent matrices have the same order and same rank because elementary
transformations do not alter (effect) its order and rank.
1. If there are any rows of all zeros then they are at the bottom of the matrix.
2. If a row does not consist of all zeros then its first non-zero entry (i.e. the left most
non-zero entry) is a 1. This 1 is called a leading 1.
3. In any two successive rows, neither of which consists of all zeroes, the leading 1 of
the lower row is to the right of the leading 1 of the higher row.
4. If a column contains a leading 1 then all the other entries of that column are zero.
(i) all nonzero rows (rows with at least one nonzero element) are above any rows
of all zeroes, and
(ii) the leading coefficient (the first nonzero number from the left, sometimes
called the pivot) of a nonzero row is always strictly to the right of the leading
coefficient of the row above it.
A matrix is said to be in reduced row echelon form if it satisfies the additional condition
that every leading coefficient is 1 and is the only nonzero entry in its column, like in this
example:
1 4 0 −3 0
0 0 1 2 0
0 1
0 0 0
Notice from the above definitions, that a matrix that is in reduced row-echelon form is
also in row-echelon form while a matrix in row-echelon form may or may not be in
reduced row-echelon form.
Ir 0 I
N = Ir , , Ir 0, r
0 0 0
where I r is an identity matrix of order r . By the application of both elementary row and
column operations, a matrix of rank r can be reduced to normal form. Then the rank of A
is r .
3.3.5 Example
2 1 -1
A= 0 3 -2 .
2 4 − 3
Solution
3.3.6 Example
1 2 3 1 2 3
If A= 3 4 5 and B = 2 1 0 ,
4 5 6 0 1 2
find (i) rank of A , (ii) rank of B, (iii) rank of A + B , (iv) rank of AB and (v) rank of
BA .
Solution
R
21( − 3 )
1 2 3 1 2 3 1 2 3 1 2 3
A= 3 4 5 0
~
−2 −4 R 0 −2 −4 R 0 1 2
3 1
4 31( − 4 ) 0
R
−3
−6
32 − 2 −
0 2 0
5 6 2 0 0 0 0
~ ~ ~
1 2 3 1 2 3 1 2 3 1 2 3
B= 2 1 0 R 0 −3 −6 R 0 −3 −6 R 0 1 2
21( − 2 ) 32 1 2 − 1
0 1 2 0 1 2 3 0
0 0 3 0 0 0
~
~ ~
r ( B ) = 2,
R
2 4 6 5
21 − 2 4 6 2 4 6 2 4 6
2
A+ B = 5 5 5 ~
0 −5 − 10 R 2 0 −5 − 10 R 1 0 1 2
32 − 2 −
4 6 8 R31( −2 ) 0 −2 − 4 ~ 5 0 0 0 ~ 5 0 0 0
~
r ( A + B ) = 2,
5 7 9 R21( − 2 ) 5 7 9 1 1 1 R21( −5 ) 1 1 1
~ ~
AB = 11 15 19 1 1 1 R21 5 7 9 0 2 4
R ~ R
31( − 3 ) 31(1)
14 19 24 ~ − 1 −2 − 3 − 1 −2 − 3 ~ 0 −1 − 2
1 1 1 1 1 1
R 0 1 2 R32 (1) 0 1 2 ,
1
2 ~
~
2
0 −1 − 2 0 0 0
rank ( AB ) = 2
1 1 1 1 1 1
R 0 1 2 R32 ( 3 ) 0 1 2 ,
1
2 ~
~
3
0 −3 − 6 0 0 0
r ( BA ) = 2 .
3.3.7 Example
Solution
rank ( A ) = 2
3.3.8 Example
1 1 − 1
If A = 2 b
2 then determine the values of b such that the rank of A is 2.
9 9 b
Solution
R
21( − 2 )
1 1 − 1 1 1 −1
~
2 b 2 0 b−2 4
R
9 9 b 31( − 9 ) 0 0 b + 9
~
Cases:
(i) if b = 2, A = 0, rank of A = 2
(ii) if b = − 9, no. of non-zero rows is 2, rank of A = 2 .
3.3.9 Activity
2 3 -1 -1
1 1 -1 1 5 2 4
3.
1 -1 -2 -4
1. 2 -3 4 2. 0 1 3 1
3 1 3 -2
3 -2 3 0 0 1 3
6 3 0 -7
2 −1 3 4
−1 −2 − 1
4.
0 3 4 1
5. 6 12 6
2 3 7 5
5 10 5
2 5 11 6
Answers
1. 2 2. 2 3. 3 4. 3 5. 1
3.4.1 Example
1 2 3
Find the inverse of A by Gauss-Jordan method where A = 2 4 5 .
3 6
5
Solution
Consider ( A | I ) and apply elementary row operations on both A and I until A gets
transformed to I .
1 2 3 1 0 0 ~ 1 2 3 1 0 0
R 21 ( − 2 )
2 4 5 0 1 0 0 0 3 -2 1 0
3 5 6 0 0 1 R31 ( − 3 ) 0 -1 1 -3 0 1
R23 1 2 3 1 0 0
R 2 ( − 1)
~ 0 1 3 2 0 -1
R3 ( − 1 ) 0 0 1 3 -1 0
R23( −3 ) 1 2 0 -5 3 0
~ 0 1 0 -3 3 -1
R13( −3 )
0 0 1 2 -1 0
1 0 0 1 -3 2
R12 ( − 2 ) ~ 0 1 0 -3 3 -1
0 0 1 2 -1 0
1 −3 2
−1
Thus A = −3 3 −1
2 −1 0
3.4.2 Activity
2 4 3 2
1 3 3 0 1 3
3 6 5 2
1. 1 4 3 2. 3. 1 2 3
2 5 2 − 3
1 3 4 3 1 1
4 5 14 14
- 1 - 3 - 1
3
9 7 3
1 1 -1 0
4. 5 -1 4 5.
2 -5 2 - 3
3 4 1
- 1 1 0 1
Answers
− 23 29 − 64 − 18
7 −3 −3 5 5
26 7
10 − 12 5
1. A −1
= −1 1 0 2. A −1 = 5
2
−2 6
− 1 0 1 1 5 5
2 −2 3 1
5 5
1 −1 1 -17 5 31
1
−1 −1 1
3. A = −8 6 -2 4. A = − 7 0 - 21
2 35
5 -3 1 23 -15 -44
0 2 1 3
1 1 −1 −2
5. A =
−1
1 2 0 1
−1 1 2 6
Review Questions
1 2 −3 4 9
0 1 -3 -1
1 0 −1 1 1 1 2 3
3
0 0 1 1
a. -1 1 0 −1 b. 1 4 2 c.
3 1 0 2
-1 1 0 2 9 2 6 5
3 1 1 -2 0
1 0 3 9
1 2 3 0
3 0 2 2 1 2 −1 4
f.
2 4 3 2
d. -6 42 24 54 e. 2 4 3 5
3 2 1 3
21 -21 0 -15 − 1 − 2 6 − 7
6 8 7 5
1 1 3 4 -1 1
a. 1 3 -3 b. 2 0 -1
-2 -4 -4 1 -1 3
Answers
(1) a. 4 b. 2 c. 2 d. 2 e. 2 f. 3
3
3 1
2
-1 2 1
−1
=
5 1 3 −1
(2) a. A - - - b. A = -7 11 6
4 4 4
-2 3 2
1 1 1
- - -
4 4 4