Separable differential equation
Definition
Form of the differential equation
The term separable is used for a first-order differential equation that, up to basic algebraic manipulation, is of the form:
where is the independent variable and is the dependent variable.
Separable differential equations can be described as first-order first-degree differential equations where the expression for the derivative in terms of the variables is a multiplicatively separable function of the two variables.
Solution method and formula: general solution
It can be solved by rearranging and integrating:
It suffices to have just one freely floating additive constant in the answer because the additive constants coming from the two integrals can be merged into one.
In general, the solution to this is a relational solution family, i.e., it is in the form of an implicit function rather than an explicit description of as a function of . However, it may be possible to manipulate the solution in order to write explicitly as a function of .
Stationary solutions
In addition to the above formula of general solutions, it is also possible that there exist additional solutions that are stationary solutions. These are solutions of the form:
This family of solutions is usually a discrete, often finite, family of solutions. It may be possible to find an elegant way of writing the general solution that also manages to encompass the stationary solutions.
The term general solution is somewhat ambiguous. Some people use it to refer to the solutions obtained by the solution method of integration, even if that excludes the stationary solutions. Others use the term to refer to all solutions, inclusive of the stationary solutions.
Particular cases
Where the derivative depends only on the dependent variable
This is the case of a first-order autonomous differential equation of degree one (usually, is replaced by the letter denoting time, and is replaced by the letter ):
Here, we get:
Note that performing the integration expresses in terms of . We need to then do algebraic manipulation to express explicitly in terms of .
Again, we need to take care of additional solutions of the form:
Where the derivative depends only on the independent variable
This is a situation where the function depends only on :
We get:
This is a straightforward explicit functional description.
Note that in this case, there are no additional solutions that we need to worry about.
Examples
Example without stationary solutions
Consider the differential equation:
Note first that has no solution, so the differential equation has no stationary functional solutions. We rearrange to get the general solution:
Integrating, we get:
Note that the constant is only put at one place rather than separate constants for each integration, because the multiple constants can be absorbed into a single one.
The above gives a family of relational solutions. If we wish, we could convert these to functional solutions, though we need to be somewhat careful when doing so in general. In this case, a naive manipulation would give:
We do lose some information in the process (namely that is in the range of ) but that information was artificial anyway so this is not an issue.
Example with stationary solutions
Consider the differential equation:
This has a stationary solution (a constant function). Assuming , we can rearrange to get:
This integrates to give:
Exponentiating both sides, we get:
Let . Note that . We get:
Rearranging, we can get as an explicit function of :
Note that currently we have the restriction . However, we see that allowing gives the stationary solution, so that we can combine the stationary solution into the general solution and get, with a parameter:
Example with additional subtlety: partially stationary solutions
Since the example we consider here is an autonomous differential equation, we use somewhat different notation: we denote the depedent variable by and the independent variable by . The differential equation is:
This differential equation has two stationary solutions: and .
We first make a couple of observations:
- must be a non-decreasing function of everywhere on its domain, because the derivative is nonnegative.
- for all , because that is necessary for the right side to make sense.
- In particular, if at a given value , we must have for all , and if at a given value , we must have for all .
Solving for non-stationary solutions, we get:
This gives:
The solution extends continuously to the boundary points, so we get:
Now, at the endpoint , . By the observations made above, must be equal to -1 for all , and must be equal to 1 for all . The general non-stationary solution is thus:
The complete list of global solutions is the above general solution family and the two stationary solutions and .