Matrices and Determinants: Animation 1.1: Matrix Source & Credit: Elearn - Punjab
Matrices and Determinants: Animation 1.1: Matrix Source & Credit: Elearn - Punjab
CHAPTER
Matrices and
1 Determinants
1 2 3
columns, whereas the matrix N = - 1 1 0 is a 3-by-3 matrix and 2. Which of the following matrices are equal?
2 3 7
P = [ 3 2 5 ] is a matrix of order 1-by-3.
Examples
4 5
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
6 7
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
= G
k 0 0
For example 0 k 0 where k is a constant ≠ 0,1.
1 2 3 0 0 k
2 -1 4
e.g., (i) If M= is a square matrix, then
2 0 0
3 4 0 3 0
Also A = 0 2 0 B= and C =[5] are scalar matrices of
0 0 2 0 3
1 2 3
2 -1 4
Mt = = M. Thus M is a symmetric matrix. order 3-by-3, 2-by-2 and 1-by-1 respectively.
3 4 0
0 -2 -3
= G
0 -2 -3
then A =t 2 0 -1
= -(-2) 0 -1 = = -A
EXERCISE 1.2
3 1 0 -(-3) -(-1) 0
1. From the following matrices, identify unit matrices, row matrices,
Since At = –A, therefore A is a skew-symmetric matrix.
column matrices and null matrices.
subtraction.
2 3 0 -2 3 4
=e.g., A = and B 1 are conformable for addition
1 0 6 2 3
10 11
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
Let A be any matrix and the real number k be a scalar. Then the Thus the commutative law of addition of matrices is verified:
scalar multiplication of matrix A with k is obtained by multiplying each A+B = B+A
entry of matrix A with k. It is denoted by kA.
(b) Associative Law under Addition
1 -1 4
If A, B and C are three matrices of same order, then
Let A = 2 -1 0 be a matrix of order 3-by-3 and k = −2 be a real
-1 3 2 (A + B) + C = A + (B + C) is called associative law under addition.
number.
Then,
1 -1 4 (-2)(1) (-2)(-1) (-2)(4)
KA =- ( 2) 2 -1
( 2) A =- 0 = (-2)(2) (-2)(-1) (-2)(0)
-1 3 2 (-2)(-1) (-2)(3) (-2)(2)
-2 2 -8
= -4 2 0
-4
2 -6
Scalar multiplication of a matrix leaves the order of the matrix
unchanged.
12 13
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
is additive inverse of A.
It can be verified as
3. If then find,
14 15
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
6. find (i) 3A − 2B
If A, B and C are three matrices conformable for multiplication
then associative law under multiplication is given as (AB)C = A(BC)
(ii) 2At − 3Bt.
2 3 0 1 2 2
7. then find a and b. e.g., A = -1 0 B = 3 1 and C = -1 0 then
16 17
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
R.H.S. = AB + AC
2 3 0 1 2 2
R.H.S = A(BC) = -1 0 3 1 -1 0
18 19
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
0 1 1 0
Consider the matrices A= and B= , then
2 3 0 -2
0 1 1 0 0 ×1 + 1× 0 0 × 0 + 1(-2) 0 -2
AB=
= =
2 3 0 -2 2 ×1 + 3 × 0 2 × 0 + 3(-2) 2 -6
1 0 0 1 1× 0 + 0 × 2 1× 1 + 0 × 3 0 1
and BA =
= =
0 -2 2 3 0 × 0 + (-2) × 2 0 × 1 + 3(-2) -4 -6
= =0 -3G
1 2
20 21
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
5. verify
t t t whether
Thus (AB) = B A
(i) AB = BA. (ii) A(BC) = (AB)C
EXERCISE 1.4
(iii) A(B + C) = AB + AC (iv) A(B − C) = AB − AC
6. For the matrices
1. Which of the following product of matrices is conformable for
multiplication?
= G
1 1
d -b Adj M
equal to zero. i.e., A ≠ 0. For example, A = 0 2 is non-singular, and Adj
= M , then
= M-1
-c a M
since det A = 1 × 2 – 0 × 1 = 2 ≠ 0.Note that, each square matrix with real
entries is either singular or non-singular. 2 1
e.g., Let A= , Then
- 1 -3
1.5.3 Adjoint of a Matrix 2 1
A= =-6 - (-1) =-6 + 1 =-5 ≠ 0
-1 -3
1.5.4 Multiplicative Inverse of a Non-singular Matrix 1.5.6 Verification of (AB)–1 = B–1 A–1
1 1
M, i.e., M-1, first we find the determinant as inverse is possible only 1 1 1
3
−1
and L.H.S. = (AB) = 0 3 = 3
of a non-singular matrix. 3
0 1
1 2 1 1 0 -1
R.H.S. = B−1A−1, where B−1 = A−1 =
3 -3 0 , 1 1 3
24 25
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
1 2 1 1 0 -1 1 2 × 0 + 1× 1 2 × (-1) + 1× 3
= . =
3 -3 0 1 1 3 3 -3 × 0 + 0 ×1 -3 × (-1) + 0 × 3
1 0 + 1 -2 + 3 1 1 1
1 1 6. then verify
= =
= 3 3
3 0 3 3 0 3 0 1
that
(i) (AB)−1 = B−1A−1
−1 −1 −1
= (AB)−1 Thus the law
−1
(AB) = B A-1
−1
is verified. (ii) (DA) = A D
3. Find the multiplicative inverse (if it exists) of each. Consider the system of linear equations
ax + by = m
cx + dy = n
4.
Example 1
Solve the following system by using matrix inversion method.
4x – 2y = 8
3x + y = –4
Solution
4 -2 x 8
Step 1 3 =
1 y -4
4 -2
Step 2 The coefficient matrix M = is non-singular,
3 1
x 0
⇒ y =
-4
⇒ x=0 and y =
-4
Example 2
Solve the following system of linear equations by using Cramer’s rule.
3x - 2y = 1
-2x + 3y = 2
Solution
3x - 2y = 1
-2x + 3y = 2
We have
3 -2 1 -2 3 1
=A = A
x 2 3
, = , A -2 2
-2 3
y
3 -2
A = = 9 - 4 = 5 ≠ 0 (A is non-singular
-2 3
28 29
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
2. Complete the following: • A rectangular array of real numbers enclosed with brackets is said
=
0 0
G
to form a matrix.
(i) 0 0 is called ..... matrix.
• A matrix A is called rectangular, if the number of rows and number
= G
1 0
(ii) is called ..... matrix. of columns of A are not equal.
0 1
• A matrix A is called a square matrix, if the number of rows of A is
= G
1 -2
(iii) Additive inverse of 0 -1 is.......... equal to the number of columns.
(iv) In matrix multiplication,in general, AB ...... BA. • A matrix A is called a row matrix, if A has only one row.
(v) Matrix A + B may be found if order of A and B is ...... • A matrix A is called a column matrix, if A has only one column.
(vi) A matrix is called ..... matrix if number of rows and columns • A matrix A is called a null or zero matrix, if each of its entry is 0.
are equal. • Let A be a matrix. The matrix At is a new matrix which is called
transpose of matrix A and is obtained by interchanging rows of A
= = G,
a+3 4 -3 4
3. If = 6 b-1
G 6 2
then find a and b. into its respective columns (or columns into respective rows).
• A square matrix A is called symmetric, if At = A.
2 3
4. If A = = 1 0G
, B = =5 -4
G , then find the following. • Let A be a matrix. Then its negative, −A, is obtained by changing the
-2 -1
signs of all the entries of A.
(i) 2A + 3B (ii) -3A + 2B • A square matrix M is said to be skew symmetric, if Mt = −M,
2
(iii) -3(A + 2B) (iv) 3 (2A - 3B) • A square matrix M is called a diagonal matrix, if atleast any one
of entry of its diagonal is not zero and remaining entries are zero.
5. Find the value of X, if =2 1
G+ X = =4 -2
G. • A diagonal matrix is called identity matrix, if all diagonal entries are
3 -3 -1 -2
If A = = 0 G,
4
B= =5 G
1 -3
6. -2
, then prove that 1 0 0
2 -3
1. A = 0 1 0 is called a 3-by-3 identity matrix.
(i) AB ≠ BA (ii) A(BC) = (AB)C
0 0 1
7. If A = = 3 2
G and B = = 2 4
G, then verify that • Any two matrices A and B are called equal, if
1 -1 -3 -5
(i) order of A= order of B (ii) corresponding entries are same
(i) (AB)t = BtAt (ii) (AB)-1 = B-1 A-1 • Any two matrices M and N are said to be conformable for addition,
if order of M = order of N.
• Let A be a matrix of order 2-by-3. Then a matrix B of same order is
said to be an additive identity of matrix A, if
B+A=A=A+B
32 33
1. Matrices and Determinants eLearn.Punjab 1. Matrices and Determinants eLearn.Punjab
• Let A be a matrix. A matrix B is defined as an additive inverse of A, • The solution of a linear system of equations,
if B+A=O=A+B ax + by = m
• Let A be a matrix. Another matrix B is called the identity matrix of cx + dy = n
A under multiplication, if
B × A = A = A × B. a b x m
by expressing in the matrix form =
c d y n
a b -1
• Let M = be a 2-by-2 matrix. A real number λ is called x a b m
c d is given by =
y c d n
determinant of M, denoted by det M such that
a b
if the coefficient matrix is non-singular.
det M = = ad − bc = λ • By using the Cramer’s rule the determinental form of solution of
c d
equations
• A square matrix M is called singular, if the determinant of M is
equal to zero. ax + by =
m
• A square matrix M is called non-singular, if the determinant of M is cx + dy =
n
not equal to zero.
is
a b
• For a matrix M = , adjoint of M is defined by
c d
m b a m
d -b
Adj M = . n d c n a b
- c a x= and y= , where ≠0
a b a b c d
a b c d c d
• Let M be a square matrix , then
c d
1 d -b
M−1 = a
, where det M = ad − bc ≠ 0.
ad - bc -c
• The following laws of addition hold
M+N=N+M (Commutative)
(M + N) + T = M + (N + T) (Associative)
• The matrices M and N are conformable for multiplication to obtain
MN if the number of columns of M = number of rows of N, where
(i) (MN) ≠ (NM), in general
(ii) (MN)T = M(NT) (Associative law)
(iii) M(N + T) = MN + MT
(iv) (N + T)M = NM + TM
• Law of transpose of product
}
(Distributive laws)
(AB)t = Bt At
• (AB)−1 = B−1 A−1
• AA−1 = I = A−1A
34 35