1 Initial value problems

In HELM booklet  19.4 we saw the following initial value problem which arises from Newton’s law of cooling

d θ d t = k ( θ θ s ) , θ ( 0 ) = θ 0 .

Here θ = θ ( t ) is the temperature of some liquid at time t , θ 0 is the initial temperature at t = 0 and θ s is the surrounding temperature. The constant of proportion k has units s 1 and depends on the properties of the liquid.

This initial value problem has two parts: the differential equation d θ d t = k ( θ θ s ) , which models the physical process, and the initial condition θ ( 0 ) = θ 0 .

Key Point 1

An initial value problem may be made up of two components

  1. A mathematical model of the process , stated in the form of a differential equation.
  2. An initial value, given at some value of the independent variable.

It should be noted that there are applications in which initial value problems do not model processes that are time dependent, but we will not dwell on this fact here.

The initial value problem above is such that we can write down an exact or analytic solution (it is θ ( t ) = θ s + ( θ 0 θ s ) e k t ) but there are many applications where it is impossible or undesirable to seek such a solution. The aim of this Section is to begin to describe numerical methods that can be used to find approximate solutions of initial value problems.

Rather than using the application-specific notation given above involving θ we will consider the following initial value problem in this Section. We seek y = y ( t ) (or an approximation to it) that satisfies the differential equation

d y d t = f ( t , y ) , ( t > 0 )

and which is subject to the initial condition

y ( 0 ) = y 0 ,

a known quantity.

Some of the examples we will consider will be such that an analytic solution is readily available, and this fact can be used as a check on the accuracy of the numerical methods that follow.