ES272 ch4b
ES272 ch4b
ES272 ch4b
(part b)
– System Condition
– Special Matrices
– Gauss-Seidel
– Non-linear Systems
System Condition
Condition number indicates ill-conditioning of a system.
We estimate condition number using matrix norms.
Matrix norms:
A norm is a measure of the size of a multi-component entity
(e.g., a vector)
x3
n
x 1 x i 1-norm
i 1
x 2
1/ 2
n 2
x 2 x e xi
2-norm
(Euclidean norm)
i 1
x1
1/ p
n
p
x x i p-norm
p
i 1 x2
We can extend Euclidean norm for matrices:
1/ 2
n n
2
A e a i , j (Frobenius norm)
i 1 j 1
There are other norms too…, e.g.,
n
A max aij
(row-sum norm)
1i n
j 1
n
A max aij (column-sum norm)
1 j n
i 1
First normalize the matrix by dividing each row by the largest coefficient:
1 1 / 2 1 / 3
A 1 2 / 3 1 / 2
1 3 / 4 3 / 5
Row-sum norm:
1 1 / 2 1 / 3 1.833
1 1 / 2 1 / 3
A 1 2 / 3 1 / 2 1 2 / 3 1 / 2 2.1667 A 2.35
1 3 / 4 3 / 5 1 3 / 4 3 / 5 2.35
Inverse of the scaled matrix:
Row-sum norm:
9 18 10
A1 36 96 60 A1
36 96 60 192
30 90 60
Condition number:
aij 0 if i j ( BW 1) / 2
BW
BW=3 tridiagonal system
Cholesky Decomposition:
This method is applicable to symmetric matrices.
6 15 55
A 15 55 225
55 225 979
Apply the recursion relation:
k=1
l11 a11 6 2.4495
(k=2,i=1)
a21 15
l21 6.1237 l a l 2
55 ( 6 .1237 ) 2
4.1833
l11 2.4495 22 22 21
Gauss-Seidel iteration:
7.85 0.1x2 0.2 x3 19.3 0.1x1 0.3 x3 71.4 0.3 x1 0.2 x2
x1 x2 x3
3 7 10
Assume initial guesses all 0.
7.85 0 0 19.3 0.1(2.616667) 0
x1 2.616667 x2 2.794524
3 7
Newton-Raphson:
We linearize the system using first-order Taylor series expansion.
For k-th row:
f k ,i f k ,i f k ,i
f k ,i 1 f k ,i ( x1,i 1 x1,i ) ( x2,i 1 x2,i ) ... ( xn ,i 1 xn ,i )
x1 x2 xn
Then,
Z i X i 1 Fi Z i X i
Last equation is in the form of Ax=b, and can be solved using
elimination methods (i.e., LU decomposition).