



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Department of Mathematics Fall 2007
MATH 6370, Section 10583 MW 5:30-7:00PM
A. Caboussat
(a) Finest partitioning
(1) Jacobi
(2) Gauss-Seidel
(b) Coarser partitioning
(1) Jacobi
(2) Gauss-Seidel
2.a) We see that, det(Aη ) = (1 −
1 −η 2
1+η 2 , and Aη is nonsingular iff η 6 = −1. Let P be the lower triangular
part of Aη (with diagonal). The Gauss-Seidel iteration matrix is
BGS (η) = P
− 1 (P − Aη ) =
0 η − 1 0
0 0 0
0 0 0
0 η − 1 0
0 0 0
0 0 0
0 η − 1 0
η− 1 2
Its eigenvalues are the roots of the characteristic polynomial
pB GS (η) (λ) = det(λI − Aη ) = det
λ −η + 1 0
0 λ +
η− 1 2
0 0 λ
(^) = λ^2
λ +
η − 1
Therefore we have
λ 1 (BGS (η)) = λ 2 (BGS (η)) = 0, λ 3 (BGS (η)) =
1 − η
and ρ(BGS (η)) = maxi |λi(BGS (η))| =
| 1 −η| 2
. The Gauss-Seidel method converges therefore iff η ∈ (− 1 , 3).
2.b) We apply the conjugate gradient method if Aη is symmetric positive definite. The symmetry is guaranteed
only for η = 1/2. We remark that, in this case, we have:
pA 1 / 2 (λ) = det(λI − A 1 / 2 ) = det
λ − 1 − 1 / 2 0
− 1 / 2 λ − 1 0
0 0 λ − 1
(^) = (λ − 1)
(λ − 1)
2 −
then
λ 1 (A 1 / 2 ) = 1, λ 2 (A 1 / 2 ) =
, λ 3 (A 1 / 2 ) =
meaning that A 1 / 2 is positive definite for η = 1/2.
We know that the factor of reduction of the error is given by
cond(A 1 / 2 ) − 1 √ cond(A 1 / 2 ) + 1
Therefore the condition number cond(A 1 / 2 ) =
λmax (A 1 / 2 )
λmin(A 1 / 2 )
3 / 2 1 / 2
= 3. Therefore
Convergence of SSOR method. First we have to transform the SSOR method into its general form
M x n+ = N x n
y
ω
− 1
1 − ω
ω
T
x
n
ω
− 1
b
After substitution,
ω
x
1 − ω
ω
ω
1 − ω
ω
x
n
1 − ω
ω
ω
b
The last line can be simplified into:
1 − ω
ω
ω
2 − ω
ω
ω
and the method becomes:
ω
2 − ω
ω
− 1
ω
x
ω
2 − ω
ω
− 1
1 − ω
ω
ω
1 − ω
ω
x
n
We therefore obtained the required form with
ω
2 − ω
ω
− 1
ω
T
We still have to check that the matrix M + N T is symmetric positive definite. We can write:
T = M + M
T − A
2 ω
2 − ω
ω
− 1
ω
T
T
2 ω
2 − ω
ω 2
ω
ω
T
− 1 E
T
2 − ω
2 ω
T )
2 ω
2 − ω
(ω − 2) 2
4 ω 2
T
− 1 E
T
2 − ω
ω
2 ω
2 − ω
− 1
T
The matrix M + N
T is therefore symmetric positive definite, since, ∀x ∈ R
n , x 6 = 0, we have
x
T (M + N
T )x = x
T 2 −^ ω
ω
Dx +
2 ω
2 − ω
T
x
− 1
T
x > 0.
5.c) For the SOR method, we define the matrices M and N as before, and we determine the eigenvalues and
eigenvectors of the matrix:
− 1 N =
ω
1 − ω
ω
Thus:
Gx = λx ⇔
1 − ω
ω
x = λ
ω
x ⇔ Hx = 0,
where
1 − ω − λ
ω
D + λE + F.
We set Sμ = diag(μ, μ
2 ,... , μ
n ) with μ 6 = 0. The matrix S is invertible. Since A is triadiagonal, we have
− 1 μ DSμ = D, S
− 1 μ ESμ =
μ
− 1 μ F Sμ = μF.
Hence
− 1 μ HSμ^ =^
1 − ω − λ
ω
λ
μ
E + μF.
In particular,
− 1 √ λ
√ λ
1 − ω − λ
ω
λE +
λF
1 − ω − λ
ω
λ(D − A)
1 − ω − λ
ω
λ
λA.
since D = 2I, if A is the tridiagonal matrix of the example. If we set ξ = S
− 1 √ λ
η, then
Hη = 0 ⇔ S
− 1 √ λ
√ λ ξ = 0.
i.e.
Aξ =
λ
1 − ω − λ
ω
λ
ξ.
This implies that ξ is one of the eigenvectors of A, i.e. ξk = (sin(kπ/m + 1),... , sin(mkπ/m + 1))
T , with
eigenvalues μk = 2 − 2 cos(kπ/m + 1); λk is the eigenvalue of G associated to ηk = S √ λk ξk^ if:
λk
1 − ω − λk
ω
λk
= μk.
This equation gives:
λ
± k
ω
2 (μk − 2)
2
ω(μk − 2)
ω 2 (μk − 2) 2
We can check that the maximum is reached for |λ
m|^ with^ μm^ = 2 + cos(π/m^ + 1). Thus
ρ(G) =
ω 2 cos 2 (π/m+1) 2
π m+
ω^2 cos^2 (π/m+1) 4
ω 2 cos 2 (π/m+1) 4
ω − 1 , otherwise.
We can show that ρ(G) is minimal when
ω
2 cos
2 (π/m + 1)
1 + sin(
π m+
The optimal value of the convergence speed is given by:
ρ(G) = ωopt − 1 = 1 −
2 π
m + 1
− 2 ).