Lesson 1: Separable Equations
Estimated time: 35-40 minutes
Learning Objectives
- Recognize when a first-order ODE is separable
- Separate variables and integrate both sides
- Solve for y explicitly when possible; otherwise leave in implicit form
- Handle initial conditions to find particular solutions
- Identify and account for lost solutions when dividing by expressions involving y
What Is a Separable Equation?
Separable Equation: A first-order ODE that can be written as
dy/dx = g(x) · h(y)
The right side factors into a function of x alone times a function of y alone.
The strategy: move all y-terms to the left and all x-terms to the right, then integrate:
∫ (1/h(y)) dy = ∫ g(x) dx
Worked Examples
Example 1: Basic Separable Equation
Solve dy/dx = xy.
Step 1: Separate. dy/y = x dx (assuming y ≠ 0).
Step 2: Integrate both sides.
ln|y| = x²/2 + C
Step 3: Solve for y.
|y| = ex²/2 + C = eC · ex²/2
y = Aex²/2 where A = ±eC (or A = 0 for the lost solution y = 0).
General solution: y = Aex²/2, A any real constant.
Example 2: With Initial Condition
Solve dy/dx = 2xy², y(0) = 1.
Step 1: Separate. dy/y² = 2x dx.
Step 2: Integrate.
-1/y = x² + C
Step 3: Apply y(0) = 1: -1/1 = 0 + C, so C = -1.
Step 4: Solve for y.
-1/y = x² - 1 → y = 1/(1 - x²)
Particular solution: y = 1/(1 - x²), defined for |x| < 1.
Example 3: Implicit Solution
Solve dy/dx = (x + 1)/(y² + 1).
Step 1: Separate. (y² + 1) dy = (x + 1) dx.
Step 2: Integrate.
y³/3 + y = x²/2 + x + C
We cannot solve explicitly for y, so the implicit solution is:
y³/3 + y = x²/2 + x + C
Example 4: Lost Solutions
Solve dy/dx = y(1 - y).
Step 1: Separate (assuming y ≠ 0 and y ≠ 1).
dy / [y(1-y)] = dx
Step 2: Partial fractions: 1/[y(1-y)] = 1/y + 1/(1-y).
∫ [1/y + 1/(1-y)] dy = ∫ dx
ln|y| - ln|1-y| = x + C
ln|y/(1-y)| = x + C
y/(1-y) = Aex → y = Aex/(1 + Aex)
Lost solutions: y = 0 and y = 1 (the equilibria we divided away). Both satisfy the original DE.
Check Your Understanding
1. Solve dy/dx = 3x² y.
2. Solve dy/dx = ex+y. (Hint: ex+y = ex · ey.)
3. Solve dy/dx = (1 + y²), y(0) = 0.
4. Is dy/dx = x + y separable? Why or why not?
5. When solving a separable equation, why must you check for lost solutions?
Key Takeaways
- A separable ODE has the form dy/dx = g(x)h(y); separate variables and integrate.
- Solutions may be explicit (y = ...) or implicit (F(x,y) = C).
- Always check for lost solutions when dividing by h(y).
- Apply initial conditions after integration to determine the constant C.
- The domain of the solution may be restricted (e.g., y = tan x only on (-π/2, π/2)).