AP Calculus AB · Unit 7 · Differential Equations
7.6 General solutions by separation of variables
Separate variables in a differential equation, integrate both sides, and write a general solution with a constant.
1/4A separable equation groups each variable with its differential
Part 1 of 4: A separable equation groups each variable with its differential
A separable differential equation can be written as . Here, the right side is a product of an -function and a -function. The goal is to put all -terms beside . Put all -terms beside . This creates an equation that can be integrated on both sides.
For example, becomes . This step is called separation of variables. First, divide by . Then multiply by . In this example, is never zero for real .
Key terms · tap one for its definition
separable differential equation
A separable differential equation can be written as a product of a function of and a function of .
separation of variables
Separation of variables rearranges an equation to place -terms with and -terms with .
Part 2 of 4: Integrating both sides produces a family of solutions
Once the variables are separated, take an antiderivative of each side. For , this gives . The constant of integration is essential. It allows the result to describe a family of solutions, not just one curve.
Both integrations could produce separate constants. Their difference can be renamed as one constant, . You may leave a general solution in implicit form when it clearly relates and . If useful, solve for . Here, wherever that expression is defined.
Key terms · tap one for its definition
antiderivative
An antiderivative of a function is another function whose derivative equals it.
constant of integration
A constant of integration represents the arbitrary constant introduced when finding an indefinite integral.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 3 of 4: A worked separation keeps each algebraic step visible
Work from the differential equation to an equation relating and . Show the separated form before integrating. This makes it easier to check which variable belongs on each side. The final relation is a general solution because can take different values.
Worked example
Find a general solution
- Separate: .
- Integrate: .
- Evaluate and combine constants: .
Answer: , where is an arbitrary constant. No units are specified.
Key terms · tap one for its definition
separated form
Separated form places an expression involving with on one side and an expression involving with on the other.
general solution
A general solution is a family of solutions represented using an arbitrary constant.
Part 4 of 4: Check divisions that might remove constant solutions
Separating variables sometimes requires dividing by an expression that can equal zero. That division excludes those values temporarily. Before finishing, check whether an excluded value gives a constant solution to the original equation.
For , division by assumes . It gives , so . This describes nonzero solutions. But also satisfies the original equation. Rewriting the result as includes that solution when . Always check the original equation after dividing by a variable expression.
Key term
constant solution
A constant solution has the same -value for every in its domain.
Check your recall[12 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Identify[2 marks]
Identify the two functions multiplied on the right side of .
Show mark schemeHide mark scheme
Model answer
The function of is , and the function of is .
- 1 mark for identifying as the function of
- 1 mark for identifying as the function of
- 2.Write[2 marks]
Write in separated form.
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for placing with
- 1 mark for placing with
- 3.Determine[3 marks]
Determine a general solution of .
Show mark schemeHide mark scheme
Model answer
Separate to get . Integrating gives .
- 1 mark for writing
- 1 mark for integrating to obtain and
- 1 mark for including an arbitrary constant in the general solution
- 4.Explain[2 marks]
Explain why integrating both sides gives one arbitrary constant in the final solution.
Show mark schemeHide mark scheme
Model answer
Each side can have a constant of integration. Rearranging combines their difference into one arbitrary constant.
- 1 mark for stating that integration can introduce a constant on each side
- 1 mark for explaining that the constants combine into one arbitrary constant
- 5.Explain[3 marks]
Explain why dividing by requires an additional check.
Show mark schemeHide mark scheme
Model answer
Dividing by assumes . The excluded function satisfies the original equation, so it must remain among the solutions.
- 1 mark for stating that division by assumes
- 1 mark for checking that satisfies the original equation
- 1 mark for concluding that must not be lost from the solutions

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the quick check in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: C · Worked explanation
EasyState[1 mark]
Show answer and explanation
Answer: D · Worked explanation
EasyDetermine[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumWrite[1 mark]
Show answer and explanation
Answer: C · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation
MediumSelect[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumExplain[2 marks]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation