CHAPTER 6

NUMERICAL METHODS FOR ORDINARY DIFFERENTIAL EQUATIONS

We are concerned here with the problem of solving differential equations, numerically. At first we concentrate on the so-called initial value problem (IVP): Find a function y(t) such that

equation

where f is a known function of two variables, and t0 and y0 are known values. This is called the initial value problem because (as the notation suggests) we can view the independent variable t as time, and the equation as modeling a process that moves forward from some initial time t0 with initial state y0. (Very often, t0 = 0.) The dependent variable y, the unknown function, may be a scalar function or, possibly, a vector function defined as

equation

In §2.3 we developed Euler’s method for approximating solutions to initial value problems; in this chapter we will not only review Euler’s method, but we will also look at more sophisticated (and therefore, we hope, more accurate) methods for solving this type of problem. Later we will tackle the boundary value problem (BVP), which can be written as

(6.1) equation

(6.2) equation

(6.3)

Here the unknown function is ...

Get An Introduction to Numerical Methods and Analysis, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.