Download Note on the numerical solution of integro

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Linear least squares (mathematics) wikipedia , lookup

Dynamic substructuring wikipedia , lookup

Finite element method wikipedia , lookup

Cubic function wikipedia , lookup

Quartic function wikipedia , lookup

Quadratic equation wikipedia , lookup

False position method wikipedia , lookup

System of polynomial equations wikipedia , lookup

System of linear equations wikipedia , lookup

Transcript
Note on the numerical solution of integro-differential equations
By James Thomas Day"
A numerical method for the solution of integro-differential equations is devised. Two numerical
examples are given.
1. In this paper a numerical method for the solution
of integro-differential equations of the form
, s, yis))ds, y(xQ) = y0
y'(x) = f{x, y{x))
We then again use the trapezoidal rule for the inner
integral and again use the approximation yk+i=
to obtain
(1.1)
is discussed. Two computational examples are given.
In the subsequent discussion y(xk) will denote the
exact value of y at xk = x0 + kh. yk will denote an
approximate value of y at xk. Likewise y'k indicates an
approximate value of y'(xk) at xk.
2. To advance the step from x = xk to JC = xk + h,
we first integrate (1.1) to obtain
+
+
+
+
Fixk+1, xk+ „ yk + hyk)]/4. (2.4)
cxk+h
The derivative y'k+ , is calculated according to
y{xk + h) = y{xk) + f(x, yix))dx
J
y'k+1
xk
rxk+h
+ \
=
-x
J Fix, s, yis))dsdx (2.1)
J
J
Xk
h[fixk, yk) +A*k+ i,yk+ hyk)]/2
h2[Fixk, xQ, y0) + 2Fixk, xu yx) + . . .
Fixk, xk, yk)]/4
2Fixk, xk_uyk_])+
2
h [Fixk+1, x0, jo) + 2Fixk+1, xu yt) + ...
2Fixk+l,xk, yk) +
, yk+,) + h[Fixk+ „ x0, y0)
,, xu yt) + . . . + 2Fixk+ „ xk, yk)
xo
= yixk) + /, + /2.
y'(x0) =/(*o>:K*o))-
For It we use the trapezoidal rule, together with the
approximation yk+ , = yk + hy'k for yixk+1) to yield
h = h[fixk, yk) + fixk+ uyk+
hyk)] + O(fc3).
Examples
Our first computational example is the integrodifferential equation
(2.2)
For I2 we use the trapezoidal rule for the outer
integral to obtain
+ \7ix
7 k+,, s, y
+ O(n
J
y' = 1 —J yis)ds
o
with solution j(x) = sin (x). The errors found are
given in Table 1. By error, we mean error = | true
value — approximate value | .
(2.3)
Xo
Table 2
Table 1
h == 005
X
h- = 0 1
0- 1
0- 2
0- 3
0- 4
0- 5
0- 6
0- 7
0- 8
0- 9
1- 0
8-34 X 1C , - 5
1-66 x 1C 1 - 4
2-44 x 1C , - 4
3 1 6 x 1C | - 4
3-80
4-33
4-74
4-99
x
1C | - 4
x 1(
X 1(
|-4
|-4
2-08
4-11
6-04
7-79
9-33
X
X
X
X
X
106 X
115 X
1-21 X
10 - 5
10 - 5
10 - 5
10 - 5
10 - 5
10 — 4
10 - 4
10 — 4
x 1( | - 4
5 0 9 x 1() - 4 1-22 x 10 - 4
5-02 x 1(\— 4 1 1 9 x 10 - 4
* -
519
102
1-50
1-93
2-31
2-61
2-83
2-96
2-98
2-89
0- 025
X
X
X
X
X
X
X
X
X
X
X
io- 6
01
0-2
0-3
0-4
0-5
0-6
10~ 5
10~ 5
io- 5
io- 5
io- 5
io- 5
0-7
io- 5
10"
5
io-
5
0-8
0-9
10
University of Wisconsin-Milwaukee, Milwaukee, Wisconsin.
394
h
= 01
h == 005
h = 0 025
x 10 - 4
x 10 - 4
x 10 - 4
X 10 - 4
1-92 x 1C 1 - 3
2-85 x 1C 1-3
1-35
2-90
4-75
7 08
4 0 6 x 1C 1-3
1 0 1 X 10 - 3
3
-3
5-49 x 1C 1 - 4
1 1 8 x 1C , - 3
5-69
7-97
1-12
1-59
2-28
x
x
x
x
x
1(
1( | - 3
1( | - 2
1( | - 2
1( | - 2
r
1-42
1-99
2-82
4-02
5-80
x 10
x 10 - 3
X 10 - 3
X 10 - 3
x 10 - 3
3-34
7-18
118
1-76
2-52
3-56
501
7-07
101
1-46
X
X
X
X
X
X
X
X
X
X
10- 5
io- 5
io- 4
io- 4
10~ 4
io- 4
io- 4
10~ 4
io- 3
io- 3
Integro-differential equations
Our second example is
Acknowledgement
The above work was performed at the Mathematics
Research Center, U.S. Army, under contract number
DA-11-022-ORD-2059.
/ = 1 + 2x - y +J f x(l +
o
The solution of the above problem is y(x) = e*2. The
above equation was discussed by Pouzet (1960). The
errors obtained are given in Table 2.
Reference
P. (1960). "Methode d'Integration Numerique des Equations Integrates et Integro-Differentielles du Type Volterra
de Second Espece Formules de Runge-Kutta," Symposium on the Numerical Treatment of Ordinary Differential Equations,
Integral and Integro-differential Equations, Birkhauser Verlag, 1960, pp. 362-368.
POUZET,
Book Review
Quasilinearization & Nonlinear Boundary-Value Problems,
by R. E. Bellman and R. E. Kalaba, 1965; 206 pages.
(Barking: Elsevier Publishing Company Ltd., 62s.)
The authors of this book observe that a problem is effectively
solved if it has been reduced to an initial-value problem for
a set of nonlinear simultaneous ordinary differential equations,
since, provided that there are not more than a thousand
equations, they may be accurately and rapidly integrated
numerically, on large present-day electronic computers.
Chapter 1, "The Riccati Equation", is devoted to the
important nonlinear equation: v' + v2 + p(t)u + q(t) = 0
(with v(Q) = c). This may be solved by taking an arbitrary
function vQ(t) (with vo(O) = c) and then constructing the
sequence of functions vn(f) (n = 1, 2, . . .), by solving successively the linear differential equations: v'n + (2vn_, +
/>(0K +<7(0-*> 2 n _i = 0 , with vn(0) = c (which can be
solved analytically), as in the Newton-Raphson-Kantorovich
approximation scheme. It is shown that the sequence vn(t)
converges quadratically and monotonically to v{t).
Chapter 2, on "Two-Point Boundary-Value Problems for
Second-Order Differential Equations", treats the solution of
linear second-order differential equations with two-point
boundary conditions by integrating the equations for two
sets of initial conditions {e.g. by a Runge-Kutta method), and
then using linear interpolation between these two solutions
so as to satisfy the given boundary condition at the end of
the range. No warning is given about the numerical
difficulties which often vitiate this procedure. Nonlinear
equations are then solved by constructing a sequence of
functions un(x) (each satisfying the given two-point boundary
conditions), with uo(x) arbitrary, and applying the technique
of quasilinearization. For example, if the equation is
u" =/(«), then at each stage of the iteration we solve the
395
linear equation for un(x) with two-point boundary conditions:
« " « = / ( « « - I ) + ( « „ - « „ _ i ) / ' K _ i ) . The sequence un(x)
converges quadratically to u(x), whereas the Picard algorithm
would give only linear convergence.
Chapter 3, on "Monotone Behaviour and Differential
Inequalities", examines various conditions under which the
sequence of functions generated by quasilinearization can be
shown to converge monotonically. Chapter 4, on "Systems
of Differential Equations, Storage and Differential Approximation", extends quasilinearization to systems of nonlinear
differential equations with two-point (and multi-point)
boundary conditions. Variations of the technique are
discussed, in which the working space required in a computer
may be economized at the expense of additional computing
time.
Chapter 5, on "Partial Differential Equations", applies
the technique of quasilinearization to non-linear second-order
elliptic and parabolic partial differential equations. Chapter 6,
on "Applications in Physics, Engineering and Biology"
applies quasilinearization to a wide variety of problems,
including the van der Pol equation, optimal design and control,
periodogram analysis and analysis of the operation of the
heart. FORTRAN programs for solving these problems are
given as appendices.
Each chapter has a detailed bibliography, and there is an
adequate index. Equation (2.16) is not quite correct, (19.4)
on page 51 is misprinted, and a misprint in (4.3) on page 79
makes a numerical example incomprehensible. This book
suggests a fruitful approach to a wide variety of problems
involving non-linear differential equations, paying particular
importance to rapid (quadratic) convergence to the solution,
and also to monotonicity.
G. J. TEE