





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






























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
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.
Vitamin A Vitamin C Vitamin D Food I 0.4 0.5 0. Food II 0.3 0.2 0. Food III 0.2 0.5 0 The above information can be expressed as a rectangular array having three rows and three columns.
0.4 0.5 0. 0.3 0.2 0. 0.2 0.5 0
The above arrangement of numbers is a matrix of order 3 3. Matrices have become an important an powerful tool in mathematics and have found applications to a very large number of disciplines such as Economics, Physics, Chemistry and Engineering.
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.
Algebra - I
After studying this Unit, you should be able to : define the term matrix; add two or more Matrices; multiply a matrix by a scalar; multiply two Matrices; find the inverse of a square matrix (if it exists); and use the inverse of a square matrix in solving a system of linear equations.
We define a matrix as follows :
Def : A m n matrix A is a rectangular array of m n real (or complex numbers) arranged in m horizontal rows an n vertical columns :
a 11 a 12 ……… a 1 j ……… a1n a 21 a 22 ……… a2j ……… a2n : : : : : : : : A = ai1 ai2 ……… aij ……… ain ith row : : : …(1) am1 am 2 ……… amj ……… amn jth column
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 a 1j a 2j : (1 ≤ j ≤ n ) : amj We also note that each element aij of the matrix has two indices : the row index i and the column index j. aij 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 corresponding lower case letters.
Algebra - I (^) 3. Scalar Matrix : A diagonal matrix A = [ aij ] (^) n n for which all the terms
on the main diagonal are equal, that is aij = k for i= j and aij = 0 for i ≠ j is called a scalar matrix.
For instance
are scalar Matrices.
aij = 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,
For instance, A = [2 5 −15] is a row matrix whereas B
is a column matrix.
We usually denote the zero matrix by O m n
and are example of zero matrices.
Equality of Matrices
Let A = [ aij ] m×n and B =[ bij ]r ×s be two Matrices. We say that A and B are equals if
We then write A = B, read as “matrix A is equal to B” In other words, two Matrices are equal if their order are equal and their corresponding elements are equal.
Solution: Both the Matrices are of order 2 1. Therefore, by the definition of equality of two Matrices, we have x + 2 = 4 − y and 3 y − 7 = x − 3. That is, x + y = 2 and x − 3 y = − 4. Solving these two equations. We get x = 1/2 and y = 3/2. We can check this solution by substitution in A and B.
Transpose of a Matrix
Definition: Let A = [ aij ] (^) m n, be a matrix. The transpose of A, denoted by A´, is the matrix A´ = [ aij ] (^) m n, where bij = aji for each i and j.
The transpose of a matrix A is by definition, that matrix which is obtained from A by interchanging its rows and columns.
So, if A = , then
its transpose is the matrix
Symmetric and Skew Symmetric Matrices
Definition : A square matrix A = [ aij ] (^) n n , is said to be symmetric if A' = A ; it is skew symmetric if A' = −A.
For example, if A = and B = , then^ Matrices^ -^ I
It must be noted that Matrices of different orders cannot be added. For instance,
A = Cannot be added.
The following properties of matrix addition can easily be verified.
(A + B ) + C = A + (B + C)
A + B = B + A = O (^) m×n
The matrix B in above property is called „additive inverse‟ or „negative‟ of A and is denoted by − A.
Infact, if A = [ aij ] (^) m×n then – A = [ – aij ] (^) m×n
Thus, property 4 can be written as
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 –
Algebra - I (^) For example, if A = and B =
then A – B = =
Scalar Multiplication
Definition : Let A =[ ] (^) m×n be a matrix and let K be a complex number. The scalar multiplication KA of the matrix A and the number K (called the scalar) is the m×n matrix KA [ kaij ] (^) m×n
For example, let A =
If K = 4, then k A = 4A =
Note that if k = −1, then (−1)A = − A.
This is one of the properties of scalar multiplication. We list some of these properties without proof.
Properties of Scalar Multiplication
Multiplication of two Matrices
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.
Algebra - I (^) Solution : Since A is 3×1 matrix and B is a 1 3 matrix, therefore, AB is
defined and its order is 3 3.
If the number of columns of A is equal to the number of rows of B.
Also, BA is defined and a is 1× 1 matrix
This example illustrates that the matrix multiplication is not commutative. Infact, it may happen that the product AB is defined but BA is not, as in the following case :
A = and B =
We now point out two more matrix properties which run counter to our experience to number systems.
These properties can be seen in the following example.
Example 4 : Let A =
Solution : We have^ Matrices^ -^ I
AB= and = O (^2 )
AC= = O (^2 )
Therefore, AB = AC. We see however, that A ≠ O 2 2 and B ≠ C. Thus, cancellation during multiplication does not hold.
Exponent of a Square Matrix
We now introduce the notion of the exponent of a square matrix. To begin with, we define Am^ for any square matrix and for any positive integer m.
Let A be a square matrix and m a positive integer. We define.
A m^ = AAA …….A m times
More formally, the two equations A' = A and A m +^1 = A m^ A define Am^ recursively by defining it first for m = 1 and then m +1 after it has been defined for m , for all m ≥ 1.
We also define A° = I n , where A is a non−zero square matrix of order n.
The usual rules of exponent‟s namely
A m^ A n^ = A m+n^ and (A m ) n^ = A m n^ do hold for matrices if m and n are non- negative integers.
Example 5 : Let A = and f ( x ) = – 4 x + 7. Show that
f (A) = O 2 2. Use this result to find A^5.
Solution : First, we note that by f (A) we mean A^2 −4A + 7I 2. That is, we replace x by A and multiply the constant term by I, the unit matrix. Therefore, f (A) = A^2 – 4A + 7I 2
Matrices - I
In this section, we restrict our attention to square matrices and formulate the notion of multiplicative inverse of a matrix.
Definition : An n n matrix A is said to be invertible or non-singular if these exists an n n matrix or non singular if there exists an n n matrix such that AB = BA =
The matrix B is called an inverse of A. If there exists no such matrix B, then A is called non-invertible or singular.
Example 6 : Find whether A is invertible or not where
(a) A = (b) A =.
Solution : (a) We are asked whether we can find a matrix B = such that AB = I 2. What we require is
This would imply that c = 0, d = 1, a = 1 and b = – 1, so that matrix
B =
does satisfy AB = I 2. Moreover, it also satisfies the equation BA = I 2. This can be verified as follows :
BA = = = = I 2.
This implies that A is invertible and B = is an inverse of A.
(b) Again we ask whether we can find a matrix B = such that AB = I 2. What is required in this case is
= 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.
We will not show that if A is invertible, then B in the above definition is unique.
Algebra - I (^) Theorem : If a matrix has an inverse, then inverse is unique.
Proof : Let B and C be inverses of a matrix A. Then by definition.
AB = BA = In ..(1)
and AC = CA = In .. (2)
Now, B = BIn [property of identify matrix]
= B(AC) [(using 2)]
= (BA)C [associative law]
= InC [ using (1)]
= C. [property of identity matrix]
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=
then A11= (–1)1+1^ = 5
A12= (–1)1+2^ = 14 and
Similarly, A 21 = 3, A 22 = 2 A 23 = – 7, A 31 = 10, A 32 = 2 and A 33 = 6.
Thus, the cofactor matrix of A is given by C =.
Definition
Let A = ( aij ) n×n be a square matrix of dimension n×n. The cofactors matrix of A is defined to be the matrix C = ( aij ) n×n where A ij denotes the cofactor of the element aij in the matrix A.
The adjoint of square matrix A = ( ) (^) n×n is defined to be the transpose of the cofactor matrix of A. It is denoted by adj A.
Algebra - I (^) Solution : Since |A| = 8 A is invertible.
Similarly, |B| = 20 – 10 = 10 0, B is also invertible.
Let A ij denote the cofactor of aij – the ( i,j ) th^ element of A. Then
A 11 = 0, A 12 = – 4, A 21 = – 2 and A 22 = 3.
Similarly, if Bij is cofactor of ( i,j )th^ element of B, then
B 11 = 5, B 12 = – 2, B 21 = – 5 and B 22 = 4
adj A = and adj B =
A–^1 = adj A = =
and B–^1 = adj B = =
Let C = AB = = =
We have
C 11 = 20, C 12 = – 16, C 21 = – 25 and C 22 = 16
Also, |C| = 80 C is invertible.
Also, adj C =
Hence, B–^1 A–^1 =
Example 9 : Find the inverse of A =
and verify that A–^1 A = I 3.
Matrices - I Solution : Evaluating the cofactors of the elements in the first row of A, we get
A11 = (−1)1+1^ = 2, A12 = (−1)1+2^ = 3,
and A13 = (–1)1+3^ = ,
|A| = a 11 A 11 + a 12 A 12 + a 13 A 13
= (1)(2) + (2)(−3) + (5)(5) = 21
Since |A| ≠ 0, A is invertible. Also,
adj A = =
A–^1 = adjA =
To verify that this is the inverse of A, we have
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 :
We can abbreviate the above matrix equation to AX = B , where
and X and B are the n ×1 column vectors.
Recall that by a solution of (1) we mean a set of values x 1 .x 2 ……….xn which satisfy all the equations in (1) simultaneously.
For example, x 1 = 2, x 2 = – 1 is a solution of the system of linear equations.
3 x 1 – 5 x 2 = 11 2 x 1 + 3 x 2 = 1
because 3(2) – 5(–1) = 11 and 2(2) +3(–1) = 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.
For example, the system of linear equations
3 x + 2 y = 5 6 x + 4 y = 10 (2)
is consistent. In fact, x = k, y = (5– 2 k ) ( k C ) satisfies (2) for all values of k C. However, the system of linear equations.
3 x + 2 y = 5 6 x + 4 y = 11 (3)
is inconsistent. If this system has a solution x = x 0, y = y0, then 3 x 0 + 2 y 0 = 5 and 6 x 0 + 4 y 0 = 11. Multiplying the first equation by 2 and subtracting from the second equation, we get 0 =1, which is not possible. Thus, the system in (3) has no solution and hence is an consistent.
Algebra - I (^) Solution of AX= B (A non-singular)
Let us consider the system of linear equations AX = B , where A is an n matrix. Suppose that A is non-singular. Then A–^1 exists and we can pre multiply AX = B by A–^1 on both sides to obtain
A –^1 ( AX ) = A–^1 (B) ( A –^1 A) X = A–^1 B [associative law] InX = A–^1 B [property of law] X = A –^1 B [property of identity matrix]
Moreover, we have A(A–^1 B) = ( A A–1)^ B [associative law] = InB [property of inverse] = B.
That is A–^1 B is a solution of AX = B. Thus, if A is non-singular, the system of equations AX = B has a unique solution. This unique solution is given by X = A –^1 B.
Example 10 : Solve the following system of equations by the matrix inverse method : x+ 2 y = 4 , 2 x + 5 y = 9_._
Solution : We can put the given system of equations into matrix notation as follows :
=
Here the coefficient matrix is give by A =.
To check if exists, we note that A 11 = ( 1)1+1^ |5| = 5 and A 12 = ( 1)1+2|2| = 2.
|A| = a 11 A 11 + a 12 A 12 = (1)(5) + (2)( ) = 1 ≠ 0.
Since |A| ≠ 0 A is non- singular (invertible). We also have A 21 = ( 1)2+1|2| = 2. A 22 = ( 1)2+2^ |1| = 1. Therefore, the adjoint of A is
adj A =