04 Matrices and Vector Analysis (Lesson 04)
04 Matrices and Vector Analysis (Lesson 04)
Vector Analysis
Lesson 04 01
Lecture Outline
Linear Equations
𝑥1 − 2𝑥2 − 3𝑥3 + 𝑥4 = 0 3𝑥 + 2𝑦 − 𝑥𝑦 = 5
0.5𝑥 − 𝑦 + 3𝑧 = −1 sin 𝑥 + 𝑦 = 0
2𝑎 + 4𝑏 = 6 𝑥1 + 2𝑥2 + 𝑥3 = 1
3 1 2
−3 −1 2 −1 2 −3
Then 𝐷 = 𝐴 = 2 −3 −1 = +3 −1 +2
2 1 1 1 1 2
1 2 1
= 3 −3 + 2 − 1 2 + 1 + 2 4 + 3 = −3 − 3 + 14 = 𝟖
Since 𝐷 = 𝐴 = 8 ≠ 0, so the matrix 𝐴 is non-singular and hence 𝐴−1 exists. We multiply both sides of
equation (1) by 𝐴−1 on the left. Then we get 𝐴−1 𝐴𝑋 = 𝐴−1 𝐵 ⇒ 𝐼𝑋 = 𝐴−1 𝐵 ⇒ 𝑋 = 𝐴−1 𝐵 … … … (2)
−3 −1 2 −1 2 −3
𝐴11 = + = −3 + 2 = −1 𝐴12 = − = − 2 + 1 = −3 𝐴13 = + =4+3=7
2 1 1 1 1 2
1 2 3 2 3 1
𝐴21 = − =− 1−4 =3 𝐴22 = + =3−2=1 𝐴23 = − = − 6 − 1 = −5
2 1 1 1 1 2
1 2 3 2 3 1
𝐴31 = + = −1 + 6 = 5 𝐴32 = − = − −3 − 4 = 7 𝐴33 = + = −9 − 2 = −11
−3 −1 2 −1 2 −3
−1 −3 7
∴ Cofactor matrix of 𝐴, 𝑐𝑜𝑓 𝐴 = 3 1 −5
5 7 −11
Problem: Solve the following system of linear equations with the help of matrices:
𝑥1 + 2𝑥2 + 3𝑥3 = 5
2𝑥1 + 5𝑥2 + 3𝑥3 = 3
𝑥1 + 8𝑥3 = 17
Solution: The above system of linear equations can be written in matrix form as:
1 2 3 𝑥1 5
2 5 3 𝑥2 = 3 ⇒ 𝐴𝑋 = 𝐵 … … … 1
1 0 8 𝑥3 17
1 2 3 5 𝑥1
where, 𝐴 = 2 5 3 , 𝐵 = 3 and 𝑋 = 𝑥2 . Let 𝐷 be the determinant of the matrix 𝐴.
1 0 8 17 𝑥3
1 2 3
5 3 2 3 2 5
Then 𝐷 = 𝐴 = 2 5 3 = +1 −2 +3
0 8 1 8 1 0
1 0 8
= 1 40 − 0 − 2 16 − 3 + 3 0 − 5 = 40 − 26 − 15 = −𝟏
Since 𝐷 = 𝐴 = −1 ≠ 0, so the matrix 𝐴 is non-singular and hence 𝐴−1 exists. We multiply both sides of
equation (1) by 𝐴−1 on the left. Then we get 𝐴−1 𝐴𝑋 = 𝐴−1 𝐵 ⇒ 𝐼𝑋 = 𝐴−1 𝐵 ⇒ 𝑋 = 𝐴−1 𝐵 … … … (2)
5 3 2 3 2 5
𝐶11 = + = 40 − 0 = 40 𝐶12 = − = − 16 − 3 = −13 𝐶13 = + = 0 − 5 = −5
0 8 1 8 1 0
2 3 1 3 1 2
𝐶21 = − = − 16 − 0 = −16 𝐶22 = + =8−3=5 𝐶23 = − =− 0−2 =2
0 8 1 8 1 0
2 3 1 3 1 2
𝐶31 = + = 6 − 15 = −9 𝐶32 = − =− 3−6 =3 𝐶33 = + =5−4=1
5 3 2 3 2 5
40 −13 −5
∴ Cofactor matrix of 𝐴, 𝑐𝑜𝑓 𝐴 = 𝐶 = −16 5 2
−9 3 1
𝑇
40 −13 −5 40 −16 −9
𝑇 𝑇
∴ Adjoint matrix of 𝐴, 𝑎𝑑𝑗 𝐴 = 𝑐𝑜𝑓 𝐴 = 𝐶 = −16 5 2 = −13 5 3
−9 3 1 −5 2 1
1 1 40 −16 −9 −40 16 9
Thus 𝐴−1 = 𝑎𝑑𝑗 𝐴 = −13 5 3 = 13 −5 −3
𝐷 −1
−5 2 1 5 −2 −1
Now from equation 2 , we get
𝑋 = 𝐴−1 𝐵
𝑥1 −40 16 9 5 1
𝑥2 = 13 −5 −3 3 = −1
𝑥3 5 −2 −1 17 2
𝑥1 1
𝑥2 = −1
𝑥3 2
which gives 𝑥1 = 1, 𝑥2 = −1, 𝑥3 = 2
The characteristic roots characteristic vectors can also be written as 𝐴𝑋 = 𝜆𝐼𝑋, where 𝐼
being the unit matrix of order 𝑛 & 𝐴 = 𝑎𝑖𝑗 be a matrix of order 𝑛 × 𝑛. Now
Matrix Polynomials
Characteristic Matrix
Characteristic Polynomial
Characteristic Equation