3.7 Nonlinear Equations

INTRODUCTION

The difficulties that surround higher-order nonlinear DEs and the few methods that yield analytic solutions are examined next.

Some Differences

There are several significant differences between linear and nonlinear differential equations. We saw in Section 3.1 that homogeneous linear equations of order two or higher have the property that a linear combination of solutions is also a solution (Theorem 3.1.2). Nonlinear equations do not possess this property of superposability. For example, on the interval (−∞, ∞), y1 = ex, y2 = ex, y3 = cos x, and y4 = sin x are four linearly independent solutions of the nonlinear second-order differential equation (y″)2y2 = 0. But linear combinations such as y = c1ex + c3 cos x,y = c2ex + c4 sin x,y = c1ex + c2ex + c3 cos x + c4 sin x are not solutions of the equation for arbitrary nonzero constants ci. See Problem 1 in Exercises 3.7.

In Chapter 2 we saw that we could solve a few nonlinear first-order differential equations by recognizing them as separable, exact, homogeneous, or perhaps Bernoulli equations. Even though the solutions of these equations were in the form of a one-parameter family, this family did not, as a rule, represent the general solution of the differential equation. On the other hand, by paying attention to certain continuity conditions, we obtained general solutions of linear first-order equations. Stated another way, nonlinear first-order differential equations can possess singular solutions whereas linear equations cannot. But the major difference between linear and nonlinear equations of order two or higher lies in the realm of solvability. Given a linear equation there is a chance that we can find some form of a solution that we can look at, an explicit solution or perhaps a solution in the form of an infinite series. On the other hand, nonlinear higher-order differential equations virtually defy solution. This does not mean that a nonlinear higher-order differential equation has no solution but rather that there are no analytical methods whereby either an explicit or implicit solution can be found.

Although this sounds disheartening, there are still things that can be done; we can always analyze a nonlinear DE qualitatively and numerically.

Let us make it clear at the outset that nonlinear higher-order differential equations are important—dare we say even more important than linear equations?—because as we fine-tune the mathematical model of, say, a physical system, we also increase the likelihood that this higher-resolution model will be nonlinear.

We begin by illustrating an analytical method that occasionally enables us to find explicit/implicit solutions of special kinds of nonlinear second-order differential equations.

Reduction of Order

Nonlinear second-order differential equations F(x, y′, y″) = 0, where the dependent variable y is missing, and F(y,y′, y″) = 0, where the independent variable x is missing, can sometimes be solved using first-order methods. Each equation can be reduced to a first-order equation by means of the substitution u = y′.

Dependent Variable Missing

The next example illustrates the substitution technique for an equation of the form F(x, y′, y″) = 0. If u = y′, then the differential equation becomes F(x, u, u′) = 0. If we can solve this last equation for u, we can find y by integration. Note that since we are solving a second-order equation, its solution will contain two arbitrary constants.

EXAMPLE 1 Dependent Variable y Is Missing

Solve y″ = 2x(y′)2.

SOLUTION

If we let u = y′, then du/dx = y″. After substituting, the second-order equation reduces to a first-order equation with separable variables; the independent variable is x and the dependent variable is u:

The constant of integration is written as for convenience. The reason should be obvious in the next few steps. Since u−1 = 1/y′, it follows that

and so

Independent Variable Missing

Next we show how to solve an equation that has the form F(y,y′,y″) = 0. Once more we let u = y′, but since the independent variable x is missing, we use this substitution to transform the differential equation into one in which the independent variable is y and the dependent variable is u. To this end we use the Chain Rule to compute the second derivative of y:

In this case the first-order equation that we must now solve is F(y, u, u du/dy) = 0.

EXAMPLE 2 Independent Variable x Is Missing

Solve yy″ = (y′)2.

SOLUTION

With the aid of u = y′, the Chain Rule shown above, and separation of variables, the given differential equation becomes

Integrating the last equation then yields ln |u| = ln |y| + c1, which, in turn, gives u = c2y, where the constant ±ec1 has been relabeled as c2. We now resubstitute u = dy/dx, separate variables once again, integrate, and relabel constants a second time:

or ln |y| = c2x + c3 or y = c4.

Use of Taylor Series

In some instances a solution of a nonlinear initial-value problem, in which the initial conditions are specified at x0, can be approximated by a Taylor series centered at x0.

EXAMPLE 3 Taylor Series Solution of an IVP

Let us assume that a solution of the initial-value problem

y″ = x + yy2, y(0) = −1, y′(0) = 1 (1)

exists. If we further assume that the solution y(x) of the problem is analytic at 0, then y(x) possesses a Taylor series expansion centered at 0:

