Professional Documents
Culture Documents
Title: Solving Systems of Linear Equation Intended Learning Outcomes
Title: Solving Systems of Linear Equation Intended Learning Outcomes
Intended Learning Outcomes : At the end of this lesson, you should be able to :
1. Perform Gaussian-Jordan Elimination on a given system of linear equation
2. Perform Gauss-Seidel Method to solve a linear system of equations
Discussions :
1. Gauss-Jordan Elimination Method
Gauss-Jordan Elimination method is a variation of the Gaussian Elimination Method. It uses
the main diagonal with 1 as their coefficient. The method has two parts : Forward Elimination and
Back-Elimination. To illustrate the method, consider the system of simultaneous equations below :
5x + 3y + 2z = 16
2x + 6y - 3z = 38
4x + y - 9z = 27
Solve the system of linear equations above using the Gauss-Jordan Elimination Method
Solution :
Step 1 : Write the augmented matrix for the system
5 3 2 16
2 6 -3 38
4 1 -9 27
Forward Elimination
Step 2 : Divide row1 by 5 , divide row 2 by 2, divide row3 by 4
1 0.6000 0.4000 3.2000
1 3.0000 -1.5000 19.0000
1 0.2500 -2.2500 6.7500
x=1
y=5
z = -2 , (answer)
2. Gauss-Seidel Method
Gauss-Seidel method is a iterative method to approximate the unknowns in a linear system .
It uses an initial guess of unknowns to start the process. This method converges on diagonally
dominant matrices. To illustrate the method, consider the system of simultaneous equations below :
5x + 3y + 2z = 16
2x + 6y - 3z = 38
4x + y - 9z = 27
Solve the system of linear equations above using the Gauss-Seidel Method
Solution :
Step 1 : Write the equations in terms of the unknowns
x = 1/5 (16 – 3y - 2z)
y = 1/6 (38 - 2x + 3z)
z = -1/9 (27 - 4x - y)
x=1
y=5
z = -2 , (answer)
1. Solve the system of linear equations above using the Gauss-Jordan Elimination Method.
2. Solve the system of linear equations above using the Gauss-Seidel Method.
3. Verify your answers using the GNU Octave. (provide a screenshot of answer).
References :
1. Applied Numerical Methods with MATLAB for Engineers and Scientist
Steven C. Chapra, McGraw Hill International Edition 2005