Basic concepts of iterative algorithms for elliptic PDEs can be compressed to the following remarks:
1. Continuous and discrete equations
(a) Given a PDE with Dirichlet boundary conditions,
an linear elliptic differential operator, we wish to find the solution
.
(b) The solution can be written formally as .
is a linear elliptic integral operator, given by
, the convolution of the right hand side with some Green’s function of
.
(c) and
can be discretized (somehow) as
(a matrix) and
(a vector). The goal is to find the discretized version
of
, given by
.
(d) The formal solution of the discretized problem is . But inverting
directly would be to expensive, that’s where the iterative solver springs into action.
2. The iterative solver
(a) The goal is to build an iteration that converges against the solution
.
(b) While increases, we wish that the error in
,
,
decreases and finally reaches 0. We’ll never know the value of because
is unknown. But that doesn’t matter as long as the error in
,
is known. The name of is simply “the error” while
is called “the residual”.
(c) The relation between the error and the residual is , i.e.
scales with
. The “anisotropic” scaling-factor is
.
(d) The relation between the exact solution and the residual is . If we replace
with an approximation
, we’ll get an approximation of
:
.
I would frame this equation now if I could, because it defines , the iterator that’ll hopefully converge against
.
(e) To be sure that it does, has to approach 0 for
. The related proof is always done by induction, i.e.
has to be related to
. Note that our iteration
can be rewritten as
(can be simply done with (c)), so that
. So eventually
.
To conclude whether approaches
, we have to make sure that
approaches 0. The key is the following relation between
and the spectral radius of
:
.
You’ll see it if you expand in the Eigenbase of
. The conclusion is:
If then convergence.