- 2075 Bhadra · 3+5 marks
Linear solution techniques; CG two iterations
Short answer
Direct methods (Gauss elimination, LU, Cholesky) solve in finite steps; iterative methods (Jacobi, Gauss-Seidel, CG) improve a guess. With x0=(4,4,0), computing residuals and conjugate directions yields after two iterations x=(4,8,8).
Explain different solution techniques of linear equations. For the given linear system
using the starting vector , carry out two iterations of the conjugate gradient method and show the result.
Linear system is solved by:
- Direct methods (finite number of steps, exact apart from round-off): Gauss elimination (reduce to upper triangular form, back-substitute), Gauss-Jordan, LU decomposition, Cholesky decomposition for symmetric positive definite , and the matrix inverse. In FEM they use banded or skyline storage.
- Iterative methods (start from a guess and improve): Jacobi, Gauss-Seidel, successive over-relaxation, and the conjugate gradient method. They suit very large sparse systems since the matrix is never changed and no fill-in occurs. Jacobi and Gauss-Seidel need diagonal dominance for convergence; CG needs a symmetric positive definite matrix.
| Direct | Iterative |
|---|---|
| Fixed operation count | Number of iterations depends on tolerance |
| Fill-in within band/skyline | Keeps sparsity |
| Good for many load cases (factor once) | Good for very large systems |
Conjugate gradient, two iterations
, , .
, so
Iteration 1
Iteration 2
Answer: after two iterations with residual . A third iteration gives the exact solution (the system has unknowns).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Conjugate gradient three iterations (10,-6,0) · Computational Techniques in Civil Engineering, chapter 2
- Linear solution techniques; CG algorithm · Computational Techniques in Civil Engineering, chapter 2
- Conjugate gradient numerical (5 iterations) · Computational Techniques in Civil Engineering, chapter 2
- Conjugate gradient numerical (3,0,2 system) · Computational Techniques in Civil Engineering, chapter 2 · asked 2×
- Solution methods of linear equations with examples · Computational Techniques in Civil Engineering, chapter 2
- Conjugate gradient numerical (2,-1 system) · Computational Techniques in Civil Engineering, chapter 2 · asked 2×
- N-R two iterations, 2-bus system · Power System Analysis II, chapter 2
- Conjugate beam: slope and deflection at free end · Theory of Structures I, chapter 4
All Computational Techniques in Civil Engineering chapter 2 questions →