Unit 2 Matrics
Unit 2 Matrics
UNIT 2 MATRICES - I
Structure
2.0 Introduction
2.1 Objectives
2.2 Matrices
2.3 Operation on Matrices
2.4 Invertible Matrices
2.5 Systems of Linear Equations
2.6 Answers to Check Your Progress
2.7 Summary
2.0 INTRODUCTION
In this Unit, we shall learn about Matrices. Matrices play central role in
mathematics in general, and algebra in particular. A matrix is a rectangular array
of numbers. There are many situations in mathematics and science which deal
with rectangular arrays of numbers. For example, the following table gives
vitamin contents of three food items in conveniently chosen units.
In this Unit, we shall see how Matrices can be combined thought the arithematic
operations of addition, subtraction, and multiplication. The use of Matrices in
solving a system of linear equations will also be studied. In Unit 1 we have
already studied determinant. It must be noted that a matrix is an arrangement of
numbers whereas determinant is number itself. However, we can associate a
determinant to every square matrix i.e., to a matrix in which number of rows is
equal to the number of columns. 29
Algebra - I
2.1 OBJECTIVES
2.2 MATRICES
As it is clear from the above definition, the ith row of A is (aij ai2 … ain)
(1 ≤ i ≤ m) and the jth column is
a1j
a2j
: (1 ≤ j ≤ n)
:
amj
We also note that each element a ij of the matrix has two indices : the row
index i and the column index j. a ij is called the (i,j )th element of the matrix.
For convenience, the Matrices will henceforward be denoted by capital
letters and the elements (also called entries) will be denoted by the
30 corresponding lower case letters.
The matrix in (1) is often written in one of the following forms : Matrices - I
A = [aij]; A = (aij), A = (a ij )m n or A = (a ij )m n
Type of Matrices
A= , B= , C=
For instance,
10 0 0 0
4 0 0
0 0 0 0
D= 0 2 0 and E =
0 0 3 0
0 0 6
0 0 0 5
are diagonal Matrices.
For instance
H=
a ij = 0 if i ≠j
1 if i = j
Note that a unit matrix is a scalar matrix with is on the main diagonal.
We denote the unit matrix having n rows (and n columns) by In.
For example,
is a column matrix.
Equality of Matrices
Let A = [aij] m×n and B =[ b ij] r×s be two Matrices. We say that A and B
are equals if
32
1. m = r, i.e., the number of rows in A equals the number of rows in B.
2. n = s, i.e., the number of columns in A equals the number of Matrices - I
columns in B.
3. aij = bij for I = 1, 2, ……. m and j = 1, 2, …….., n.
Transpose of a Matrix
So, if A = , then
A´ = .
2. Find x, y when =
4. Find the transpose of following Matrices and find whether the matrix is
symmetric or skew symmetric.
(a) A=
(c)
Addition
Let A = [a ij] m×n and B= [b ij] r×s be two Matrices. We say that A and B
are comparable for addition if m = r and n = s. That is, A and B are
comparable for addition if they have same order.
Definition : Let A =[ a ij] m×n and B = [bij ] m×n be two Matrices. The sum
of A and B is the m n matrix C =[cij] such that
C ij = aij + bij (1
Note that
34
A + B = [cij ] m×n = [aij + b ij ] m×n
Matrices - I
For example, if A = and B = , then
A+B= +
(A + B ) + C = A + (B + C)
A+B=B+A =O m×n
A + ( −A) = ( − A) + A = O m×n
We can now define difference of two Matrices.
Definition : Let A = [aij] m×n and B = [bij] m×n two matrices. We define the
difference A − B to be the m n matrix A + (−B).
Note that A − B is of dimension m×n and A – 35
Algebra - I
For example, if A = and B =
then A – B = =
Scalar Multiplication
If K = 4, then kA = 4A =
Let A = [aij] m×n and B = [bij] r×s be two matrices. We say that A and B are
comparable for the product AB if n = r, that is, if the number of columns
of A is same as the number of rows of B.
36
Definition : Let A = [ ] m×n and B = [ ] n×p be two matrices. Their Matrices - I
AB =
BA =
A= and B =
We now point out two more matrix properties which run counter to our
experience to number systems.
1. It is possible that for two non-zero matrices and A and B, the product AB
is a zero matrix.
2. It is possible that for a non-zero matrix A, and two unequal matrices B
and C, we have, AB = AC. That is AB = AC, A ≠ 0 may not imply
B = C. In other words, cancellation during multiplication does not hold.
Example 4 : Let A =
38
Solution : We have Matrices - I
AB= and
= O 2 2
AC=
= O 2 2
Am = AAA …….A
m times
Solution : First, we note that by f(A) we mean A 2 −4A + 7I2 . That is, we
replace x by A and multiply the constant term by I, the unit
matrix. Therefore,
f(A) = A 2 – 4A + 7I2
= – +
39
Algebra - I
= – +
= = O2 2.
A3 = A2 A = (4A – 7I2 )A
= 4A 2 – 7I2 A = 4(4A – 7I2 ) − 7A [ I2 A = A]
= 9A − 28 I2
A5 = A2 A3 = (4A − 7I2 ) (9A − 28I2 )
= 36A 2 –63I2 A –112AI2 + 196 I2 I2 (Distributive Law)
= 36 (4A − 7I2 ) − 63A − 112A +196 I2
= 144A – 252 I2 −175 A +196 I2
= −31A −56 I2
= –31
= –
2. If A = , B= and
3. If A = and B =
4. Let f (x) =
A= .
5. If A = , show that
6. If A and B are square matrices of the same order, explain why the
following may not hold good in general.
(a) (A + B ) (A– B) =
(b)
(c) .
40
Matrices - I
2.4 INVERTIBLE MATRICES
In this section, we restrict our attention to square matrices and formulate the
notion of multiplicative inverse of a matrix.
(a) A= (b) A = .
= AB =
B=
BA = = = = I2 .
= AB = .
This would imply that a=1, b = 0 and the absurdity that 1=0. So no
such B exists for this particular A. Hence, A is non invertible.
41
Algebra - I Theorem : If a matrix has an inverse, then inverse is unique.
AB = BA = In ..(1)
and AC = CA = In .. (2)
= In C [ using (1)]
This means that we will always get the same inverse irrespective of the
method employed. We will write the inverse of A, if it exists, as A −1 . Thus
AA−1 + A−1 A = In .
Definition
For example, if A=
A 13= (–1)1+3 = 3.
Definition
A = A = I3 .
Since, the inverse of a square matrix is unique, we see that if |A| ≠ 0, then
= (adjA)
Solution :
adj A = =
Hence A −1 = adj A = =
Example 8 : If A = and B =
43
Algebra - I Solution : Since |A| = 8 A is invertible.
Let Aij denote the cofactor of aij – the (i,j)th element of A. Then
A–1 = adj A = =
Let C = AB = = =
We have
Also, adj C =
= = C−1 = (AB) −1
44
Matrices - I
Solution : Evaluating the cofactors of the elements in the first row of A, we get
adj A = =
A–1 = adjA =
A–1A =
= = I3
45
Algebra - I Check Your Progress – 3
(i) (ii)
What is Adj A ?
a 11 x1 + a12 x2 +……………….a 1n xn = b1
a 21 x1 + a22 x2 +……………….a 2n xn = b2
.
.
.
. (1)
a m1 x1 + a m2 x2 +……………….+ a mn xn = b m
46
Matrices - I
The m× n matrix is called the coefficient matrix of
the system of linear equations. Using it, we can now write these equations
as follows :
A =
X =
Recall that by a solution of (1) we mean a set of values x1 .x2 ……….xn which
satisfy all the equations in (1) simultaneously.
3x1 – 5x2 = 11
2x1 + 3x2 = 1
Also, recall that the system of linear equations (1) is said to be consistent if
it has at least one solution; it is inconsistent if it has no solution.
3x +2y = 5
6x + 4y = 10 (2)
3x + 2y = 5
6x + 4 y = 11 (3)
Moreover, we have
A(A –1 B) = ( A A –1) B [associative law]
= InB [property of inverse]
= B.
Solution : We can put the given system of equations into matrix notation as
follows :
adj A =
X= = =
.
48
Example 11 : Solve the following system of equations by using matrix Matrices - I
inverse :
3x + 4 y +7z = 14, 2x – y + 3z = 4, 2x + 2y – 3z = 0
Solution : We can put the given system of equations into the single matrix
equation AX = B, where
,X= and B =
and A 13 = ( 1)1+3 =
|A| = a11 A11 + a12 A12 + a 13 A13 = (3)(–3) + 4(9) + 7(5) = 62.
49
Algebra - I
Example 12 : If
are two square matrices, verify that AB = BA = 6I 3. Hence, solve the system
of linear equations : x – y =3, 2x+3y+4z = 17, y +2z = 7.
Solution :
AB =
=6 = 6I3
and BA =
=6 = 6I3
50
Matrices - I
or AX = C, where
X= and C =
:
an1 x1 + an2 x2 +………………………+a nn xn = 0
A=
A–1 (AX) = A –1 O
Also, note that x1 =0, x2 =0, ………. , xn = 0 clearly satisfy the given system of
homogeneous equations.
Important Result
2x – y + z = 0, 3x+2y – z =0 , x + 4y + 3 z = 0
Solution :
We can rewrite the above system of equations as the single matrix equation
AX =0, where
A=
|A| =
Since |A|
52
Example 14 : Solve the following system of homogeneous linear equation by the Matrices - I
matrix method :
2x – y + 2z = 0, 5x + 3y – z = 0, x +5y –5 z = 0
Solution :
A=
|A| =
Therefore, A is singular matrix. We can rewrite the first two equation as follows:
2x – y = –2z, 5x + 3y = z or in the matrix form as
Therefore, from X =
53
Algebra - I Thus, all the equation are satisfied by the values
Where z is any complex number. Hence, the given system of equation has an
infinite number of solutions.
Solutions of AX = B (A Singular)
2x – y + 3z = 5, 3x + 2y – z =7 , 4x + 5y − 5 z = 9
Solution :
We can rewrite the above system of equations as the single matrix equation
AX =0, where
A=
Here, |A| = 0
adj A =
Here, |A| = 7 ≠ 0
54
Matrices - I
Therefore, from X =
Let us check that these values satisfy the third equation. We have
In the end, we summarize the results of this section for a square matrix A in
the form of a tree diagram.
AX = B
|A| = 0
|A|
(adj A)B ≠ 0
X= B (adj A)B = 0
Unique Infinite No
Solution Number Solution
of Solutions
Consistent
Consistent Inconsistent
55
Algebra - I Check Your Progress 4
A=
(a) A=
(b) A=
Solving we get x = 0 , y = 0
3. We have
a–b=5 2c + d = 3
2a – b = 12 2a + d = 15
Solving we get a = 7, b = 2, c = 1 and d = 1.
4. (a) A’ = =A
(b) A’ = =–A
56
Matrices - I
(c) A’ = = –A
Let R = . Then
5 P + 3Q + 2 R = 5 +3 +2
= + +
Since 5P + 3Q + 2 R = , we get
48 + 2a = 0, 20 + 2b = 0, 56 + 2c = 0, 76 + 2d = 0
Thus, R =
2. We have
= A A + BA + AB + BB
Therefore,
We have BA = =
and AB = =
Therefore,
BA + AB = +
57
Algebra - I
=
But BA + AB = 0
2a – b + 2 = 0 , – a + 1= 0, 2 a – 2 = 0, – b + 4 = 0
a = 1, b = 4
3. In view of discussion in solution (2), it is sufficient to show that BA + AB = 0
We have BA =
and AB =
Thus, BA + AB = +
Therefore,
5. We have A =
Therefore,
and =
adj A = .
(ii) Let A =
adj A =
adj A =
Now, A (adj A) =
= = –26
Similarly, (adj A) A =
59
Algebra - I
= –26
Also, |A| = – 26
4. We have |A| = –4 and |B| = 20. So, A and B are both invertible.
Also, adj A = and adj B =
Let C = AB = =
Hence, =
60
5. We have Matrices - I
To show that . We
have
6. We have
Therefore,
–4
= =0
7. We have |A| = ad−bc. Recall that A is invertible if and only if |A| ≠ 0. That
is A = is invertible if and only if ad– bc ≠ 0.
Also, adj A =
61
Algebra - I Check Your Progress – 4
1. We can put the given system of equations into the single matrix equation.
= .
|A| =
= 4.
2. (a) We can put the above system of equation into the single matrix equation
AX = B, where
A= , X= and B =
and
62
Matrices - I
2. (b) We can put the above system of equation into the single matrix
equation AX = B, where
A= , X= and B = .
and
63
Algebra - I
3. We can put the above system of equation into the single matrix equation
AX = 0, where
A= , X= and B =
and
Now, we have
Also,
64
Let us check if these values satisfy the third equation. We have Matrices - I
4. We can write the given system of linear equation as the single matrix
equation.
AX = B,
Where
A= ,X= and B =
Here, |A| = 0
Now adj A =
2.7 SUMMARY
In this unit, first of all, definition and notation of an m x n matrix, are given in
section 2.2. Next, in this section, special types of matrices, viz., square matrix,
diagonal matrix, scalar matrix, unit or identity matrix, row or column matrix and
zero or null matrix are also defined. Then, equality of two matrices, transpose of a
matrix, symmetric and skew matrices are defined. Each of the above concepts is
explained with a suitable example. In section 2.3, operations like addition,
subtraction, multiplication of two matrices and multiplication of a matrix with a
scalar are defined. Further, properties of these matrix operations are stated
without proof. Each of these operations is explained with a suitable example. In
section 2.4, the concepts of an invertible matrix, cofactors of a matrix, adjoint of a
square matrix are defined and explained with suitable examples. Finally, in
section 2.5, method of solving linear equations in n variables using matrices, is
given and illustrated with a number of suitable examples. Answers/Solutions to
questions/problems/exercises given in various sections of the unit are available in
section 2.6. 65