Motivating Questions
- What is a separable differential equation?
- How can we find solutions to a separable differential equation?
- Are some of the differential equations that arise in applications separable?
In Sections 7.2 and 7.3, we have seen several ways to approximate the solution to an initial value problem. Given the frequency with which differential equations arise in the world around us, we would like to have some techniques for finding explicit algebraic solutions of certain initial value problems. In this section, we focus on a particular class of differential equations (called separable) and develop a method for finding algebraic formulas for their solutions.
A separable differential equation is a differential equation whose algebraic structure allows the variables to be separated in a particular way. For instance, consider the equation
We would like to separate the variables and so that all occurrences of appear on the right-hand side, and all occurrences of appear on the left, multiplied by For this example, we divide both sides by so that
Note that when we attempt to separate the variables in a differential equation, we require that one side is a product in which the derivative is one factor and the other factor is solely an expression involving
Not every differential equation is separable. For example, if we consider the equation
it may seem natural to separate it by writing
As we will see, this will not be helpful, since the left-hand side is not a product of a function of with
Preview Activity
In this preview activity, we explore whether certain differential equations are separable or not, and then revisit some key ideas from earlier work in integral calculus.
- Which of the following differential equations are separable? If the equation is separable, write the equation in the revised form
- Explain why any autonomous differential equation is guaranteed to be separable.
- Why do we include the term “” in the expression
- Suppose we know that a certain function satisfies the equation
What can you conclude about
Solving separable differential equations
Before we discuss a general approach to solving a separable differential equation, it is instructive to consider an example.
Example
Find all functions that are solutions to the differential equation
- Answer
-
We begin by separating the variables and writing
Integrating both sides of the equation with respect to the independent variable shows that
Next, we notice that the left-hand side allows us to change the variable of antidifferentiation 1 from to In particular, so we now have
This is why we required that the left-hand side be written as a product in which is one of the terms.This equation says that two families of antiderivatives are equal to each other. Therefore, when we find representative antiderivatives of both sides, we know they must differ by an arbitrary constant Antidifferentiating and including the integration constant on the right, we find that
It is not necessary to include an arbitrary constant on both sides of the equation; we know that and are in the same family of antiderivatives and must therefore differ by a single constant.
Finally, we solve the last equation above for as a function of which gives
Of course, the term on the right-hand side represents 3 times an unknown constant. It is, therefore, still an unknown constant, which we will rewrite as We thus conclude that the funtion
is a solution to the original differential equation for any value of
Notice that because this solution depends on the arbitrary constant we have found an infinite family of solutions. This makes sense because we expect to find a unique solution that corresponds to any given initial value.
For example, if we want to solve the initial value problem
we know that the solution has the form for some constant We therefore must find the appropriate value for that gives the initial value Hence,
which shows that The solution to the initial value problem is then
The strategy of Example may be applied to any differential equation of the form and any differential equation of this form is said to be separable. We work to solve a separable differential equation by writing
and then integrating both sides with respect to After integrating, we try to solve algebraically for in order to write as a function of
Example
Solve the differential equation
- Answer
-
Following the same strategy as in Example , we have
Integrating both sides with respect to
and thus
Antidifferentiating and including the integration constant, we find that
Finally, we need to solve for Here, one point deserves careful attention. By the definition of the natural logarithm function, it follows that
Since is an unknown constant, is as well, though we do know that it is positive (because is positive for any ). When we remove the absolute value in order to solve for however, this constant may be either positive or negative. To account for a possible or we denote this updated constant by to obtain
There is one more technical point to make. Notice that is an equilibrium solution to this differential equation. In solving the equation above, we begin by dividing both sides by which is not allowed if To be perfectly careful, therefore, we should consider the equilibrium solutions separately. In this case, notice that the final form of our solution captures the equilibrium solution by allowing
Activity
Suppose that the population of a town is growing continuously at an annual rate of 3% per year.
- Let be the population of the town in year Write a differential equation that describes the annual growth rate.
- Find the solutions of this differential equation.
- If you know that the town's population in year 0 is 10,000, find the population
- How long does it take for the population to double? This time is called the doubling time.
- Working more generally, find the doubling time if the annual growth rate is times the population.
Activity
Suppose that a cup of coffee is initially at a temperature of F and is placed in a F room. Newton's law of cooling says that
where is a constant of proportionality.
- Suppose you measure that the coffee is cooling at one degree per minute at the time the coffee is brought into the room. Use the differential equation to determine the value of the constant
- Find all the solutions of this differential equation.
- What happens to all the solutions as Explain how this agrees with your intuition.
- What is the temperature of the cup of coffee after 20 minutes?
- How long does it take for the coffee to cool to
Activity
Solve each of the following differential equations or initial value problems.
Summary
- A separable differential equation is one that may be rewritten with all occurrences of the dependent variable multiplying the derivative and all occurrences of the independent variable on the other side of the equation.
- We may find the solutions to certain separable differential equations by separating variables, integrating with respect to and ultimately solving the resulting algebraic equation for
- This technique allows us to solve many important differential equations that arise in the world around us. For instance, questions of growth and decay and Newton's Law of Cooling give rise to separable differential equations. Later, we will learn in Section 7.6 that the important logistic differential equation is also separable.