Example 1. Use
fixed point iteration to find a solution to the nonlinear
system
Solution 1.
First, enter the coordinate functions
,
and vector function
into Mathematica.
Second, graph the curves
using Mathematica.
The points of intersection are the solutions we seek.
![[Graphics:../Images/NewtonSystemMod_gr_82.gif]](../Images/NewtonSystemMod_gr_82.gif)
How many points of intersection are there ?
Use fixed point iteration to find a numerical approximation to the
solution near
.
A fixed point satisfies the equation
. Our
last approximation is stored in
, check
it out.
Do you think that iteration produced the solution ? Why ?
Accuracy is determined by the tolerance and number of iterations. How accurate was the solution "really"?
Since our tolerance was only
, the
accuracy is what we should expect.
Use fixed point iteration to attempt finding a numerical
approximation to the solution near
.
But this time attempt only 10 iterations !
A fixed point satisfies the equation
. Our
last approximation is stored in
, check
it out.
Did iteration find the desired solution near
? Why
?
Use Mathematica to find that solution near
.
This time use the procedure NSolve (if
you use Solve you might be unhappy).
![[Graphics:../Images/NewtonSystemMod_gr_131.gif]](../Images/NewtonSystemMod_gr_131.gif)
Where did all those complex number come from ? Thought we were looking at curves in the plane ?
Try solving the first equation for x then substituting one of the solutions in for x is the second equation.
So we can solve for y, in a single polynomial equation of degree 12 which is known to have 12 roots, some of which are complex.
![[Graphics:../Images/NewtonSystemMod_gr_143.gif]](../Images/NewtonSystemMod_gr_143.gif)
For our course, we don't want the complex solutions because we
usually work with real numbers and our iteration schemes produces
more real numbers.
However, you should be convinced that the second solution we seek
is
{x -> 1.5560974843220556, y ->
-0.5756507696188449}
Do you think we should have started closer to the solution and
that fixed point iteration should then work ?
If so, try the following iteration.
Is iteration converging to the desired solution {1.5560974843220556,
-0.5756507696188449} ?
Our goal is to obtain this second solution.
Theoretically, if we know the fixed point and look at the partial
derivatives of the equations then the row sum should be small.
Case
(i) Two dimensions. If
is sufficiently close to
and if
,
,
then fixed point iteration will converge to the fixed
point
.
Consider the first inequality for our problem.
The sum of the absolute values of the partial derivatives is too big, so we should not have expected that iteration would converge.
(c) John H. Mathews 2004