Initial Conditions &
Separation of Variables
Learn to solve differential equations by separating variables and applying initial conditions to find particular solutions.
What Is a Differential Equation?
A differential equation is an equation that relates a function to its own derivatives. It tells us how a quantity changes rather than what the quantity is.
General vs. Particular Solutions
When you integrate a differential equation, you get a family of curves differing by a constant \(C\). An initial condition pins down exactly one curve.
Why Do Initial Conditions Matter?
Without an initial condition, we only have a general solution containing an arbitrary constant \(C\). The initial condition gives us a specific point \((x_0, y_0)\) on the curve, which lets us solve for \(C\).
The Separation of Variables Technique
Separation of variables works when a differential equation can be written so that all \(y\)-terms are on one side and all \(x\)-terms are on the other:
Then integrate both sides independently:
When Can We Separate?
Separation of variables requires the right-hand side to be a product (or quotient) of a function of \(x\) alone and a function of \(y\) alone.
\(\dfrac{dy}{dx} = \dfrac{e^x}{y^2}\)
\(\dfrac{dy}{dx} = (1+x)(1+y)\)
\(\dfrac{dy}{dx} = xy + x^2\)
\(\dfrac{dy}{dx} = \sin(x + y)\)
General vs. Particular: Side by Side
| General Solution | Particular Solution | |
|---|---|---|
| Contains \(C\)? | Yes: arbitrary constant | No: \(C\) is determined |
| Number of curves | Infinitely many | Exactly one |
| Uses initial condition? | Not yet | Yes: \(y(x_0) = y_0\) |
| Example | \(y = x^2 + C\) | \(y = x^2 + 3\) |
How to Solve: Step by Step
Example 1: Basic Separation
Example 2: Involving \(y\) on Both Sides
Example 3: Exponential Growth
Visualizing \(y = 5e^{3x}\)
Example 4: More Involved Separation
Common Mistakes to Avoid
Summary: The Complete Process
| Step | Action | Result |
|---|---|---|
| 1. Check | Is \(\dfrac{dy}{dx} = f(x) \cdot g(y)\)? | Confirm separability |
| 2. Separate | Move \(y\)-terms left, \(x\)-terms right | \(\dfrac{dy}{g(y)} = f(x)\,dx\) |
| 3. Integrate | Antidifferentiate both sides | General solution with \(C\) |
| 4. Apply IC | Substitute \((x_0, y_0)\) | Determine \(C\) |
| 5. Write | Plug \(C\) back in | Particular solution |
Question 1 of 5
Solve \(\dfrac{dy}{dx} = 4x\) with \(y(1) = 7\). What is the particular solution?
Question 2 of 5
Which equation is separable?
Question 3 of 5
Solve \(\dfrac{dy}{dx} = 2y\) with \(y(0) = 3\). What is the particular solution?
Question 4 of 5
When solving \(\dfrac{dy}{dx} = \dfrac{x}{y}\) with \(y(3) = 4\), after integrating you get \(\dfrac{y^2}{2} = \dfrac{x^2}{2} + C\). What is \(C\)?
Question 5 of 5
What is the first step in solving \(\dfrac{dy}{dx} = e^x \cdot y^2\) by separation of variables?