Lesson 5 of 7 · 22 min
Separation of variables
Solve and by separating the variables, integrating both sides and using an initial condition, handling and the arbitrary constant correctly.
What you will be able to do
- Recognise when a differential equation is separable, .
- Separate the variables, , and integrate both sides with one arbitrary constant.
- Rearrange to make the subject where possible, and find particular solutions from initial conditions.
For you just integrate. But has on the right, and integrating with respect to makes no sense when you don't know what is.
The trick is to gather everything involving on the left, with , and everything involving on the right, with . Then each side can be integrated with respect to its own variable.
Every curve is for some constant . The row is flat: gives the equilibrium solution.
Key idea
Separation of variables
If and , then
Integrate both sides, writing one arbitrary constant (on the side), then rearrange. The case is the same with , so the right-hand side is .
Why separation works
Divide by : . Let be an antiderivative of . By the chain rule,
So is an antiderivative of , which is exactly . "Multiplying by " is a shorthand for this argument, not a real operation on .
Which statement correctly separates the variables in ?
Worked example
Solve with
Solve the differential equation , given that . Express in terms of .
Step 1: Separate the variables
The right-hand side depends on only, so this is the form .
Step 2: Integrate both sides
, so the coefficient gives the .
Step 3: Make the subject
, so , and
where is an arbitrary constant.
Step 4: Use
, so .
Step 5: Check
and . ✓
Try it yourself first, then check the working one step at a time.
Answer
Method
Divide by and integrate both sides.
Exponentiate, absorbing into one constant .
Use the initial condition, then check by substitution.
Watch out for
Forgetting the from .
Writing : the constant multiplies the exponential.
Common mistake
Exponentiate the whole right-hand side
From ,
so , where is any constant (including , the equilibrium). It is not : an added constant inside the exponent becomes a multiplied constant outside.
Determine the general solution of . Use for the arbitrary constant.
Worked example
Solve with
Determine the particular solution of that satisfies , and state the largest interval containing on which it is defined.
Step 1: Separate
Step 2: Integrate both sides
.
Step 3: Find straight away
: , so .
Substituting before rearranging keeps the algebra simple.
Step 4: Make the subject
, so
Step 5: State the interval
The solution is undefined at . The interval containing is .
Step 6: Check
. ✓
Try it yourself first, then check the working one step at a time.
Answer
for .
Method
Separate to .
Integrate, find the constant from the initial condition, then rearrange.
Note where the solution breaks down.
Watch out for
Integrating to : the new power is , so divide by .
Writing : rearrange the whole equation, constant included.
Solve , given that .
Sometimes you cannot, or need not, make the subject. Leaving the solution in implicit form, such as , is fine unless the question asks for explicitly. If you do take a square root, use the initial condition to choose the sign.
Worked example
Solve with
(a) Solve , given when . Give explicitly in terms of .
(b) Describe the solution curve.
Step 1: Separate and integrate
Step 2: Tidy into implicit form
Multiply by : . Write the constant as : .
Step 3: Use
, so and .
Step 4: Choose the sign
. The initial value is positive, so take the positive root: for .
The differential equation is undefined at , so the solution cannot pass through to the lower half.
Step 5: Describe
The upper half of the circle with centre the origin and radius . This is the reverse of lesson 1, where implicit differentiation of gave .
Try it yourself first, then check the working one step at a time.
Answer
(a) , . (b) The upper semicircle of radius centred at the origin.
Method
Separate and integrate both sides.
Use the initial condition to find the constant in the implicit solution.
Take square roots, choosing the sign that matches the initial condition.
Watch out for
Giving : a particular solution is one function, and picks the positive root.
Exam tip
Set out each line
Markers look for: the separated integrals, both antiderivatives with a constant, the substitution that finds the constant, and the final answer in the form asked for. Keep the modulus in until the initial condition tells you the sign of .
Summary
Separable means : a product of an part and a part.
Separate to , integrate both sides and add one constant.
gives , with the constant multiplying.
Use the initial condition to find the constant, and to choose a sign after a square root.
Dividing by can lose constant solutions where : check them separately.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.