Go to PostCALC Materials

Introduction to Differential Equations

Part 5: Symbolic Solutions of Separable Differential Equations

In Part 4 we showed one way to use a numeric scheme, Euler's Method, to approximate solutions of a differential equation. In earlier parts, we described symbolic solutions of particular differential equations. Both representations -- numeric and symbolic -- are important, and both may be explored at various levels of complexity. In this section we will describe a simple method for obtaining symbolic descriptions for a general class of first-order differential equations.

Among the simplest differential equations are those of the form

dY/dt = f(t),

i.e., first-order differential equations where the right-hand side has no explicit dependence on the dependent variable Y. For such an equation, obtaining a general description of the solutions is the same as finding all antiderivatives of f, i.e., the same as calculating an indefinite integral. So, for example, the solutions of

dY/dt = cos(t)

constitute the family of functions Y of the form

where C can be any constant. More generally, finding symbolic descriptions of solutions of first-order differential equations comes down to calculating one or more integrals.

We describe here a method for calculating symbolic descriptions of solutions for a large class of differential equations -- those that can be written in the form

Such differential equations are said to be separable. For example, each of the following differential equations is separable:

On the other hand, the differential equation

    dY/dt = Y + t

is not a separable differential equation.

 

A first example

Before we describe the solution procedure in general, let's look at a simple case,

dY/dt = kY.

You probably know that this represents exponential growth or decay depending on whether k is positive or negative and that the family of solutions is

where C can be any real constant. However, let's forget that we know this and rediscover this description.

In the discussion, we will use the fact that initial value problems for this differential equation have unique solutions. In particular, since the constant function zero is a solution, any different solution is never zero. Indeed, suppose Y is a solution of the differential equation and Y(t0) is zero. Then, Y is a solution of the initial value problem

dY/dt = ky and Y(t0) = 0.

But, the constant zero function is also a solution of the initial value problem

dY/dt = kY and Y(t0) = 0.

Since there is only one solution of the initial value problem, Y must be the constant zero function.

Thus, we only need to describe solutions that are never zero. Suppose that Y is such a nonzero solution of the differential equation dY/dt = kY. Then,

for all t. Think of the left-hand side of this equation as the result of a chain rule differentiation

We may also write the right-hand side as a derivative

Using these identifications, Y must satisfy

for all t. Since two functions have the same derivative for all t exactly when they differ by a constant, we must have

for some constant c and all t. Now exponentiating both sides of this equation, we obtain

Since Y(t) is either always positive or always negative, either Y(t) = ecekt for all t or Y(t) = -ecekt for all t. If we let C be either ec or -ec as appropriate, then Y must have the form

Letting C be any nonzero constant, we describe all the nonzero solutions of the differential equation. If we allow C to be zero, we also pick up the constant zero solution in our description.

 

A mnemonic device

Now we will repeat this calculation in a mnemonic form that makes the steps easy to remember. First, rewrite the differential equation in the form

Notice that we have "separated the variables." Now formally integrate both sides. (This is the Chain Rule step in the original calculation.) We obtain

Carrying out the indicated integrations, we have

ln(|Y|) + constant = kt + constant

Combining the two constants, we have

ln(|Y|) = kt + constant

The rest of the calculation is as before.

 

The general method

In general, if the differential equation is separable, we can separate the variables

Then, if we can evaluate the integrals

we reduce the problem from one of calculus to one of algebra -- solving for Y(t).

 

A second example

Let's try this out with the differential equation dY/dt = 5Y2. Certainly one solution of this differential equation is the constant zero function.

  1. Explain why solutions of dY/dt = 5Y2 are either identically zero or never zero.

  2. Let Y be a nonzero solution of dY/dt = 5Y2. Show that for some constant c, Y must satisfy

    for all t.

  3. Let Y be the solution of the initial value problem

    dY/dt = 5Y2 and Y(0) = 1

    show that

    Y(t) = 1/(1 - 5t).

Note that Y(t) approaches infinity as t approaches 1/5 from the left. Below is a slope field for this differential equation with this particular solution displayed.

 

A third example

As a final example of this method of determining symbolic solutions, we'll look at the differential equation

dY/dt = 2Y(2 - Y).

Note that this is our rumor-spreading differential equation from Part 1 with k and M both set equal to 2.

  1. There are two constant solutions of this equation. What are they?

  2. Show that if Y is a solution of this differential equation, then either 2Y(2 - Y) is zero for all values of t, or it is never zero.

  3. Assume that Y is a solution of the differential equation such that 2Y(2 - Y) is always positive. Separate the variables to obtain

    Integrate both sides to show that Y must satisfy

  4. Use your computer algebra system to find a general form of the solutions to the differential equation

    dY/dt = 2Y(2 - Y),

    and show that the description in Step 6 agrees with the computer algebra system description.

  5. Now assume Y is a solution such that Y(t) is always strictly greater than 2. Repeat your symbolic calculation. Be careful that you are only taking logs of positive quantities. Can the solution still be put in the form described in Step 6? If so, what range of Cs corresponds to these solutions?

  6. Now assume Y is a solution such that Y(t) is always strictly negative. Repeat your symbolic calculation. Again, be careful that you are only taking logs of positive quantities. Can the solution still be put in the form described in Step 6? If so, what range of Cs corresponds to these solutions?

Go to PostCALC Materials


modules at math.duke.edu Copyright CCP and the author(s), 1999