Separation of Variables
Separation of Variables is a technique for solving first-order differential equations of the form by algebraically gathering all -terms on one side and all -terms on the other, then integrating both sides. Key result: a separable ODE is solved by . Applies to: population growth, radioactive decay, Newton's cooling, RC circuits, and any process whose rate depends on the product of a function of the input and a function of the output. Who/when: rooted in the work of Leibniz, the Bernoullis, and Euler in the late 17th–18th centuries.
If a rate of change factors cleanly into "a part about " times "a part about ," then the two variables can be untangled. Once untangled, each side involves only one variable, so ordinary integration — a tool we already possess — finishes the job. The entire difficulty of the differential equation collapses into two separate, independent integrals.
Formal Statement
A first-order ordinary differential equation is separable if it can be written in the form
Derivation hint: This is the defining form — no derivation, but note that the right side must factor into one pure- function and one pure- function with nothing mixing them. where:
- = the independent variable,
- = the unknown function we seek,
- = the derivative (rate of change of with respect to ),
- = a function depending only on ,
- = a function depending only on .
Equivalently, in differential form,
Derivation hint: Divide both sides of [1] by (assuming ) and multiply by , treating formally as a quotient of differentials.
Given the separable equation [1] with , the general solution is obtained implicitly by
Derivation hint: Integrate both sides of [2]; the single arbitrary constant absorbs the two constants of integration from the two indefinite integrals. where is an arbitrary constant determined by an initial condition .
Why It Holds / Derivation
The "multiply by " move looks like illegal fraction abuse. Here is the rigorous version that vindicates it.
Step 1. Start from the separable equation, dividing by :
Derivation hint: Divide both sides of [1] by ; this is valid wherever .
Step 2. Define an antiderivative of , so that . By the chain rule,
Derivation hint: Apply the chain rule to the composite function and substitute .
Step 3. Combining [4] and [5], the left side of [4] is the -derivative of :
Derivation hint: Substitute the result of [5] into the left-hand side of [4].
Step 4. Integrate both sides with respect to . Let be an antiderivative of :
Derivation hint: Integrate [6] over ; the fundamental theorem of calculus undoes the on the left and produces on the right. Since and , equation [7] is exactly the claimed result [3]. The informal "separate and integrate" recipe is therefore a shorthand for this chain-rule argument.
∎Leibniz, co-inventor of calculus, introduced the very notation and the integral sign that make separation of variables so visually natural. His differential notation was deliberately designed so that the chain rule and substitution look like fraction arithmetic — the "multiply by " step that students perform is a direct legacy of Leibniz's vision that differentials could be manipulated almost algebraically. He treated and as genuine infinitesimal quantities, a viewpoint later made rigorous by the chain rule and, much later, by non-standard analysis.
Building Intuition
Imagine as a recipe for the steepness of a curve at every point of the plane. The factor says "how strongly does the current value of influence the slope?" and says "how strongly does our horizontal position influence the slope?". When these two influences multiply cleanly — never tangling into terms like — you can ask the two questions separately. Accumulating all the tiny -changes (weighted by ) on the left must equal accumulating all the tiny -pushes (weighted by ) on the right. Integration is just "totalling up" these tiny contributions, and the constant records where you started.
Worked Examples
Given: A sample of carbon-14 decays at a rate proportional to the amount present: , with and initial amount . Find and the amount after years.
Step 1 — Separate. Move all to one side, all to the other:
Derivation hint: Divide both sides of by and multiply by .
Step 2 — Integrate both sides.
Derivation hint: and ; combine constants into .
Step 3 — Solve for and apply .
Derivation hint: Exponentiate [9] to get ; set to identify .
Step 4 — Plug in numbers.
Given: A cup of coffee at cools in a room at according to with . Find the temperature after minutes.
Step 1 — Separate. Let so :
Derivation hint: Divide the cooling equation by and multiply by .
Step 2 — Integrate.
Derivation hint: via the substitution .
Step 3 — Solve and apply .
Derivation hint: Exponentiate [12] to get ; at , gives .
Step 4 — Plug in numbers.
Common Misconceptions
Two classic errors: 1. Dropping . The constant of integration is not optional; it encodes the initial condition. Without it you get one specific curve instead of the whole family of solutions. 2. Dividing by without checking . When you divide [1] by you silently assume . Any constant with is an equilibrium (singular) solution that the integration procedure may discard. Always check these separately.
Consider . Separating gives , hence , so . But vanishes at , and indeed is also a perfectly valid solution that our separation discarded by dividing by . Worse, this equation violates uniqueness: through the point both and pass, demonstrating that separation alone does not guarantee a unique solution where .
Connections
Separation of variables is the gateway technique in the study of Ordinary Differential Equations. It relies entirely on Integration (the inverse of differentiation) and is rigorously justified by the Chain Rule. When an equation is not separable, one turns to neighbouring methods such as Integrating Factors for linear first-order equations or Exact Differential Equations. In physics, the equations it solves are instances of Exponential Growth and Decay. The same name, "separation of variables," also denotes a far more advanced technique for partial differential equations — see Separation of Variables (PDEs) — where a solution is sought as a product ; the conceptual spirit of splitting variables is shared, though the machinery differs.
Real-World Applications
Historical Development
Subtleties & Limits
Separation of variables is a recognition method, not a universal algorithm: most differential equations are simply not separable, and there is no mechanical procedure to transform an arbitrary equation into separable form. Even when separation succeeds, the resulting integrals and may have no closed-form antiderivative in terms of elementary functions (for instance, ), forcing numerical or special-function treatment. Deeper still, the solution emerges implicitly via [7] and may not be solvable for explicitly; deciding when an implicit relation defines a genuine function, and over what domain, connects to the implicit function theorem and to questions of solution existence and uniqueness that remain central in the theory of differential equations.
See Also
Ordinary Differential Equations · Integration · The Chain Rule · Exponential Growth and Decay · Integrating Factors · The Logistic Equation · Newton's Law of Cooling · Slope Fields