8.7 Separable first-order differential equations — Learn
Prerequisites: integration by substitution and standard integrals from Sections 8.1 and 8.5; factorising algebraic expressions from Section 2.8.
By the end of this section you can: recognise a separable first-order differential equation; separate the variables and integrate both sides; find a general solution; and use an initial condition to find a particular solution.
1. Separating the variables
A differential equation is an equation involving a derivative. It is separable when it can be written with all the terms on one side and all the terms on the other:
To solve it, divide by and integrate both sides with respect to :
which is usually written in the shorter form
Then integrate each side and add one constant of integration.
Example 1. Solve .
Divide by and integrate:
so
Raise to both sides. The constant becomes a multiplier :
This is the general solution. Different values of give different curves in the family.
2. A constant of integration on each side
When you integrate both sides, a constant appears on each. Subtract one from the other to leave a single constant. In Example 1 the right-hand constant absorbs the left-hand one.
Example 2. Solve .
Multiply both sides by and by :
Integrate:
Multiply by and rename the constant :
Taking a square root gives . A particular solution keeps the sign fixed by the initial condition.
Example 3. Solve .
Use the index law , then separate:
Integrate:
The constant stays inside the logarithm because is the quantity that was integrated.
3. Particular solutions
An initial condition fixes the constant. It gives a value of at a value of , such as when .
Example 4. Find the particular solution of for which when .
Separate and integrate:
Substitute and : , so the particular solution is
4. Factorising before separating
Sometimes a common factor hides the separation. Factorise it out first.
Example 5. Solve .
Take out the common factor :
The equation is now separable. Divide by :
Exponentiate both sides:
Watch out. Four mistakes are common.
Dividing by zero. When you divide by , check whether gives a constant solution. For , the value is a solution, and it is included in with .
Forgetting to integrate both sides. After separating, both sides need an integral. Writing instead of skips the integration.
Losing the sign of the constant. The constant of integration becomes a multiplier when you exponentiate. Write so that can be positive or negative.
Not factorising first. An expression such as separates only after you take out . Re-check: substitute your answer back into the original equation and confirm both sides match.
5. Try it: the family of solutions
Predict first. The figure shows the family of solutions of for different starting values, with a slider for . Before you move the slider, predict what happens to the curves when changes from positive to negative. Write your prediction down.
Test. Move the slider for and watch the curves. Then move the starting value and watch which curve is highlighted.
Explain. Write two sentences. The first explains why every curve is an exponential. The second explains why a negative value of gives a curve that falls.
You should now be able to
- recognise a separable first-order differential equation;
- separate the variables and integrate both sides;
- add one constant of integration and tidy the general solution;
- use an initial condition to find a particular solution;
- factorise a common factor before separating;
- check a solution by substituting it into the differential equation.