AP Calculus AB and BC
Separable Differential Equations: Step-by-Step Method
To solve a separable differential equation, get every y term with dy on one side and every x term with dx on the other, integrate both sides, add a single +C, then solve for y. If an initial condition is given, substitute it to find C right after integrating, then isolate y and state any domain restriction.
Recognizing a separable equation
A differential equation is separable when you can rearrange it so that every sits with on one side and every sits with on the other. Formally, the right side of the equation has to factor into a function of alone times a function of alone:
Recognition is the entire skill in Topic 7.6, and it comes down to one question: can I split the right side into an -only piece and a -only piece? Multiplication and division separate cleanly, so a product or quotient of and terms always works. Addition and subtraction do not, so cannot be separated, and neither can anything where and are locked inside the same function, like . On the AP exam, a first-order equation you are asked to solve algebraically will always separate.
| Equation | Separable? | Why |
|---|---|---|
| Yes | : an -piece times a -piece | |
| Yes | ||
| No | a sum will not factor into times | |
| No | and trapped inside one function |
Run this factoring test before you write anything else. It decides whether the rest of the method even applies, and if it fails, the exam wants a slope field or Euler's method instead of algebra.
The method, step by step
Once an equation passes the separable test, the procedure is mechanical and identical every time.
- Separate. Multiply and divide until all the terms (including ) are on one side and all the terms (including ) are on the other.
- Integrate both sides. Antidifferentiate each side with respect to its own variable.
- Add one constant. Put a single on the side. You do not need a constant on both sides, because two arbitrary constants collapse into one.
- Apply the initial condition (if the problem gives one) and solve for now, before you isolate .
- Solve for . Write as an explicit function of , and state any domain restriction.
The move in step 1, treating and as quantities you can multiply across, looks like a shortcut but it is really bookkeeping for the chain rule. Integrating with respect to is the same as integrating with respect to , which is exactly why the two sides can be antidifferentiated in their own variables.
One constant, not two
Writing on both sides is not wrong, just wasted work: subtracting leaves a single constant . Put one on the side and move on. The general solution of a first-order equation carries exactly one arbitrary constant.
Initial conditions and particular solutions
A general solution like describes infinitely many curves, one for each value of the constant. An initial condition, a single point the solution must pass through, selects exactly one of them: the particular solution (Topic 7.7). This is the difference between a family of curves and the one curve the problem is actually about.
Apply the initial condition right after you integrate, while is still alone on one side. Substitute the point, solve for , then isolate . Solving for first and substituting afterward gives the same answer, but it drags the constant through more algebra and is where sign errors creep in.
If you have time, verify the result the way Topic 7.2 asks: differentiate your answer, confirm it satisfies the original equation, and check that it passes through the given point. That catches most algebra slips before they cost you.
Domain restrictions: the point students lose
This is the step that separates a full-credit free-response answer from one that drops a point. A particular solution is a single continuous, differentiable function through the initial point, so its domain is the largest interval that contains that point and on which the solution stays defined. The answer is not finished until you state that interval.
Two things cut the interval short. A vertical asymptote is the first: if the solution blows up at some , the particular solution lives only on the side of that holds the initial condition. The original equation is the second: if divides by , the solution can never reach a point where , so those points bound the interval. Report the domain explicitly as an interval and confirm the initial -value sits inside it (FUN-7.E.3).
Mistakes that cost points
A handful of errors show up again and again on graded work.
- Adding the constant too late. Put in at the integration step and carry it through, not after you exponentiate.
- Losing the absolute value. , not . The absolute value is what lets the final constant be positive or negative.
- Dropping the constant solution. Dividing by assumes , but (or whatever makes ) is often a solution too. It usually reappears when you let the constant equal zero.
- Choosing the wrong sign. When solving for produces a , the initial condition decides which sign to keep.
- Skipping the domain. If the problem gives an initial condition, the interval of validity is part of the answer, not an afterthought.
Where this fits in Unit 7
Separation of variables is the only algebraic solving method the course expects you to run by hand, which makes recognizing it the real decision. If the equation separates, use this method. If it does not, the exam turns to qualitative tools: a slope field to picture the family of solutions (Topics 7.3 and 7.4), or Euler's method to approximate a value numerically (Topic 7.5, BC only).
Two famous models are separable equations in disguise. Exponential growth and decay, , separates to give (Topic 7.8). The BC logistic equation separates too, though it needs partial fractions to integrate (Topic 7.9). Both are just this same method applied to a specific right side.
Worked examples
Worked example
Finding a general solution
Find the general solution of .
- Check that it is separable. The right side is , an -only factor times a -only factor, so separation of variables applies (Topic 7.6).
- Separate the variables. Divide both sides by and multiply by to get . Dividing by assumes ; keep that case in mind.
- Integrate both sides. gives , with a single constant on the right.
- Solve for . Exponentiate both sides: . Drop the absolute value by letting the constant absorb the sign, , so .
- Recover the lost solution. The excluded case is itself a solution of the original equation, and it matches when . Letting be any real number captures every solution.
, where is any constant.
Worked example
Particular solution with a domain restriction
Solve with the initial condition , and state the domain of the solution.
- Confirm separability. is a function of (the constant ) times a function of , so the equation separates.
- Separate. , which is .
- Integrate both sides. gives .
- Apply the initial condition now, while is alone. Substitute and : , so .
- Solve for . The equation becomes , so and .
- State the domain. The solution has a vertical asymptote at . The initial point lies to the left of it, so the particular solution is valid only on .
for .
Worked example
Choosing the correct sign from the initial condition
Solve with .
- Separate. Multiply both sides by and by : . The equation divides by , so is excluded from the start.
- Integrate both sides. gives .
- Clear fractions. Multiply through by and rename the constant: , so .
- Apply the initial condition. Substitute and : , so .
- Solve for and pick the sign. Taking the square root gives . Because is positive, keep the positive root: .
- State the domain. The expression needs , and the original equation forbids , which occurs at . Both conditions give .
for .
Frequently asked questions
Are separable differential equations on the AB exam or only BC?
Both. Topics 7.6 and 7.7 are part of the AB and BC curriculum, and separation of variables is a common free-response task on each exam. Only Euler's method (7.5) and logistic models (7.9) in this unit are BC-only.
Do I need a on both sides when I integrate?
No. Integrating both sides technically produces two constants, but their difference is a single arbitrary constant, so you write one , usually on the side. A first-order equation has exactly one constant in its general solution.
Should I solve for y before or after using the initial condition?
Use the initial condition first, right after integrating, while the constant is alone on one side. Solve for , then isolate . That order keeps the algebra short and avoids sign mistakes.
Why does the AP rubric care about the domain of the solution?
A particular solution has to be one continuous function through the initial point, so it cannot cross a vertical asymptote or a point where the equation is undefined. Stating the correct interval (FUN-7.E.3) is a scored part of the answer.