Separable differential equations
![]() |
Educational level: this is a tertiary (university) resource. |
![]() |
Resource type: this resource is a lesson. |
![]() |
Subject classification: this is a mathematics resource . |
![]() |
Completion status: this resource is ~50% complete. |
School:Mathematics > Topic:Differential_Equations > Ordinary Differential Equations > Separable Differential Equations
First Order Differential Equations
The order of a differential equation is the largest derivative involved. For example, in the equation
, the largest derivative is the second, so the order is 2.
Separable Equations
One of the easiest class of ODEs to solve is separable equations.
Definition
A differential equation is called separable when it can be manipulated into an equation with the dependent variable and its differentials on one side of the equality, and the independent variable and its differentials on the other side. Thus, each side is in terms of a single variable.
Example
The equation has a fairly obvious solution if you know your differentiation rules well. Recall that
and hence
is a solution. But how could we have found this if we did not remember that
happened to be its own derivative? Additionally, is it possible to find any more solutions? Observe that the equation above is separable, and can be written as
. Now that both sides are in terms of their own variable, we can integrate:
And thus, .
Since
and
are arbitrary constants of integration,
is another arbitrary constant, so that the final solution is
for any
.
General Solution
Suppose we have some separable equation:
Then we can integrate both sides:
Since the constants are arbitrary, we really only need one. However, do not forget the constant of integration, or you will lose a large number of solutions. Additionally, do not wait until the last step to add the constant of integration. Many times when learning calculus, students add a to the end of a problem without really thinking, but remember that the
comes from the integration, so you need to add it at that step. In the above example, adding the
at the last step would give
as a solution. But we can see that, for example,
, so that
is not a solution (whenever
)!
At any rate, the equation is now of the form , which can be solved for
using any available algebra tools.
In short:
- If possible, manipulate the equation using algebra to get each variable on its own side of the equation. The form should be
.
- Integrate both sides of the equation. Include a constant of integration.
- Solve for the function in terms of the independent variable.