
Section 2.3 Solution of the difference problem 33
2.3.2 Correctness of the sweep algorithm
Let us formulate conditions sufficient for the use of the above sweep-method formulas.
We do not consider here the whole scope of problems that arise in substantiation of
the sweep method. Here, we restrict ourselves just to the matter of correctness of
the method, which is equivalent in the case of interest to the requirement of nonzero
denominator in (2.54), (2.55).
Lemma 2.4 Let the following conditions be fulfilled for system (2.51), (2.52):
|α
i
| > 0, |β
i
| > 0, i = 1, 2,...,N − 1, (2.57)
|γ
i
|≥|α
i
|+|β
i
|, i = 1, 2,...,N − 1. (2.58)
Then, algorithm (2.53)–(2.56) is correct, i.e. in the formulas (2.54), (2.55) we have
γ
i
− α
i
ξ
i
= 0.
Proof. We are going to show that
|ξ
i
|≤1, i = 1, 2,...,N − 1. (2.59)
In view of (2.57), (2.58), under such constraints on the sweep coefficients we have:
|γ
i
− α
i
ξ
i
|≥||γ
i
|−|α
i
||ξ
i
|| ≥ ||γ
i
|−|α
i
|| ≥ |β
i
| > 0.
We will prove (2.59) by induction. For i = 1, inequality (2.59) holds. Suppose that
inequality (2.59) holds for i; then, by (2.54) we obtain for i + 1:
|ξ
i+1
|=
|β
i
|
|γ
i
− α
i
ξ
i
|
≤
|β
i
|
|β
i
|
≤ 1.
Provided that inequality (2.59) takes place, we also have: γ
i
− α
i
ξ
i
= 0.
For our model problem (2.1), (2.2), in using the difference scheme (2.51), (2.52)
conditions (2.57), (2.58) for sweep correctness will be fulfilled if
α
i
> 0,β
i
> 0,γ
i
≥ α
i
+ β
i
, i = 1, 2,...,N − 1.
These conditions fulfilled, the maximum principle holds for the difference solution of
problem (2.51), (2.52), i.e., the difference scheme is monotone. This matter will be
discussed in more detail below.