SECTION 1
Historical Context & Motivation
Differential equations arose from some of the biggest questions in science: How do planets orbit the Sun? How does a hot object cool down? How does a population grow? In every case, scientists knew the rate of change of something, and they needed to work backward to find the quantity itself. That backward step — going from a derivative to the original function — is the heart of solving a differential equation.
But there is a catch. When you reverse a derivative, you get infinitely many possible functions, all differing by a constant. To pick the one function that matches reality, you need extra information — a known value at a specific point. This extra piece of data is called an initial condition, and it transforms a broad family of curves into a single, specific solution.
1660s • Newton & Leibniz Invent Calculus
1690s • Separation of Variables
1700s • Euler Systematizes Differential Equations
1800s • Existence & Uniqueness Theorems
The central question this lesson addresses is straightforward: Given a differential equation and one known point on the solution curve, how do you find the exact function? The tool we will use — separation of variables — is elegant, powerful, and surprisingly approachable once you see the pattern.
SECTION 2
Core Principles & Definitions
Before diving into the mechanics, let's nail down the key vocabulary. A differential equation is any equation that contains a derivative, such as dy/dx = 2x. A general solution is the full family of functions that satisfies the equation, and it always contains an arbitrary constant C. A particular solution is the single member of that family that also satisfies a given initial condition.
Differential Equation
General Solution
Initial Condition
Particular Solution
Separation of Variables
KEY TAKEAWAY
SECTION 3
Visual Explanation: Family of Curves vs. Particular Solution
The diagram below shows the general solution to dy/dx = 2x, which is y = x² + C. Each parabola corresponds to a different value of C. Notice how all the curves have the same shape — they are just shifted up or down. The red dot marks the initial condition y(1) = 4, and the bold curve is the particular solution y = x² + 3 that passes through that point.
This picture captures the whole idea of the lesson. The general solution gives you every curve that satisfies the differential equation. The initial condition acts like a filter — it eliminates all but one curve, the particular solution. In the sections ahead, you will learn the algebraic method for finding that one curve.
SECTION 4
Mathematical Framework: Separation of Variables
The method of separation of variables works when a differential equation can be written so that all y-terms (and dy) appear on one side and all x-terms (and dx) appear on the other. Once separated, you integrate both sides independently and then use the initial condition to find C.
STARTING FORM
The right-hand side must be expressible as a product of a function of x alone and a function of y alone. This is what makes the equation 'separable.'
STEP 1 — SEPARATE
Divide both sides by g(y) and multiply both sides by dx. Now each side involves only one variable.
STEP 2 — INTEGRATE
Integrate both sides. The constant of integration C captures all the possible vertical shifts you saw in the family of curves. This result is the general solution.
STEP 3 — APPLY INITIAL CONDITION
Plug in the given initial condition y(x₀) = y₀. Solve the resulting equation for C. Substitute that value of C back into the general solution to get the particular solution.
When Can You Use This Method?
SECTION 5
Detailed Breakdown: The Four-Step Process
Let's organize the method into a clear, repeatable checklist. The flowchart below shows the four stages you will follow every time you encounter a separable differential equation with an initial condition.
Each step has a clear purpose. Step 1 restructures the equation so integration is possible. Step 2 undoes the derivative and produces the general solution with constant C. Step 3 uses the initial condition to pin down C. Step 4 substitutes the value of C back into the general solution, yielding the particular solution.
| Step | Action | What You Produce |
|---|---|---|
| 1 — Separate | Rearrange dy/dx = f(x)·g(y) into h(y) dy = f(x) dx | Two sides, each with one variable |
| 2 — Integrate | Evaluate ∫ h(y) dy and ∫ f(x) dx | General solution with + C |
| 3 — Initial Condition | Substitute (x₀, y₀); solve for C | Numerical value of C |
| 4 — Particular Solution | Replace C with its value | One specific function y(x) |
Summary of the four-step separation of variables process
SECTION 6
Worked Example
Let's work through a complete problem. Suppose you are given the differential equation dy/dx = 2xy with the initial condition y(0) = 3. Your goal is to find the particular solution.
Find the particular solution to dy/dx = 2xy, y(0) = 3
- 1
Step 1 — Separate Variables
Divide both sides by y (assuming y ≠ 0) and multiply both sides by dx. This gives: (1/y) dy = 2x dx. Now all y-terms are on the left and all x-terms are on the right.(1/y) dy = 2x dx - 2
Step 2 — Integrate Both Sides
Integrate the left side with respect to y and the right side with respect to x. The integral of 1/y is ln|y|, and the integral of 2x is x². Don't forget the constant of integration.ln|y| = x² + C - 3
Step 3 — Solve for y (General Solution)
Exponentiate both sides to remove the natural log. Since e raised to (x² + C) equals · , and is just another positive constant, call it A. So y = A·. This is the general solution.y = A· where A = - 4
Step 4 — Apply the Initial Condition
Substitute x = 0 and y = 3 into the general solution: 3 = A· = A· = A·1 = A. So A = 3.A = 3 - 5
Step 5 — Write the Particular Solution
Replace A with 3 in the general solution. The particular solution is y = . You can verify: dy/dx = 3·2x· = 2x·() = 2xy. ✓ Also y(0) = 3· = 3. ✓y =
CHECK YOUR WORK
SECTION 7
Strengths and Limitations of Separation of Variables
Separation of variables is a powerful first tool, but it isn't a universal one. Understanding when it works — and when it doesn't — will save you time and frustration. The table below compares its strengths and limitations.
| Strengths | Limitations |
|---|---|
| Straightforward algebraic process — no memorization of special formulas needed. | Only works when dy/dx can be factored as f(x)·g(y). Many equations are not separable. |
| Produces an exact analytical answer (a formula), not just a numerical approximation. | The integrals produced may not have nice closed-form solutions (e.g., ∫ dx). |
| Works for many common models: exponential growth/decay, Newton's law of cooling, logistic growth. | Dividing by g(y) can lose solutions where g(y) = 0 (equilibrium solutions). Always check for these. |
| The verification step (differentiating the answer) is easy and reliable. | More complex equations (higher order, non-separable) require entirely different methods. |
Strengths vs. limitations of the separation of variables technique
KEY TAKEAWAY
SECTION 8
Connection to Advanced Theory
In later calculus and differential equations courses, you will encounter equations that cannot be separated. At that stage, you will learn methods such as integrating factors for linear first-order equations, substitution methods for homogeneous equations, and numerical methods like Euler's method for equations that resist closed-form solutions altogether. The concept of an initial condition, however, remains exactly the same in all these settings.
| Feature | Separation of Variables (This Lesson) | Advanced Methods (Future Courses) |
|---|---|---|
| Equation form | dy/dx = f(x)·g(y) | dy/dx = F(x, y) in general |
| Role of initial condition | Determines C after integration | Same — selects unique solution from family |
| Integration difficulty | Two single-variable integrals | Often harder or impossible in closed form |
| Prerequisite math | Antiderivatives (Calc 1) | Linear algebra, series, and more |
Comparison of introductory vs. advanced differential equation techniques
The skills you are building now — separating variables, computing antiderivatives, and applying initial conditions — form the foundation for everything that follows. Mastering this process will make those future methods feel like natural extensions rather than entirely new topics.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
A differential equation relates a function to its derivative. Its general solution is a family of curves that all satisfy the equation, differing by an arbitrary constant C. An initial condition — a known point y(x₀) = y₀ — pins down C and selects the unique particular solution from that family.
The method of separation of variables works by rewriting dy/dx = f(x)·g(y) so that all y-terms are on one side and all x-terms are on the other, then integrating both sides. After finding the general solution, you substitute the initial condition to solve for C and write the final particular solution. Always verify your answer by checking that it satisfies both the differential equation and the initial condition.