← 返回资讯屏轩教育 · 行业资讯

Gauss-Seidel Iteration Method for Solving Linear Systems | 高斯-赛德尔迭代法求解线性方程组

2026-08-30 17:10 · 本文部分内容由AI辅助创作

📚 Gauss-Seidel Iteration Method for Solving Linear Systems | 高斯-赛德尔迭代法求解线性方程组

The Gauss-Seidel iteration method is a classical iterative technique for solving a system of linear equations Ax = b. It is particularly useful for large, sparse systems where direct methods such as Gaussian elimination are computationally expensive. The method updates each unknown sequentially, using the most recently computed values, which often leads to faster convergence than the Jacobi method.

高斯-赛德尔迭代法是一种经典的求解线性方程组 Ax = b 的迭代技术。它特别适用于大型稀疏方程组,此时高斯消元等直接方法计算成本过高。该方法按顺序逐个更新未知量,并使用最新计算出的值,因此通常比雅可比方法收敛更快。


1. Problem Setup | 问题设定

Consider a linear system of n equations in n unknowns:

考虑一个包含 n 个未知数、n 个方程的线性方程组:

a11x1 + a12x2 + ⋯ + a1nxn = b1
a21x1 + a22x2 + ⋯ + a2nxn = b2
vdots
an1x1 + an2x2 + ⋯ + annxn = bn

The goal is to find the vector x = (x1, x2, …, xn)T that satisfies the system, assuming a unique solution exists.

目标是找到满足方程组的向量 x = (x1, x2, …, xn)T,并假设解存在且唯一。


2. Iterative Idea | 迭代思想

Instead of solving the system directly, iterative methods generate a sequence of approximate solutions x(0), x(1), x(2), … that converge to the true solution. Each iteration refines the previous approximation using a splitting of the coefficient matrix A.

迭代方法不直接求解方程组,而是生成一系列近似解 x(0), x(1), x(2), …,它们逐步收敛到精确解。每一次迭代都利用系数矩阵 A 的分解来改进上一次的近似值。

For the Gauss-Seidel method, we split A into a lower triangular part L*, a diagonal part D, and a strictly upper triangular part U*:

对于高斯-赛德尔方法,我们将 A 分解为一个下三角部分 L*、一个对角部分 D 和一个严格上三角部分 U*:

A = L* + D + U*

where L* contains entries below the diagonal, D contains the diagonal entries, and U* contains entries above the diagonal.

其中 L* 包含对角线以下的元素,D 包含对角线元素,U* 包含对角线以上的元素。


3. Derivation of the Update Formula | 更新公式的推导

From the i-th equation:

由第 i 个方程出发:

ai1x1 + ai2x2 + ⋯ + ainxn = bi

We solve for xi, assuming the other components are known:

我们解出 xi,并假设其余分量已知:

xi = 1⁄aii ( bi - ∑j=1i-1 aijxj - ∑j=i+1n aijxj )

In the Gauss-Seidel iteration, the latest available values are used: for j < i, we use the values from the current iteration xj(k+1); for j > i, we use values from the previous iteration xj(k).

在高斯-赛德尔迭代中,我们使用最新的可用值:对于 j < i,使用当前迭代的值 xj(k+1);对于 j > i,使用上一迭代的值 xj(k)。


4. Algorithm Steps | 算法步骤

Given an initial guess x(0), repeat the following for k = 0, 1, 2, … until convergence:

给定初始猜测 x(0),对 k = 0, 1, 2, … 重复以下步骤直到收敛:

The process continues until the difference between successive iterates is smaller than a given tolerance ε.

该过程持续进行,直到相邻两次迭代的差小于给定的容差 ε。


5. Matrix Formulation | 矩阵形式

The Gauss-Seidel iteration can be written in matrix form. Using the splitting A = L* + D + U*, the update is:

高斯-赛德尔迭代可以用矩阵形式写成。利用分解 A = L* + D + U*,更新式为:

(L* + D)x(k+1) = b - U* x(k)

Thus the iteration matrix is:

因此迭代矩阵为:

x(k+1) = (L* + D)-1 (b - U* x(k))

Equivalently, x(k+1) = (L* + D)-1b + BGS x(k), where BGS = -(L* + D)-1 U*.

