System of Linear Equations
A linear equation is an equation that may be put in the form:
where
A system of linear equations (or linear system) is a collection of linear equations involving the same set of variables.
A general system of
It can also be written in matrix form:
where
Iterative Techniques
The solution is guessed and then iteratively improved.
Jacobi Method
A slow method for solving systems of linear equations iteratively. An initial guess is made for the solution vector
For each
Cannot be used for singular matrix.
Relative error is given by:
Here any convenient matrix norms can be used. Usually infinity norm is used.
Gauss-Seidel Method
An improvement over the Jacobi method. Major difference from Jacobi method is instead of using values from the previous iteration, here newest approximations for
When computing
As in Jacobi Method, Gauss-Seidel Method can be written in matrix form as:
For
This method can also be expressed as:
Here:
Convergence of iterative methods
Theorem 1
Suppose
The sequence
Suppose a sequence
If
Theorem 2
If