Professional Documents
Culture Documents
Applied Numerical Methods: Dr. Khaled Ahmida Ashouri
Applied Numerical Methods: Dr. Khaled Ahmida Ashouri
Since
Thus
Numerical Analysis Course/Academia
Dr. Khaled M. Ahmida
Now, L2-L1 in last matrix results in, analogously: to make equal to zero
1 0 0 1 1 1 1 1 1
1 1 0 1 2 4 0 1 3
0 0 1 0 6 24 0 6 24
Simplifying:
Numerical Analysis Course/Academia
Dr. Khaled M. Ahmida
LDU: ALGORITHM
This algorithm creates L, D, U
Matrix D can be modified to look
like that of last slide
Numerical Analysis Course/Academia
Dr. Khaled M. Ahmida
LU: ALGORITHM
If [D] is the Identity matrix, then we can consider the system as LU
decomposition.
NUMERICAL STABILITY
How to Ensure Numerical Stability
System of equations must be well conditioned
Investigate condition number – if matrix is diagonally dominant or not
Consistent with physics
e.g. do not couple domains that are physically uncoupled or unrelated
Consistent units
e.g. do not mix known units with unknown units
If Dimensions are unknown
Normalize all unknowns consistently