So far, you’ve seen differential equations like
which are easy to solve by directly integrating. But if the right-hand side depends on both and , we use a technique called separation of variables. This method works by rearranging the equation so that all terms involving are on one side and all terms involving are on the other, allowing us to integrate with respect to a single variable. In order to separate the variables, the differential equation must be written in the form
If the equation can’t be written this way, then separation of variables won’t work.
Find the particular solution to the differential equation
With initial condition:
Step 1: Rewrite the equation to separate the variables
Generally, the easiest way to separate the variables is to multiply both sides by and then rearrange so that the portion with goes to the other side with - in this case, by multiplying both sides by .
Step 2: Integrate both sides
Step 3: Apply the initial condition if given
If no initial condition is given, then just solve the equation for to obtain the general solution.
In this case, there is an initial condition so plug it in to find :
Then
Solving for ,
1. Find the general solution to
First, factor so that the equation is written as a product:
Next, separate the variables by multiplying both sides by and then dividing by :
Integrate both sides
Solve for :
Using the product law of exponents,
Since is also a constant, we can change it to , which is any real number rather than a specific value. So the general solution to the differential equation is
2. Find the particular solution to
with .
Separate the variables:
Integrate both sides:
Plug in initial condition :
Lastly, solve for to find the particular solution after substituting :
3. Find the particular solution to
with
Separate the variables:
Integrate both sides (use -substitution with for the left-hand side):
Plug in the initial condition to find :
Solve for to find the particular solution after substituting :
4. If
and when , find when .
Although the variables this time are and , separation of variables works the same way:
Integrate both sides:
Solve for given initial condition and :
Then
Note: The initial condition tells us that is positive; therefore, the positive branch is the only solution.
Solving for when ,
Lastly, here is a problem similar to a multi-part free-response question from the 2022 AB exam:
Consider the differential equation
Let be the particular solution to the differential equation with initial condition .
a) Write an equation for the line tangent to the solution curve at the point and use it to approximate .
b) Given for , is the approximation from part a) an overestimate or underestimate for ?
c) Use separation of variables to find the particular solution to the differential equation with initial condition .
a) Equation of tangent line at
The equation of a tangent line at a point is
was given as . To find , or the slope of the tangent line, evaluate the differential equation at the point:
Then the equation of the tangent line is
The linear approximation of can be found by plugging in into the tangent line equation:
b) Underapproximate or overapproximate?
Since , the graph of the function is concave down on that interval.
When a function is concave down, the tangent line lies above the curve, so the linear approximation from the tangent line is an overestimate of the actual value.
c) Particular solution with
Separate the variables:
Integrate both sides:
Plug in initial condition to solve for :
Lastly, solve for :
Sign up for free to take 5 quiz questions on this topic