Solving Separable
Differential Equations
Master the technique of separating variables to solve first-order DEs, apply initial conditions, and find particular solutions to real-world models.
What Is a Differential Equation?
A differential equation (DE) is an equation that relates a function to one or more of its derivatives. Our goal is to find the unknown function \( y(x) \) that satisfies the equation.
A Family of Solution Curves
Each value of \( C \) in the general solution produces a different curve. An initial condition selects exactly one curve from the family.
What Makes a DE Separable?
A first-order DE is separable if it can be written so that all \( y \)-terms are on one side and all \( x \)-terms are on the other:
This means the right-hand side factors as a product of a function of \( x \) alone and a function of \( y \) alone. We can then "separate" the variables onto different sides of the equation.
The Separation Technique
Starting from \( \dfrac{dy}{dx} = f(x) \cdot g(y) \), we rearrange to isolate variables, then integrate both sides:
After integrating, solve for \( y \) (if possible) and apply any given initial condition to determine the constant \( C \).
Separable vs Non-Separable
| Equation | Separable? | Reasoning |
|---|---|---|
| \( \dfrac{dy}{dx} = xy^2 \) | Yes | \( f(x)=x,\; g(y)=y^2 \) |
| \( \dfrac{dy}{dx} = e^{x+y} \) | Yes | \( e^x \cdot e^y \) factors |
| \( \dfrac{dy}{dx} = x^2 + y^2 \) | No | Sum, not product |
| \( \dfrac{dy}{dx} = \sin(xy) \) | No | Cannot factor \( xy \) |
Step-by-Step Approach
Example 1: Basic Separation
Visualizing \( y = 2e^{x^3} \)
Example 2: Implicit Solution
Example 3: Exponential Decay
Visualizing Exponential Decay
Don't Forget Equilibrium Solutions
When we divide by \( g(y) \), we assume \( g(y) \neq 0 \). Any value of \( y \) where \( g(y) = 0 \) is a constant (equilibrium) solution that we must check separately.
Common Mistakes to Avoid
Summary Checklist
| Step | Action | Watch For |
|---|---|---|
| 1. Identify | Check \( \frac{dy}{dx} = f(x)g(y) \) | Sums are not separable |
| 2. Separate | Move \( y \) left, \( x \) right | \( g(y)=0 \) equilibria |
| 3. Integrate | Antidifferentiate both sides | Only one \( +C \) |
| 4. Solve | Isolate \( y \) if possible | Implicit is OK |
| 5. Apply IC | Plug in \( (x_0, y_0) \) | Verify solution works |
Question 1 of 5
Which of the following differential equations is separable?
Question 2 of 5
Solve \( \dfrac{dy}{dx} = 2xy \) with \( y(0) = 3 \). What is \( y(x) \)?
Question 3 of 5
When solving \( \dfrac{dy}{dx} = y^2 \sin x \) by separation, what integral appears on the left side?
Question 4 of 5
For the equation \( \dfrac{dy}{dx} = y(3 - y) \), what are the equilibrium solutions?
Question 5 of 5
After integrating both sides of a separable DE, a student writes \( \ln|y| = x^3 + C_1 \) on the left and adds \( C_2 \) on the right. What is the correct approach?