Unit-I A8001 (MAC) Handout (Theory of Matrices)
Unit-I A8001 (MAC) Handout (Theory of Matrices)
(AUTONOMOUS)
Affiliated to JNTUH, Approved by AICTE, Accredited by NAAC with A++ Grade, ISO 9001:2015 Certified
Kacharam, Shamshabad, Hyderabad – 501218, Telangana, India
2 1 3 4
Example. Let A 6 2 7 8 be a given matrix of order 3 4
1 0 5 3
6 2 7 8
Deleting the 1st row of A, we get the sub matrix
1 0 5 3
1 3 4
Deleting the 1st column of A, we get the sub matrix 2 7 8
0 5 3
2 1
Deleting the 3rd and 4th columns of A, we get the sub matrix 6 2
1 0
2 1 3 4
Example. Let A 6 2 7 8 be a given matrix of order 3 4
1 0 5 3
1 3 4 2 3 4 2 1 4 2 1 3
2 7 8 , 6 7 8 , 6 2 8 , 6 2 7 are minors of order 3
0 5 3 1 5 3 1 0 3 1 0 5
2 3 2 1 2 7
, , ...etc. are minors of order 2
6 7 6 2 0 5
Each element of A can be regarded as a minor of order 1
A does not have a minor of order 4 as it does not have a 4 4 submatrix.
Zero row and non-zero row: If all the elements in a row of a matrix are zeros, then it is called a zero
row and if there is at least one non-zero element in a row then it is called a non-zero row.
Row reduced Echelon form of a matrix:
A matrix is said to be in echelon form if it satisfies the following conditions
i) Zero rows, if any, must be below the non-zero row
and ii) The number of zeros before the first non-zero element in a row is less than the number of
such zeros in the next row.
Note: 1) The number of non-zero rows in echelon form is the rank.
2) Use elementary row operations only to reduce the matrix to echelon form.
3) Elementary transformations do not alter (effect) the order and rank of a matrix.
1 2 3 0
2 4 3 2
Example. Reduce the matrix A into echelon form and hence find its rank.
3 2 1 3
6 8 7 5
1 2 3 0
2 4 3 2
Solution. Given A
3 2 1 3
6 8 7 5
1 2 3 0
0 0 3 2
Applying R2 R2 2 R1 , R3 R3 3R1 and R4 R4 6 R1 , A ~
0 4 8 3
0 4 11 5
2 3 4 5
3 4 5 6
Example. Reduce the matrix A in to echelon form and hence find its rank.
4 5 6 7
9 10 11 12
2 3 4 5
3 4 5 6
Solution. Given A
4 5 6 7
9 10 11 12
2 3 4 5
0 1 2 3
Applying R2 2 R2 3R1 , R3 R3 2 R1 and R4 2 R4 9 R1 , A ~
0 1 2 3
0 7 14 21
2 3 4 5
0 1 2 3
Applying R3 R3 R2 and R4 R4 7 R2 , A ~ which is in echelon form.
0 0 0 0
0 0 0 0
( A) The number of non-zero rows 2
1 3 4 3
Example. Reduce the matrix A 3 9 12 3 in to echelon form and hence find its rank.
1 3 4 1
1 3 4 3
Solution. Applying R2 R2 3R1 and R3 R3 R1 , A ~ 0 0 0 6
0 0 0 2
1 3 4 3
Applying R3 3R3 R2 , we get A ~ 0 0 0 6 which is in echelon form.
0 0 0 0
Note: Use elementary row and column operations to reduce the matrix to normal form.
2 3 1 1
1 1 2 4
Example. Reduce the matrix A in to normal form and hence find its rank.
3 1 3 2
6 3 0 7
2 3 1 1 1 1 2 4
1 1 2
4 2 3 1 1
Solution. Given A Applying R1 R2 , A ~
3 1 3 2 3 1 3 2
6 3 0 7 6 3 0 7
1 1 2 4
0 5 3 7
Applying R2 R2 2 R1 , R3 R3 3R1 and R4 R4 6 R1 , A ~
0 4 9 10
0 9 12 17
1 0 0 0
0 5 3 7
Applying C2 C2 C1 , C3 C3 2C1 and C4 C4 4C1 , A ~
0 4 9 10
0 9 12 17
1 0 0 0
0 1 6 3
Applying R2 R2 R3 , A ~
0 4 9 10
0 9 12 17
1 0 0
0
0 1 6 3
Applying R3 R3 4 R2 and R4 R4 9 R2 , A ~
0 0 33 22
0 0 66 44
1 0 0 0
0 1 0 0
Applying C3 C3 6C2 and C4 C4 3C2 , A ~
0 0 33 22
0 0 66 44
1 0 0 0
0 1 0 0
Applying R4 R4 R3 , A ~
0 0 1 1
0 0 0 0
1 0 0 0
0 1 0 0 I 3 0
Applying C4 C4 C3 , A ~ which is in normal form.
0 0 1 0 0 0
0 0 0 0
( A) 3
8 1 3 6
Example. Reduce the matrix A 0 3 2 2 in to normal form and hence find its rank.
8 1 3 4
8 1 3 6 1 8 3 6
Solution. Given A 0 3 2 2 Applying C1 C2 , A 3 0 2 2
8 1 3 4 1 8 3 4
1 8 3 6
Applying R2 R2 3R1 and R3 R3 R1 , A 0 24 7 16
0 0 0 10
1 0 0 0
Applying C2 C2 8C1 , C3 C3 3C1 and C4 C4 6C1 , A 0 24 7 16
0 0 0 10
1 0 0 0
, A 0 1 7 16
C2
Applying C2
24
0 0 0 10
1 0 0 0
Applying C3 C3 7C2 and C4 C4 16C2 , A 0 1 0 0
0 0 0 10
1 0 0 0 1 0 0 0
, A 0 1 0 0 , Applying C3 C4 , A ~ 0 1 0 0 I 3
C4
Applying C4 0
10
0 0 0 1 0 0 1 0
1 3 1 2 1 2 3 4 2 0 1 0
0 11 5 3 2 1 4 5 4 1 0 5
e) f) g)
2 5 3 1 1 5 5 7 0 1 3 6
4 1 1 5 8 1 14 17 6 1 2 6
1 2 3
2. Find the value(s) of k such that the rank of A 2 k 7 is 2
3 6 10
1 1 1 0
4 4 3 1
3. Determine the value(s) of p such that the rank of A is 3
p 2 2 2
9 9 p 3
4. Reduce the following matrices to normal form and hence find its rank
1 2 1 4 1 1 1 1
2 1 3 6 2 4 3 4 1 2 3 4
a) 3 3 1 2 b) c)
1 2 3 4 2 3 5 5
1 1 1 2
1 2 6 7 3 4 5 8
2 1 3 4 1 1 2 3
0 1 2 1 3
3 4 1
4 1 0 2
d) e) 2
4 4 7 f)
2 3 7 5 0 3 0 4
1 2 1 2
2 5 11 6 0 1 0 2
Answers:
1. a) 2 b) 2 c) 4 d) 3 e) 2 f) 2 g) 4
2. k 4
3. p 2 , 6
4. a) 3 b) 3 c) 4 d) 3 e) 2 f) 4
Apply elementary row operations only on the matrix A and the pre-factor I n of the R.H.S.
1 2 3
Example. Find the inverse of the matrix A 0 2 0
0 0 3
1 2 3
Solution. Given A 0 2 0
0 0 3
Write A I 3 A
1 2 3 1 0 0
0 2 0 0 1 0 A
0 0 3 0 0 1
1 0 0 1 1 1
Applying R2 R2 R1 , R3 R3 R1 , 0 2 0 0 1 0 A
0 0 3 0 0 1
1 0 0 1 1 1
R3
0 1 0 0 1/ 2 0 A is in the form of I 3 BA
R2
Applying and
2 3
0 0 1 0 0 1 / 3
1 1 1
Hence A1 B 0 1 / 2 0
0 0 1/ 3
Exercise
Find the inverse of following matrices:
1 1 3 0 1 2 2 1 1 1 2 2
1. 1 3 3
2. 1 2 3
3. 0 2 1
4. 2 1 2
2 4 4 3 1 1 5 2 3 2 2 1
Answers:
3 1 3/ 2 1 1 1 8 1 3 1 2 2
1. 5 / 4 1 / 4 3 / 4 2.
1
1 6 2 3. 5 1 2 4.
1
2 1 2
2 9
1 / 4 1 / 4 1 / 4 5 3 1 10 1 4 2 2 1
1 1 1 1
0 2 1 0
Applying R2 R2 R1 , R3 R3 R1 and R4 R4 2 R1 , A / B ~
0 2 1 4
0 4 1 1
1 1 1 1
0 2 1 0
Applying R3 R3 R2 and R4 R4 2 R2 , A / B ~
0 0 0 4
0 0 1 1
1 1 1 1
0 2 1 0
Applying R3 R4 , A / B ~ which is in echelon form
0 0 1 1
0 0 0 4
( A) 3 and ( A / B ) 4 ( A) ( A / B )
The given system of equations is inconsistent, and it has no solution.
Example.2. Test for consistency of equations and solve if consistent; x 2 y 3t 2,
2 x y z t 4, 4 x 3 y z 7t 8 .
1 2 0 3 2
Applying R3 R3 R2 , A / B ~ 0 5 1 5 0 which is in echelon form.
0 0 0 0 0
( A) ( A / B ) r 2 3 (Number of unknowns)
The given system of equations is consistent, and it has an infinite number of solutions in terms
n r 4 2 2 arbitrary constants.
x
1 2 0 3 2
y
From echelon form, the given system can be written as 0 5 1 5 0
z
0 0 0 0 0
t
x 2 y 3t 2 … (1)
5 y z 5t 0 … (2)
From equation (1), we get x 52 k1 5k2 3k2 2 x 51 (10 2k1 5k2 )
1 1 1 x 1
Where A 2 1 4 , X y , B
4 1 10 z 2
1 1 1 1
The augmented matrix is A / B 2 1 4
4 1 10 2
1 1 1 1
Applying R2 R2 2 R1 and R3 R3 4 R1 , A / B ~ 0 1 2 2
.
0 3 6 2 4
1 1 1 1
Put 1 in echelon form of A / B , we get A / B ~ 0 1 2 1
0 0 0 0
1 1 1 x 1
It can be written as 0 1 2 y 1
0 0 0 z 0
x y z 1 (1)
y 2 z 1 (2)
Let z k , From equation (2), we get y 2 k 1 y 1 2 k
3k
The solution of given system is 1 is X 1 2k where k is an arbitrary constant.
k
1 1 1 1
Put 2 in echelon form of A / B , we get A / B ~ 0 1 2 0
0 0 0 0
1 1 1 x 1
It can be written as 0 1 2 y 0
0 0 0 z 0
x y z 1 (1)
y 2z 0 (2)
Let z k ,From equation (2), we get y 2k 0 y 2k
Exercise
1. Test for the consistency and solve 2 x 3 y 7 z 5, 3 x y 3 z 13, 2 x 19 y 47 z 32.
2. Investigate for consistency of the following equations and if possible, find the solutions;
x 2 y z 3, 2 x 3 y 2 z 5, 3 x 5 y 5 z 2, 3 x 9 y z 4 .
2 1 1 x 4
3. Solve the system of equations 1 1 2 y 2
1 2 1 z 2
2 x 3 y pz q have (i) no solution (ii) a unique solution (iii) an infinite no. of solutions.
Answers:
1. Inconstant 2. x 1, y 1, z 2 3. x 1, y 1, z 1
7 16k 3 k
4. x , y , zk 5. (i) 3, 10 (ii) 3, (iii ) 3, 10 .
11 11
6. When a 1, b 6 consistent and have infinite no. of solutions and When a 1 for any b
consistent and has unique solution.
7
8. Inconsistent 9. x 1, y 4, z 4 10.
2
11. x k 2, y 2 k 8, z k 12. (i) p 5, q 9 (ii) p 5, q (iii) p 5, q 9
1 2 3 x
Where A 3 4 4 , X y
7 10 12 z
1 2 3
Applying R2 R2 3 R1 , R3 R3 7 R1 , A ~ 0 2 5
0 4 9
1 2 3
Applying R3 R3 2 R2 , A ~ 0 2 5 , Which is in echelon form.
0 0 1
Also ( A) 3 No.of unknowns
The given system has a trivial solution x 0, y 0, z 0.
w k1
1) x k1 53 k2 , y k1 43 k2 , z k1 , w k2
2) i) b 8 ii) b 8 and the non-trivial solution is x k , y 4k , z k
3) x 11k1 6 k2 , y 8k1 3k 2 , z k1 , w k2
5) 0, 3 i) For the smallest value of i.e., 0, x : y : z 1:1:1 ii) For the greatest value of
i.e., 3, the system of equations are identical.
6) x k , y k 2 , z k
7) k 23 , 11
3
1
x1 b1 a12 x2 a13 x3
a11
1
x2 b2 a21x1 a23 x3 (2)
a22
1
x3 b3 a31 x1 a31 x2
a33
Let the initial approximate solution be x2 (0) x3(0) 0
I Iteration:
1
x1(1) b1 a12 x2(0) a13 x3(0)
a11
1
x2(1) b2 a21 x1(1) a23 x3(0)
a22
1
x3(1) b3 a31 x1(1) a31 x2(1)
a33
The values obtained constitute the first iterates of the solution. Proceeding in the same way,
1
x1( k 1) b1 a12 x2( k ) a13 x3( k )
a11
1
x2( k 1) b2 a21 x1( k 1) a23 x3( k )
a22
1
x3( k 1) b3 a31 x1( k 1) a31 x2( k 1)
a33
The iteration process is stopped when the desired order of approximation is reached, or two
successive iterations are nearly the same.
The final values of x1 , x2 , x3 so obtained constitute an approximate solution of the system (2).
Exercise
1. Use Gauss Seidel iteration method to solve the system 10 x y z 12 , 2 x 10 y z 13,
2 x 2 y 10 z 14.
2. Solve the following system of equations by Gauss-Seidel method 8 x 3 y 2 z 20 ,
4 x 11 y z 33, 6 x 3 y 12 z 36.
#1. Theory of Matrices Page 17 of 20
3. Use Gauss Seidel iteration method to solve the system 20 x y 2 z 17 , 3 x 20 y z 18,
2 x 3 y 20 z 25.
4. Solve the following system of equations by Gauss-Seidel method 10 x 2 y z 9 ,
2 x 20 y 2 z 44 , 2 x 3 y 10 z 22.
5. Solve the following system of equations by Gauss-Seidel method 20 x 2 y 6 z 28,
x 20 y 9 z 23, 2 x 7 y 20 z 57.
Answers
1. x 1, y 1, z 1 2. x 3, y 2, z 1 3. x 1, y 1, z 1 4. x 1, y 2, z 3
5. x 0.5149, y 2.9451, z 3.9323
If A is a non-zero row matrix and B is a non-zero column matrix, then the rank of AB is
7. A) 0 B) 1 C) 2 D) 3
Which of the following is false?
A) The non-homogeneous system of equations is always consistent
8. B) The homogeneous system of equations is always Consistent
C) The system AX B is said to be homogeneous if B 0
D) The system AX B is said to be non-homogeneous if B 0
Which one of the following is TRUE?
9.
A) The inverse of a matrix is need not be unique
1 1 1 1
10.
augmented matrix A | B 0 1 3 1
0 0 0 2 3 2
1 2 3
Find the value of k such that the rank of 2 k 7 is 2
11.
3 6 10
1
If A 2 and B = 1 2 3 then (AB) =
12.
3
A) 1 B) 2 C) 0 D) 3
1 3 4 3
Find the rank of the matrix A 3 9 12 3
13.
1 3 4 1
15. Define the diagonally dominant system using three equations in three unknowns.
The rank of a Unit (identity) matrix of order 4 is ________
16.
A) 2 B) 4 C) 3 D) 1
1 0 1 2
If the matrix 0 0 2 4 is Echelon form of the given system of equations, then the
17. 0 0 3 10
system of equations has infinite number of solutions, if
A) 3, 10 B) 8, 10 C) 8, 10 D) 3, 10
The rank of a matrix in Echelon form is equal to ____
18. A) Number of non-zero columns B) Number of non-zero rows
C) Number of diagonal elements D) Number of non-zero elements
1 1 0 1
If A 2 3 5 2 then rank of A cannot exceed
19.
3 4 6 8
A) 2 B) 3 C) 4 D) 1
AX=B is a system of n non-homogeneous equations such that (A/ B) (A) n then the system
20. has
A) No solution B) a unique solution C) Infinitely many solutions D) Trivial solution
The rank of a singular matrix of order 3 is
21.
A) 3 B) 3 C) 2 D) 2