Special Matrices and Gauss-Siedel
Special Matrices and Gauss-Siedel
Special Matrices and Gauss-Siedel
Faculty of Engineering
Civil Engineering Department
Numerical Analysis
ECIV 3306
Chapter 11
• Symmetric matrix:
5 1 2 16
If aij = aji [A]nxn is a 1 3
7 39
symmetric matrix [ A]
2 7 9 6
16 39 6 88
Cholesky Decomposition
This method is suitable for only symmetric systems
where:
l11 0 0
a ij a ji and A A T [L ] l 21 l 22 0
l 31 l 32 l 33
A L * LT
3
Cholesky Decomposition
i 1
l kjkj
l kkkk aakkkk 22
l
j j 11
new
x x old
a ,i i
new
i
100% s
x i
Gauss Seidal-
Graphical Interpretation
Jacobi iteration Method
j i
That is, the diagonal element must be greater than the sum
of off-diagonal element for each row.
Gauss-Siedel Method- Example 1
7.85 0.1x2 0.2 x3
3 0.1 0.2 x1 7.85 x1 3
0.1 19.3 0.1x1 0.3 x3
7 0.3 x2 19.3 x2
7
0.3 0.2 10 x3 71.4 x3 71.4 0.3 x1 0.2 x2
10
• Guess x1, x2, x3= zero for the first guess
Iter. x1 x2 x3 |a,1|(%) |a,2| (%) |a,3| (%)
0 0 0 0 - - -
1 2.6167 -2.7945 7.005610 100 100 100
2 2.990557 -2.499625 7.000291 12.5 11.8 0.076
Improvement of Convergence Using
Relaxation
x i
new
x i
new
1 x old
i
6x1-x2-x3 = 3
6x1+9x2+x3=40
-3x1+x2+12x3=50
Gauss-Siedel Method- Example 2
3 x2 x3
x1
6
40 6 x1 x3
x2
9
50 3 x1 x2
x3
12
Without Relaxation
Gauss-Siedel Method- Example 2