You are on page 1of 3

Gauss-Jordan Method Continued….

Example Solve the linear system of equation using Gauss-Jordan method

𝑥 + 4𝑦 − 𝑧 = 12
{
3𝑥 + 8𝑦 − 2𝑧 = 4
Solution.
1 4 −1 : 12
[ ]
3 8 −2 : 4
1 4 −1 : 12
[ ] ~~~~~~~~~~~ 𝑅2 − 3𝑅1
0 −4 1 ∶ −32
1 4 −1 : 12 1
[ − 𝑅2
∶8]
1 ~~~~~~~~~~~
0 1 − 4
4
1 0 0 : −20
[ 𝑅1 −4𝑅2
∶8 ]
1 ~~~~~~~~~~~
0 1 −
4

Let 𝑧 = 𝑡,
1
𝑦 =8+ 𝑡
4
1
So Solution of this system is (−20, 8 + 𝑡, 𝑡).
4

Example 2
Solve the following systems of linear equations using Gauss Jordan elimination
method:

𝑥 + 2𝑦 + 𝑧 = 12
i) {5𝑥 + 2𝑦 − 3𝑧 = 1
2𝑥 + 𝑦 − 𝑧 = 2
Solution:
1 2 1 : 12
[5 2 −3 : 1 ]
2 1 −1 : 2
1 2 1 : 12
[0 −8 −8 : −59 ] ~~~~~~~~~~~ 𝑅2 − 5𝑅1
2 1 −1 : 2

1 2 1 : 12
[0 −8 −8 : −59 ] ~~~~~~~~~~~ 𝑅3 − 2𝑅1
0 −3 −3 : −22
1 2 1 : 12
59 1
[0 1 1 ∶
8
] ~~~~~~~~~~~ − 𝑅2
8
0 −3 −3 : −22
1 2 1 : 12
59
[0 1 1 ∶ 8 ] ~~~~~~~~~~~ 𝑅3 + 3𝑅2
1
0 0 0 :
8

So the above system has no solution.

𝑥 + 2𝑦 + 3𝑧 = 6
ii) {2𝑥 − 3𝑦 + 2𝑧 = 14
3𝑥 + 𝑦 − 𝑧 = −2

Solution:
1 2 3 :6
[2 −3 2 : 14 ]
3 1 −1 : −2
1 2 3 :6
[0 −7 −4 : 2 ] ~~~~~~~~~~~ 𝑅2 − 2𝑅1
3 1 −1 : −2
1 2 3 :6
[0 −7 −4 : 2 ] ~~~~~~~~~~~ 𝑅3 − 3𝑅1
0 −5 −10 : −20
.
.
.
1 0 0 :1
[0 1 0 ∶ −2 ] So the above system has solution (1, -2, 3).
0 0 1 :3

𝑥 + 2𝑦 − 3𝑧 = −4
(iii) {
2𝑥 + 𝑦 − 3𝑧 = 4

Solution: … The above system has solution (4+t, t-4, t).

Work to do:
Howard Anton (Exercise 1.2)
Determine the values of 𝑎 for which the system has no solutions, exactly one solution, or
infinite many solutions.

You might also like