---
title: "Iterative methods for linear equations"
subject: "Computational Techniques in Civil Engineering"
chapter: 2
key: "semester_8/computational_techniques_in_civil_engineering:iterative-methods-linear-equations"
source: https://www.bctengineer.com/q/semester_8/computational_techniques_in_civil_engineering/iterative-methods-linear-equations
site: BCT Engineering
---

# Iterative methods for linear equations

Computational Techniques in Civil Engineering · Chapter 2: Solutions of linear equations

- Asked in: 2078 Chaitra, 3 marks
- Video: [Jacobi method | Iterative method | Solution of Linear System Equation](https://www.youtube.com/watch?v=jPv5pP1kOco) — Dr.Gajendra Purohit
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_8/computational_techniques_in_civil_engineering/iterative-methods-linear-equations
- Whole chapter: https://www.bctengineer.com/md/semester_8/computational_techniques_in_civil_engineering/chapter-2

## Question

Briefly explain the different iterative methods used for the solution of a given set of equations.

## Short answer

Iterative methods improve an initial guess for large sparse systems. Jacobi uses only previous iteration values; Gauss-Seidel uses latest values immediately, converging twice as fast. Successive over-relaxation (ω between 1 and 2) accelerates convergence. Conjugate gradient minimizes energy along conjugate directions for symmetric positive definite matrices and converges in at most n steps.

## Answer

Iterative methods start from an assumed solution and improve it repeatedly until the change is within tolerance. They are used for large sparse systems $[A]\{x\}=\{b\}$ and need diagonal dominance (or symmetry and positive definiteness) for convergence.

1. **Jacobi method:** every unknown is computed using values of the previous iteration only.
$$
x_i^{(k+1)}=\frac{1}{a_{ii}}\Big(b_i-\sum_{j\ne i}a_{ij}x_j^{(k)}\Big)
$$
2. **Gauss-Seidel method:** newly computed values are used immediately in the same iteration:
$$
x_i^{(k+1)}=\frac{1}{a_{ii}}\Big(b_i-\sum_{j<i}a_{ij}x_j^{(k+1)}-\sum_{j>i}a_{ij}x_j^{(k)}\Big)
$$
It converges about twice as fast as Jacobi.
3. **Successive over-relaxation (SOR):** $x_i^{new}=(1-\omega)x_i^{old}+\omega\,x_i^{GS}$ with $1<\omega<2$ to speed up convergence.
4. **Conjugate gradient method:** for symmetric positive definite matrices; minimises the quadratic energy along conjugate directions and converges in at most $n$ steps.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. In the Jacobi method each unknown is calculated using...
   A. Newly computed values
   B. Values from the previous iteration only
   C. Gradient of energy
   D. Residual direction
   Answer: B. Jacobi is fully based on old values. (Key point: Jacobi)

2. What does SOR do?
   A. Blends old and Gauss-Seidel values with factor omega (1 to 2) to speed up convergence
   B. Uses conjugate directions
   C. Uses omega < 1 to slow
   D. Uses only old values
   Answer: A. x_new = (1-omega) x_old + omega x_GS. (Key point: SOR)

3. What helps Jacobi/Gauss-Seidel converge?
   A. Matrix being sparse
   B. Matrix being full
   C. Unsymmetry
   D. Diagonal dominance
   Answer: D. Iterative methods need diagonal dominance or symmetry and positive definiteness. (Key point: Convergence)

## Related in Computational Techniques in Civil Engineering

- [Solution methods of linear equations with examples](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Asolution-methods-linear-examples) — Computational Techniques in Civil Engineering, chapter 2
- [Linear solution techniques; CG two iterations](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Asolution-techniques-cg-numerical-two-iter) — Computational Techniques in Civil Engineering, chapter 2
- [Linear solution techniques; CG algorithm](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Asolution-techniques-cg-algorithm) — Computational Techniques in Civil Engineering, chapter 2
- [Direct, iterative methods; Gauss-Seidel numerical](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Adirect-iterative-gauss-seidel) — Computational Techniques in Civil Engineering, chapter 2
- [Characteristic form FD solution (velocity, pressure)](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Acharacteristic-fd-velocity-pressure) — Computational Techniques in Civil Engineering, chapter 6, asked 2×
- [Numerical solution techniques, advantages and suitability](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Anumerical-solution-techniques-compare) — Computational Techniques in Civil Engineering, chapter 1, asked 4×

## Related in other subjects

- [Iterative method: 4 equations](https://www.bctengineer.com/question.md?key=semester_4%2Fnumerical_method%3Aiterative-method-four-equations) — Numerical Method, chapter 3, asked 2×
- [Least squares significance, normal equations](https://www.bctengineer.com/question.md?key=semester_4%2Fnumerical_method%3Aleast-squares-significance-normal) — Numerical Method, chapter 4
- [Consistency of a linear system](https://www.bctengineer.com/question.md?key=semester_3%2Fmathematics_iii%3Aconsistency-of-a-linear-system-nine) — Mathematics III, chapter 1
- [TST vs STS; DTMF set pros and cons](https://www.bctengineer.com/question.md?key=semester_8%2Ftelecommunications%3Atst-sts-compare-dtmf) — Telecommunications, chapter 4
