Is the solution same? Check it out as an exercise.
The iterative methods depend on the rearrangement of the equations in this manner:
Each equation now solved for the variables in succession:
(1)
We begin with some initial approximation to the value of the variables.
Say initial values are;
.
Each component might be taken equal to zero if no better initial estimates are at hand.
Note that this method is exactly the same as the method of fixed-point iteration for a single equation that was discussed in Section .
But it is now applied to a set of equations; we see this if we write Eqn. 1 in the form of
which is identical to
as used in Section .
The new values are substituted in the right-hand sides to generate a second approximation,
and the process is repeated until successive values of each of the variables are sufficiently alike.
Now, general form
(2)
Starting with an initial vector of
, we obtain Table 2
Table 2:
Successive estimates of solution (Jacobi method)
First
Second
Third
Fourth
Fifth
Sixth
Ninth
0
1.833
2.038
2.085
2.004
1.994
2.000
0
0.714
1.181
1.053
1.001
0.990
1.000
0
0.200
0.852
1.080
1.038
1.001
1.000
In the present context, and refer to the and iterates of a vector rather than a simple variable, and is a linear transformation rather than a nonlinear function.
Rewrite in matrix notation; let ,
From this we have, identifying on the left as the new iterate,