- 2070 Bhadra · 4 marks
Why conjugate gradient over Gaussian methods
Short answer
Gaussian elimination produces fill-in and costs roughly n^3/3 operations, while CG needs only matrix-vector products and stores just the nonzeros, so it suits large sparse systems. CG can stop early, corrects round-off using the original matrix, and parallelizes easily, but requires a symmetric positive definite matrix.
Why is the conjugate gradient method used in computation over Gaussian methods?
Gaussian elimination is a direct method that reduces to triangular form, while the conjugate gradient (CG) method is an iterative method that minimises along A-conjugate directions. CG is preferred for large problems for these reasons:
- Memory: CG needs only matrix-vector products , so only the non-zero terms of the sparse matrix are stored. Gaussian elimination produces fill-in, which destroys sparsity inside the band.
- Operation count: each CG iteration costs about operations, and a good solution often comes in far fewer than iterations, whereas elimination costs about (or for a banded matrix).
- Accuracy: round-off errors in elimination accumulate over steps; in CG each iteration uses the original matrix and corrects the error.
- Flexibility: the solution can be stopped when the residual is small enough, and a good starting guess can be used; elimination cannot be stopped early.
- Parallelism: matrix-vector products are easy to parallelise, and the matrix need not even be assembled (element-by-element products).
- In exact arithmetic CG finishes in at most steps and with preconditioning converges faster.
Limitation: CG is applicable only to symmetric positive definite matrices, and for several load vectors a factorised direct solver may be cheaper.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Conjugate gradient method and algorithm · Computational Techniques in Civil Engineering, chapter 2 · asked 2×
- Conjugate gradient numerical (2,-1 system) · Computational Techniques in Civil Engineering, chapter 2 · asked 2×
- Conjugate gradient numerical (3,0,2 system) · Computational Techniques in Civil Engineering, chapter 2 · asked 2×
- Conjugate gradient three iterations (10,-6,0) · Computational Techniques in Civil Engineering, chapter 2
- Conjugate gradient numerical (5 iterations) · Computational Techniques in Civil Engineering, chapter 2
- Conjugate beam: slope and deflection at free end C · Theory of Structures I, chapter 4 · asked 2×
- Conjugate beam: stepped symmetric beam · Theory of Structures I, chapter 4
- Conjugate beam: slope and deflection at C · Theory of Structures I, chapter 4
- Conjugate beam: rotation at A, deflection at C · Theory of Structures I, chapter 4
All Computational Techniques in Civil Engineering chapter 2 questions →