As we have seen, initial-value problems are quite straightforward to
solve. Once a complete set of initial conditions is specified, we can
simply proceed forward in time, step by step, in a completely
deterministic fashion, using one of the integrators (Midpoint or
Runge-Kutta-4) discussed in class. Not all ordinary differential
equations are so easy to handle, however. In boundary-value
problems, the constraints on the system are specified at several different points (usually in space, but occasionally in time). A
different strategy is required.
In general, a system of N ordinary differential equations requires N constraints to determine the solution. In principle, these constraints, or boundary conditions, may all be specified at different points. However, we will confine ourselves here to so-called two-point boundary-value problems, where the boundary conditions are specified at just two locations. Since the independent variable in boundary-value problems is usually space, as opposed to time in initial-value problems, in these pages we will denote the independent variable by x and the dependent variable(s) by y. (Naturally, this change of notation makes no difference to either the nature of the problem or the method of solution!)
We can specify a two-point boundary-value problem as follows. The
system of equations is
For now, we will concentrate on the case N = 2, m = 1, with
specified at both x = a and x = b, and
unconstrained. (As a concrete example, the system could represent the
solution of a second-order differential equation with the values of
the solution fixed at two points, but with the derivatives (
)
freely variable.)