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.Separation of variables is the most elementary and widely used method for solving ordinary differential equations. A differential equation is called separable when its derivative can be written as a product of a function depending only on the independent variable and a function depending only on the dependent variable. The method matters because an enormous range of natural phenomena — anything growing or decaying at a rate proportional to its current size — produces separable equations. The surprising fact is that we treat the symbol , which is formally a limit of a ratio rather than a true fraction, as if it were a fraction by multiplying through by — and remarkably, this informal manipulation always yields the correct answer, justified rigorously by the chain rule.
The Core Insight
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
Separable First-Order ODE
A first-order ordinary differential equation is separable if it can be written in the form
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,
Solution by Integration
Given the separable equation [1] with , the general solution is obtained implicitly by
where is an arbitrary constant determined by an initial condition .
Why It Holds / Derivation
Justification via the Chain Rule
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 :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.
Gottfried Wilhelm Leibniz | 1646–1716
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.
Slope field of $dy/dx = -y$ with one separated solution curve $y=e^{-x}$
Worked Examples
Radioactive Decay
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:Newton's Law of Cooling
Given: A cup of coffee at cools in a room at according to with . Find the temperature after minutes. Step 1 — Separate. Let so :Common Misconceptions
Do Not Forget the Constant — Or the Lost Solutions
Two classic errors:
- 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.
- 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.
A Solution Lost by Careless Division
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
Separable differential equations govern a remarkable spread of real phenomena:
- Radioactive dating — carbon-14 and uranium-lead decay obey , the basis of archaeological and geological age estimates.
- Population biology — the logistic model is separable and predicts S-shaped growth toward a carrying capacity .
- Pharmacokinetics — drug clearance from the bloodstream follows first-order exponential decay, setting safe dosing intervals.
- RC electrical circuits — capacitor charging/discharging yields the time constant .
- Newton's law of cooling — forensic estimation of time of death from body temperature.
- Mixing/dilution problems — concentration of salt in a stirred tank with inflow and outflow.
- Terminal velocity — a falling body with drag separates to give the approach to terminal speed.
Historical Development
- 1671 — Newton, in Method of Fluxions (circulated privately), solves rate equations using series and informal "fluxional" arguments anticipating separation.
- 1684 — Leibniz publishes the first calculus paper, introducing and the differential notation that makes the method visually natural.
- 1691 — Leibniz explicitly uses the phrase and procedure of separating variables in correspondence solving geometric rate problems.
- 1694 — Johann Bernoulli systematizes the separation technique while solving the catenary and brachistochrone-related curves.
- 1696 — Jacob Bernoulli applies separation-type reasoning to the equation now bearing his name (the Bernoulli equation), reducible to separable form.
- 1740s — Leonhard Euler organizes first-order methods, distinguishing separable, linear, and exact types in his foundational analysis texts.
- 1768–1770 — Euler's Institutiones Calculi Integralis presents separation of variables as a standard, named classification of integrable ODEs.
- 1820s–1830s — Cauchy formalizes the notion of an initial-value problem and existence of solutions, providing the rigorous backdrop for when separation is valid.
- 1890s — Picard and Lindelöf prove the existence–uniqueness theorem, clarifying exactly when separation's discarded equilibrium solutions matter.
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.