Solving separable differential equations
Form of a separable differential equation
We saw that first order linear equations are differential equations in the form
In contrast, first order separable differential equations are equations in the form
Hi! I'm krista.
I create online courses to help you rock your math class. Read more.
We call these “separable” equations because we can separate the variables onto opposite sides of the equation. In other words, we can put the terms on the right and the terms on the left, or vice versa, with no mixing.
Notice that the two previous equations above representing a separable differential equation are identical, except for the derivative term, which is represented by in the first equation and by in the second equation.
When we’re working with separable differential equations, we usually prefer the notation (Leibniz notation), because this notation makes it easier to see how to separate variables. Starting with , we move the notation to the right, leaving just the notation on the left:
How to solve separable equations
Most often, we’ll be given equations in the form
Here’s the standard process we’ll follow to find a solution to this separable differential equation. First, we’ll separate variables by moving the to the right side.
With variables separated, we’ll integrate both sides of the equation.
Normally when we evaluate an indefinite integral, we need to add in a constant of integration. So after integrating, we would expect to have something like
where is the integral of , and is the integral of . But when we solve for , we get
What we have to realize here is that, if and are constants, then is also a constant. So we can make a substitution and represent as just one simple constant .
For this reason, we don’t need to bother adding constants to both sides of the equation when we integrate. Instead of integrating to , we can always skip these intermediate steps and go straight to .
Once we have the equation in this form, the goal will be to express explicitly as a function of , meaning that our solution equation is solved for , like . Sometimes we won’t be able to get by itself on one side of the equation, and that’s okay. If we can’t, we’ll just settle for an implicit function, which means that and aren’t separated onto opposite sides of the solution.
In summary, our solution steps will be:
If necessary, rewrite the equation in Leibniz notation.
Separate variables with terms on the left and terms on the right
Integrate both sides of the equation, adding to the right side
If possible, solve the solution equation specifically for .
Four steps to solve every separable differential equation
Take the course
Want to learn more about Differential Equations? I have a step-by-step course for that. :)
Finding the solution of a separable differential equation
Let’s work through an example so that we can see these steps in action.
Example
Find the solution of the separable differential equation.
Let’s write the equation in Leibniz notation, changing to .
Separate the variables, collecting terms on the left and terms on the right.
Sometimes we won’t be able to get y by itself on one side of the equation, and that’s okay.
With variables separated, and integrating both sides, we get
Notice how we just multiplied through the equation by , but we didn’t change the sign on . That’s because keeping is a little simpler than , and we’ll still end up with the same solution equation either way.
Finally, solving for gives the solution to the separable differential equation.