Initial value problems

Contents

Initial value problems#

Initial Value Problems are characterised by knowledge of boundary conditions only on one side of the domain. This is typically (but not necessarily) for time-dependent equations, thus the name and following nomenclature.

e.g.: $\(\frac{dy}{dt} = y, \quad y(t=0) = 1\)\( or \)\(\frac{d^2 y}{dt^2} = -g, \quad y(t=0) = 1000, y'(t=0) = 0\)$

In these cases we are forced to start at \(t=0\) and time-step forward until we reach our goal time. This has several implications:

  • Error in the soultion will accumulate with successive steps.

  • Numerical noise may destabilize the solution scheme.

  • Time stepping must resolve the time-scale of the physics we are looking at.

  • The time-scale may change mid-problem.

  • We will build up a history of steps as we go.

As with analytical methods, on a high level we obtain a solution by integrating the differential equation up until the point of interest. For this reason, solving IVPs are often called time integrators and much of the analysis carries over.

Error analysis#

As usual, we will discuss error in the context of truncation error. As with other integration schemes,

  • Local truncation error occurs over the time-step due to the approximation of \(y_{i+1}\).

  • Global / propogated truncation error is the accumulation of propogated local truncation error and results in overall error of the approximation to the true solution.

Later we will discuss a new phenomenon, stability and stiffness.

We will be using the Taylor expansion to analyse error and help deevelop our numerical schemes. Higher accuracy is achieved through estimation of the higher order derivatives. There are two classes of methods that are applied:

  • Single step methods - Uses information about the current time step

  • Multistep methods - Uses the history of time steps