Solving Separable
Equations
Learn to split, integrate, and solve differential equations where variables can be separated to opposite sides.
What Is a Differential Equation?
A differential equation (DE) is any equation that involves an unknown function and one or more of its derivatives. For example:
Here \( y \) is the unknown function of \( x \), and \( \frac{dy}{dx} \) is its first derivative. Our goal: find a formula for \( y(x) \) that satisfies this relationship.
What Does Separable Mean?
A first-order ODE is separable if you can write it so that all \( y \)-terms are on one side and all \( x \)-terms are on the other:
Why Separable Equations Matter
Separable equations appear throughout science and engineering. They model situations where the rate of change of a quantity depends on the quantity itself:
The Core Separation Method
Starting from any first-order ODE of the form:
We rewrite it by dividing both sides by \( g(y) \) and multiplying by \( dx \):
Then integrate both sides:
Visualizing the Process
Separable vs Non-Separable
Not every first-order ODE is separable. The key test: can the right-hand side be written as a product \( f(x) \cdot g(y) \)?
| Equation | Separable? | Why |
|---|---|---|
| \( \frac{dy}{dx} = x^2 y \) | ✓ Yes | \( f(x) = x^2,\; g(y) = y \) |
| \( \frac{dy}{dx} = \frac{y}{x+1} \) | ✓ Yes | \( f(x) = \frac{1}{x+1},\; g(y) = y \) |
| \( \frac{dy}{dx} = x + y \) | ✕ No | Sum, not a product |
| \( \frac{dy}{dx} = xy + x^2 \) | ✕ No | \( x(y + x) \): mixed terms |
Step-by-Step Method
Example 1: Exponential Growth
Solve \( \frac{dy}{dx} = 2y \) with \( y(0) = 3 \).
Solution Curve: \( y = 3e^{2x} \)
Example 2: A Polynomial Right Side
Solve \( \frac{dy}{dx} = \frac{x^2}{y} \).
Choose the positive or negative branch based on initial conditions.
Example 3: Trigonometric Separation
Solve \( \frac{dy}{dx} = \frac{\cos x}{e^y} \) with \( y(0) = 0 \).
Solution Curve: \( y = \ln(\sin x + 1) \)
Common Mistakes to Avoid
Don't Forget Equilibrium Solutions
When we divide by \( g(y) \), we implicitly assume \( g(y) \neq 0 \). Any value \( y_0 \) where \( g(y_0) = 0 \) gives a constant solution:
Example: For \( \frac{dy}{dx} = y(1 - y) \), setting \( g(y) = y(1 - y) = 0 \) gives:
Always check these before dividing and separating.
Summary Checklist
| Step | Action | Watch Out For |
|---|---|---|
| 1. Identify | Write as \( f(x) \cdot g(y) \) | Sums are not separable |
| 2. Equilibria | Solve \( g(y) = 0 \) | Lost when dividing |
| 3. Separate | \( \frac{1}{g(y)} dy = f(x) dx \) | Keep \( dy, dx \) with their side |
| 4. Integrate | Both sides independently | Don't forget \( +C \) |
| 5. Solve | Isolate \( y \) if possible | Implicit form is OK |
| 6. Apply IC | Plug in \( (x_0, y_0) \) | Choose correct branch |
Question 1 of 5
Which of the following is separable?
Question 2 of 5
After separating \( \frac{dy}{dx} = 3x^2 y \), the correct separated form is:
Question 3 of 5
Solve \( \frac{dy}{dx} = \frac{x}{y} \) with \( y(0) = 2 \). What is \( y(x) \)?
Question 4 of 5
For \( \frac{dy}{dx} = y^2 \sin x \), what is the general solution?
Question 5 of 5
The equation \( \frac{dy}{dx} = y(1 - y) \) has equilibrium solutions at: