Separation of variables is a method for solving certain differential equations by reducing relationships involving several variables to equations involving one variable at a time. For a first-order ordinary differential equation, it usually means rearranging the equation so that each side contains only one variable and then integrating. For a partial differential equation, it usually means seeking solutions that are products of functions of individual variables, thereby reducing the original equation to ordinary differential equations. These two uses share a principle but differ in their assumptions and in how complete solutions are constructed.
First-order ordinary differential equations
A first-order ordinary differential equation is separable if it can be written as
On an interval where , this gives the separated form
Taking an antiderivative on each side produces
where is an arbitrary constant. This relation may define implicitly; an explicit expression is not always available or necessary.
The manipulation of differentials is justified by the chain rule. If and , then any differentiable solution avoiding zeros of satisfies
so .
For an initial condition , with nonzero in a neighborhood of , the result can instead be written as
This form incorporates the initial condition directly.
Example: exponential growth and decay
Consider
where is constant. For ,
Using the exponential function gives
The formula also includes the solution when . Positive describes exponential growth in magnitude, while negative describes exponential decay as increases.
Equilibrium solutions and domains
Dividing by can discard solutions. Every constant satisfying gives an equilibrium solution
which must be checked separately.
For example,
has equilibria and . Away from these values, separation gives
and hence the nonconstant solutions
on intervals where the denominator does not vanish. The same formula with recovers , but not .
The domain matters: an algebraic expression obtained by integration need not define a solution on the entire real line. Singularities, restrictions introduced by logarithms, and the original equation's domain must all be respected.
Separation also does not establish uniqueness. Under suitable local Lipschitz conditions in the dependent variable, initial-value solutions are locally unique. Without such conditions, a solution may remain at an equilibrium for a time and then depart from it; division by alone does not describe the entire solution.
Partial differential equations
For a partial differential equation in two independent variables, separation usually begins with a product assumption, or ansatz:
Substitution may produce an equality of the form
If this equality holds throughout a product domain in which and vary independently, both sides must equal a constant, called a separation constant. This gives ordinary differential equations for and .
The product assumption identifies separated solutions; it does not imply that every solution is a single product. For linear homogeneous equations, general solutions satisfying prescribed data are often constructed from sums or infinite series of separated solutions. This step uses linearity, together with appropriate completeness and convergence results.
Example: the heat equation on an interval
Consider the one-dimensional heat equation
where , with homogeneous endpoint conditions
Substituting gives
Where division is valid,
The separated equations are therefore
The original, undivided equations remain valid at zeros of the factors; the quotients are an intermediate device rather than a requirement that eigenfunctions never vanish.
The endpoint conditions require
Nonzero spatial solutions exist only for
with
Thus a single separated mode is
For suitable initial data , a solution is
where the Fourier sine coefficients are
The precise interpretation depends on the regularity of . For square-integrable data, the solution approaches the initial data in the square-integrable norm as decreases to zero. Stronger pointwise or classical conclusions require additional assumptions. Higher spatial frequencies decay faster because their decay rates are proportional to .
Boundary conditions and eigenfunction expansions
In partial differential equations, separation is closely connected to a boundary-value problem. Boundary conditions determine which separation constants and separated factors are admissible.
In the heat example, the spatial equation is an eigenvalue equation for the operator . Its allowed constants are eigenvalues, and the corresponding functions are eigenfunctions.
A common general framework is a Sturm–Liouville problem:
For regular problems with suitable real coefficients, positive and , and self-adjoint boundary conditions, the eigenvalues are real, and eigenfunctions for distinct eigenvalues are orthogonal under the weighted inner product
Appropriate eigenfunctions form a complete system in the associated weighted Hilbert space. Completeness explains why sums of product solutions can represent data that are not themselves separable.
Boundary conditions also affect qualitative behavior. Insulated rather than fixed-temperature endpoints in the heat equation permit a spatially constant, zero-eigenvalue mode, which does not decay. On unbounded domains, continuous spectral parameters and integral representations, such as the Fourier transform, may replace discrete sums.
Coordinates and applications
Separability depends on both the equation and the coordinate system. An equation that separates in Cartesian coordinates may also separate in other coordinates, but yield different ordinary differential equations and different families of functions.
For Laplace's equation in plane polar coordinates,
the substitution gives
If the solution must be single-valued around a full circle, angular periodicity restricts the permitted constants. Circular and annular boundaries can then be handled naturally. Other equations in polar or cylindrical coordinates lead to Bessel functions; spherical coordinates commonly lead to spherical harmonics.
Major applications include:
- Diffusion and heat conduction: separated modes describe spatial patterns with different decay rates.
- Vibrations and acoustics: separation of the wave equation yields normal modes and their frequencies.
- Potential theory: Laplace's equation describes idealized electrostatic and steady-state temperature fields.
- Quantum mechanics: separable forms of the Schrödinger equation reduce certain time-dependent and spatial problems to eigenvalue equations.
- Numerical computation: eigenfunction expansions provide spectral approximations and test solutions for computational methods.
Historical development
Variable separation belongs to the early development of differential equations and calculus. Product solutions became particularly important in eighteenth-century studies of vibrating strings and related boundary-value problems.
Joseph Fourier made separated modes and trigonometric expansions central to heat conduction, notably in his 1822 work Théorie analytique de la chaleur. Subsequent developments in Sturm–Liouville theory, spectral theory, and functional analysis supplied more systematic foundations for eigenfunction expansions and their convergence.
Limitations and distinctions
Not every differential equation is separable. An ordinary differential equation may not admit a factorization . A substitution can sometimes make it separable, but the existence of an effective substitution is not guaranteed.
For partial differential equations, variable coefficients, mixed derivatives, nonlinear terms, or irregular boundaries may prevent useful separation. A differential operator can separate while the boundary geometry does not, making the resulting modes unsuitable for the prescribed problem.
Superposition is especially important: sums of solutions solve a linear homogeneous equation, but generally do not solve a nonlinear equation. Finding several separated solutions of a nonlinear equation therefore does not automatically produce a general solution.
Nonhomogeneous equations and boundary conditions also need additional treatment. A common procedure is to subtract a function satisfying the nonhomogeneous boundary data and then expand the remaining unknown in eigenfunctions, producing forced equations for the mode coefficients.
Finally, separation is distinct from statistical independence and from the topological notion of a separable space. Here, “separable” describes the structure of an equation or a solution representation, not independence of random variables or the existence of a countable dense subset.