AP® Calculus AB review sheet from Aim for Five (aimforfive.com/calc-ab/units/7/7-6)
Unit 7 · Topic 7.6
7.6 Finding General Solutions Using Separation of Variables
A separable differential equation can be rearranged so all the y's (with dy) are on one side and all the x's (with dx) are on the other. Integrating both sides and adding a constant C gives the general solution, which describes a whole family of curves.
Key terms
- separation of variables
- separable differential equation
- general solution
- constant of integration
What “separable” means
A differential equation is separable if can be written as a function of x times a function of y: . Then you can move all the y-stuff to the left and all the x-stuff to the right:
Examples that are separable: , , (because ), . Examples that aren't: , . You can't split a sum like x + y into a product.
The steps
- Separate: get every y and dy on one side, every x and dx on the other. Multiply or divide; never add or subtract a term across.
- Integrate both sides.
- Add one constant of integration, usually on the x side. (Constants from both sides combine into one.)
- Solve for y if you can. If you can't, an implicit answer like is still a valid general solution.
Handling the constant
When you solve for y, the constant changes form. If , then . Since is just some positive constant, you can write , where A can be positive or negative. A = 0 also works here, because y = 0 is a solution of . (That zero solution gets lost when you divide by y, so it's worth checking for.)
This step is why you add C right after integrating, not at the very end. Adding it later, as in , gives the wrong family.
Integrals that come up again and again
- , and
Why it matters
Separation of variables is the main method for solving differential equations in this course. Exponential growth and decay (7.8) and the logistic model (7.9, BC only) both come from separable equations. Separable equations are a regular part of AP free response, and the next topic (7.7) adds the initial condition.
Worked examples
Try each one yourself first, then open the solution.
- Example 1
Implicit general solution
Find the general solution of .
Show the solutionHide the solution
- Step 1: Separate: .
- Step 2: Integrate: , so .
- Step 3: You can leave it like this, or write , where K = 2C.
Answer: (or )
- Example 2
Exponential form
Find the general solution of .
Show the solutionHide the solution
- Step 1: Separate (for y ≠ 0): .
- Step 2: Integrate: .
- Step 3: Exponentiate: , so , where .
- Step 4: Check the lost case: y = 0 gives 0 = 0 in the original equation, so A = 0 is allowed too.
- Step 5: Check: if , .
Answer: , for any constant A
- Example 3
Trap: exponents with a difference
Find the general solution of .
Show the solutionHide the solution
- Step 1: It looks unseparable, but .
- Step 2: Separate: , which is .
- Step 3: Integrate: eʸ = eˣ + C.
- Step 4: Solve: y = ln(eˣ + C), valid where eˣ + C > 0.
Answer: y = ln(eˣ + C)
Common mistakes
- Leaving a y on the x side (or an x on the y side) and integrating anyway. Both sides must be in one variable each.
- Forgetting the + C, or adding it only after solving for y. On the AP exam, leaving out the constant of integration can cost you most of the points on that part.
- Writing and then . Exponentiating turns the added constant into a multiplier.
- Separating as dy − y = x dx. That isn't separation.
On the exam
- AP scorers check that you separated correctly before anything else. If the separation is wrong, little else can earn credit, so double-check it.
- Show the integrals with the constant: “.”
Connected topics
Videos
Check yourself: 7.6 Finding General Solutions Using Separation of Variables
4 questions on 7.6 Finding General Solutions Using Separation of Variables. Pick an answer to see if you got it, and why.
Which of the following is the general solution to the differential equation ?
Which of the following is the general solution to the differential equation ?
Which of the following is the general solution to the differential equation for x > 0?
The temperature y of an object satisfies , where M is the constant room temperature and k is a positive constant. Which of the following is the general solution of this differential equation?
0 of 4 answered