Separation of
Variables
Master the technique of separating and integrating to solve first-order differential equations and find their general solutions.
What Is a Differential Equation?
A differential equation (DE) is an equation that relates a function to one or more of its derivatives. In AP Calculus BC, we focus on first-order ordinary DEs: equations involving \(\frac{dy}{dx}\) and the variables \(x\) and \(y\).
A general solution contains an arbitrary constant \(C\) and represents a family of curves. A particular solution uses an initial condition to pin down a single curve.
Why Separation of Variables?
Not every DE can be solved in closed form. Separation of variables is one of the most powerful and accessible methods. It works whenever we can rewrite the equation so that each side involves only one variable.
A Family of Solution Curves
Solving \(\frac{dy}{dx} = 2x\) gives \(y = x^2 + C\). Each value of \(C\) produces a different parabola: the general solution is the entire family.
The Separation Technique
Given a separable DE of the form:
The constant of integration \(C\) appears once (combining both integration constants). The result is the general solution: an implicit or explicit relationship between \(x\) and \(y\).
Is the DE Separable?
Separable vs. Linear DEs
| Separable | First-Order Linear | |
|---|---|---|
| Standard Form | \(\frac{dy}{dx} = f(x)\,g(y)\) | \(\frac{dy}{dx} + P(x)\,y = Q(x)\) |
| Method | Separate and integrate | Integrating factor \(\mu(x)\) |
| Overlap? | Some DEs are both separable and linear | |
| Example | \(\frac{dy}{dx} = xy^2\) | \(\frac{dy}{dx} + 2y = e^x\) |
| AP BC Focus | ✓ Primary method | Awareness only |
How to Apply the Method
Example 1: Basic Separation
Example 2: Rational Separation
Example 3: Trig and Exponential
The Role of the Constant \(C\)
When integrating both sides, each integral produces its own constant. We combine them into a single constant \(C\) on one side:
Handling Absolute Values
When \(\int \frac{1}{y}\,dy = \ln|y|\) appears, the absolute value leads to a \(\pm\) when exponentiating. The standard trick:
Implicit vs. Explicit Solutions
Examples of naturally implicit results:
Common Mistakes to Avoid
Method Summary
| Step | Action | Result |
|---|---|---|
| 1. Identify | Write as \(f(x) \cdot g(y)\) | Confirm separable |
| 2. Separate | \(\frac{dy}{g(y)} = f(x)\,dx\) | Variables isolated |
| 3. Integrate | \(\int\) both sides | \(G(y) = F(x) + C\) |
| 4. Solve | Isolate \(y\) if possible | Explicit or implicit |
| 5. Verify | Differentiate and plug back | Matches original DE |
Question 1 of 5
Which of the following DEs is separable?
Question 2 of 5
Solve \(\dfrac{dy}{dx} = 2xy\). What is the general solution?
Question 3 of 5
After separating and integrating \(\dfrac{dy}{dx} = \dfrac{y}{x}\), which result is correct?
Question 4 of 5
When solving \(\dfrac{dy}{dx} = y^2 \sin x\) by separation, what should you integrate on the left side?
Question 5 of 5
A student solves a separable DE and writes \(\dfrac{y^3}{3} = 2x + C_1\) and \(\dfrac{y^3}{3} + C_2 = 2x\). What error did they make?