![]() Volume 9, Issue 2 Articles Tricks of the Trade In and Out Trott's Corner New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff Submissions Subscriptions Advertising Back Issues Contact Information |
Integral Equations
Introductory Example As a first example, we consider the integral equation discussed by Kress [1, 2], namely
which has the exact solution A classical method of solving such problems is to use iteration. Beginning with some suitable initial function
For this example, the iterative scheme converges for any continuous
For comparison purposes, we also have the exact solution
and can keep track of the error using
It is useful to have a visual record of this error, so we introduce
At this stage, our approximate solution is not very impressive.
With this example, it is theoretically possible to obtain analytic expressions for the functions
and the improved approximation is then
As our plot shows, we now have a better approximation.
We can combine all this into one step.
Now a little experimentation with iterstep and errorplot allows us to observe the convergence, but, once done, we know a suitable number of steps to take to obtain a satisfactory answer. For this first example, we demonstrate the convergence graphically in order to illustrate a number of features of our method. To accomplish this, we introduce errorvalue, which estimates the maximum error at each iteration from the adaptively-determined PlotRange of errorplot.
The convergence is nicely illustrated using LogListPlot, for which we need to load a package. In fact, other functions from the Graphics` package will be required later, so we use
We now perform 60 further iterations and plot the result.
It is clear that we have now converged to an acceptable solution and that further iterations will produce no significant improvement. The remaining error is due solely to the interpolation process we have adopted: we have the best solution to our problem that can be represented in this form. As this makes clear, it is important that an appropriate interpolation routine be used. It is an instructive exercise to try using Interpolation with the present example, for this produces results that are vastly inferior, and later examples will require the use of more ingenuity in this respect. We can show the distribution of the error in the solution we have obtained.
When comparing with the results recorded by Kress, remember that he quotes errors only at five specific points. The error distribution here is typical of that obtained when using a uniform distribution of interpolation points: the maximum errors occur near the ends of the interval. This feature can be eliminated and the maximum error reduced by using a nonuniform distribution of interpolation points that places more of them near the ends. Here, we can achieve this via a nonlinear scaling of the
Modifying iterstep to incorporate this, we now use
and find that a few more iterations have indeed improved matters.
|
||||||||
About Mathematica | Download Mathematica Player Copyright © 2004 Wolfram Media, Inc. All rights reserved. |