0% found this document useful (0 votes)
2 views

Gauss Jordan Method

The document outlines the Gauss-Jordan Elimination Method for solving linear equations, detailing the steps to convert equations into matrix form, reduce the augmented matrix, and find solutions directly. It includes specific examples with step-by-step solutions for three sets of linear equations. The document is authored by Eng. N. Sulaxshan from the Department of Interdisciplinary Studies at South Eastern University of Sri Lanka.

Uploaded by

Prem Myuresan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Gauss Jordan Method

The document outlines the Gauss-Jordan Elimination Method for solving linear equations, detailing the steps to convert equations into matrix form, reduce the augmented matrix, and find solutions directly. It includes specific examples with step-by-step solutions for three sets of linear equations. The document is authored by Eng. N. Sulaxshan from the Department of Interdisciplinary Studies at South Eastern University of Sri Lanka.

Uploaded by

Prem Myuresan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Numerical Methods

ID 52002

Eng.N.Sulaxshan
Lecturer in Mathematics

Department of Interdisciplinary Studies,


Faculty of Engineering,
South Eastern University of Sri Lanka
13/Aug/2020
Gauss-Jordan Elimination Method
This is modification of Gaussian Elimination
Method which each equation consists of only one
unknown and thus, we get the solution Directly

1. Change linear equations into matrix form


AX=B
2. Reduce Augmented Matrix to Diagonal
Metrix by using Raw Operation of Matrix
only
3. Find the solutions directly.
13/Aug/2020
Questions : Solve the linear equations by Gauss
– Jordan Elimination Method Method
1. x + 2y + z = 0
2x+ 2y + 3z = 3
-x -3y =2
Answer
2. 2x + 2y + 4z = 18
x +3y + 2z = 13
3x + y +3z = 14
Answer
3. 5x + 3y + 2z = 2
x + 5y + z = 6
2x + y + 6 z = 11
Answer
13/Aug/2020
1) 𝑥 + 2𝑦 + 𝑧 = 0 Matrix Form
2𝑥 + 2𝑦 + 3𝑧 = 3 1 2 1 𝑥 0
−𝑥 − 3𝑦 =2 2 2 3 𝑦 = 3
−1 −3 0 𝑧 2
Augmented matrix form
1 2 10 𝑅2 → 𝑅2 − 2𝑅1 1 1 2 10
2 1 0 𝑅3 → 2𝑅3 − 𝑅2
2 2 33 0 −2 1 3
0 −2 1 3
−1 −3 0 2 𝑅3 → 𝑅3 + 𝑅1 0 0 11
0 −1 1 2
𝑅1 → 𝑅1 − 𝑅3
𝑅2 → 𝑅2 − 𝑅3

1 0 0 1 −1
𝑅 ← 𝑅2 1 0 01 𝑅1 + 𝑅2 ← 𝑅1 1 2 0 −1
0 1 0 −1 2 2 0 −2 0 2
0 −2 0 2
0 0 1 1 0 0 11 0 0 1 1

So, Hence,
𝒙=𝟏
1 0 0 𝑥 1 𝒚 = −𝟏
0 1 0 𝑦 = −1
0 0 1 𝑧 1 𝒛=𝟏
13/Aug/2020
2) 2𝑥 + 2𝑦 + 4𝑧 = 18 Matrix Form
𝑥 + 3𝑦 + 2𝑧 = 13 2 2 4 𝑥 18
3𝑥 + 𝑦 + 3𝑧 = 14 1 3 2 𝑦 = 13
3 1 3 𝑧 14
Augmented matrix form

2 2 4 18 𝑅1 → 𝑅1 /2 1 1 2 9 𝑅2 → 𝑅2 − 𝑅1 1 2 1 9
1 3 2 13 1 3 2 13 0 2 0 4
3 1 3 14 3 1 3 14 𝑅3 → 𝑅3 − 3𝑅1 0 −2 −3 −13
𝑅2 → 𝑅2 /2

−1
𝑅 ← 𝑅3 1 2 1 9 𝑅3 + 2𝑅2 ← 𝑅3 1 2 1 9
1 2 19 3 3
0 1 02 0 1 0 2 0 1 0 2
0 0 13 0 0 −3 −9 0 −2 −3 −13
So,
1 0 0 𝑥 1
𝑅1 → 𝑅1 − 2𝑅3 0 1 0 𝑦 = 2
0 0 1 𝑧 3
1 1 03 𝑅1 → 𝑅1 − 𝑅2 1 0 01 Hence,
0 1 02 0 1 02 𝒙=𝟏
0 0 13 0 0 13 𝒚=𝟐
13/Aug/2020
𝒛=𝟑
3) 5𝑥 + 3𝑦 + 2𝑧 = 2 Matrix Form
𝑥 + 5𝑦 + 𝑧 = 6 5 3 2 𝑥 2
2𝑥 + 𝑦 + 6𝑧 = 11 1 5 1 𝑦 = 6
2 1 6 𝑧 11
Augmented matrix form
5 3 2 2 𝑅2 → 5𝑅2 − 𝑅1 5 3 2 2 5 3 2 2
1 5 1 6 0 22 3 28 0 22 3 28
2 1 6 11 𝑅3 → 5𝑅3 − 2𝑅1 0 −1 26 51 𝑅3 → 22𝑅3 + 𝑅2 0 0 575 1150

𝑅3 → 𝑅3 /575
1
5 3 0 −2 𝑅 ← 𝑅2 5 3 0 −2 𝑅1 − 2𝑅3 ← 𝑅1 5 3 2 2
22 2
0 1 0 1 0 22 0 22 0 22 3 28
0 0 1 2 0 0 1 2 𝑅2 − 3𝑅3 ← 𝑅2
0 0 1 2
So,
𝑅1 → 𝑅1 − 3𝑅2 1 0 0 𝑥 −1
0 1 0 𝑦 = 1
0 0 1 𝑧 2
5 0 0 −5 𝑅1 → 𝑅1 /5 1 0 0 −1
0 1 0 1 0 1 0 1 Hence,
0 0 1 2 0 0 1 2 𝒙 = −𝟏
𝒚=𝟏
13/Aug/2020
𝒛=𝟐
Solve linear equations by Gauss-Jordan
Elimination Method
2w+ x+ 2y+ z = 6
6w- 6x+ 6y+12z = 36
4w+ 3x+ 3y- 3z = -1
2w+ 2x- y+ z =10
Answer

13/Aug/2020
13/Aug/2020

You might also like