(2)

Note that the value of the first and second terms in the series (2) are known since those values are the specified initial conditions y(0) = −1, y′(0) = 1. Moreover, the differential equation itself defines the value of the second derivative at 0: y″(0) = 0 + y(0) − y(0)2 = 0 + (−1) − (−1)2 = −2. We can then find expressions for the higher derivatives y‴, y(4), …, by calculating the successive derivatives of the differential equation:

y‴(x) = (x + yy2) = 1 + y′ − 2yy′ (3)

y(4)(x) = (1 + y′ − 2yy′) = y″ − 2yy″ − 2(y′)2 (4)

y(5)(x) = (y″ − 2yy″ − 2(y′)2) = y‴ − 2yy‴ − 6y′ y″ (5)

and so on. Now using y(0) = −1 and y′(0) = 1 we find from (3) that y‴(0) = 4. From the values y(0) = −1, y′(0) = 1, and y″(0) = −2, we find y(4)(0) = −8 from (4). With the additional information that y‴(0) = 4, we then see from (5) that y(5)(0) = 24. Hence from (2), the first six terms of a series solution of the initial-value problem (1) are

Use of a Numerical Solver

Numerical methods, such as Euler’s method or a Runge–Kutta method, are developed solely for first-order differential equations and then are extended to systems of first-order equations. In order to analyze an nth-order initial-value problem numerically, we express the nth-order ODE as a system of n first-order equations. In brief, here is how it is done for a second-order initial-value problem: First, solve for y″; that is, put the DE into normal form y″ = f(x, y, y′), and then let y′ = u. For example, if we substitute y′ = u in

= f(x,y,y′), y(x0) = y0, y′(x0) = u0, (6)

then y″ = u′ and y′(x0) = u(x0) so that the initial-value problem (6) becomes

However, it should be noted that a commercial numerical solver may not require* that you supply the system.

EXAMPLE 4 Graphical Analysis of Example 3

Following the foregoing procedure, the second-order initial-value problem in Example 3 is equivalent to

with initial conditions y(0) = −1, u(0) = 1. With the aid of a numerical solver we get the solution curve shown in blue in FIGURE 3.7.1. For comparison, the curve shown in red is the graph of the fifth-degree Taylor polynomial T5(x) = −1 + xx2 + . Although we do not know the interval of convergence of the Taylor series obtained in Example 3, the closeness of the two curves in the neighborhood of the origin suggests that the power series may converge on the interval (−1, 1).

Two solution curves representing Taylor polynomial and solution curve generated by a numerical solver are graphed on an x y coordinate plane. The curve representing Taylor polynomial consists of two parts. The first part enters the bottom of the third quadrant, goes up and very slightly to the right, and ends at a point in the third quadrant just below the negative x axis and to the left of negative y axis. The second part starts at a point in the fourth quadrant just below the positive x axis and to the right of negative y axis, goes up and slightly to the right through the positive x axis, and ends at the top of the first quadrant. The curve representing solution curve generated by a numerical solver enters the bottom of the third quadrant very close to the curve of Taylor polynomial, goes up and very slightly to the right through the negative y axis, and reaches a point in the fourth quadrant. Then, it goes up and to the right through the positive x axis, completes two cycles in the first quadrant following an oscillatory pattern, and ends at the right of the first quadrant.

FIGURE 3.7.1 Comparison of two approximate solutions in Example 4

Qualitative Questions

The blue graph in Figure 3.7.1 raises some questions of a qualitative nature: Is the solution of the original initial-value problem oscillatory as x → ∞? The graph generated by a numerical solver on the larger interval shown in FIGURE 3.7.2 would seem to suggest that the answer is yes. But this single example, or even an assortment of examples, does not answer the basic question of whether all solutions of the differential equation y″ = x + yy2 are oscillatory in nature. Also, what is happening to the solution curves in Figure 3.7.2 when x is near −1? What is the behavior of solutions of the differential equation as x → −∞? Are solutions bounded as x → ∞? Questions such as these are not easily answered, in general, for nonlinear second-order differential equations. But certain kinds of second-order equations lend themselves to a systematic qualitative analysis, and these, like their first-order relatives encountered in Section 2.1, are the kind that have no explicit dependence on the independent variable. Second-order ODEs of the form

F(y,y′, y″) = 0 or = f(y,y′),

that is, equations free of the independent variable x, are called autonomous. The differential equation in Example 2 is autonomous, and because of the presence of the x term on its right side, the equation in Example 3 is nonautonomous. For an in-depth treatment of the topic of stability of autonomous second-order differential equations and autonomous systems of differential equations, the reader is referred to Chapter 11.

