Matrices and Determinant
Matrices and Determinant
Matrices and Determinant
ENGINEERING
ALGEBRA II
MATRICES AND
DETERMINANTS
BY MICHEAL OGUNDERO
Matrices
1 2 3 4
5 6 7 8
9 10 11 12
Why?
𝑎 𝑏
5 6 7, 𝑐 𝑑
𝑒 𝑓
𝑎1 𝑎2 𝑎3 𝑎4 𝑎5
𝑏1 𝑏2 𝑏3 𝑏4 𝑏5
𝑎𝑛𝑑 𝑐1 𝑐2 𝑐3 𝑐4 𝑐5
𝑑1 𝑑2 𝑑3 𝑑4 𝑑5
𝑒1 𝑒2 𝑒3 𝑒4 𝑒5
For example
0 0 0
𝑂 =
0 0 0
The matrix Omxn has the property that for every matrix Amxn
A+O= O+A=A
4. Square Matrix
𝑎 𝑏 𝑐
Therefore, the matrix 𝑑 𝑒 𝑓 is of order 3
𝑔 ℎ 𝑖
Particular Cases of a square matrix
4 0 0 0
0 0 0
0 5 0 0
𝑎𝑛𝑑 0 1 0
0 0 1 0
0 0 1
0 0 0 2
A diagonal matrix in which all the diagonal elements are the same is
called a scalar matrix
For example
𝑘 0 0
3 0
𝑎𝑛𝑑 0 𝑘 0
0 3
0 0 𝑘
For example
1 0
0 1
is an identity matrix of order 2
Generally, for an identity matrix
𝑎𝑖𝑗 = 0 𝑓𝑜𝑟 𝑖 ≠ 𝑗
𝑎𝑖𝑗 = 1 𝑓𝑜𝑟 𝑖 = 𝑗
𝐴𝐼 = 𝐼𝐴 = 𝐴
2𝑘 5𝑘 −7𝑘
𝑘𝐴 =
−1𝑘 0 3𝑘
Also,
3 6 8
𝑖𝑓 𝐴 = −2 0 −4
−3 −7 −1
Then A multiplied by 3 is
9 18 24
−6 0 −12
−9 −21 −3
(b) Addition and Subtraction of Matrices
3 6 8
If A =
−2 0 −4
8 2 1
And B =
−3 −7 −1
3 6 8 8 2 1
Then C = A + B = +
−2 0 −4 −3 −7 −1
11 8 9
=
−5 −7 −5
Similarly, the difference 𝐴 − 𝐵 of two matrices A and B is a
matrix each element of which is obtained by subtracting the
elements of B from the corresponding elements of A
3 6 8 8 2 1
𝐴– 𝐵 = −
−2 0 −4 −3 −7 −1
−5 4 7
=
1 7 −3
(c) Product of Matrices
And so on…
Now, if
2 4 1
3 6 8
A= and B = 3 5 2
−2 0 −4
5 3 6
Then
A×B
𝟑×𝟐+𝟔×𝟑+𝟖×𝟓 𝟑×𝟒+𝟔×𝟓+𝟖×𝟑 𝟑×𝟏+𝟔×𝟐+𝟖×𝟔
= −𝟐 ×𝟐+𝟎×𝟑−𝟒×𝟓 −𝟐 × 𝟒 + 𝟎 × 𝟓 − 𝟒 × 𝟑 −𝟐 × 𝟏 + 𝟎 × 𝟐 − 𝟒 × 𝟔
𝟔𝟒 𝟔𝟔 𝟔𝟑
=
−𝟐𝟒 −𝟐𝟎 −𝟐𝟔
Note :
3 6
𝐴 =
−2 0
Then,
3 6
|A|=
−2 0
= [3 × 0] – [6 × (-2)]
= 0 – (-12)
= 12
Before we proceed,
And so on….
For example, in the determinant
1 0 5
|𝐴| = 10 2 1
3 4 2
2 1
The minor of the element 𝑎11 is 𝑀11 = =2×2–1×4=0
4 2
10 1
The minor of the element 𝑎12 is 𝑀12 = = 10 × 2 - 1 × 3 = 17
3 2
10 2
The minor of the element 𝑎13 is 𝑀13 = = 10 × 4 – 2 × 3 = 34
3 4
Cofactor of Element
1 0 5
|𝐴| = 10 2 1
3 4 2
The cofactor of the element 𝑎12 is 𝐶12 = (-1 ) 1+2 𝑀12 = -1 × 17 = -17
Is gotten by
|A| = 𝑎11 𝐶11 + 𝑎12 𝐶12 + 𝑎13 𝐶13
= 𝑎11 𝑀11 − 𝑎12 𝑀12 + 𝑎13 𝑀13
From there we proceed to solve for our minors following the same
procedure outline for finding the determinant of a (3 × 3) matrix
In general, to find the determinant of a square matrix say (𝑚 × 𝑚) whose
order is higher than (2 × 2)
1. Expand the determinant of the matrix along any row or column to get
minors of ((m-1) by (m-1)) order
3. If the minors are of order (2 × 2) proceed to get the value of each minor
using the (2 × 2) method, else repeat step 2 for each minor until they
are all of order (2 × 2), then calculate their values
Any question?