Boundary Conditions
A differential expression does not by itself define a differential operator or a well-posed physical problem. One must also specify where the solution lives and what it does at each boundary. Those requirements are boundary conditions.
In quantum mechanics, boundary conditions have three linked roles:
- they select solutions of a differential equation;
- they help specify the domain of an unbounded operator;
- they control probability flow through the boundary.
The same formal Hamiltonian can therefore have different spectra and different physics on different domains. This page develops the working mathematics. The functional-analytic distinction between symmetric and self-adjoint operators is treated separately in Symmetric versus Self-Adjoint Operators.
Boundary data complete the problem
Section titled “Boundary data complete the problem”Consider the regular second-order eigenvalue equation on ,
where and . Its local solution space is two-dimensional for a fixed value of . A regular scalar problem therefore requires two independent scalar boundary conditions in total. Common choices are one condition at each endpoint, but the two endpoints can also be coupled.
For example,
is a separated pair, while
is a coupled periodic pair.
This counting rule changes with the order of the equation, the number of components, and whether an endpoint is singular. It is a guide, not a substitute for checking the operator domain.
Initial-value and boundary-value problems are different. An initial-value problem usually specifies all data at one point, such as and , and evolves away from that point. A boundary-value problem distributes constraints across a region. It can have no solution, one solution, or several solutions; an eigenvalue problem asks which parameter values make nonzero solutions possible. See Ordinary Differential Equations for the corresponding existence and uniqueness framework.
Standard separated conditions
Section titled “Standard separated conditions”Let denote the outward normal derivative. On an interval,
The sign matters when Robin parameters are assigned geometrically.
Dirichlet conditions fix the value,
The homogeneous form has . In elementary quantum models this can represent a hard wall at which the wavefunction vanishes. In other contexts it means that the boundary value is externally prescribed.
Neumann conditions fix the outward normal derivative,
Homogeneous Neumann data set the normal slope to zero. For a simple real Schrödinger operator they also force the normal probability current to vanish, but zero derivative should not be interpreted as a universal model of every reflecting surface.
Robin conditions combine value and normal derivative:
Dirichlet and Neumann conditions are limiting cases. In a homogeneous self-adjoint problem, and are ordinarily real at each boundary, not both zero. A ratio such as introduces a length scale and can encode an effective surface interaction.
Mixed conditions use different types on different boundary components. A one-dimensional example is
Mixed does not mean inconsistent: this is exactly two independent conditions for a second-order equation.
Periodic and twisted conditions
Section titled “Periodic and twisted conditions”Periodic data identify the two ends of an interval:
They model a circle or a periodically repeated cell, not a particle bouncing between two hard walls. The corresponding mode basis is developed in Periodic Functions and Fourier Series.
A phase-twisted, or quasiperiodic, identification is
with real . Periodic data have , and antiperiodic data have . The same phase in both equations makes the endpoint contribution to Green’s identity cancel. Twists occur in ring geometries, Bloch theory, and systems with gauge holonomy. Their model-specific consequences belong in Periodic Boundary Conditions.
Homogeneous data and linear domains
Section titled “Homogeneous data and linear domains”An operator domain must be a vector space. Homogeneous linear conditions have this property: if and satisfy them, so does . Thus a Dirichlet realization of a differential expression can have a domain schematically written as
By contrast, defines an affine set rather than a vector space. Inhomogeneous boundary data are entirely legitimate for a forced boundary-value problem, but they do not directly define the domain of a linear operator. One can often subtract a convenient function with the prescribed boundary values and solve a homogeneous problem for the remainder.
Likewise, a condition that depends on the unknown eigenvalue does not describe one fixed operator domain in the usual way. Such problems can be meaningful, but they are generalized spectral problems and require separate analysis.
The broader principle is developed in Domains of Operators: an unbounded operator is the pair consisting of an action and a domain, not merely a formula.
Green’s identity and the boundary form
Section titled “Green’s identity and the boundary form”Define the Sturm–Liouville expression
in the weighted inner-product space
Integration by parts gives Green’s identity,
The endpoint expression on the right is the boundary form. Boundary conditions make the realization symmetric when this form vanishes for every pair in the proposed domain.
The standard conditions pass this test:
- Dirichlet data kill every term containing an endpoint value.
- Neumann data kill every term containing an endpoint derivative.
- Real homogeneous Robin data make the two products cancel at each endpoint.
- Periodic or twisted data make the contribution at cancel the contribution at .
Vanishing of the boundary form proves symmetry, not automatically self-adjointness. One must also show that the adjoint has the same domain. For regular scalar Sturm–Liouville problems, maximal boundary conditions of the standard self-adjoint types give the expected result. Singular endpoints require more care.
Probability-current interpretation
Section titled “Probability-current interpretation”For the one-dimensional Hamiltonian
with real , integration by parts yields
The probability current is
Setting relates the boundary form to the current:
Separated Dirichlet, Neumann, and real Robin conditions set the current to zero at each endpoint. Periodic and twisted conditions can allow nonzero current, but the current leaving one identified end re-enters through the other. In both cases there is no net probability loss from the physical configuration space.
This is a useful diagnostic, not a complete proof of self-adjointness. The continuity equation and applications are developed in Probability Current.
One expression, four spectra
Section titled “One expression, four spectra”Consider
Different endpoint conditions produce different eigenmodes:
| Conditions | Eigenfunctions | Allowed wave numbers |
|---|---|---|
| Dirichlet–Dirichlet | , | |
| Neumann–Neumann | , | |
| Dirichlet–Neumann | , | |
| Periodic | , |
The Neumann problem has a constant zero mode. The periodic problem has opposite-traveling modes with the same for . The Dirichlet–Dirichlet problem has neither feature. Nothing about the differential expression alone decides among these spectra.
The hard-wall derivation and its physical interpretation have a canonical home in Infinite Square Well.
A Robin quantization condition
Section titled “A Robin quantization condition”As a simple interpolation, impose
For a positive eigenvalue, , and the second condition gives
Equivalently, away from the zeros of ,
The limit is Dirichlet–Neumann, while large positive approaches a Dirichlet condition at . The roots move continuously as the boundary parameter changes. One must test directly in the differential equation: the trigonometric ansatz degenerates there, and an equation obtained after division can create or discard a spurious root.
Interfaces and matching conditions
Section titled “Interfaces and matching conditions”An internal interface behaves like a boundary shared by two regions. For
integrating across an ordinary finite jump at gives continuity of the flux variable:
In the absence of a distributional source, is also normally continuous. For the constant-mass Schrödinger equation with a finite potential step, this reduces to continuity of and .
A delta interaction changes the derivative condition. For
the wavefunction is continuous and
The coefficient follows by integrating the Schrödinger equation through the interface. It should not be guessed from the finite-step rule. The complete model calculation belongs in Delta-Function Potential.
More generally, matching conditions must preserve the appropriate boundary form. Continuity of probability current is a quick physical check.
Infinite and singular endpoints
Section titled “Infinite and singular endpoints”At an infinite endpoint, a bound-state wavefunction must be square-integrable, but the slogan that it must simply vanish at infinity can hide important details. Decay rate, differentiability, and the action of the operator all matter. Scattering states are not square-integrable and instead satisfy incoming, outgoing, or standing-wave asymptotic conditions; see Scattering States and Boundary Conditions.
At a singular endpoint, square-integrability may select one local behavior or may leave a family of admissible conditions. This is the distinction behind limit-point and limit-circle classification. Its systematic home is Sturm–Liouville Theory.
The radial origin is a common source of mistakes. If
regularity of the ordinary three-dimensional wavefunction generally selects
This does not mean that the unreduced radial factor must always vanish. Singular potentials and point interactions can alter the domain analysis, so the origin should not be treated as an ordinary endpoint by reflex.
Spatial boundaries in time-dependent problems
Section titled “Spatial boundaries in time-dependent problems”The time-dependent Schrödinger equation requires an initial state in time and boundary conditions in space. These play distinct roles:
sets the initial state, while a condition such as
specifies the spatial operator domain for every time. A valid initial state must lie in the Hilbert space, and stronger regularity is required if one wants it in the Hamiltonian domain. Time evolution preserves the boundary condition when generated by the corresponding self-adjoint Hamiltonian.
For partial differential equations, Dirichlet, Neumann, and Robin data are imposed on boundary surfaces, and is the geometric normal derivative. Corners, nonsmooth boundaries, and unbounded regions require additional analysis.
Numerical practice
Section titled “Numerical practice”Boundary conditions must be built into the discretization, not appended after diagonalization.
- Specify the continuum operator and domain before choosing a grid.
- Eliminate fixed Dirichlet degrees of freedom or encode them consistently in the matrix.
- Use one-sided, ghost-point, finite-element, or spectral constructions that retain the intended order of accuracy for Neumann and Robin data.
- Wrap both the function and derivative stencil for periodic data.
- Check that the discrete Hamiltonian is Hermitian in the discrete inner product.
- Vary the grid spacing and artificial box size separately. Agreement under only one refinement does not establish convergence to the intended unbounded-domain problem.
A boundary implementation that produces a visibly non-Hermitian Hamiltonian, complex eigenvalues for a closed system, or probability drift should be treated as a defect until explained.
A practical decision sequence
Section titled “A practical decision sequence”When setting up a new quantum boundary-value problem:
- Write the differential expression and the Hilbert-space measure.
- Identify regular endpoints, singular endpoints, interfaces, and infinity.
- Derive interface jumps by integrating the equation.
- State a homogeneous linear domain for the operator.
- Evaluate the boundary form for two arbitrary domain functions.
- Check probability current and dimensions.
- Only then solve the spectral equation or discretize it.
This sequence separates physical assumptions from algebraic consequences and makes it easier to compare two apparently similar models.
Common mistakes
Section titled “Common mistakes”- Treating a differential formula as a complete Hamiltonian.
- Imposing two conditions at each endpoint of a second-order scalar problem.
- Using inhomogeneous data as though they formed a linear operator domain.
- Calling periodic conditions a hard-wall approximation.
- Assuming every reflecting boundary requires .
- Matching across a delta interaction as if the potential were finite.
- Forgetting the coefficient when the equation is in divergence form.
- Using a complex Robin parameter without checking the boundary form and flux.
- Requiring a scattering state to be square-integrable.
- Setting the reduced radial function and the unreduced radial factor to the same endpoint value.
- Proving symmetry by integration by parts and calling it self-adjointness.
- Trusting a discretized spectrum without varying both grid and domain size.
Exercises
Section titled “Exercises”-
Let on . Show directly from the boundary form that the separated Robin conditions
make symmetric when .
Solution
For two domain functions and , the boundary form is
At the left endpoint, substitute the conditions term by term:
Their difference is zero, where reality of was used. At the right endpoint, both derivatives carry the same factor , so the two terms cancel in the same way. The complete boundary form vanishes. This establishes symmetry on the proposed domain; a separate maximal-domain argument establishes self-adjointness.
- Solve on with and . Normalize the eigenfunctions in .
Solution
For ,
The condition at zero gives . The condition at gives
A nonzero eigenfunction therefore requires
Since
the normalized modes are
The equation gives ; the two boundary conditions force , so there is no zero mode.
-
Verify that twisted conditions preserve both the boundary form and the probability current for :
Solution
For arbitrary domain functions and , the endpoint expression at is
The values at the two ends are equal, so their difference in the boundary form vanishes. For , the same cancellation gives
The current need not vanish. It circulates through the identified endpoint rather than leaking from the configuration space.
-
A particle obeys
Derive the derivative jump and show that a real preserves current across the interface when is continuous.
Solution
Integrate from to . The energy term vanishes in the limit because its integral is , while the kinetic and delta terms give
Hence
Let . Then the current difference is
Reality of is essential in the last step. A complex coupling would model gain or loss rather than a closed self-adjoint interaction.
References
Section titled “References”- E. A. Coddington and N. Levinson, Theory of Ordinary Differential Equations, McGraw–Hill, 1955.
- A. Zettl, Sturm–Liouville Theory, American Mathematical Society, 2005.
- G. Teschl, Mathematical Methods in Quantum Mechanics, 2nd ed., American Mathematical Society, 2014.
- M. Reed and B. Simon, Methods of Modern Mathematical Physics, Vol. II: Fourier Analysis, Self-Adjointness, Academic Press, 1975.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
- D. J. Griffiths and D. F. Schroeter, Introduction to Quantum Mechanics, 3rd ed., Cambridge University Press, 2018.