Professional Documents
Culture Documents
Lecture 11 - Solving Equations by Gauss Seidel Method
Lecture 11 - Solving Equations by Gauss Seidel Method
Outline
• Gauss-Seidel Method
• Gauss Seidel Solving Steps
• Stopping Criteria
• Which one is Jacobi/Gauss Seidel?
• Solved Example
• Self-Check Exercise
Gauss-Seidel Method
• Gauss–Seidel Method is used to solve the linear system Equations.
• It is an improved form of Jacobi method, also known as the successive displacement
method.
• It is a method of iteration for solving n linear equation with the unknown variables.
• The difference between the Gauss–Seidel and Jacobi methods is that the Jacobi
method uses the values obtained from the previous step while the Gauss–Seidel
method always applies the latest updated values during the iterative procedures.
• The reason the Gauss–Seidel method is commonly known as the successive
displacement method is because the second unknown is determined from the first
unknown in the current iteration, the third unknown is determined from the first
and second unknowns, etc.
Gauss Seidel Solving Steps
• Given a general set of n equations and n unknowns, we have:
Now to find xi ’s, one assumes an initial guess for the xi ’s and then uses the rewritten equations to calculate the
new estimates. Remember, one always uses the most recent estimates to calculate the next estimates, x i .
Stopping Criteria
• At
the end of each iteration, one calculates the absolute relative approximate
error for each xi as
xinew xold
a i
i
100
xnew
i
• where is the recently obtained value of xi , and is the previous value of xi. When
the absolute relative approximate error for each xi is less than the pre-specified
tolerance, the iterations are stopped.
Which one is Jacobi/Gauss Seidel?
Which one is Jacobi/Gauss Seidel?