7.3. Convergence of indirect methods#
We have seen that both the Jacobi and Gauss-Seidel methods are iterated until the estimates of the solution converge to a given tolerance. In Example 7.1 required 49 iterations to converge to the solution of a system of linear equations whereas in Example 7.2 only required 20 iterations to converge to the solution for the same system.
Not all indirect methods will converge for a given system of linear equations, we can establish whether a method will be convergent using the theorem below. Let \(\vec{e}^{(k)} = \|\vec{x} - \vec{x}^{(k)}\|\) be the error between the exact solution \(\vec{x}\) and the estimate \(\vec{x}^{(k)}\). The error from one estimate to the next is updated using the iteration matrix for the method
We can write the first error, \(\vec{e}^{(0)}\) as a linear combination of some vectors \(\vec{v}_i\)
where \(\alpha_i\) are scalars. If \(\vec{v}_i\) are the eigenvalues of the iteration matrix \(T\) with eigenvalues \(\lambda_i\) so \(T\vec{v}_i = \lambda_i \vec{v}_i\) then iterating \(\vec{e}^{(k)}\) gives
If \(|\lambda_1|>\lambda_2, \lambda_3, \ldots \lambda_n\) then
and since \(\lambda_i / \lambda_ 1 < 1\) then
This means that as the number of iterations increases, the error varies by a factor of \(\lambda_1^{k+1}\) where \(\lambda_1\) is the largest eigenvalue of \(T\) which is known as the spectral radius.
(Spectral radius)
The spectral radius of \(A\) denoted by \(\rho(A)\) is
where \(\lambda_i\) are the eigenvalues of \(A\).
(Convergence criteria for an indirect method)
The spectral radius of \(T\) gives us the following information about an indirect method
If \(\rho (T) > 1\) then the errors will increase over each iteration, therefore for an indirect method to converge to the solution we require \(\rho (T)< 1\).
The smaller the value of \(\rho (T)\) the faster the errors will tend to zero.
Show that the Jacobi and Gauss-Seidel methods are convergent of the system of linear equations from Example 7.1 (shown below)
Solution (click to show)
The coefficient matrix for this linear system is
so
The iteration matrices for the Jacobi and Gauss-Seidel methods are given in equations (7.4) and (7.7) which for this system are
Calculating the spectral radius for these iteration matrices gives \(\rho(T_J )=0.7906\) and \(\rho (T_{GS})=0.625\) which are both less than 1 so both of these methods are convergent for this system. Furthermore, the Gauss-Seidel method will converge faster than the Jacobi method since it has a smaller spectral radius.