Title: Iterative methods for solving matrix equations
1Iterative methods for solving matrix equations 1.
Jacobi 2. Gauss-Seidel 3. Successive
overrelaxation (SOR)
2What are C and d?
3Rewrite matrix equation in same way
becomes
4Then
5Jacobi method is like fixed point
iteration Example Shape of a stretched membrane
6Shape can be described by potential function
Let us give some boundary conditions
7Problem look likes this
Solve for us
8Leads to this system of equations
9Choose an initial u1 1 1 1 1
Iterate using xCxd
10Matlab solution, 49 iterations
11Gauss-Seidel method differs from Jacobi by
sequential updating - use new xis as they become
available
12Example
Jacobi
Gauss-Seidel
13Matlab example jacobidemo02 seideldemo02
14SOR - successive overrelaxation after xnew is
calculated by Gauss-Seidel, get another xnew,2 by
overrelaxation
If
underrelaxation
Problem specific
15Curve fitting - preliminaries Some statistics we
will need
Mean or average standard deviation variance coeffi
cient of variation
16Normal distribution we make the assumption that
errors are distributed normally
17Confidence intervals
Standard normal estimate
If we set z to some confidence level
18Confidence interval for mean is then
19For small n, use Student-t distribution