If the system is diagonally dominant then get assured that you will obtain the correct answer, else you have to re-arrange the equations. The success of Gauss Seidel method lies in the way in which the equations are written. We also solved an example problem and presented the error plot. The in-depth algorithm has been presented to code the method. As the Gauss-Seidel algorithm above involves a triple-loop (the iterative while-construct, pluss one loop in each physical direction), the naive python. In this tutorial, an attempt has been made to model the famous Gauss Seidel method. The updation of x in the same step speeds up the convergence rate.Ī system of liner equation can be written as − Though the method is very much similar to the Jacobi's method but the values of unknown (x) obtained in an iteration are used in the same iteration in Gauss Seidel whereas, in Jacobi's method they are used in the next iteration level. Gauss Seidel Method is the iterative method to solve any system of linear equations.