Professional Documents
Culture Documents
Elementary Transformations L2
Elementary Transformations L2
1 −1 2 3
~ [0 3 1
32
5 ] 𝑅3 + 1 𝑅2
64 3
0 0 − −
3 3
Thus, we have;
𝑥 − 𝑦 + 2𝑧 = 3
3𝑦 + 𝑧 = 2
32 64
− 𝑧=− ⟹𝑧=2
3 3
∴ 𝑥1 + 2𝑥2 − 𝑥3 = 1
−8𝑥2 + 5𝑥3 = −1
Let 𝑥3 = 𝑘
⟹ −8𝑥2 + 5𝑥3 = −1
1 1
𝑥2 = 8 (5𝑘 + 1) and 𝑥1 + 4 (5𝑘 + 1) − 𝑘 = 1
𝑘 3
⟹ 𝑥1 = − 4 + 4 (this equation has infinity solutions).
Example 3
Solve the following equations by using Gauss-Elimination method.
2𝑥1 + 4𝑥2 + 𝑥3 = 1, 3𝑥1 + 2𝑥2 − 2𝑥3 = −2 , 𝑥1 − 𝑥2 + 𝑥3 = 6.
2 4 1 3 1 −1 1 6 1 −1 1 6 𝑅 − 3𝑅
[3 2 −2 −2 ] ~ [2 4 1 3 ] 𝑅1 ↔ 𝑅3 ~ [0 6 −1 −9 ] 𝑅2 − 7𝑅1
3 1
1 −1 1 6 3 2 −2 −2 0 5 −5 −20
1 −1 1 6
[0 6 −1 −9 ] 𝑅 − 5 𝑅
20 25 3 6 2
0 0 −6 −
2
20 25
∴ − 𝑥3 = − , 6𝑥2 − 𝑥3 = −9 𝑥1 − 𝑥2 + 𝑥3 = 6
6 2
25 6
𝑥3 = − ∙ − 25 , 6𝑥2 − 3 = −9 𝑥1 − (−1) + 3 = 6
2
𝑥3 = 3 , 𝑥2 = −1 𝑥1 = 2
Intersect
𝑥 + 2𝑦 = 4
} This has infinite solutions
3𝑥 + 6𝑦 = 12
y
●
● ●
One line
2) Inconsistent: When a system of equations has no solution
e.g.
𝑥 + 2𝑦 = 4
} This has no solution, hence it is inconsistent.
3𝑥 − 6𝑦 = 5
y
Parallel lines
Example 1
Show that the equations
2𝑥 + 6𝑦 = −1, 6𝑥 + 20𝑦 − 6𝑧 = −3, 6𝑦 − 18𝑧 = −1
Are not consistent.
Augmented matrix 𝐶 = [𝐴 𝐵]
2 6 0 −1 2 6 0 −11
[6 20 −6 −3 ] ~ [0 2 −6 30 ] 𝑅2 − 3𝑅1
0 6 −18 −1 0 6 −18 −1
2 6 0 −11
~ [0 2 −6 30 ] 𝑅3 − 3𝑅1
0 0 0 −91
∴ The rank of 𝐶 = 3 and the rank of 𝐴 = 2
Rank A≠Rank C, thus the equations are not consistent.
Example 2
Test the consistency and solve;
5𝑥 + 3𝑦 + 7𝑧 = 4, 3𝑥 + 26𝑦 + 2𝑧 = 9, 7𝑥 + 2𝑦 + 10𝑧 = 5
3 7 4
5 3 7 4 1
𝐶 = [𝐴 𝐵] ⟹ [3 26 2 9 ] ~ [3
5
26
5
2
5 1
9 ] 5 𝑅1
7 2 10 5 7 2 10 5
Let 𝑧 = 𝑘
3 1 7 4
Then 11𝑦 − 𝑘 = 3 and 𝑥 + 5 ∙ 11 (3 + 𝑘) + 5 𝑘 = 5 𝑧
1 16 7
𝑦= (3 + 𝑘) ⟹𝑥=− 𝑘+
11 11 11
Exercise
Discuss the consistency of the following system of equations;
2𝑥 + 3𝑦 + 4𝑧 = 11 , 𝑥 + 5𝑦 + 7𝑧 = 15 , 3𝑥 + 11𝑦 + 13𝑧 = 25
Ans: Rank of 𝐶 = 3 = Rank of A
Hence, consistent with a unique solution.
Characteristic roots or Eigen values
a) For a given square matrix 𝐴, 𝐴 − 𝜆𝐼 matrix is called the characteristic matrix,
where 𝜆 is a scalar and 𝐼 is the unit matrix.
2 2 1
Let 𝐴 = [1 3 1]
1 2 2
2 2 1 1 0 0 2−𝜆 2 1
𝐴 − 𝜆𝐼 = [1 3 1] − 𝜆 [0 1 0] = [ 1 3−𝜆 1 ]
1 2 2 0 0 1 1 2 2−𝜆
Lecture notes by A. Zulu/@cbu/2019 5
b) Characteristic polynomial
The determinant |𝐴 − 𝜆𝐼| when expanded will give a polynomial, which we call
as characteristic polynomial of matrix A.
2−𝜆 2 1
e.g. | 1 3−𝜆 1 | = (2 − 𝜆)(6 − 5𝜆 + 𝜆2 − 2) − 2(2 − 𝜆 − 1) + 1(2 − 3 + 𝜆)
1 2 2−𝜆
= −𝜆3 + 7𝜆2 − 11𝜆 + 5
c) Characteristic equation
The equation |𝐴 − 𝜆𝐼| = 0 is called the characteristic equation of matrix A.
e.g. 𝜆3 − 7𝜆2 + 11𝜆 − 5 = 0
Properties of Eigenvalues
1) If A is any matrix and 𝐴′ is its transport, then A and 𝐴′ have the same eigen
values.
The sum of elements on the principle diagonal of a matrix is called the trace
of a matrix.
2) The sum of the eigen values is equal to the trace of the matrix.
1 1 1
iii) 𝐴−1 are , ,… ,
𝜆1 𝜆2 𝜆𝑛
Example 2
1 2 −3
If 𝐴 = |0 3 2 | , find the eigen values of 3𝐴3 + 5𝐴2 − 6𝐴 + 2𝐼
0 0 −2
1−𝜆 2 3
|𝐴 − 𝜆𝐼| = 0 ⟹ [ 0 3−𝜆 2 ]=0
0 0 −2 − 𝜆
(1 − 𝜆)(8 − 𝜆)(−2 − 𝜆) = 0 ,
𝜆 = 1 , 3 , −2
Eigenvalues of
𝐴3 = 1 , 27, − 8
Eigenvalues of
𝐴2 = 1 , 9, 4
Eigenvalues of
𝐴 =1, 3, − 2
Eigenvalues of
𝐼 =1, 1, 1