The Separation of Variables Method
What You'll Learn
You'll learn how to separate variables in a differential equation and rewrite it so each side can be integrated independently.
The Core Idea
When you have a separable differential equation (one where you can isolate all the y terms with dy on one side and all the x terms with dx on the other), the separation of variables method lets you solve it by integrating both sides.
Think of it like untangling two intertwined ropes: you're pulling apart the x-parts from the y-parts so you can work with each independently.
The Method Step-by-Step
Starting with a separable equation in the form:
dy/dx = g(x)h(y)
Step 1: Rewrite using differentials (treat dy/dx as a fraction):
dy = g(x)h(y) dx
Step 2: Separate variables—divide both sides by h(y) to get all y terms on the left:
(1/h(y)) dy = g(x) dx
Step 3: Integrate both sides:
∫ (1/h(y)) dy = ∫ g(x) dx
Step 4: Evaluate both integrals (don't forget the constant of integration on one side).
Step 5: Solve for y if possible (or leave as an implicit solution).
Simple Example
For dy/dx = 2xy:
- Separate:
(1/y) dy = 2x dx - Integrate:
∫ (1/y) dy = ∫ 2x dx - Result:
ln|y| = x² + C - Solve:
y = Ae^(x²)whereA = ±e^C
Key Takeaway: The separation of variables method transforms a differential equation into two independent integrals by algebraically isolating all terms involving one variable on each side.