![]()
![]()
for
The Taylor series method is of general applicability and it is the standard to which we can compare the accuracy of the various other numerical methods for solving an I. V. P. It can be devised to have any specified degree of accuracy.
Theorem (Taylor
Series Method of Order n) Assume
that f(t,y) is
continuous and satisfies a Lipschits
condition in the variable y, and
consider the I. V. P. (initial value problem)
with
, over
the interval
.
The Taylor series method uses the formulas
, and
for
where
is
evaluated
at
, as
an approximate solution to the differential equation using the
discrete set of points
.
Proof Taylor Series Method for O.D.E.'s Taylor Series Method for O. D.E.'s
Theorem (Precision of
Taylor Series Method of Order n) Assume
that
is
the solution to the I.V.P.
with
. If
and
is
the sequence of approximations generated by the Taylor series method
of order n,
then at each step, the local truncation error is of the
order
, and
the overall global truncation
error
is of the order
, for
.
The error at the right end of the
interval is called the final global error
.
Proof Taylor Series Method for O.D.E.'s Taylor Series Method for O. D.E.'s
Animations (Taylor Series Method for O.D.E.'s Taylor Series Method for O.D.E.'s). Internet hyperlinks to animations.
Algorithm
(Taylor Series
Method).
To compute a numerical approximation for the solution of the initial
value problem
with
over
at
a discrete set of points using the formulas
, and
, for
where
is
evaluated
at
.
Computer Programs Taylor Series Method for O.D.E.'s Taylor Series Method for O.D.E.'s
Mathematica Subroutine (Taylor Series Method of Order n=4).
Example 1. Solve
the I.V.P.
.
Solution 1.
Example 2. Use
Mathematica to find the analytic solution and graph for the
I.V.P.
.
Solution 2.
Example 3. Plot the
error for the Taylor series 's method.
Solution 3.
Example 4. Reduce
the step size by
and see what happens to the error.
Recalculate points for Taylor series 's method, and the
analytic solution using twice as many subintervals.
Then Plot the error for Taylor series 's method.
Solution 4.
Example
5. Solve
with
over
.
Solution 5.
Example
6. Use Mathematica to find the
analytic solution and graph for the I.V.P.
.
Solution 6.
Example 7. Plot the
absolute value of the error for Taylor series 's
method.
Solution 7.
Example 8. Reduce
the step size by
and see what happens to the error.
Recalculate points for Taylor series 's method, and the
analytic solution using twice as many subintervals.
Then Plot the error for Taylor series 's method.
Solution 8.
Example 9. Solve
the I.V.P.
.
Solution 9.
Example 10. Use
Mathematica to find the analytic solution and graph for the
I.V.P.
.
Solution 10.
Various Scenarios and Animations for the Taylor's Method for solving O.D.E's
Example 11. Solve
the I.V.P.
. Compute
a Taylor series solution of order n=3 solution to the I.V.P.
Solution 11.
Example 12. Solve
the I.V.P.
. Compute
a Taylor series solution of order n=4 solution to the
I.V.P.
Solution 12.
Animations (Taylor's Method Taylor's Method). Internet hyperlinks to animations.
Old Lab Project (Taylor's
Method for O.D.E.'s Taylor's
Method for
O.D.E.'s).
Internet hyperlinks to an old lab project.
Research Experience for Undergraduates
Taylor Series Method for ODE's Taylor Series Method for ODE's Internet hyperlinks to web sites and a bibliography of articles.
Download this Mathematica Notebook Taylor's Method for solving O.D.E.'s
Return to Numerical Methods - Numerical Analysis
(c) John H. Mathews 2004