P4 6.4 - Solving separable differential equations
Recover a function from a differential equation by separating its variables and integrating. Distinguish general from particular solutions, keep solutions that division might lose, and use initial conditions and domain restrictions to interpret a model.
Separating variables
If a gradient is the product , can you collect all the -dependence on one side and all the -dependence on the other? That rearrangement turns the equation into two integrals you already know.
A differential equation relates a function to its derivative. A solution is a function that satisfies the equation throughout an interval. Substituting a proposed solution and its derivative checks both sides at every input, not just at one point.
Separable differential equation
An equation of the form
is separable. Where , write
and integrate both sides. Values satisfying must be checked separately as possible constant solutions before dividing.
The differential notation records a chain-rule rearrangement. After integrating, use one arbitrary constant: constants from the two sides combine into their difference.
Worked example 1: separate a product
Separate and integrate .
Plan. Check , then divide by on any interval where it is nonzero.
The constant function gives , so it is a solution. For nonzero ,
Answer. for nonzero solutions, together with .
Check. Differentiate the implicit relation: , giving the original .
Change only the power of from to . Separation is identical, but the left integral uses a power instead of a logarithm.
Worked example 2: a power on the dependent variable
Separate and integrate .
Plan. Retain , then collect on the left.
The power rule raises to and divides by .
Answer. , for nonzero , together with .
Check. Implicit differentiation gives , hence . The constant zero solution also satisfies the equation directly.
The nonzero solutions can be made explicit later; first make sure the separation and integration are correct. This answers the opening question without losing the constant solution.
Watch out
, not . Also, dividing by excludes , so check it in the original equation before dividing.
Change only the coefficient on the right.
General solutions
A general solution contains an arbitrary constant, so it describes a family of solution curves rather than one curve.
After logarithmic integration, gives . Since , removing the absolute value allows either sign: write , with nonzero real . A separately verified zero solution may let you include too. Do not replace by without explaining that you are renaming a constant.
Worked example 3: an explicit family
Find the general solution of .
Plan. Separate nonzero solutions, integrate, then include the checked constant solution.
Both signs of represent nonzero solutions. The constant solution is obtained by allowing .
Answer. , for any real constant .
Check. , including .
Change only the dependent-variable factor from to . The family is now shifted vertically.
Worked example 4: a shifted equilibrium
Find the general solution of .
Plan. Check , then separate using .
For nonconstant solutions,
The checked constant solution is included by .
Answer. , for any real .
Check. Its derivative is . Also, a nonzero keeps on one side of zero, consistent with the division.
Some general solutions are best left implicitly, for example . If made explicit as , exclude zeros of the denominator and retain separately. A formula is a solution only where the original equation and the function are defined.
Watch out
does not give . Exponentiating a sum produces a product: .
Change the equilibrium value in the next equation.
Particular solutions
An initial condition selects one curve by fixing the arbitrary constant. Substitute the condition into the integrated equation before rearranging if that is simpler.
Domain restrictions remain after the constant is found. A denominator may introduce a new excluded point. When an initial point is given, use an interval containing that point that crosses neither an original exclusion nor a new one.
Worked example 5: a denominator limits the solution
Solve , given at , for .
Plan. Separate and integrate, use the initial values to find the constant, then inspect the denominator.
At , , so
The denominator is zero at .
Answer. , on the largest interval containing the initial point, .
Check. At , . Differentiation gives .
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account