- 2078 Kartik · 2+6 marks
Direct, iterative methods; Gauss-Seidel numerical
Short answer
Direct methods (Gauss elimination, LU, Cholesky) give exact solution in finite steps; iterative methods (Jacobi, Gauss-Seidel, SOR, CG) improve a guess. For the system, rearranging equations and iterating from (1,2,3) yields convergence to exact solution x=1, y=3, z=4 after six iterations.
What are the direct methods and iterative methods of solving linear equations? Solve the following set of linear equations by the Gauss-Seidel method starting with initial guess of .
Direct and iterative methods
- Direct methods give the solution in a finite, known number of operations (exact apart from round-off). Examples: Gauss elimination, Gauss-Jordan, LU and Cholesky decomposition, matrix inverse (Cramer's rule). They are best for small or dense systems.
- Iterative methods start from a trial vector and improve it repeatedly until the change is below a tolerance. Examples: Jacobi, Gauss-Seidel, SOR, conjugate gradient. They are best for large sparse systems and need convergence conditions such as diagonal dominance.
Gauss-Seidel solution
The system is diagonally dominant (, , ), so it converges. Rearranging:
Start .
| Iteration | |||
|---|---|---|---|
| 1 | 0.8333 | 3.6333 | 3.6974 |
| 2 | 0.7156 | 3.2384 | 3.9373 |
| 3 | 0.9143 | 3.0548 | 3.9903 |
| 4 | 0.9823 | 3.0094 | 3.9990 |
| 5 | 0.9973 | 3.0011 | 4.0000 |
| 6 | 0.9997 | 3.0000 | 4.0000 |
Example of iteration 1: ; ; .
Answer: (exact solution ).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- CG algorithm; Gauss-Seidel numerical · Computational Techniques in Civil Engineering, chapter 2
- Iterative methods for linear equations · Computational Techniques in Civil Engineering, chapter 2
- Solution methods of linear equations with examples · Computational Techniques in Civil Engineering, chapter 2
- Techniques of solving problems; FEM and FDM · Computational Techniques in Civil Engineering, chapter 1
- Gauss-Seidel: 10x+y-z=11.19 · Numerical Method, chapter 3
- Gauss-Seidel: four unknowns · Numerical Method, chapter 3
- Gauss-Seidel: 20x+y-2z=17 · Numerical Method, chapter 3
- Iterative method: 4 equations · Numerical Method, chapter 3 · asked 2×
All Computational Techniques in Civil Engineering chapter 2 questions →