Historical Context & Motivation
A differential equation is an equation that relates a function to its own derivatives — in other words, it connects how something changes to what that thing actually is. Scientists and mathematicians have been fascinated by these equations for centuries because so many real-world phenomena, from the cooling of a cup of coffee to the growth of a population, are naturally described by the relationship between a quantity and its rate of change.
Among all differential equations, separable equations hold a special place because they are the simplest type to solve. The technique of separating variables was developed during a remarkable period in mathematical history, when calculus itself was brand new. The story begins with the rivalry and genius of two mathematicians who independently invented calculus and immediately started using it to solve these equations.
The central question these pioneers wrestled with was deceptively simple: if you know how fast something is changing, can you figure out what it is? In modern language, given dy/dx as some expression, can you find y as a function of x? When the expression on the right can be "pulled apart" into a piece that depends only on y and a piece that depends only on x, the equation is separable, and the solution method is elegant and powerful.
Core Principles & Definitions
Before diving into the solution technique, you need to understand what makes an equation "separable" in the first place. A first-order differential equation involves a function y(x) and its first derivative dy/dx, but no higher derivatives. Among first-order equations, a special subset can be rewritten so that all y-related terms are on one side and all x-related terms are on the other. These are the separable equations, and the method for solving them relies on integration techniques from AP Calculus BC or college-level calculus — specifically antiderivatives, the natural logarithm integral, and the relationship between exponentials and logarithms.
Separable Form
Separation Step
Integration
General vs. Particular Solution
Visual Explanation
The Separation Process — Step by Step
The flowchart above captures the entire solution method. Notice that the key move happens in Step 1: you divide both sides by g(y) and "multiply" both sides by dx. Formally, this uses the chain rule in reverse. If you think of dy/dx as a ratio (which Leibniz's notation encourages), the algebra of moving dy and dx feels natural. After separation, each side becomes a standard integral that you can evaluate using techniques from integral calculus — such as the power rule for integrals, ∫xⁿ dx = xⁿ⁺¹/(n+1) + C, and the natural logarithm integral, ∫du/u = ln|u| + C.
Mathematical Framework
Let's formalize the method. A first-order ordinary differential equation (ODE) is separable if it can be expressed in a specific product form. Once it is in that form, the algebra and calculus are straightforward.
Why does this work? The formal justification relies on the chain rule. If H(y) is an antiderivative of 1/g(y), then by the chain rule, dH(y)/dx = (1/g(y)) · (dy/dx). Substituting dy/dx = f(x) · g(y) gives dH(y)/dx = f(x). Integrating both sides with respect to x yields H(y) = ∫f(x) dx + C, which is exactly the result you get by "separating" and integrating. So the informal algebra of moving dy and dx is actually a shortcut for a rigorous chain-rule argument.
Recognizing Separable Equations
Not every first-order equation is separable. A key skill is learning to recognize when an equation can be written as a product f(x) · g(y). Sometimes you need to factor or rearrange before the separable structure becomes visible. The table below shows several equations, identifies whether they are separable, and explains why.
| Equation | Separable? | Explanation |
|---|---|---|
| dy/dx = x²y | Yes ✓ | Already in the form f(x) · g(y) with f(x) = x² and g(y) = y. |
| dy/dx = (x + y) | No ✗ | The right side is a sum of x and y, not a product of a function of x times a function of y. |
| dy/dx = eˣ⁺ʸ | Yes ✓ | Rewrite as eˣ · eʸ using exponent rules. Now f(x) = eˣ and g(y) = eʸ. |
| dy/dx = sin(x) cos(y) | Yes ✓ | Already separated: f(x) = sin(x) and g(y) = cos(y). |
| dy/dx = x² + y² | No ✗ | A sum of x² and y² cannot be factored into a product of a function of x times a function of y. |
| dy/dx = (3x² + 6x) / (y + 1) | Yes ✓ | Written as f(x) · (1/h(y)) where f(x) = 3x² + 6x and h(y) = y + 1. Equivalently, (y + 1) dy = (3x² + 6x) dx. |
The graph above illustrates a crucial idea: a single separable equation produces a whole family of solution curves, one for each value of C. An initial condition picks out exactly one curve from the family. For instance, the condition y(0) = 2 selects the violet curve (C = 2), while y(0) = −1 selects the orange curve (C = −1).
Worked Example
Let's solve a complete initial value problem step by step. This example uses the equation dy/dx = 2x(y + 1) with the initial condition y(0) = 3.
Strengths & Limitations
Separation of variables is an incredibly useful method, but it is not a universal one. Understanding where it works well and where it falls short will help you choose the right approach for any given differential equation.
| Strengths | Limitations |
|---|---|
| Simple and direct — requires only algebra and integral calculus (antiderivatives, the natural logarithm integral, and exponentiation). | Only works when dy/dx can be written as f(x) · g(y); many equations cannot be factored this way. |
| Produces exact analytical solutions, not approximations. | Even when the equation is separable, the resulting integrals may not have closed-form antiderivatives. |
| Works for many important physical models: exponential growth/decay, Newton's law of cooling, logistic growth. | Cannot handle equations where x and y are entangled in sums like dy/dx = x + y (need integrating factors or other methods). |
| Straightforward to verify: substitute the solution back into the original equation. | It is easy to lose equilibrium solutions if you forget to check where g(y) = 0 before dividing. |
Connection to Advanced Methods
Separable equations are the starting point for a family of increasingly powerful solution techniques. As you advance in differential equations, you will encounter equations that are almost separable, or that can be transformed into separable form with a clever substitution. The table below previews how the separable method connects to what comes next.
| Method | Equation Form | Relationship to Separable |
|---|---|---|
| Separation of Variables | dy/dx = f(x) · g(y) | This is the base method covered in this lesson. |
| Integrating Factors | dy/dx + P(x)y = Q(x) | Handles linear but non-separable equations by multiplying by a special function that makes the left side an exact derivative. |
| Substitution (Homogeneous) | dy/dx = F(y/x) | The substitution v = y/x transforms the equation into a separable one in v and x. |
| Bernoulli Equations | dy/dx + P(x)y = Q(x)yⁿ | A substitution w = y¹⁻ⁿ converts this into a linear equation solvable by integrating factors. |
| Exact Equations | M(x,y) dx + N(x,y) dy = 0 | A generalization: the equation is already the total differential of some function F(x,y) = C. |
The separable technique is not just a beginner's tool — it reappears inside more advanced methods. For example, when you use the substitution v = y/x to solve a homogeneous equation, the resulting equation in v is separable. Mastering separation of variables now gives you a foundation that every future method will build upon.
Practice Problems
Test your understanding with these five problems, arranged from conceptual to challenging. Try each one on your own before checking the answer.
Lesson Summary
This lesson targets students in AP Calculus BC or equivalent advanced courses who have completed integral calculus. A separable equation is a first-order differential equation that can be written as dy/dx = f(x) · g(y), where the right-hand side is a product of a function of x alone and a function of y alone. The solution method has four core steps: separate the variables by dividing by g(y) and multiplying by dx; integrate both sides independently using integral calculus techniques such as the natural logarithm integral and the power rule; solve for y if possible; and apply any initial condition to determine the constant of integration C.
Always check for equilibrium solutions by finding values of y where g(y) = 0, since these are lost when you divide by g(y). The method produces a family of solution curves parameterized by C, and it applies to many real-world models including exponential growth and decay, Newton's law of cooling, and logistic population models. Separation of variables is the foundation upon which more advanced techniques — such as integrating factors and substitution methods — are built.