In the infinite square well on , extend from by zero. It is normalized and continuous, but its derivative jumps at zero. Its energy expectation value is the quadratic form of a positive quantum Hamiltonian , giving the displayed value. It is not in the operator domain of the Dirichlet Hamiltonian operator: its distributional second derivative contains a Dirac delta. Its sine-basis coefficients are , all other even coefficients zero, and . These make finite but divergent, independently distinguishing the form domain from the operator domain.
Expectation value Created 2026-09-24 Updated 2026-10-14
The expectation value of a quantum observable is the expected value of its measurement outcome random variable in a specified quantum state. It predicts the mean of outcomes from many identical quantum state preparations. It need not equal any one possible outcome: for a spin one-half particle, equal probabilities of and give mean zero even though zero is never an outcome of that spin component. Here is the reduced Planck constant.
Let be a Hermitian operator on a finite-dimensional Hilbert space, and let be a normalized pure state, . The spectral theorem writes
The are distinct real eigenvalues, are orthogonal projections onto their eigenspaces, and is the identity operator. For an ideal projective measurement of , the Born rule and the expectation value give
Thus the expectation value is a probability-weighted average of eigenvalues, including all vectors in a degenerate eigenspace in its . In an orthonormal eigenbasis, , this is , where repeated are allowed. The weighted average lies between the smallest and largest eigenvalues; it can lie in a gap between them. The statistical meaning and operator expression are connected in this way in the authored treatment of average energies.[ref]
If a nonzero vector has not been normalized, use ; the denominator is essential. A global phase cancels between the bra and ket, so and have the same expectation value and outcome probabilities.
The outcome variance measures the spread about this mean, whereas the quantum uncertainty is its standard deviation:
For a pure state, zero variance means that lies entirely in one eigenspace. That eigenspace need not be one-dimensional. Knowing only a mean generally does not determine the entire outcome probability distribution.
For a mixed state, the same formulas use its density matrix , a positive operator with trace one:
A pure state is the special case . For a quantum state ensemble , the expectation value is . This linearity is useful when preparations vary between trials; different quantum state ensembles can have the same density matrix.
These formulas require no operator-domain qualifications in finite dimension. For an unbounded self-adjoint operator, the spectral theorem instead gives a spectral probability measure; a finite mean requires an integrable absolute first moment, and finite variance requires a finite second moment. Writing as an operator inner product additionally requires in the operator domain of . The quadratic form of a positive quantum Hamiltonian explains the useful wider form-domain version.
The initial wavefunction has unit norm, since . On its nonzero half, with . A small domain qualification is important: the derivative jumps at zero, so the state is not in the operator domain of the Dirichlet Hamiltonian operator. Its finite energy expectation value is nevertheless defined by the quadratic form of a positive quantum Hamiltonian. The energy form of a half-well sine state gives
This is also the rigorous weak interpretation of the printed . Indeed the distributional second derivative is inside the well. The Dirac delta term pairs to zero because . One should not instead conclude that this state is an energy eigenstate from its equation on just the positive half.
Its coefficients in the full-well energy eigenstates are
For even , sine orthogonality gives and all other even coefficients zero. For , set and use . Product-to-sum integration then gives
Since these coefficients are , converges, confirming that the state has finite energy. With , the spectral expression is
The kinetic-energy quadratic form equals this spectral sum: expanding the weak derivative in the corresponding orthonormal cosine modes and using Parseval's identity gives . Equating it to the directly integrated value proves
In contrast, diverges, consistently showing why is not an ordinary square-integrable vector even though the energy expectation is finite.
Quantum variational principle Created 2026-10-03 Updated 2026-10-14
The quantum variational principle estimates the lowest energy by choosing a trial wavefunction and computing its expectation value, without solving the Schrödinger equation exactly. Minimizing over a manageable family of trial wavefunctions gives an upper bound; enlarging that family can improve the estimate.
Let be a self-adjoint operator bounded below, and put . For in its operator domain ,
Trial states may also lie in the form domain , where . Then use the quadratic form of a positive quantum Hamiltonian shifted by :
This extends the expectation value beyond without requiring to exist. Equality for a normalized state holds exactly in the energy eigenspace at , if that eigenvalue exists. [ref].
A short proof makes the direction of the bound memorable. If has a complete orthonormal basis of energy eigenstates , write
The expectation value is a weighted average of allowed energies:
Equality requires every occupied energy eigenstate to have energy . [ref]. With continuous spectrum, the spectral theorem replaces the sum by an integral against the scalar spectral measure; the same nonnegative-difference argument works.
For an unnormalized trial wavefunction, divide by its squared norm: is the form version of the Rayleigh quotient. The quantum variational principle supplies an upper bound on ; it supplies neither a lower bound on nor, by itself, a guarantee that a bound state exists.
To see the method at work, choose the real Gaussian wave packet
The Gaussian integral gives wavefunction normalization and the two useful position averages:
Thus its position probability density is a normal distribution with standard deviation : large means narrow confinement. In units , integration by parts and give the kinetic energy
These smooth, rapidly decaying trial wavefunctions belong to the operator domains of both polynomial Quantum Hamiltonians below. Narrowing the Gaussian wave packet increases its kinetic energy; widening it increases the potential energy in either confining potential.
For the quantum harmonic oscillator, take :
The trial values at are respectively . The derivative changes sign at , where kinetic energy and potential energy are both . Here the trial family contains an exact ground state:
The zero-point energy remains positive even at the best width. For comparison, removing the potential leaves as : the free Quantum Hamiltonian on the line has spectral bottom zero but no normalizable zero-energy energy eigenstate. A sequence of ever broader trial wavefunctions need not approach an actual bound state.
Figure 1.
Gaussian trial widths and the kinetic–potential energy tradeoff
. Normalized Gaussian wave packets with have different position probability densities. The bars show the competing kinetic energy and harmonic potential energy ; their sum is smallest at . Details.
For a pure quartic oscillator, keep and set the quartic coefficient to one:
The trial values at are respectively . Setting the derivative to zero gives
The sign of this derivative changes from negative to positive at the optimum, giving the smallest energy within this Gaussian wave packet family:
At this width, and , so , as expected from the power-law quantum virial theorem for a scale-optimized trial wavefunction. The number is an upper estimate of the ground-state energy, not an asserted exact energy eigenvalue. Indeed,
depends on for every , so no member of this trial family is an energy eigenstate. Nevertheless, a single width parameter already turns a difficult Schrödinger equation into a useful, explicit energy estimate.
Figure 2.
Energy landscapes for harmonic and quartic Gaussian trials
. The quantum harmonic oscillator reaches its exact ground-state energy at . The pure quartic oscillator has a Gaussian wave packet optimum at giving only the upper bound . Dashed curves separate kinetic energy and potential energy. Details.
Variational method Created 2026-09-24 Updated 2026-10-13
The variational method estimates the lowest energy of a Quantum Hamiltonian by choosing a trial wavefunction, evaluating its energy, and optimizing the trial parameters. It uses the quantum variational principle, the Rayleigh-Ritz variational principle expressed for quantum states. Let be a self-adjoint operator bounded below, and define , the bottom of its spectrum. Every normalized admissible trial quantum state satisfies
When is an energy eigenvalue, it is the ground-state energy; equality holds precisely for a quantum state in the ground-state subspace. Otherwise the bottom of the spectrum need not be attained by any normalizable wavefunction.
Admissible means finite form energy. Choose a real and use the shifted quadratic form of a positive quantum Hamiltonian:
The form domain is independent of this choice of and can be larger than the operator domain . For , is the usual expectation value; for nonzero unnormalized trials, divide by to get the form version of the Rayleigh quotient. See the quantum variational principle for the general domain justification.
Thus each trial energy is an upper bound on , and minimizing within a trial family improves that upper bound. It is not a lower bound on . The Gaussian variational energy for the harmonic oscillator reaches because its family contains an exact ground state. The exact variational solution in a two-level system makes the equality condition visible as vanishing excited-state probability amplitude.
The method is useful when solving the Schrödinger equation exactly is difficult but integrals of a trial wavefunction are tractable. Enlarging a trial family cannot increase its optimal energy, although an optimum need not be attained. The beauty is that even an imperfect trial gives a rigorous bound, provided its form energy is computed exactly: numerical integration errors require separate control. The Gaussian variational estimate for a solvable sextic potential provides an existing example beyond a quantum harmonic oscillator.
A short proof explains the direction. With a complete orthonormal eigenbasis of energy eigenstates, write , where and . Then
This is a weighted mean of nonnegative energy differences; equality requires every occupied energy eigenstate to have energy . [ref]. For continuous spectrum, the spectral theorem replaces the sum by an integral against the scalar spectral measure of , with the same nonnegative integrand. This proves the bound without assuming an orthonormal eigenbasis exists.
The historical setting predates quantum mechanics: Rayleigh's The Theory of Sound, volume I, appeared in 1877, and Ritz's paper on solving variational problems of mathematical physics appeared in volume 135 of Crelle's journal, catalogued by its publisher as 1909, pp. 1–61. These are original works associated with the Rayleigh-Ritz method; the dates here identify the publications rather than assert priority. [ref]; [ref].