Blog · Calculus guides · 22 November 2026 · 4 min read
By the Asymptote team. Every answer on this page is checked by the same machine that grades the game.
Separable Differential Equations: Steps & Practice Problems
A separable differential equation is one you can write as , and you solve it by moving every to one side and every to the other, then integrating both sides. Rearrange to , integrate, put a single on one side, solve for , and use the initial condition to find . For example, with gives , so .
Before you scroll
Try one now
Type the answer. Any correct form counts, and it is checked instantly. Stuck? The answer is underneath.
Problem 1
EasySolve, giving in terms of :
Stuck? Show the answer
Answer
How to start
Separate to , so . Then use .
The formula
Treating as a fraction you can pull apart makes purists wince. It works anyway, and the chain rule is the reason it works.
When to use it
Use separation when the right-hand side factors into (something in ) times (something in ): , , , , and plain , which is exponential growth and decay. It fails on sums like , which no amount of algebra splits into a product; those need an integrating factor instead. Before solving, a slope field shows you roughly what the solutions look like. After separating, everything left is ordinary integration, often a u-substitution.
How to do it, step by step
- Separate. Multiply and divide until all the terms (with ) are on the left and all the terms (with ) are on the right.
- Integrate both sides. Two ordinary integrals. Put one on the right only: two constants would just merge into one.
- Use the initial condition. Put in and to find . Doing it now, before solving for , usually keeps the algebra small.
- Solve for . Exponentiate a log, take a root, invert whatever is wrapped around . Pick the sign or branch that matches the initial condition.
- Check what you divided by. If you divided by , then may be a solution you lost along the way.
Worked examples
Example 1: Growth with an x in it
EasySolve the initial value problem:
Divide by and multiply by , then integrate:
At , : , so . Exponentiate both sides: . Since is positive, the absolute value comes off with a plus sign.
We divided by , so check : it does satisfy , but not , so it is not this problem's answer.
Answer
Example 2: A square root and a branch
MediumSolve the initial value problem:
Multiply both sides by :
At : . Multiply through by 2: .
Taking the square root gives , and the initial condition picks the sign: is positive, so take . The minus branch solves a different problem, the one with .
Answer
Example 3: A solution that blows up
HarderSolve, and say where the solution is defined:
Divide by and integrate. The left side is :
At : . So , and flipping both sides:
This only makes sense for : as , shoots off to infinity, although nothing in looks dangerous. Nonlinear equations can do this; linear ones cannot.
And the lost solution: dividing by quietly assumed . The constant satisfies perfectly well, and no value of produces it. With instead, that would be the answer.
Answer
Separable differential equations practice problems
The easy one was at the top. Here are the harder ones. Type an answer and it is checked instantly by the same checker that grades the game; any correct form counts. Stuck? The answer and the first step are under each one.
Problem 2
MediumSolve, giving in terms of :
Stuck? Show the answer
Answer
How to start
Separate to , which gives .
Problem 3
HarderSolve, giving in terms of :
Stuck? Show the answer
Answer
How to start
Split the exponent: . Multiply by to get , so .
Want more? Asymptote has 320 more separable differential equations problems, free, with no account.
Common mistakes
- Adding after exponentiating. From , the answer is , not . The constant gets exponentiated along with everything else and becomes a multiplier.
- Forgetting until the end. Writing and adding to the final gives the wrong family of solutions. Put it in as soon as you integrate.
- Separating a sum. is not separable: there is no way to write it as . Splitting it as is not separation, just a mess.
- Losing . Dividing by (or ) throws away the constant solution . Mention it, especially if the initial condition is .
Practice it now
No clock, three strikes
Separable equations are deep in a Diverge run, at difficulty 13 to 15: about three dozen problems in on a first climb, sooner once you have been that deep before. They are always with from 0 to 2 and a starting value, and the game asks for one number: at a later point, like for , , which is . So solve for exactly as above, then plug in.
FAQ
- How do you know if a differential equation is separable?
- If can be written as a function of times a function of . , and are separable; and are not.
- Why is there only one + C?
- Integrating both sides does give two constants, but is just another constant. Writing one on the side says the same thing with less ink.
- Is dy/dx = ky separable?
- Yes, and it is the most important one. gives , so : exponential growth for , decay for .
- What is a lost solution?
- A solution that disappears when you divide by something that could be zero. Dividing by loses , which no choice of in the general solution gives back.
- Where can I find separable differential equations practice problems?
- Right on this page: the practice problems section has three separable differential equations problems, easy, medium and harder, with the answer and the first step under each one, and a box that checks what you type with the same checker that grades Asymptote. The game has 320 more separable differential equations problems after that, free and with no account: try Diverge, which has no clock.
Keep going
Slope Fields: How to Draw & Match Them, With Practice Problems
A slope field draws dy/dx as a short dash at each point. How to draw one, sketch solution curves, match a field to its equation, with free practice problems.
U-Substitution: Choosing u, 3 Examples & Practice Problems
U-substitution undoes the chain rule: pick u so du is in the integral, swap, integrate, swap back. 3 worked examples and practice problems with answers.
Euler's Method: Formula, Worked Tables & Practice Problems
Euler's method: y(n+1) = y(n) + h f(x(n), y(n)). How to fill in the table, tell an over- from an underestimate, with worked examples and practice problems.