Why It Is Important To Understand: The Theory of Matrices and Determinants
Why It Is Important To Understand: The Theory of Matrices and Determinants
Higher Engineering Mathematics. 978-0-415-66282-6, © 2014 John Bird. Published by Taylor & Francis. All rights reserved.
276 Higher Engineering Mathematics
24.2 Addition, subtraction and To find matrix A minus matrix B, the elements of B are
multiplication of matrices taken from the corresponding elements of A. Thus:
2 −1 −3 0
(a) −7 −
(i) Addition of matrices 4 7 −4
Corresponding elements in two matrices may be added 2 − (−3) −1 − 0
=
to form a single matrix. −7 − 7 4 − (−4)
5 −1
Problem 1. Add the matrices =
−14 8
2 −1 −3 0 ⎛ ⎞ ⎛ ⎞
(a) and 3 1 −4 2 7 −5
−7 4 7 −4
(b) ⎝4 3 1⎠ − ⎝−2 1 0⎠
⎛ ⎞ ⎛ ⎞ 1 4 −3 6 3 4
3 1 −4 2 7 −5
⎛ ⎞
(b) ⎝4 3 1⎠ and ⎝−2 1 0⎠ 3−2 1 − 7 −4 − (−5)
1 4 −3 6 3 4 = ⎝4 − (−2) 3 − 1 1−0 ⎠
1−6 4 − 3 −3 − 4
⎛ ⎞
(a) Adding the corresponding elements gives: 1 −6 1
=⎝ 6 2 1⎠
2 −1 −3 0
+ −5 1 −7
−7 4 7 −4
2 + (−3) −1 + 0
= Problem 3. If
−7 + 7 4 + (−4)
−3 0 2 −1
−1 −1 A= ,B= and
= 7 −4 −7 4
0 0
The theory of matrices and determinants 277
Hence 2 A − 3B + 4C
1 0
C= find A + B − C −6 0 6 −3 4 0
−2 −4 = − +
14 −8 −21 12 −8 −16
−1 −1 −6 − 6 + 4 0 − (−3) + 0
A+B = =
0 0 14 − (−21) + (−8) −8 − 12 + (−16)
(from Problem 1) −8 3
=
27 −36
−1 −1 1 0
Hence, A + B − C = −
0 0 −2 −4
When a matrix A is multiplied by another matrix B,
−1 − 1 −1 − 0
= a single matrix results in which elements are obtained
0 − (−2) 0 − (−4)
from the sum of the products of the corresponding rows
−2 −1 of A and the corresponding columns of B.
=
2 4 Two matrices A and B may be multiplied together,
provided the number of elements in the rows of matrix
Alternatively A + B − C A are equal to the number of elements in the columns of
Section E
matrix B. In general terms, when multiplying a matrix
−3 0 2 −1 1 0 of dimensions (m by n) by a matrix of dimensions (n by
= + − r ), the resulting matrix has dimensions (m by r ). Thus
7 −4 −7 4 −2 −4
a 2 by 3 matrix multiplied by a 3 by 1 matrix gives a
matrix of dimensions 2 by 1.
−3 + 2 − 1 0 + (−1) − 0
=
7 + (−7) − (−2) −4 + 4 − (−4) 2 3 −5 7
Problem 5. If A = and B =
−2 −1 1 −4 −3 4
= as obtained previously find A × B
2 4
C C12
Let A × B = C where C = 11
C21 C22
(iii) Multiplication C11 is the sum of the products of the first row elements
When a matrix is multiplied by a number, called scalar of A and the first column elements of B taken one at a
multiplication, a single matrix results in which each time,
element of the original matrix has been multiplied by
the number. i.e. C11 = (2 × (−5)) + (3 × (−3)) = −19
C12 is the sum of the products of the first row elements
−3 0
Problem 4. If A = , of A and the second column elements of B, taken one
7 −4 at a time,
⎛ ⎞
1 0
2 −1 i.e. C12 = (2 × 7) + (3 × 4) = 26
B= and C = ⎝ ⎠ find
−7 4 −2 −4 C21 is the sum of the products of the second row
2 A − 3B + 4C elements of A and the first column elements of B, taken
one at a time,
For scalar multiplication, each element is multiplied by
the scalar quantity, hence i.e. C21 = (1 × (−5)) + (−4 × (−3)) = 7
Finally, C22 is the sum of the products of the second
−3 0 −6 0
2A = 2 = row elements of A and the second column elements of
7 −4 14 −8
B, taken one at a time,
2 −1 6 −3
3B = 3 = i.e. C22 = (1 × 7) + ((−4) × 4) = −9
−7 4 −21 12
−19 26
1 0 4 0 Thus, A × B =
and 4C = 4 = 7 −9
−2 −4 −8 −16
278 Higher Engineering Mathematics
The sum of the products of the elements of each row of The sum of the products of the elements of each row of
the first matrix and the elements of the second matrix, the first matrix and the elements of each column of the
(called a column matrix), are taken one at a time. second matrix are taken one at a time. Thus:
Thus: ⎛ ⎞ ⎛ ⎞
1 0 3 2 2 0
⎛ ⎞ ⎛ ⎞ ⎝2 1 2⎠ × ⎝1 3 2⎠
3 4 0 2
⎝−2 6 −3⎠ × ⎝ 5⎠ 1 3 1 3 2 0
7 −4 1 −1 ⎛ ⎞
[(1 × 2) [(1 × 2) [(1 × 0)
⎛ ⎞ ⎜ + (0 × 1) + (0 × 3) + (0 × 2) ⎟
(3 × 2) + (4 × 5) + (0 × (−1)) ⎜ ⎟
= ⎝(−2 × 2) + (6 × 5) + (−3 × (−1))⎠ ⎜ + (3 × 3)] + (3 × 2)] + (3 × 0)]⎟
⎜ ⎟
(7 × 2) + (−4 × 5) + (1 × (−1)) ⎜[(2 × 2) [(2 × 2) [(2 × 0) ⎟
Section E
⎜ ⎟
⎛ ⎞ ⎜
= ⎜ + (1 × 1) + (1 × 3) + (1 × 2) ⎟
⎟
26 ⎜ + (2 × 3)] + (2 × 2)] + (2 × 0)]⎟
= ⎝ 29⎠ ⎜ ⎟
⎜[(1 × 2) [(1 × 2) [(1 × 0) ⎟
−7 ⎜ ⎟
⎝ + (3 × 1) + (3 × 3) + (3 × 2) ⎠
⎛ ⎞ + (1 × 3)] + (1 × 2)] + (1 × 0)]
3 4 0 ⎛ ⎞
11 8 0
Problem 7. If A = ⎝−2 6 −3⎠ and = ⎝11 11 2⎠
7 −4 1
⎛ ⎞ 8 13 6
2 −5
B = ⎝ 5 −6⎠, find A × B
−1 −7 In algebra, the commutative law of multiplication states
that a × b =b × a. For matrices, this law is only true in
a few special cases, and in general A × B is not equal
The sum of the products of the elements of each
to B × A
row of the first matrix and the elements of each col-
umn of the second matrix are taken one at a time.
2 3
Thus: Problem 9. If A = and
⎛ ⎞ ⎛ ⎞ 1 0
3 4 0 2 −5 2 3
⎝−2 B= show that A × B = B × A
6 −3⎠ × ⎝ 5 −6⎠ 0 1
7 −4 1 −1 −7
⎛ ⎞ 2 3 2 3
[(3 × 2) [(3 × (−5)) A×B = ×
1 0 0 1
⎜ + (4 × 5) +(4 × (−6)) ⎟
⎜ ⎟
⎜ + (0 × (−1))] +(0 × (−7))] ⎟ [(2 × 2) + (3 × 0)] [(2 × 3) + (3 × 1)]
⎜ ⎟ =
⎜[(−2 × 2) [(−2 × (−5)) ⎟ [(1 × 2) + (0 × 0)] [(1 × 3) + (0 × 1)]
⎜ ⎟
⎜
= ⎜ + (6 × 5) +(6 × (−6)) ⎟ ⎟ 4 9
⎜ + (−3 × (−1))] +(−3 × (−7))]⎟ =
⎜ ⎟ 2 3
⎜[(7 × 2) [(7 × (−5)) ⎟
⎜ ⎟
⎝ + (−4 × 5) +(−4 × (−6)) ⎠ 2 3 2 3
B×A= ×
+ (1 × (−1))] +(1 × (−7))] 0 1 1 0
⎛ ⎞ [(2 × 2) + (3 × 1)] [(2 × 3) + (3 × 0)]
26 −39 =
[(0 × 2) + (1 × 1)] [(0 × 3) + (1 × 0)]
= ⎝ 29 −5⎠
−7 −18 7 6
=
1 0
The theory of matrices and determinants 279
4 9 7 6
Since = , then A × B = B × A
2 3 1 0 12. D×F
13. Show that A × C = C × A
Section E
a b
⎛ ⎞ The determinant of a 2 by 2 matrix is defined
4 −7 6 c d
D = ⎝−2 4 0⎠ as (ad − bc)
5 7 −4 The elements of the determinant of a matrix are
⎛ ⎞
written
between
Thus,
vertical lines.
the determinant
3 −4
3 −4
3 6 2 of is written as
and is equal to
E = ⎝ 5 −3 7⎠ 1 6 1 6
= 22
F = ⎝−1.6 3.8 −1.9 ⎠ G=
6 1 6
−2
5.3 3.4 −4.8
⎛ ⎞ ⎛ ⎞ Problem 10. Determine the value of
4 1 0
−2
3 −2
H= J = ⎝−11⎠ K = ⎝0 1⎠
5
7 1 0
7 4
stated.
3 −2
= (3 × 4) − (−2 × 7)
7 4
1. A+ B
2. D+E = 12 − (−14) = 26
3. A− B
+ j) j 2
(1 − j 3 (1 − j 4)
5. 5 A + 6B
6. 2D + 3E − 4F
(1 + j ) j 2
− j 3 (1 − j 4)
= (1 + j )(1 − j 4) − ( j 2)(− j 3)
7. A×H
= 1 − j 4 + j − j 24 + j 26
8. A×B
= 1 − j 4 + j − (−4) + (−6)
9. A×C
since from Chapter 22, j 2 = −1
10. D×J
= 1− j4+ j + 4 − 6
11. E×K = −1 − j 3
280 Higher Engineering Mathematics
Multiplying the matrices on the left-hand side, gives
5∠30◦ 2∠−60◦
Problem 12. Evaluate
a + 2c b + 2d 1 0
3∠60◦ 4∠−90◦
=
3a + 4c 3b + 4d 0 1
5∠30◦ 2∠−60◦
Equating corresponding elements gives:
◦ ◦
3∠60◦ 4∠−90◦
= (5∠30 )(4∠−90 ) b + 2d = 0, i.e. b = −2d
◦ ◦
− (2∠−60 )(3∠60 ) 4
and 3a + 4c = 0, i.e. a = − c
3
= (20∠−60◦ ) − (6∠0◦ ) Substituting for a and b gives:
⎛ ⎞
= (10 − j 17.32) − (6 + j 0) 4
⎜ − c + 2c −2d + 2d ⎟
⎜ 3 ⎟ 1 0
= (4 − j 17.32) or 17.78∠−77◦ ⎜ ⎟=
⎝ 4 ⎠ 0 1
3 − c + 4c 3(−2d) + 4d
3
Now try the following Practice Exercise ⎛2 ⎞
c 0
i.e. ⎝3 ⎠= 1 0
Section E
j2 − j 3
(1 + j ) j
inverse of a 2 by 2 matrix.
p q
2∠40◦ 5∠−20◦
For any matrix the inverse may be
r s
5. Evaluate
obtained by:
7∠−32◦ 4∠−117◦
determinant
. Thus, the inverse of Thus
⎛ the signed-minor
⎞ of element 4 in the matrix
r s
1 2 3
⎝4 5 6⎠ is −
2 3
= −(−6) = 6
8 9
3 −2 1 4 2 7 8 9
=
7 4 (3 × 4) − (−2 × 7) −7 3
⎛ ⎞ The signed-minor of an element is called the
2 1
cofactor of the element.
1 4 2 ⎜ 13 13 ⎟
= =⎜ ⎟
26 −7 3 ⎝ −7 3 ⎠ (iii) The value of a 3 by 3 determinant is the
26 26 sum of the products of the elements and their
cofactors of any row or any column of the
corresponding 3 by 3 matrix.
Now try the following Practice Exercise There are thus six different ways of evaluating a 3 × 3
Section E
determinant – and all should give the same value.
Practice Exercise 107 The inverse of 2 by 2
matrices (Answers on page 846) Problem 14. Find the value of
3 −1
3 4 −1
−4 7
2 0 7
⎛ ⎞
1 −3 −2
1 2
⎜ 2 3⎟⎟
2. Determine the inverse of ⎜ The value of this determinant is the sum of the products
⎝ 1 3⎠
− − of the elements and their cofactors, of any row or of any
3 5 column. If the second row or second column is selected,
the element 0 will make the product of the element and
−1.3 7.4
3. Determine the inverse of its cofactor zero and reduce the amount of arithmetic to
2.5 −3.9
be done to a minimum.
Supposing a second row expansion is selected. The
minor of 2 is the value of the determinant remain-
ing when the row and column containing the 2 (i.e.
the second row and the first column),
is covered
up.
24.6 The determinant of a 3 by 3
4 −1
i.e. −11
−3 −2
i.e. −13,
covering up the row and column containing that 1 −3
element. ⎛ ⎞ and its cofactor is +13. Hence the value of the sum
1 2 3
of the products of the elements and their cofactors is
Thus for the matrix ⎝4 5 6⎠ the minor of
2 × 11 +7 × 13, i.e.,
7 8 9
1
2 0 7
1 −3 −2
7
2 3
The same result will be obtained whichever row or
2 determinant
, i.e. the minor of element 4
8 9
column is selected. For example, the third column
is (2 × 9) − (3 × 8) =−6 expansion is
282 Higher Engineering Mathematics
2 0
3 4
3 4
(−1)
− 7
+ (−2)
Now try the following Practice Exercise
1 −3
1 −3
2 0
−5 2 6
5 7 −4
Using the first row:
−5 2 6
−1 −4 2
2. Find the matrix of cofactors of
⎛ ⎞
2 6
−5 6
−5 2
= 1
− 4
+ (−3)
4 −7 6
−4 2
−1 2
−1 −4
⎝−2 4 0⎠
= (4 + 24) − 4(−10 + 6) − 3(20 + 2) 5 7 −4
⎛ ⎞
1 4 −3
4 −7 6
−5 2 6
⎝−2 4 0⎠
−1 −4 2
5 7 −4
−5 6
8 −2 −10
= −4
+ 2
1 −3
−(−4)
1 −3
−1 2
−1 2
−5 6
4. Evaluate
2 −3 −2
6 3 8
j2 (1 + j ) 3
j2
(1 − j ) 1 j
2 j
0 j4 5
6. Evaluate
(1 + j ) 1 −3
5 − j4 0
1 j
(1 + j ) 3
7. Evaluate
0 (1 + j ) 2∠30◦
( j 2)
− (1 − j )
0 2 j5
j 4 5
j4 5
8. Find the eigenvalues λ that satisfy the follow-
(1 + j ) 3
ing equations:
+ (0)
1 j
(2 − λ) 2
(a)
=0
= j 2(5 − j 24) − (1 − j )(5 + j 5 − j12) + 0 −1 (5 − λ)
(b)
0 (4 − λ) −1
= 0
= j 18 − [5 − j 7 − j5 + j 27]
2 8 (−3 − λ)