L2 Spaces
An space is a Hilbert space built from square-integrable functions, with functions identified when they agree almost everywhere. The measure is part of the definition:
This space is the natural analytic home for normalizable wavefunction representations, Fourier expansions, and many differential-operator problems. The mathematical object is an equivalence class of functions, not an arbitrary pointwise formula.
The physical interpretation of a wavefunction belongs to Wavefunctions as Representations. This page develops the function-space mathematics.
Definition on a Measure Space
Section titled “Definition on a Measure Space”Let be a measure space. Begin with the measurable complex functions satisfying
Two such functions are equivalent when they agree almost everywhere:
The space is the set of equivalence classes under this relation. Its inner product and norm are
The subscript on distinguishes this norm from pointwise, uniform, or derivative-sensitive norms.
Why Equivalence Classes Are Necessary
Section titled “Why Equivalence Classes Are Necessary”On raw functions, the integral expression is only a seminorm. A nonzero function can vanish almost everywhere. For example, on with Lebesgue measure,
has
A genuine norm must satisfy only for the zero vector. Passing to equivalence classes identifies every almost-everywhere-zero function with zero and restores positive definiteness.
This has practical consequences:
- changing a representative at finitely many points does not change the vector;
- a bare element has no well-defined value at a specified point;
- continuity and boundary values require extra regularity or a chosen representative;
- the Dirac delta is not an function.
Physicists often write a representative and call it the wavefunction. That is harmless when the almost-everywhere equivalence is understood.
The Inner Product Is Well Defined
Section titled “The Inner Product Is Well Defined”If and are square integrable, their product is integrable by the Cauchy–Schwarz inequality:
Changing either function on a null set changes neither the integral nor the equivalence class. Thus the inner product is independent of the chosen representatives.
The induced distance is
Two representatives can differ substantially at isolated points and still have zero distance because they represent the same vector.
Completeness
Section titled “Completeness”The Riesz–Fischer theorem states that is complete: every -Cauchy sequence converges in the norm to an equivalence class in . Therefore is a Hilbert space.
The proof is analytic rather than pointwise. One standard route selects a subsequence whose successive differences satisfy
The sum of the absolute successive differences is then an function and is finite almost everywhere. It defines an almost-everywhere limit for the subsequence, and the original Cauchy property gives convergence of the full sequence in .
The important conclusion is not that every sequence converges. It is that an -Cauchy sequence cannot converge to a missing object outside the space.
Standard Models
Section titled “Standard Models”The real line.
modulo equality almost everywhere.
Euclidean configuration space.
uses the -dimensional Lebesgue measure.
A finite interval.
contains constant functions because the interval has finite measure.
Counting measure. On with counting measure,
because integration becomes summation.
Finite sets. On a set of points with counting measure,
Thus finite coordinate spaces, square-summable sequences, and square-integrable functions are versions of one construction with different measure spaces.
The Measure Is Part of the Space
Section titled “The Measure Is Part of the Space”The notation suppresses information. Different measures on the same underlying set generally give different norms and can give different equivalence classes.
In spherical coordinates on ,
The radial measure is therefore , not merely . A radial function has norm contribution
If one instead defines , then
The two formulas use different representatives and measures for equivalent radial information.
More generally, under a coordinate change ,
Dropping the Jacobian changes the inner product.
Square-Integrability Tests
Section titled “Square-Integrability Tests”Membership is determined by local singularities and large-distance tails. For a power law on ,
the radial contribution at large behaves as
It converges at infinity precisely when
Near the origin, the same power law is locally square integrable precisely when
The direction of the inequality reverses because the endpoint changes.
On the line,
belongs to exactly when . It is bounded near the origin, so only the tail matters.
Common Function Examples
Section titled “Common Function Examples”- Every Gaussian with belongs to .
- The exponential belongs to when .
- A nonzero constant belongs to but not to .
- A plane wave is not in because its modulus is one.
- The Dirac delta is a distribution, not a square-integrable function.
- A function can belong to without being continuous or differentiable.
Plane waves and delta functions remain useful as generalized spectral objects. Their canonical treatment is Generalized Eigenvectors.
Worked Example: Normalizing a Gaussian
Section titled “Worked Example: Normalizing a Gaussian”Let
Its squared norm is
Unit norm requires
The norm determines only the magnitude of . Multiplication by a constant phase leaves the norm unchanged.
The probability interpretation of unit norm is a quantum postulate, not a consequence of the definition; see Normalization.
Norm Convergence versus Pointwise Convergence
Section titled “Norm Convergence versus Pointwise Convergence”Convergence in means
It does not mean at every point. Conversely, pointwise convergence does not imply convergence.
For example, on let
For every fixed , eventually , so . But
for every , so the sequence does not converge to zero in .
If in , one can extract a subsequence converging to almost everywhere, but the entire sequence need not converge pointwise. Additional hypotheses such as domination can connect pointwise and norm convergence.
This distinction is central to basis expansions: convergence of a Fourier series in does not automatically imply pointwise convergence at every location.
Dense Subspaces and Test Functions
Section titled “Dense Subspaces and Test Functions”For Lebesgue measure on , the smooth compactly supported functions
are dense in . Every vector can be approximated in norm by smooth functions with bounded support.
Density does not mean every function is smooth. It means that for each and every , there is such that
Dense test spaces are useful initial domains for differential operators and distribution theory. Their completion in the norm forgets derivatives and pointwise boundary data; retaining that information requires stronger spaces, such as Sobolev spaces.
Orthonormal Bases and Fourier Maps
Section titled “Orthonormal Bases and Fourier Maps”If is a complete orthonormal basis of a separable space, then
These statements concern equivalence classes and norm convergence. Trigonometric functions on a finite interval and Hermite functions on are standard examples.
With a consistent convention, the Fourier transform extends from nice test functions to a unitary map on . Plancherel’s theorem gives
See Fourier Transform for normalization conventions and the extension.
Multiplication Operators and Domains
Section titled “Multiplication Operators and Domains”Let be measurable. Multiplication by is the operator
If is essentially bounded, then is bounded on all of and
If is unbounded, the natural domain is
For example, multiplication by on is not defined on every square-integrable function. Square integrability of does not imply square integrability of .
Differential operators require still more regularity. An arbitrary equivalence class need not possess a classical derivative or pointwise boundary values. See Domains of Operators and Real Analysis Essentials.
Product Spaces and Multiple Components
Section titled “Product Spaces and Multiple Components”Under standard hypotheses on the measures,
A simple tensor corresponds to a product function:
Finite linear combinations of such product functions are dense in the product-space . General elements need not factor.
For a -component wavefunction, use the vector-valued space
with norm
Spinor and coupled-channel wavefunctions fit this pattern.
Boundary with Probability
Section titled “Boundary with Probability”If a wavefunction representative is normalized,
the continuous Born rule assigns a region the probability
The integral depends only on the equivalence class. But the assignment of this integral as a probability is physical structure beyond the definition of . See The Continuous Born Rule.
The measure also controls units. If has dimensions of length and , a normalized one-dimensional wavefunction has units so that is dimensionless.
Numerical Practice
Section titled “Numerical Practice”A grid and quadrature rule replace the integral by a weighted sum:
The weights are part of the discrete inner product. Treating sampled values with the ordinary Euclidean dot product is correct only when the quadrature and basis convention justify equal weights.
Useful checks include:
- verify all weights are nonnegative for a norm quadrature;
- include coordinate Jacobians and cell volumes;
- normalize with the same weights used by operators;
- refine the grid and domain independently;
- monitor tail probability outside the computational window;
- distinguish interpolation error from error;
- do not infer pointwise convergence from a stable discrete norm alone.
For a generalized eigenproblem with a nonorthogonal discretization, the mass or overlap matrix represents the discrete inner product.
Common Mistakes
Section titled “Common Mistakes”- Defining as a set of pointwise functions rather than equivalence classes.
- Treating a single point value as a property of an arbitrary vector.
- Forgetting that the measure and coordinate Jacobian are part of the norm.
- Assuming square integrability implies continuity or differentiability.
- Treating a plane wave or Dirac delta as a normalizable vector.
- Confusing pointwise, uniform, and convergence.
- Assuming every multiplication or differential operator acts on all of .
- Dropping component sums for spinor-valued functions.
- Normalizing a grid vector with weights different from those used in the Hamiltonian discretization.
- Inferring the Born rule from the function-space definition alone.
Exercises
Section titled “Exercises”- On with Lebesgue measure, let for all and . Compute and identify its equivalence class.
Solution
The function is nonzero only on the one-point set , which has Lebesgue measure zero. Therefore
It represents the zero equivalence class in .
-
For
determine all real for which .
Solution
The function is bounded near , so only the tail matters. For large ,
The integral
converges exactly when . Hence
-
Normalize
and state the remaining freedom in .
Solution
Using the Gaussian integral,
Therefore
The most general choice is
where is any real constant phase.
- On , let multiply by . Use normalized indicator functions supported on to prove that is unbounded.
Solution
Let
The interval has length one, so . But
Hence
No finite constant can satisfy for every in the domain. Thus is unbounded. Its natural domain is
References
Section titled “References”- G. B. Folland, Real Analysis: Modern Techniques and Their Applications, 2nd ed., Wiley, 1999.
- E. M. Stein and R. Shakarchi, Real Analysis: Measure Theory, Integration, and Hilbert Spaces, Princeton University Press, 2005.
- M. Reed and B. Simon, Methods of Modern Mathematical Physics, Vol. I: Functional Analysis, revised and enlarged ed., Academic Press, 1980.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
- J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.