The numerical solution curve of I V P is graphed on an x y coordinate plane. It enters the bottom of the third quadrant, goes up and slightly to the right through the negative y axis, and reaches a point in the fourth quadrant. Then, it goes up and to the right through the point (2, 0), completes seven cycles in the first quadrant following an oscillatory pattern, and ends at the right of the first quadrant.

FIGURE 3.7.2 Numerical solution curve of IVP in (1) of Example 3

3.7 Exercises Answers to selected odd-numbered problems begin on page ANS-6.

In Problems 1 and 2, verify that y1 and y2 are solutions of the given differential equation but that y = c1y1 + c2y2 is, in general, not a solution.

  1. (y″)2 = y2; y1 = ex, y2 = cos x
  2. yy″ = (y′)2; y1 = 1, y2 = x2

In Problems 3–6, the dependent variable y is missing in the given differential equation. Proceed as in Example 1 and solve the equation by using the substitution .

In Problems 7–10, the independent variable x is missing in the given differential equation. Proceed as in Example 2 and solve the equation by using the substitution .

In Problems 11 and 12, solve the given initial-value problem.

  1. Consider the initial-value problem

    y″ + yy′ = 0, y(0) = 1, y′(0) = −1.

    1. Use the DE and a numerical solver to graph the solution curve.
    2. Find an explicit solution of the IVP. Use a graphing utility to graph this solution.
    3. Find an interval of definition for the solution in part (b).
  2. Find two solutions of the initial-value problem

    (y″)2 + (y′)2 = 1,

    Use a numerical solver to graph the solution curves.

In Problems 15 and 16, show that the substitution u = y′ leads to a Bernoulli equation. Solve this equation (see Section 2.5).

  1. xy″ = y′ +(y′)3
  2. xy″ = y′ + x(y′)2

In Problems 17–20, proceed as in Example 3 and obtain the first six nonzero terms of a Taylor series solution, centered at 0, of the given initial-value problem. Use a numerical solver and a graphing utility to compare the solution curve with the graph of the Taylor polynomial.

  1. y″ = x + y2, y(0) = 1, y′(0) = 1
  2. y″ + y2 = 1, y(0) = 2, y′(0) = 3
  3. y″ = x2 + y2 − 2y′, y(0) = 1, y′(0) = 1
  4. y″ = ey, y(0) = 0, y′(0) = −1
  5. In calculus, the curvature of a curve that is defined by a function y = f(x) is defined as

    Find y = f(x) for which κ = 1. [Hint: For simplicity, ignore constants of integration.]

Discussion Problems

  1. In Problem 1 we saw that cos x and ex were solutions of the nonlinear equation (y″)2y2 = 0. Verify that sin x and ex are also solutions. Without attempting to solve the differential equation, discuss how these explicit solutions can be found by using knowledge about linear equations. Without attempting to verify, discuss why the linear combinations y = c1ex + c2ex + c3 cos x + c4 sin x and y = c2ex + c4 sin x are not, in general, solutions, but the two special linear combinations y = c1ex + c2ex and y = c3 cos x + c4 sin x must satisfy the differential equation.
  2. Discuss how the method of reduction of order considered in this section can be applied to the third-order differential equation y‴ = Carry out your ideas and solve the equation.
  3. Discuss how to find an alternative two-parameter family of solutions for the nonlinear differential equation y″ = 2x(y′)2 in Example 1. [Hint: Suppose that is used as the constant of integration instead of +.]

Mathematical Models

  1. Motion in a Force Field A mathematical model for the position x(t) of a body moving rectilinearly on the x-axis in an inverse-square force field is given by

    Suppose that at t = 0 the body starts from rest from the position x = x0, x0 > 0. Show that the velocity of the body at time t is given by v2 = 2k2(1/x − 1/x0). Use the last expression and a CAS to carry out the integration to express time t in terms of x.

  2. A mathematical model for the position x(t) of a moving object is

    Use a numerical solver to investigate graphically the solutions of the equation subject to x(0) = 0, x′(0) = x1, x1 ≥ 0. Discuss the motion of the object for t ≥ 0 and for various choices of x1. Investigate the equation

    in the same manner. Give a possible physical interpretation of the dx/dt term.

 

* Some numerical solvers require only that a second-order differential equation be expressed in normal form y″ = f(x, y, y′). The translation of the single equation into a system of two equations is then built into the computer program, since the first equation of the system is always y′ = u and the second equation is u′ = f(x, y, u).