A.2 Initial value and boundary value problems

ODE problems can be divided into two categories, based on the constraints that we have on the functions. Initial value problems (IVP), are characterized by a set of constraints on the function at a certain value of \(x\). For example, the function and all of its derivatives are known at \(x=0\), and we wish to find their values as a function of \(x\).

Boundary value problems (BVP), are characterized by a set of constraints given at more than one value of \(x\), and one typically wants to know the value of the function and its derivatives between the “boundaries”. BVPs are generally more difficult to solve.

In this appendix, we will only look at some basic methods for solving differential equations, as it is quite a complex field. One of the main issues in these algorithms (in a real world application), is to control numerical stability and minimize round-off errors. We will only concern ourselves with some of the more basic algorithms for solving these equations.