In many cases, however, the necessary integrals cannot be done in closed form. Some nonlinear ODEs, such as separable equations, may also be solvable with a short formula, perhaps with difficult integrations. Most often, though, there is no analytic formula available for the solution.
An ODE may have higher derivatives of the unknown solution present. For example, a second-order ordinary differential equation is often given in the form u′′(t)=f(t,u,u′). A second-order IVP requires two conditions at the initial time in order to specify a solution completely. As we will see in IVP systems, we are always able to reformulate higher-order IVPs in a first-order form, so we will deal with first-order problems exclusively.
There are simple IVPs that do not have solutions at all possible times.
We can also produce an IVP that has more than one solution.
The following standard theorem gives us a condition that is easy to check and guarantees that a unique solution exists. But it is not the most general possible such condition, so there are problems with a unique solution that it cannot detect. We state the theorem without proof.
In a numerical context we have to be concerned about the conditioning of the IVP. There are two key items in (6.1.1) that we might consider to be the data of the initial-value ODE problem: the function f(t,u), and the initial value u0. It’s easier to discuss perturbations to numbers than to functions, so we will focus on the effect of u0 on the solution, using the following theorem that we give without proof. Happily, its conditions are identical to those in Theorem 6.1.1.
Numerical solutions of IVPs have errors, and those errors can be seen as perturbations to the solution. Theorem 6.1.2 gives an upper bound of eL(b−a) on the infinity norm (i.e., pointwise) absolute condition number of the solution with respect to perturbations at an initial time. However, the upper bound may be a terrible overestimate of the actual sensitivity for a particular problem.
In general, solutions can diverge from, converge to, or oscillate around the original trajectory in response to perturbations. We won’t fully consider these behaviors and their implications for numerical methods again until a later chapter.
✍ For each IVP, determine whether the problem satisfies the conditions of Theorem 6.1.2). If so, determine the smallest possible value for L.
(a)f(t,u)=3u,0≤t≤1
(b)f(t,u)=−tsin(u),0≤t≤5
(c)f(t,u)=−(1+t2)u2,1≤t≤3
(d)f(t,u)=u,0≤t≤1
⌨ For each ODE in the preceding problem, assume that u is initially equal to 1 on the given interval. Solve the resulting IVP with solve and make a plot of the solution.
✍ Use an integrating factor to find the solution of each problem in analytic form.
with k=S=1 and M=0.25, for the initial conditions x(0)=0.9M, 1.1M, 1.5M, 0.9S, 1.1S, 3S. Show all the solutions together on one plot with 0≤x≤3. (Note: One of the solutions will throw a warning and fail to reach t=10, but you can plot it anyway.)
⌨ (a) Using solve, solve the IVP u′=ucos(u)+cos(4t), 0≤t≤10, u(0)=u0 for u0=−2,−1.5,−1,…,1.5,2. Plot all the solutions on a single graph.
(b) All of the solutions in part (a) eventually settle into one of two periodic oscillations. To two digits of accuracy, find the value of u0 in (−1,1) at which the selected long-term solution changes. (This will take repeated trials, narrowing down the range for u0 each time.)
⌨ Experimental evidence (see Newton et al. (1981)) shows that a 300-mg oral dose of caffeine, such as might be found in a large mug of drip-brewed coffee, creates a concentration of about 8 μg/mL in blood plasma. This boost is followed by first-order kinetics with a half-life of about 6 hours (although this rate can vary a great deal from person to person). We can model the caffeine concentration due to one drink taken over half an hour via
where g=9.8 m/sec2 is gravitational acceleration, m is the mass of the skydiver with parachute, and k quantifies the effect of air resistance. At the US Air Force Academy, a training jump starts at about 1200 m and has k=0.4875 for t<13 and k=29.16 or t≥13. (This is an oversimplification; see Meade & Struthers (1999).)
(a) Solve the IVP for v for an 80-kg cadet for t∈[0,200], and plot the solution.
(b) The total distance fallen up to time t is ∫0tv(s)ds. Use Function 5.7.1 to calculate and plot the altitude of the cadet as a function of time.
(c) In part (b), you should have found that the altitude becomes negative. Use Function 4.4.2 to determine accurately when the cadet reaches the ground.
Newton, R., Broughton, L. J., Lind, M. J., Morrison, P. J., Rogers, H. J., & Bradbrook, I. D. (1981). Plasma and Salivary Pharmacokinetics of Caffeine in Man. European Journal of Clinical Pharmacology, 21(1), 45–52. 10.1007/BF00609587
Meade, D. B., & Struthers, A. A. (1999). Differential Equations in the New Millennium: The Parachute Problem. International Journal of Engineering Education, 15(6), 417–424.