GaussSiedel Method 1 GaussSeidel Method An iterative method
![Gauss-Siedel Method 1 Gauss-Siedel Method 1](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-1.jpg)
![Gauss-Seidel Method An iterative method. Basic Procedure: -Algebraically solve each linear equation for xi Gauss-Seidel Method An iterative method. Basic Procedure: -Algebraically solve each linear equation for xi](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-2.jpg)
![Gauss-Seidel Method Why? The Gauss-Seidel Method allows the user to control round-off error. Elimination Gauss-Seidel Method Why? The Gauss-Seidel Method allows the user to control round-off error. Elimination](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-3.jpg)
![Gauss-Seidel Method Algorithm A set of n equations and n unknowns: If: the diagonal Gauss-Seidel Method Algorithm A set of n equations and n unknowns: If: the diagonal](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-4.jpg)
![Gauss-Seidel Method Algorithm Rewriting each equation From Equation 1 From equation 2 From equation Gauss-Seidel Method Algorithm Rewriting each equation From Equation 1 From equation 2 From equation](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-5.jpg)
![Gauss-Seidel Method Algorithm General Form of each equation http: //numerica lmethods. eng. usf. edu Gauss-Seidel Method Algorithm General Form of each equation http: //numerica lmethods. eng. usf. edu](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-6.jpg)
![Gauss-Seidel Method Algorithm General Form for any row ‘i’ How or where can this Gauss-Seidel Method Algorithm General Form for any row ‘i’ How or where can this](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-7.jpg)
![Gauss-Seidel Method Solve for the unknowns Assume an initial guess for [X] Use rewritten Gauss-Seidel Method Solve for the unknowns Assume an initial guess for [X] Use rewritten](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-8.jpg)
![Gauss-Seidel Method Calculate the Absolute Relative Approximate Error So when has the answer been Gauss-Seidel Method Calculate the Absolute Relative Approximate Error So when has the answer been](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-9.jpg)
![Gauss-Seidel Method: Example 2 Given the system of equations The coefficient matrix is: With Gauss-Seidel Method: Example 2 Given the system of equations The coefficient matrix is: With](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-10.jpg)
![Gauss-Seidel Method: Example 2 Checking if the coefficient matrix is diagonally dominant The inequalities Gauss-Seidel Method: Example 2 Checking if the coefficient matrix is diagonally dominant The inequalities](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-11.jpg)
![Gauss-Seidel Method: Example 2 Rewriting each equation With an initial guess of http: //numerica Gauss-Seidel Method: Example 2 Rewriting each equation With an initial guess of http: //numerica](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-12.jpg)
![Gauss-Seidel Method: Example 2 The absolute relative approximate error The maximum absolute relative error Gauss-Seidel Method: Example 2 The absolute relative approximate error The maximum absolute relative error](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-13.jpg)
![Gauss-Seidel Method: Example 2 After Iteration #1 Substituting the x values into the equations Gauss-Seidel Method: Example 2 After Iteration #1 Substituting the x values into the equations](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-14.jpg)
![Gauss-Seidel Method: Example 2 Iteration #2 absolute relative approximate error The maximum absolute relative Gauss-Seidel Method: Example 2 Iteration #2 absolute relative approximate error The maximum absolute relative](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-15.jpg)
![Gauss-Seidel Method: Example 2 Repeating more iterations, the following values are obtained Iteration a Gauss-Seidel Method: Example 2 Repeating more iterations, the following values are obtained Iteration a](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-16.jpg)
- Slides: 16
![GaussSiedel Method 1 Gauss-Siedel Method 1](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-1.jpg)
Gauss-Siedel Method 1
![GaussSeidel Method An iterative method Basic Procedure Algebraically solve each linear equation for xi Gauss-Seidel Method An iterative method. Basic Procedure: -Algebraically solve each linear equation for xi](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-2.jpg)
Gauss-Seidel Method An iterative method. Basic Procedure: -Algebraically solve each linear equation for xi -Assume an initial guess solution array -Solve for each xi and repeat -Use absolute relative approximate error after each iteration to check if error is within a pre-specified tolerance. http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Why The GaussSeidel Method allows the user to control roundoff error Elimination Gauss-Seidel Method Why? The Gauss-Seidel Method allows the user to control round-off error. Elimination](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-3.jpg)
Gauss-Seidel Method Why? The Gauss-Seidel Method allows the user to control round-off error. Elimination methods such as Gaussian Elimination and LU Decomposition are prone to round-off error. Also: If the physics of the problem are understood, a close initial guess can be made, decreasing the number of iterations needed. http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Algorithm A set of n equations and n unknowns If the diagonal Gauss-Seidel Method Algorithm A set of n equations and n unknowns: If: the diagonal](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-4.jpg)
Gauss-Seidel Method Algorithm A set of n equations and n unknowns: If: the diagonal elements are non-zero . . . Rewrite each equation solving for the corresponding unknown ex: First equation, solve for x 1 Second equation, solve for x 2 http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Algorithm Rewriting each equation From Equation 1 From equation 2 From equation Gauss-Seidel Method Algorithm Rewriting each equation From Equation 1 From equation 2 From equation](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-5.jpg)
Gauss-Seidel Method Algorithm Rewriting each equation From Equation 1 From equation 2 From equation n-1 From equation n http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Algorithm General Form of each equation http numerica lmethods eng usf edu Gauss-Seidel Method Algorithm General Form of each equation http: //numerica lmethods. eng. usf. edu](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-6.jpg)
Gauss-Seidel Method Algorithm General Form of each equation http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Algorithm General Form for any row i How or where can this Gauss-Seidel Method Algorithm General Form for any row ‘i’ How or where can this](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-7.jpg)
Gauss-Seidel Method Algorithm General Form for any row ‘i’ How or where can this equation be used? http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Solve for the unknowns Assume an initial guess for X Use rewritten Gauss-Seidel Method Solve for the unknowns Assume an initial guess for [X] Use rewritten](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-8.jpg)
Gauss-Seidel Method Solve for the unknowns Assume an initial guess for [X] Use rewritten equations to solve for each value of xi. Important: Remember to use the most recent value of xi. Which means to apply values calculated to the calculations remaining in the current iteration. http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Calculate the Absolute Relative Approximate Error So when has the answer been Gauss-Seidel Method Calculate the Absolute Relative Approximate Error So when has the answer been](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-9.jpg)
Gauss-Seidel Method Calculate the Absolute Relative Approximate Error So when has the answer been found? The iterations are stopped when the absolute relative approximate error is less than a prespecified tolerance for all unknowns. http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Example 2 Given the system of equations The coefficient matrix is With Gauss-Seidel Method: Example 2 Given the system of equations The coefficient matrix is: With](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-10.jpg)
Gauss-Seidel Method: Example 2 Given the system of equations The coefficient matrix is: With an initial guess of Will the solution converge using the Gauss-Siedel method? http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Example 2 Checking if the coefficient matrix is diagonally dominant The inequalities Gauss-Seidel Method: Example 2 Checking if the coefficient matrix is diagonally dominant The inequalities](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-11.jpg)
Gauss-Seidel Method: Example 2 Checking if the coefficient matrix is diagonally dominant The inequalities are all true and at least one row is strictly greater than: Therefore: The solution should converge using the Gauss-Siedel Method http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Example 2 Rewriting each equation With an initial guess of http numerica Gauss-Seidel Method: Example 2 Rewriting each equation With an initial guess of http: //numerica](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-12.jpg)
Gauss-Seidel Method: Example 2 Rewriting each equation With an initial guess of http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Example 2 The absolute relative approximate error The maximum absolute relative error Gauss-Seidel Method: Example 2 The absolute relative approximate error The maximum absolute relative error](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-13.jpg)
Gauss-Seidel Method: Example 2 The absolute relative approximate error The maximum absolute relative error after the first iteration is 100% http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Example 2 After Iteration 1 Substituting the x values into the equations Gauss-Seidel Method: Example 2 After Iteration #1 Substituting the x values into the equations](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-14.jpg)
Gauss-Seidel Method: Example 2 After Iteration #1 Substituting the x values into the equations After Iteration #2 http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Example 2 Iteration 2 absolute relative approximate error The maximum absolute relative Gauss-Seidel Method: Example 2 Iteration #2 absolute relative approximate error The maximum absolute relative](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-15.jpg)
Gauss-Seidel Method: Example 2 Iteration #2 absolute relative approximate error The maximum absolute relative error after the first iteration is 240. 62% This is much larger than the maximum absolute relative error obtained in iteration #1. Is this a problem? http: //numerica lmethods. eng. usf. edu
![GaussSeidel Method Example 2 Repeating more iterations the following values are obtained Iteration a Gauss-Seidel Method: Example 2 Repeating more iterations, the following values are obtained Iteration a](https://slidetodoc.com/presentation_image_h/e552bd3972a48f1152b0feae570a1700/image-16.jpg)
Gauss-Seidel Method: Example 2 Repeating more iterations, the following values are obtained Iteration a 1 1 2 3 4 5 6 0. 50000 0. 14679 0. 74275 0. 94675 0. 99177 0. 99919 a 2 67. 662 240. 62 80. 23 21. 547 4. 5394 0. 74260 4. 900 3. 7153 3. 1644 3. 0281 3. 0034 3. 0001 a 3 100. 00 31. 887 17. 409 4. 5012 0. 82240 0. 11000 3. 0923 3. 8118 3. 9708 3. 9971 4. 0001 67. 662 18. 876 4. 0042 0. 65798 0. 07499 0. 00000 The solution obtained is close to the exact solution of http: //numerica lmethods. eng. usf. edu
Iterative vs recursive
Iterative deepening a* search
Iterative project planning
Iterative project management
Iterative planning process
Iterative patterns
Iterative inorder traversal
Iterative improvement algorithm
Iterative sdlc
Iterative deepening search
Iterative deepening search example
Recursive vs iterative dns
Recursive and iterative query
Iterative server
Conditional and iterative statements
Recursive and iterative query
Iterative techniques in matrix algebra