等价地,x(k+1) = (L* + D)-1b + BGS x(k),其中 BGS = -(L* + D)-1 U*。


6. Worked Example | 算例演示

Solve the following system using Gauss-Seidel iteration:

使用高斯-赛德尔迭代法求解以下方程组:

10x1 + 2x2 + x3 = 14
2x1 + 10x2 + 3x3 = 19
x1 + 3x2 + 10x3 = 23

From each equation, we isolate the diagonal variable:

从每个方程中分离出对角线变量:

x1 = 110(14 - 2x2 - x3)
x2 = 110(19 - 2x1 - 3x3)
x3 = 110(23 - x1 - 3x2)

Starting with initial guess x(0) = (0, 0, 0)T:

从初始猜测 x(0) = (0, 0, 0)T 开始:

Continue iterating until the values stabilize. The exact solution is x = (1, 1, 2)T.

继续迭代直到数值稳定。精确解为 x = (1, 1, 2)T。


广告 / Sponsored

7. Convergence Criteria | 收敛条件

A sufficient condition for convergence of the Gauss-Seidel method is that the coefficient matrix A is strictly diagonally dominant:

高斯-赛德尔方法收敛的一个充分条件是系数矩阵 A 严格对角占优:

|aii| > ∑j ≠ i |aij| for all i

Another sufficient condition is that A is symmetric positive definite.

另一个充分条件是 A 对称正定。

More generally, convergence depends on the spectral radius of the iteration matrix BGS. If ρ(BGS) < 1, the iteration converges for any initial guess.

更一般地,收敛性取决于迭代矩阵 BGS 的谱半径。如果 ρ(BGS) < 1,则迭代对任意初始猜测都收敛。


8. Comparison with Jacobi Method | 与雅可比方法的比较

In the Jacobi method, all components are updated simultaneously using only values from the previous iteration:

在雅可比方法中,所有分量同时更新,且仅使用上一迭代的值:

xi(k+1) = 1⁄aii ( bi - ∑j ≠ i aijxj(k) )

The Gauss-Seidel method uses updated components immediately. This often accelerates convergence, especially when the matrix is diagonally dominant or positive definite.

高斯-赛德尔方法则立即使用已更新的分量。这通常会加速收敛,尤其是当矩阵对角占优或正定时。

However, Gauss-Seidel is inherently sequential and cannot be parallelized as easily as Jacobi.

然而,高斯-赛德尔本质上是顺序执行的,不像雅可比方法那样容易并行化。


9. Advantages and Disadvantages | 优点与缺点

Advantages:

优点:

Disadvantages:

缺点:


10. Applications in IB Mathematics | 在IB数学中的应用

In IB Mathematics, numerical methods are often introduced in the context of solving systems of equations that arise in real-world modelling. Gauss-Seidel iteration is particularly relevant in:

在IB数学中,数值方法常结合现实建模中产生的方程组求解来介绍。高斯-赛德尔迭代在以下情境中尤其相关:

Students should be able to perform several iterations manually and use technology to compute more extensive approximations.

学生应能手动进行几次迭代,并使用技术工具计算更精确的近似解。


11. Tips for Exam Questions | 考试答题技巧

When solving Gauss-Seidel questions in an exam:

在考试中解答高斯-赛德尔问题时:

Iteration kx1(k)x2(k)x3(k)
0000
11.41.621.674

12. Summary | 总结

The Gauss-Seidel method is a powerful iterative tool for solving linear systems, especially when the coefficient matrix is large and sparse. Its sequential nature gives it a convergence advantage over Jacobi, provided the matrix satisfies certain conditions. Understanding its formulation, convergence criteria, and practical implementation is essential for IB Mathematics students.

高斯-赛德尔方法是求解线性方程组的强大迭代工具,尤其适用于大型稀疏系数矩阵。其顺序更新特性使它在满足一定条件时比雅可比方法更具收敛优势。理解其公式、收敛条件和实际应用,对IB数学学生来说至关重要。

Published by TutorHao | Mathematics Revision Series | aleveler.com

广告 / Sponsored
官网正版 国际课程数学核心词汇 唯寻国际教育 全英 学科 GCSE A Level IB MYP IB IBDP 美高…
数学 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥19.7

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao