










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An introduction to matrices, explaining their definitions, types such as row matrix, column matrix, rectangular matrix, square matrix, zero matrix, diagonal matrix, scalar matrix, identity matrix, transpose, symmetric, and skewsymmetric matrices. It also covers matrix addition, subtraction, and multiplication, as well as the commutative and associative laws.
Typology: Exercises
1 / 18
This page cannot be seen from the preview
Don't miss anything!











Animation 1.1 : Matrix Source & Credit : eLearn.punjab
version: 1.
After studying this unit , the students will be able to:
The matrices and determinants are used in the field of Mathematics, Physics, Statistics, Electronics and other branches of science. The matrices have played a very important role in this age of Computer Science. The idea of matrices was given by Arthur Cayley, an English mathematician of nineteenth century, who first developed, “Theory of Matrices” in 1858.
1.1 Matrix
A rectangular array or a formation of a collection of real numbers, say 0, 1, 2, 3, 4 and 7,such as, (^720)
1 3 4 and then enclosed by
brackets `[ ]’ is said to form a matrix Similarly
is another matrix. We term the real numbers used in the formation of a matrix as entries or elements of the matrix. (Plural of matrix is matrices) The matrices are denoted conventionally by the capital letters A, B, C, M, N etc, of the English alphabets.
It is important to understand an entity of a matrix with the following formation
1.2 Types of Matrices
(i) Row Matrix A matrix is called a row matrix, if it has only one row. e.g., the matrix M = [2 –1 7] is a row matrix of order 1-by-3 and M = [1 –1] is a row matrix of order 1-by-2.
(ii) Column Matrix A matrix is called a column matrix, if it has only one column.
e.g., M = (^)
0
1 and N =
1
0
2 are column matrices of order 2-by-
and 3-by-1 respectively.
(iii) Rectangular Matrix A matrix M is called rectangular, if the number of rows of M is not equal to the number of M columns.
e.g.,A =
2 3
1 1
1 2
;
a b c d e f
;
0
8
7
are all rectangular matrices. The order of A is 3-by-2, the order of B is 2-by-3, the order of C is 1-by-3 and order of D is 3-by-1, which indicates that in each matrix the number of rows ≠ the number of columns.
(iv) Square Matrix A matrix is called a square matrix, if its number of rows is equal to its number of columns.
e.g., A =
2 1 0 3
- ,
1 0 2
1 2 3
are square matrices of orders, 2-by-2, 3-by-3 and 1-by-1 respectively.
(v) Null or Zero Matrix A matrix is called a null or zero matrix, if each of its entries is 0.
e.g., (^)
0 0
0 0 ,
0
0 ,
0 0 0
0 0 0 ,
and
0 0 0
0 0 0
0 0 0
are null matrices of orders 2-by-2, 1-by-2, 2-by-1, 2-by-3 and 3-by- respectively. Note that null matrix is represented by O.
(vi) Transpose of a Matrix A matrix obtained by interchanging the rows into columns or columns into rows of a matrix is called transpose of that matrix. If A is a matrix, then its transpose is denoted by At^.
e.g., (i) If A =
1 2 3 2 1 0 1 4 2
(^) - - (^) ,
then At^ =
3 0 2
2 1 4
1 2 1
(ii) If B =
1 0 2 2 1 3
(^) - then Bt^ =
1 2 0 1 2 3
(iii) If C = [ 0 1 ], then C t=
If a matrix A is of order 2-by-3, then order of its transpose At^ is 3-by-2.
(vii) Negative of a Matrix Let A be a matrix. Then its negative, - A is obtained by changing the signs of all the entries of A, i.e.,
(viii) Symmetric Matrix A square matrix is symmetric if it is equal to its transpose i.e., matrix A is symmetric, if At^ = A.
e.g., (i) If M =
1 2 3 2 1 4 3 4 0
(^) -
is a square matrix, then
Mt^ =
1 2 3 2 1 4 3 4 0
(^) -
= M. Thus M is a symmetric matrix.
(ii) If A =
2 1 3 1 2 2 3 1 3
(^) - (^) ,
then A
2 1 3 1 2 1 3 2 3
- (^) ,
Hence A is not a symmetric matrix.
(ix) Skew-Symmetric Matrix A square matrix A is said to be skew-symmetric, if At^ = –A.
e.g., if A =
0 2 3 2 0 1 3 1 0
(^) - (^) - -
then At^ =
0 2 3 2 0 1 3 1 0
-^ - (^) -
Since At^ = –A, therefore A is a skew-symmetric matrix.
(x) Diagonal Matrix A square matrix A is called a diagonal matrix if atleast any one of the entries of its diagonal is not zero and non-diagonal entries are zero.
e.g., A =
0 0 3
0 2 0
1 0 0
,
0 0 2
0 2 0
1 0 0 and C =
0 0 3
0 1 0
0 0 0 are all
diagonal matrices of order 3-by-3.
M = (^)
0 3
2 0 and N = (^)
0 4
1 0 are diagonal matrices of order 2-by-2.
(xi) Scalar Matrix A diagonal matrix is called a scalar matrix, if all the diagonal entries are same and non-zero.
Also A =
0 0 2
0 2 0
2 0 0 B = (^)
0 3
(^3 0) and C =[5] are scalar matrices of
order 3-by-3, 2-by-2 and 1-by-1 respectively.
(xii) Identity Matrix A diagonal matrix is called identity (unit) matrix, if all diagonal entries are 1. It is denoted by I.
e.g., A =
0 0 1
0 1 0
1 0 0 is a 3-by-3 identity matrix, B = (^)
0 1
(^1 0) is a 2-by-
identity matrix, and C = [1] is a 1-by-1 identity matrix.
Note: (i) A scalar and identity matrix are diagonal matrices. (ii) A diagonal matrix is not a scalar or identity matrix.
(i)
^ (ii)
(iii)
(^) - ^ (iv)^
^ (v)
= G
0 - 2 - 3
= G
k 0 0 0 k 0 0 0 k
For example where k is a constant ≠ 0,1.
Note that the order of a matrix is unchanged under the operation of matrix addition and matrix subtraction.
Let A be any matrix and the real number k be a scalar. Then the scalar multiplication of matrix A with k is obtained by multiplying each entry of matrix A with k. It is denoted by k A.
Let A =
1 1 4 2 1 0 1 3 2
- (^) - (^) -
be a matrix of order 3-by-3 and k = - 2 be a real
number. Then, 1 1 4 ( 2)(1) ( 2)( 1) ( 2)(4) ( 2) ( 2) 2 1 0 ( 2)(2) ( 2)( 1) ( 2)(0) 1 3 2 ( 2)( 1) ( 2)(3) ( 2)(2)
Scalar multiplication of a matrix leaves the order of the matrix unchanged.
(a) Commutative Law under Addition If A and B are two matrices of the same order, then A + B = B + A is called commulative law under addition.
Thus the commutative law of addition of matrices is verified: A + B = B + A
(b) Associative Law under Addition If A, B and C are three matrices of same order, then (A + B) + C = A + (B + C) is called associative law under addition.
Thus the associative law of addition is verified: (A + B) + C = A + (B + C)
If A and B are two matrices of same order and A + B = A = B + A, then matrix B is called additive identity of matrix A. For any matrix A and zero matrix O of same order, O is called additive identity of A as A + O = A = O + A
If A and B are two matrices of same order such that A+B=O=B+A, then A and B are called additive inverses of each other. Additive inverse of any matrix A is obtained by changing to negative of the symbols (entries) of each non zero entry of A.
is additive inverse of A. It can be verified as
Since A + B = O = B + A. Therefore, A and B are additive inverses of each other.
2 3 0 1 2 2 1 0 3 1 1 0
^ (^) - ^ (^) - (^)
The associative law under multiplication of matrices is verified.
(a) Let A, B and C be three matrices. Then distributive laws of multiplication over addition are given below: (i) A(B + C) = AB + AC (Left distributive law) (ii) (A + B)C = AC + BC (Right distributive law)
Which shows that A(B + C) = AB + AC; Similarly we can verify (ii). (b) Similarly the distributive laws of multiplication over subtraction are as follow. (i) A(B - C) = AB -AC (ii) (A - B)C = AC - BC
which shows that A(B – C) = AB – AC; Similarly (ii) can be verified.
Consider the matrices A = (^)
2 3
0 1 and B = 1 0 0 2
(^) - , then
AB= 0 1 1 0 0 1 1 0 0 0 1( 2)^0 2 3 0 2 2 1 3 0 2 0 3( 2) 2 6
(^) = ×^ + ×^ ×^ +^ -^ (^) = - (^) - (^) × + × × + - (^) -
and BA = 1 0 0 1 1 0 0 2 1 1 0 3 0 1 0 2 2 3 0 0 ( 2) 2 0 1 3( 2) 4 6
(^) = ×^ +^ ×^ ×^ +^ × (^) = (^) - (^) × + - × × + - (^) - -
Which shows that, AB ≠ BA Commutative law under multiplication in matrices does not hold in general i.e., if A and B are two matrices, then AB ≠ BA. Commutative law under multiplication holds in particular case.
e.g., if A = (^)
0 1
2 0 and B =
3 0 0 4
- then
Which shows that AB = BA.
Let A be a matrix. Another matrix B is called the identity matrix of A under multiplication if AB = A = BA
Which shows that AB = A = BA.
If A, B are two matrices and At^ , Bt^ are their respective transpose, then (AB)t^ = Bt^ At^.
= 01 -^23 G
equal to zero. i.e., A ≠ 0. For example, A = is non-singular, since det A = 1 × 2 – 0 × 1 = 2 ≠ 0.Note that, each square matrix with real entries is either singular or non-singular.
Adjoint of a square matrix A = is obtained by
interchanging the diagonal entries and changing the signs of other entries. Adjoint of matrix A is denoted as Adj A.
Let A and B be two non-singular square matrices of same order. Then A and B are said to be multiplicative inverse of each other if AB = BA = I. The inverse of A is denoted by A-1^ , thus AA–1^ = A–1^ A = I. Inverse of a matrix is possible only if matrix is non-singular.
be a square matrix. To find the inverse of
M, i.e., M -1, first we find the determinant as inverse is possible only of a non-singular matrix.
Let A =
3 1 1 0
(^) - and B =^
0 1 3 2
-
Then det A = 3 × 0 – (–1) × l = 1 ≠ 0 and det B = 0 × 2 – 3(–1) = 3 ≠ 0 Therefore, A and B are invertible i.e., their inverses exist. Then, to verify the law of inverse of the product, take 3 1 0 1 3 0 1 3 3 ( 1) 1 2 3 1 1 0 3 2 1 0 0 3 1 ( 1) 0 2 0 1
⇒ (^) det (AB) = = 3 1 0 1
- = 3^ ≠^0
and L.H.S. = (AB)-^1 = 1 1 1 1 1 3 0 3 3 3 0 1
^ =^ ^
R.H.S. = B-^1 A-^1 , where B-^1 = 1 2 1 3 3 0
(^) - ,
1 0 1 1 1 3
-
Inverse of Identity matrix is Identity matrix.
= 01 12 G
1
1
and Adj M= 1 Adj M, then M = M
e.g., Let A= Then
Thus A Adj A A
and AA
d b c a
1
(^1 2 1). 1 0 1 3 3 0 1 1 3 = ^ ^ ^ - (^) - =^
1 2 0 1 1^2 ( 1)^1 3 3 0 0 1 3 ( 1) 0 3
×^ + ×^ × -^ + × (^) - × + × - × - + ×
1 0 1 2 3 3 0 3
+^ -^ + =^
=
0 1
3
1 3
1 0 3
1 1 3
1
= (AB)-^1 Thus the law (AB)-^1 = B-^1 A-1^ is verified.
Find the determinant of the following matrices.
Find which of the following matrices are singular or non-singular?
Find the multiplicative inverse (if it exists) of each.
(i) A(Adj A) = (Adj A) A = (det A)I (ii) BB-1 = I = B-^1 B
that (i) (AB)-^1 = B-^1 A-^1 (ii) (DA)
1.6 Solution of Simultaneous Linear Equations
System of two linear equations in two variables in general form is given as ax + by = m cx + dy = n where a, b, c, d, m and n are real numbers. This system is also called simultaneous linear equations. We discuss here the following methods of solution. (i) Matrix inversion method (ii) Cramer’s rule
(i) Matrix Inversion Method
Consider the system of linear equations ax + by = m cx + dy = n
Example 3 The length of a rectangle is 6 cm less than three times its width. The perimeter of the rectangle is 140 cm. Find the dimensions of the rectangle. (by using matrix inversion method)
Solution If width of the rectangle is x cm, then length of the rectangle is y = 3x – 6, from the condition of the question. The perimeter = 2 x + 2y = 140 (According to given condition) ⇒ x + y = 70 ……(i) and 3 x – y = 6 ……(ii) In the matrix form 1 1 70 3 1 6 1 1 1 1 det 1 ( 1) 3 1 1 3 4 0 3 1 3 1
x y
We know that
1 1
X A B and A AdjA A
Hence
x y
Thus, by the equality of matrices, width of the rectangle x = 19 cm and the length y = 51 cm. Verification of the solution to be correct, i.e., p = 2 × 19 + 2 × 51 = 38 + 102= 140 cm Also y = 3(19) – 6 = 57 – 6 = 51 cm
1 Use matrices, if possible, to solve the following systems of linear equations by: (i) the matrix inversion method (ii) the Cramer’s rule. (i) 2 x - 2 y = 4 3 x + 2 y = 6 (ii) 2 x + y = 3 6 x + 5 y = 1 (iii) 4 x + 2 y = 8 3 x - y = - 1 (iv) 3 x - 2 y = - 6 5 x - 2 y = - 10 (v) 3 x - 2 y = 4
x
y
x
y
(i) =^ G 0 0 0 0 is called ..... matrix. (ii) =^10 01 G is called ..... matrix.
(iii) Additive inverse of =^ G 1 - 2 0 - 1 is.......... (iv) In matrix multiplication,in general, AB ...... BA. (v) Matrix A + B may be found if order of A and B is ...... (vi) A matrix is called ..... matrix if number of rows and columns are equal.
(i) 2A + 3B (ii) - 3A + 2B (iii) - 3(A + 2B) (iv) (2A - 3B)
(i) AB ≠ BA (ii) A(BC) = (AB)C
(i) (AB)t^ = Bt^ At^ (ii) (AB)-1^ = B-1^ A-
2 3
=^ a^ 6 + 3 b^4 - 1 G =^ - 63 42 G
2 3 = 1 0 G = G 5 - 4 -2 -
2 1 = 3 - 3 G 4 - 2 = -1 (^) -2G
0 1 = (^2) - 3 G -3 4 = (^5) -2G
3 2 = (^1) - 1 G 2 4 = -3 (^) -5G
is called a 3-by-3 identity matrix.