The initial-value problems of Initial-value problems for ODEs are characterized by an ordinary differential equation plus a value of the solution’s state at one value of the independent variable.
In a boundary-value problem, the state is not entirely given at any point. Instead, partial information is given at multiple values of the independent variable. We will focus on the most common type.
Often the domain of in (10.1.1) is not explicitly stated but is implied by the definitions of and These functions are called boundary conditions. An IVP for the same ODE as in (10.1.1) would specify values for both and . Although this may look like a minor change, IVPs and BVPs are quite different. Conceptually, the difference is like that between time and space. In a typical IVP, in which the independent variable is often time, the initial value determines everything about the future course of the solution. Even in a simple BVP, however, the necessary information is spread across the domain, and there may be more than one way to satisfy the boundary conditions.
Certain special cases of the boundary conditions have their own nomenclature.
While time can be the independent variable in a TPBVP, as in Example 10.1.1, it is often space, which has no intrinsic direction of information flow.
10.1.1Numerical solution¶
We can solve the TPBVP (10.1.1) by recasting the problem as a first-order system in the usual way.
Characterizing the conditioning of a TPBVP theoretically is difficult. There are some numerical tools going by the name sensitivity analysis, but the details are too lengthy for us to explore here.
10.1.2Exercises¶
✍ In each case, explain whether the TPBVP is linear or nonlinear.
(a) (Bessel equation)
(b)
(c)
(d) (Carrier equation Carrier (1970))
(e)
✍ For each BVP, verify that the given solution is valid, i.e., check that the differential equation and the boundary conditions are satisfied.
(a) (Hermite equation)
Solution:
(b) (Laguerre equation)
Solution:
(c) (Chebyshev equation)
Solution:
(d) (Legendre equation)
Solution:
(e)
Solution:
⌨ For each TPBVP in Exercise 2, use
solve
to find the solution. Plot the solution and separately plot the error as a function of . (In some cases you will need to truncate the domain to avoid division by zero.)⌨ Consider the pendulum from Example 10.1.1 with . Suppose we want to release the pendulum from rest such that . Find one solution that passes through and another solution that does not. Plot for both cases together. (Hint: Vary the initial estimate for the solution.)
⌨ The stationary Allen–Cahn equation is a model of phase changes, such as the change from liquid to solid. In one spatial dimension it can be written as
As , the solution tends toward a step function transition between -1 and 1. By symmetry, .
(a) Use Function 10.2.1 with initial solution estimates to solve the equation for . Plot the solution.
(b) Repeat part (a) for .
(c) Repeat part (a) for . (This is a difficult problem for the default method.) Try a few different initializations for , and plot all the results. Do any seem to be valid solutions of the BVP?
- Pelesko, J. A., & Driscoll, T. A. (2006). The Effect of the Small-Aspect-Ratio Approximation on Canonical Electrostatic MEMS Models. Journal of Engineering Mathematics, 53(3–4), 239–252. 10.1007/s10665-005-9013-2
- Carrier, G. F. (1970). Singular Perturbation Theory and Geophysics. SIAM Review, 12(2), 175–193. 10.1137/1012041