MATRICES and DETERMINANTS
MATRICES and DETERMINANTS
MATRICES and DETERMINANTS
MATRIX
(1) [ 0.32 5 4
−6 7 ]
a11 a 12 a13
(2)
[ a21 a 22 a23
a31 a 32 a33 ]
e−2 x 2 x 2
(3) [ x4 e6 x ]
(4) [ x y z]
(5) [ 43 ]
A matrix can also be represented by array of numbers enclosed by a pair of parenthesis, ( )
or by a pair of double bars, ‖ ‖.
a 11 a12 ⋯ a1 n
[ a21 a22
⋮ ⋮
am 1 am 2
⋯ a2 n
⋱ ⋮
⋯ amn ]
The numbers or function aij are called the elements of the matrix.
The horizontal array of elements [ a11 a 12 ⋯ a1 n ] is called a row.
The vertical array of elements is called a column.
a11
[] a21
⋮
am 1
1
Advanced Engineering Mathematics
A matrix that contains only one row or column is called a vector. Thus, a matrix with
only one row is called a row vector and a matrix with only one column is a column
vector. Matrix (4) is a row vector while matrix (5) is a column vector.
The double subscript notation A = [ a ij ], i correspond to the row number while j
correspond to column number where the element aij stands.
where: i = 1, 2, 3, …, m and j = 1, 2, 3, …, n
A matrix with m number of rows and n number of columns is considered of order or
size m by n or “m× n”.
4 x+ 6 y+ 9 z =6 6 x+ y −2 z =205 x −8 y+ z=10
The coefficients of the unknowns x, y and z are the entries of the coefficient matrix, call it
matrix A,
4 6 9
[
A= 6 1 −2
5 −8 1 ]
The matrix
4 6 9 6
~
[
A= 6 1 −2 20
5 −8 1 10 ]
is obtained by augmenting A by the right sides of the linear system and is called the
augmented matrix of the system.
EQUALITY OF MATRIX
Two matrices A and B are to be said equal if they have the same order and each
element of matrix A is exactly the same as the corresponding elements of matrix B.
2
Advanced Engineering Mathematics
and
y−9=5=14
a11
a
[]
A= 21
⋮
am1
a b c a d g
[ ] [ ]
T
A= d e f A = b e h
g h i c f i
Or
a d
B= a b c B T = b e
[
d e f ]
c f [ ]
Note: (AT)T = A
4. Square Matrix – a matrix in which the number of row and column are equal.
a 11 a12 a13
[
A= a21 a22 a23
a31 a32 a33 ]
The elements a11, a22 and a33 are called the diagonal elements. The diagonal elements
are located in the principal diagonal. The principal diagonal is where the row and
column number is equal. An n × n square matrix is said to have an order “n”.
The sum of the diagonal elements is called the Trace of A.
Trace A=a 11 +a22 +a33
3
Advanced Engineering Mathematics
5. Null Matrix or Zero Matrix – is a matrix in which all elements are zero.
0 0 0
[ ]
A= 0 0 0
0 0 0
6. Diagonal Matrix – a square matrix in which all elements are zero except for the
diagonal elements.
a 0 0 0
A= 0
0
0
[ ] b
0
0
0
c
0
0
0
d
7. Triangular Matrix – is a square matrix in which who’s elements below or above the
principal diagonal is zero.
a b c d
A= 0
0
0
[ ] e f g
0 h i
0 0 j
8. Scalar Matrix – a diagonal matrix in which all the diagonal elements are equal.
a 0 0 0
A= 0
0
0
[ ] a
0
0
0
a
0
0
0
a
9. Unit Matrix or Identity Matrix – is a scalar matrix in which the diagonal elements are
all one. This is denoted by I.
1 0 0 0
I= 0
0
0
[ ]1
0
0
0
1
0
0
0
1
4
Advanced Engineering Mathematics
( A ) ( A−1) =I
11. Conjugate Matrix – is a matrix containing complex elements, then the conjugate of
each element is the corresponding element of the conjugate matrix denoted by Ā or
A*.
A= j2 − j 5
[
−j j4 ]
13. Symmetric Matrix – if a matrix A is equal to the transpose of a matrix B, then they
are symmetrical matrix. Or if a matrix A is equal to its transpose, matrix A is said to
be symmetric.
a b c
[ ]
A= b c a
c a b
a b c
[ ]
AT = b c a
c a b
14. Involutory Matrix – a matrix A that is equal to its inverse is said to be involutory
matrix.
A=A−1
15. Real Matrix – a matrix A that is equal to its conjugate matrix is a real matrix.
A=A
16. Orthogonal Matrix – a matrix A that is equal to the inverse of its transpose matrix is
an orthogonal matrix.
5
Advanced Engineering Mathematics
−1
A=( A T )
T
A=( A )
18. Unitary Matrix – a matrix A that is equal to the inverse of the transpose of its
complement matrix is a unitary matrix.
−1
A=( A T )
19. Skew Matrix – a matrix A = [ a ij ], if for unequal i and j, a ij = −aji, but the elements aij
are not all zero, then the matrix is called skew.
20. Skew Symmetric Matrix – a matrix A that is equal to the negative of its transpose is
called s skew symmetric matrix.
A=−( A )T
21. Skew Hermitian Matrix – a matrix A that is equal to the negative of the transpose of
its complement matrix is a skew hermitian matrix.
T
A=−( A )
OPERATIONS ON MATRICES
ADDITION
Given two matrices A and B both of order m × n, then their sum or difference is a
matrix C of order m × n obtained by adding or subtracting every element of A to the
corresponding elements in B.
Example:
A= [ ac bd ] B= [ wy xz ]
Solve for C = A + B, D = A – B and E = B – A
6
Advanced Engineering Mathematics
Given matrices A, B and C that are conformable for addition and a scalar k, then
1. A+ B=B+ A Addition is Commutative
2. A+ ( B+C )=( A+ B ) +C Addition is Associative
3. k ( A+ B )=kA+ kB Distributive
Example:
A= [−15 36 ] B= [ 24 −4
−7 ]
C= [ 64 −4
−9 ]
Evaluate:
1. 3 A−B
2. A+ B+C
3. 2 B+5 C
Solution:
1. 3 A−B
A+ B+C= −1 3 + 2 −4 + 6 −4 A+ B+C= 7 −5
[ ][
5 6 4 −7 4 −9 ][
13 −10 ] [ ]
3. 2 B+5 C
7
Advanced Engineering Mathematics
2 B+5 C=2 [ 24 −4 +5
6 −4
−7 ] [ 4 −9 ]
2 B+5 C=[
4
8
−8
][
+
30 −20
−14 20 −45 ]
2 B+5 C=
34 −28
[
28 −59 ]
MULTIPLICATION
Multiplication Conformity: only conformable matrix can be multiplied. Two matrices are
conformable for multiplication if the number of columns of matrix A is equal to the rows of
matrix B.
Example:
u v
A= a b c
[
d e f ] [ ]
B= w x
y z
[
BA= wa+ xd wb+ xe wc+ xf
ya+ zd yb+ ze yc + zf ]
Example:
1 3
A= [ 2 5 −6
3 5 −2 ] [ ]
B= 2 0
−3 5
1. AB
2 ∙ 1+5 ∙ 2 ±6 ∙−3 2 ∙3+ 5∙ 0 ± 6 ∙5 30 −24
AB= [
3 ∙ 1+5 ∙2 ±2 ∙−3 3 ∙ 3+5 ∙0 ± 6 ∙5
AB= ] [
19 −1 ]
2. BA
1∙ 2+3 ∙3 1 ∙ 5+3 ∙5 1 ∙−6+3 ∙−2 11 20 −12
[
BA= 2∙ 2+0 ∙ 3 2 ∙5+ 0 ∙5
] [
2 ∙−6+0 ∙−2 BA= 4 10 −12
−3 ∙2+5 ∙ 3 −3 ∙ 5+5 ∙5 −3 ∙−6+ 5∙−2 9 10 8 ]
Properties of Matrix Multiplication
In general:
T T T T
( A1 A 2 ⋯ An ) = A n ⋯ A 2 A 1
[
A= a21 a22 a23 a24
a31 a32 a33 a34 ] b
[
B= 21
b31
b41
b 22
b 32
b 42
b 23
b33
b 43
b24
b34
b44
]
Partitioning A and B
][ ]
a11 a12 a13 a14 11
[ b
AB= a21 a22 a23 a24 21
b
a31 a32 a33 a34 31
b 41
b22
b 32
b 42
b23
b33
b43
b24
b34
b44
9
Advanced Engineering Mathematics
DETERMINANTS
[ a
A= 21 22
⋮ ⋮
an 1 an 2
⋯ a2 n
⋱ ⋮
⋯ ann ]
The determinant of A is expressed as
a11 a12 ⋯ a1 n
|
| A|= a21 a22
⋮ ⋮
an 1 an 2
⋯ a2 n
⋱ ⋮
⋯ a nn
|
The elements, rows, columns, principal diagonal and secondary diagonals of matrix
A will also be the corresponding elements, rows, columns, principal diagonals and
secondary diagonals of the determinant function.
MINORS
The minor Mij of an element aij of a determinant ∣A∣ of order n is a new determinant
of order n – 1 formed by deleting the i th row and the jth column of the original determinant
∣A∣.
If
a11 a12 a13 a14
Then
a
| A|= 21
a31
a41
| a22
a 32
a 42
a23
a33
a43
a24
a34
a44
|
a 21 a13 a14
|
M 22= a 31 a33 a34
a 41 a43 a44 |
a 21 a23 a23
|
M 12= a 31 a33 a34
a 41 a43 a44 |
Example:
10
Advanced Engineering Mathematics
4 6 9
[
A= 6 1 −2
5 −8 1 ] find M23 and M11
Solution:
M 23 = 4 6 and
| | M 11= 1 −2
| |
5 −8 −8 1
COFACTOR
Example:
4 6 9
[
A= 6 1 −2
5 −8 1 ] find A23 and A11
Solution:
A23=(−1 )2 +3 4 6 =(−1 )5 4 6 =(−1 ) 4 6 =− 4 6
| | | | | | | |
5 −8 5 −8 5 −8 5 −8
1. Of order 1
The value of a determinant of order 1 is the element: ∣A∣ = ∣a∣ = a
2. Of order 2
a a
| |
| A|= 11 12 =a11 a22−a 21 a12
a21 a22
3. Of order 3
a11 a12 a 13
| |
| A|= a21 a22 a 23 is found by rewriting the first two columns adjacent to the last column of
a31 a32 a 33
the original determinant and then performing the(−) (−) (−)
diagonal operation indicated.
|
| A|= a21 a22 a 23 a 21 a22
a31 a32 a 33 a 31 a32| | (+) (+) (+)
| A|=a 11 a22 a 33+ a12 a23 a31 +a13 a21 a 32−a31 a22 a13−a32 a 23 a11 −a 33 a21 a12
4. Of order n ≥ 2
11
Advanced Engineering Mathematics
The value of a determinant of order n ≥ 2 can be solved using the Laplace Expansion
Formula. Consider the determinant A
a11 a12 ⋯ a1 n
|
| A|= a21 a22
⋮ ⋮
an 1 an 2
⋯ a2 n
⋱ ⋮
⋯ a nn
|
The value is solved by
n n
| A|=∑ a ik A ik =∑ a kj A kj
k=1 k=1
Examples:
Find the value of the following determinants
1. | A|=|−43|
2. |B|=|26|
1 −2
3. |C|=
6 3 | |
3 −2 4
4. |D|= 5
|
6 1
−1 3 9 |
Solutions:
1. | A|=|−43|
| A|=|−43|=−43
2. |B|=|26|
|B|=|26|=26
1 −2
3. |C|=
6 3 | |
|C|=|1 −2|=1 ∙3−6 ∙−2=15
6 3
3 −2 4
4. |D|= 5
|
6 1
−1 3 9 |
3
−2 4
|
|D|= 5
|
6 1 |D|=3 ∙6 ∙ 9 ± 2∙ 1∙−1+ 4 ∙ 5 ∙3−−1 ∙6 ∙ 4−3 ∙ 1∙ 3−9∙ 5 ∙−2|D|=329
−1 3 9
12
Advanced Engineering Mathematics
Choosing Row 2, i = 2
3
| A|=∑ a 2 k A2 k
k=1
Choosing Row 3, i = 3
3
| A|=∑ a 3 k A3 k
k=1
A31=(−1 ) |−26 41|=−26 ; A =(−1) |35 41|=17; A =(−1 ) |35 −26 |=28
3 +1
32
3 +2
33
3 +3
Choosing Column 1, j = 1
3
| A|=∑ a k 1 A k1
k=1
Choosing Column 2, j = 2
3
| A|=∑ a k 2 A k2
k=1
Choosing Column 3, j = 3
3
| A|=∑ a k 3 A k3
k=1
Properties of Determinants
13
Advanced Engineering Mathematics
a11 a12 a 13
| |
| A|= a21 a22 a 23 ; order 3, 6 terms = 3!
a31 a32 a 33
| A|=a 11 a22 a 33+ a12 a23 a31 +a13 a21 a 32−a31 a22 a13−a32 a 23 a11 −a 33 a21 a12
2. Interchanging the corresponding row or column of a determinant does not change
its value.
a1 a2 a3 a 1 b1 c1
| || |
b 1 b2 b3 = a 2 b2
c1 c 2 c 3 a 3 b 3
c2
c3
3. If any two rows or columns of a determinant are interchanged, then its sign will be
changed.
a1 a2 a3 a3 a2 a1 b1 b 2 b3
| || || |
b 1 b2 b3 =− b3 b2 b 1 =− a1 a 2 a3
c1 c 2 c 3 c3 c2 c1 c 1 c2 c 3
4. If all the elements of any row or column of a determinant is zero, then its value is
zero.
a1 a2 a3
| |
0 0 0 =0
c1 c 2 c 3
a1 a2 0
| |
b 1 b2 0 =0
c1 c 2 0
5. If the elements of a certain row or column of a determinant are proportional or
identical to the elements of another row or column, then its value is zero.
a1 a2 a3
|b1 b2
|
b3 =0
k a1 k a 2 k a3
a1 k a 1 b1
| |
a2 k a 2 b2 =0
a 3 k b 3 b3
6. If the elements of a certain row or column of a determinant are multiplied by a
scalar k then added to the corresponding elements of another row or column, then
its value is unchanged.
a1 a2 a3 a1 a2 + k a1 a3
| ||
b 1 b2 b3 = b1 b2 + k b 1 b3
c1 c 2 c 3 c 1 c2 + k ac1 c 3 |
a1 a2 a3 a1 a2 a3
| ||
b 1 b2 b3 = b1 +k a 1 b2 +k a 2 b3 +k a3
c1 c 2 c 3 c1 c2 c3 |
7. If each element of any row or column of a determinant is multiplied by a scalar k,
then its value is multiplied by k.
a1 a2 a3 a 1 a2 k a3 a1 a2 a 3
|c1 c2 c3 || c1 c 2 k c 3 || |
k b 1 k b 2 k b3 = b 1 b2 k b3 =k b1 b2 b 3
c 1 c 2 c3
14
Advanced Engineering Mathematics
8. The sum of the products formed by multiplying each element of any row or column
of a determinant by the cofactor of another row or column is zero.
a11 a12 a 13
| |
Let | A|= a21 a22 a 23 ,
a31 a32 a 33
thena 11 A 21+a 12 A 22+ a13 A 23=0 or a 11 A 12+a 21 A 22+ a31 A 32=0
9. The value of a triangular or diagonal determinant is the product of its diagonals.
|2 1
−1 3 9 R 3=R3 + ( 1/3 ) R 1 |
0 7 /3 31 /3 | 0 0| 47 /4 |
| A|= 0 28/3 −17 /3 R '3=R3− (1 /4 ) R2|A|= 0 28/3 −17 /3 |A|=3∙ 28 ∙ 4
3
Procedure
1. If a determinant of order n has an element unity (=1) use this as the pivotal
element. Otherwise use a convenient element say a ij and divide the row or column
containing this element and then balance the determinant by multiplying its value
by aij.
2. Cross out the row and column containing aij.
3. From each element of the resulting determinant of order n – 1 subtract the product
of the elements common to the intersection of the row and column containing a ij
with the row and column containing that element.
4. To find the determinant multiply the resulting determinant by (−1) i+j.
15
Advanced Engineering Mathematics
3
−2 4
|
| A|= 5 6 1
−1 3 9 |
3 −2 4
| A|=(−1 ) 5
| 6 1
1 −3 −9 |
| A|=(−1 )3+ 1 (−1 ) −2−3 ∙−3 4−3∙−9 =− 7
| 6−5 ∙−3 | |21 3146|=329
1−5 ∙−9
SUBMATRIX
[ ]
A= d e f
g h i
Solution:
3 × 2 submatrices
a b a c b c
[ ] [ ][ ]
d e , d f , e f
g h g i h i
3 × 1 submatrices
a b c
[ ][ ][ ]
d , e , f
g h i
2 × 3 submatrices
a b c a b c d e f
[ ][
d e f g h i g h i
, ][ ] ,
2 × 2 submatrices
a b a b a c a c b c b c d e d f e f
[ ][ ][ ][ ][ ][ ][ ][ ][ ]
, ,
d e g h d f g i e f h i g h g i h i
, , , , , ,
2 × 1 submatrices
a a b b c c d e f
[ ][ ][ ][ ][ ][ ][ ][ ][ ]
, , , , , , , ,
d g e h f i g h i
1 × 3 submatrices
[ a b c ], [ d e f ] , [ g h i ]
1 × 2 submatrices
[ a b ] , [ a c ], [ b c ], [ d e ] , [ d f ] , [ e f ], [ g h ], [ g i ] , [ h i ]
1 × 1 submatrices
[ a ], [ b ], [ c ], [ d ] , [ e ], [ f ], [ g ] , [ h ] , [ i ]
RANK OF MATRIX
The rank of a matrix is the highest number r if there exists an r × r submatrix whose
determinant is not equal to zero.
16
Advanced Engineering Mathematics
Example:
Determine the rank of matrix
3 −2 1 4
[−6 4 −2 −8 ]
Solution:
2 × 2 submatrices
3 −2 3 1 3 4 −2 1 −2 4 1 4
[ ][
, ,][ ,][
−6 4 −6 −2 −6 −8 −4 −2 −6 −8 −2 −8
, ][ , ][ ]
Their determinants
3 −2 =0 3 1 =0 3 4 =0 −2 1 =0 −2 4 =0 1 4 =0
|
−6 4 | | ,
−6 −2 | |
,
−6 −8 | |
,
−4 −2 | |
,
−6 −8
,| |
−2 −8 |
Since the determinants of all the 2 × 2 submatrices are zero, therefore the rank is one.
Exercises:
8 2
] [ ]
B= 4 −3
−3 0
2 −2
[ ]
6. A= 10 3
5 2
B= −1 2 0 −3
[
5 −6 4 6 ]
List all the submatrices and determine the rank of the matrix
10 0 −3 7 0
7. A=
[
0 −1 2 8
17 6 −5 6
−1 −2 1 −9
6
4
5
]
For the matrices A and B, verify directly that ( A+ B )T =A T + BT
17
Advanced Engineering Mathematics
13. AX=B−I
14. AX=CI
15. CX = A
16. ( B−I ) X= A
17. ( B−I ) X=IC
Evaluate the matrix polynomial X 3 −4 X 2−X + 4 I for each of the following matrices
1 −1
18. X = [
2 0 ]
1 1 2
19. X =
[ ]
1 2 1
2 1 1
0 1 1
20. X =
[ ]
−1 0 1
−1 −1 0
3 2 1
21. X =
[ ]
4 5 6
1 1 4
Classify each of the following matrices according as it is real, symmetric, skew-symmetric,
hermitian or skew-hermitian
j2 −6− j 9 13
22. A=
[
6− j 9
−13
0
j4
j4
j3 ]
0 1 2
23. B=
[
−1 0 −3
−2 3 0 ]
1 0 −j
[
24. C= 0 −2 4− j
j 4+ j 3 ]
7 0 4
[
25. D= 0 −2 10
4 10 5 ]
Find the value of the following determinant
18
Advanced Engineering Mathematics
|13 24|
26. | A|=
8 2
27. |B|=|
−2 1|
1 3 7
|
28. |C|= −1 0 −4
3 6 8 |
−72 53 7
|
29. |C|= −19 20 −4
3 56 28 |
Find the value of the following determinant using Laplace Expansion
1 2 3 4
|
30. | A|=
1
2
3
4
1
4
3
2
4
2
1
3 4
|
3
1
2
31. |B|=
|4
2
3
0 1 2
3
1
4
2
4
1
1
3
2
| 3
32. |C|=
|−1 0 1
−2 −1 0
−3 −2 3
8 9 2 4
|
2
3
0
33. |D|=
|−7 6 −1 3
3 4 0 0
1 −2 0 0
6 4 −6 −4
|
34. |E|=
|8
9
0
0 4
7 0
−3 5 −7
8 0
0 0 8
4
|
35. |F|=
|23 13 17 31
−6 11 7 9
0 3 6 0
|
Find the value of the following determinant using Pivotal Method
1 2 3 4
|
36. | A|=
1
2
3
4
1
4
3
2
4
2
1
3 4
|
3
1
2
37. |B|=
|4
2
3
0 1 2
3
1
4
2
4
1
1
3
2
| 3
38. |C|=
|−1 0 1
−2 −1 0
−3 −2 3
|
2
3
0
19
Advanced Engineering Mathematics
8 9 2 4
39. |D|=
|−7
3
6
6
4
−1
0 0
1 −2 0 0
3
4 −6 −4
|
40. |E|=
|8
9
0
0 4
7 0
−3 5 −7
0 0 8
8 0
4
|
41. |F|=
|23 13 17
−6 11 7 9
0 3
31
6 0
|
Find the value of the following determinant by transforming it into a triangular
determinant
1 2 3 4
| |
42. | A|=
1
2
3
4
1
4
3
2
4
2
1
3
3
1
2
4
43. |B|=
| |
4
2
3
0
3
1
4
1 2
2
4
1
1
3
2
3
44. |C|=
| |
−1 0 1
−2 −1 0
−3 −2 3
8 9 2 4
2
3
0
45. |D|=
| |
−7
3
6
4
−1
0 0
1 −2 0 0
6
3
4 −6 −4
46. |E|=
| |
8
9
0
0 4
7 0
−3 5 −7
0 0 8
8 0
4
47. |F|=
| |
23 13 17
−6 11 7 9
0 3
31
6 0
Find all values of k which satisfy each of the following equations:
k 3+k −10
|
48. 1−k 2−k
2 4+k −k
5 =48
|
−1 3 k
|
49. 2 k −3 1−k 3 k +1 =9 k−28
2 k −2 |
20
Advanced Engineering Mathematics
1 k k +2 k−2 100
|
0
50. 0
0
0
k k−2
0 k +2
0
0
0
0
k +2
k−2
k−2
0
100
100 =0
k +2
100
|
ADJOINT OF A MATRIX
Say, matrix A
a11 a12 ⋯ a1 n
a
⋮
[ a
A= 21 22
⋮
an 1 an 2
Then,
⋯ a2 n
⋱ ⋮
⋯ ann ]
A 11 A 12 ⋯ A1 n
A
C= 21
⋮
[ A 22
⋮
A n1 A n 2
⋯
⋱
⋯
A2 n
⋮
A nn ]
A 11 A 21 ⋯ An 1
T A
adj A=C = 12
⋮
[A 22
⋮
A1 n A 2 n
⋯
⋱
⋯
An 2
⋮
A nn ]
Example: Find the adjoint of the matrix
3 6 2
[
A= 4 −5 3
2 3 −6 ]
Solution:
21 42 28
22|
adj A= 30 −22 −1
3 −39 |
INVERSE OF A MATRIX
21
Advanced Engineering Mathematics
[
A= −1 0 3
3 1 −2 ]
Solution:
1 2 4
|
| A|= −1 0 3 =7
3 1 −2 |
|01 −23 | −|−13 −23 | |−13 01| −3
[
C= −|2 4 | |1 4 | −|1 2| = 8
1 −2
2 4
3 −2
1 4
|0 3| −|−1 3| |−1 0| 1
3 1 |
2
6
] 7
−7
−1
−14 5
2|
−3 8 6
−1 5 |
adj A= 7 −14 −7
2 |
−3 8 6
|
7 −14 −7
−3 8| 6
A−1=
−1 5
7
2 1
= 7 −14 −7
7
−1 5 2 | |
MATRIX DIVISION
The quotient of two matrices A/B can be expressed as a product of matrix A and the
inverse of B, provided that they will be conformable for multiplication.
A
= A B−1
B
22
Advanced Engineering Mathematics
23