Use separation of variables to solve a differential equation.
Solve applications using separation of variables.
We now examine a solution technique for finding exact solutions to a class of differential equations known as separable differential equations. These equations are common in a wide variety of disciplines, including physics, chemistry, and engineering. We illustrate a few applications at the end of the section.
Separation of variables
We start with a definition and some examples.
Definition
A
separable differential equation is any equation that can be written in the form
The term ‘separable’ refers to the fact that the right-hand side of the equation can be separated into a function of
times a function of
Examples of separable differential equations include
The second equation is separable with
and
the third equation is separable with
and
and the right-hand side of the fourth equation can be factored as
so it is separable as well. The third equation is also called an
autonomous differential equation because the right-hand side of the equation is a function of
alone. If a differential equation is separable, then it is possible to solve the equation using the method of
separation of variables .
Problem-solving strategy: separation of variables
Check for any values of
that make
These correspond to constant solutions.
Rewrite the differential equation in the form
Integrate both sides of the equation.
Solve the resulting equation for
if possible.
If an initial condition exists, substitute the appropriate values for
and
into the equation and solve for the constant.
Note that Step 4. states “Solve the resulting equation for
if possible.” It is not always possible to obtain
as an explicit function of
Quite often we have to be satisfied with finding
as an implicit function of
Using separation of variables
Find a general solution to the differential equation
using the method of separation of variables.
Follow the five-step method of separation of variables.
In this example,
and
Setting
gives
as a constant solution.
Rewrite the differential equation in the form
Integrate both sides of the equation:
Let
Then
so the equation becomes
To solve this equation for
first multiply both sides of the equation by
Now we use some logic in dealing with the constant
Since
represents an arbitrary constant,
also represents an arbitrary constant. If we call the second arbitrary constant
the equation becomes
Now exponentiate both sides of the equation (i.e., make each side of the equation the exponent for the base
Again define a new constant
(note that
This corresponds to two separate equations:
and
The solution to either equation can be written in the form
Since
it does not matter whether we use plus or minus, so the constant can actually have either sign. Furthermore, the subscript on the constant
is entirely arbitrary, and can be dropped. Therefore the solution can be written as
No initial condition is imposed, so we are finished.