Expectation Values
An expectation value is a probability-weighted average. It summarizes the center of a distribution, but it need not be a possible outcome, a typical outcome, or the result of any one trial.
In quantum mechanics, the same mathematical operation averages the outcomes of a specified observable in a specified state. The operator formula is not a new kind of average; the Born rule supplies a probability measure, and the expectation is its first moment.
Measure-theoretic definition
Section titled “Measure-theoretic definition”Let be a probability space and let be a random variable. Its expectation is
provided the integral is well defined.
A finite expectation exists when is integrable:
This absolute-integrability condition prevents an undefined cancellation between an infinite positive part and an infinite negative part. A nonnegative random variable can have the extended expectation , but then it does not have a finite mean.
The underlying vocabulary of outcomes, events, and measures is reviewed in Probability Spaces, Light Version.
Discrete and continuous forms
Section titled “Discrete and continuous forms”If takes countably many values with probabilities , then
Absolute integrability means
If has probability density , then
with
The sum and density formulas are special representations of the same integral over the probability space. Some probability laws are neither purely discrete nor described by an ordinary density; the measure definition covers mixtures and singular distributions as well.
See Probability Densities for normalization, units, and changes of variables.
Basic properties
Section titled “Basic properties”Whenever the relevant expectations exist, expectation is linear:
Independence is not required for linearity.
Constants pass through the average:
Expectation is positive and monotone:
For an event , let be its indicator. Then
This identity lets probabilities be manipulated as expectations and is often useful in counting arguments and error bounds.
Functions of a random variable
Section titled “Functions of a random variable”The law of the unconscious statistician, often abbreviated LOTUS, states that
If has density , this becomes
For a discrete variable,
One does not need to derive the probability distribution of merely to compute its expectation. The integrability condition becomes .
Moments
Section titled “Moments”The th raw moment is
when it exists. The first raw moment is the mean
The th central moment is
In particular, the variance is
The second expression requires the second moment to be finite. A distribution can have a finite mean but infinite variance, or be normalized while having no finite mean at all.
Variance, covariance, and correlation have a canonical treatment in Variance and Covariance. Moment-generating Fourier methods are discussed in Characteristic Functions.
Convexity and Jensen’s inequality
Section titled “Convexity and Jensen’s inequality”If is convex and the expectations exist, then
For the convex function , this gives
which is equivalent to nonnegative variance.
Equality in a strictly convex Jensen inequality requires to be constant almost surely. The inequality is a powerful way to compare nonlinear functions of averages with averages of nonlinear functions.
Joint variables and independence
Section titled “Joint variables and independence”For jointly distributed and ,
If a joint density exists,
If and are independent and is integrable, then
The converse is false: zero covariance or factorization of one product moment does not generally imply independence.
Conditional expectation and the law of total expectation are developed in Conditional Probability.
Mean is not mode or median
Section titled “Mean is not mode or median”Three notions of center answer different questions:
- the mean minimizes expected squared error;
- a median minimizes expected absolute error;
- a mode is a most probable value or density maximum.
They coincide for some symmetric unimodal distributions but not in general. For an equal-probability variable taking values and ,
even though zero never occurs. An expectation can lie between discrete outcomes or in a low-density region of a skewed distribution.
Sample averages
Section titled “Sample averages”The expectation is a property of a probability law. An experimental or numerical estimate uses a sample. For independent identically distributed values , define
If , then
If the variance is finite and equal to , independence gives
The standard error therefore scales as . This is a statement about fluctuations of the estimator, not about the spread of individual outcomes. Correlated samples require an effective sample size rather than the naive .
For computational estimation, see Monte Carlo Basics.
Quantum expectation from the Born rule
Section titled “Quantum expectation from the Born rule”Let be a self-adjoint observable with spectral measure for Borel sets . A normalized state defines the outcome probability measure
The expectation of the measurement outcomes is
provided
For a discrete spectral decomposition
the Born probabilities are
and
Degeneracy is handled by the projector onto the entire eigenspace. Nothing requires choosing a preferred basis inside that eigenspace.
The measurement interpretation belongs in Quantum Expectation Values.
Operator and density-matrix forms
Section titled “Operator and density-matrix forms”When lies in the domain of ,
For a density operator in finite dimensions, or whenever the trace is well defined,
This includes classical mixtures and reduced states. If
then linearity gives
Different ensemble decompositions of the same give the same expectation because the trace depends only on .
Position and momentum examples
Section titled “Position and momentum examples”For a normalized position wavefunction,
In momentum representation,
When lies in the momentum-operator domain, the same quantity is
The equality follows from the unitary Fourier transform. It also depends on the derivative and boundary conditions being meaningful; the formal differential expression alone is not enough.
Reality and linearity for observables
Section titled “Reality and linearity for observables”The expectation of a self-adjoint observable is real whenever it exists. In the operator-domain form,
Expectation is linear even when two bounded observables do not commute:
This does not mean that outcomes of separate incompatible measurements can be added trial by trial to obtain the outcome distribution of . The observable has its own spectral measure. Linearity concerns the first moment, not equality of measurement protocols or full probability laws.
For unbounded operators, common domains and integrability must be checked before applying the formula.
Unbounded-observable caveat
Section titled “Unbounded-observable caveat”For a self-adjoint , the spectral expectation can exist when
The vector expression requires the stronger condition
which characterizes . A finite variance also requires this second moment.
Thus a normalized state need not have finite expectation for every observable, and a finite first moment does not automatically justify every operator manipulation. Domain statements are part of the mathematics, not a technical afterthought.
Time dependence
Section titled “Time dependence”In the Schrödinger picture,
Under suitable domain assumptions,
If has no explicit time dependence and commutes with , its expectation is conserved. Conservation of the expectation is weaker than certainty of a fixed outcome; the full distribution can matter.
Numerical evaluation
Section titled “Numerical evaluation”For a continuous probability density:
- verify or enforce normalization;
- check tail behavior before truncating the domain;
- evaluate positive and negative contributions with adequate precision;
- refine the quadrature grid and integration range independently;
- compare direct and transformed representations when both are available.
For a discretized wavefunction with quadrature weights ,
Ignoring the weights changes the inner product. In nonorthogonal bases, the overlap or mass matrix must be included.
Common mistakes
Section titled “Common mistakes”- Treating the expectation as the outcome of one trial.
- Assuming the mean must be an allowed value.
- Confusing mean, median, and mode.
- Omitting absolute-integrability checks.
- Inferring independence from alone.
- Applying LOTUS without checking the integrability of .
- Confusing the standard deviation of outcomes with the standard error of a sample mean.
- Writing for an unbounded observable without checking the domain.
- Assuming normalization of a state guarantees finite energy or variance.
- Treating linearity of quantum expectation as an outcome-by-outcome rule for incompatible measurements.
- Forgetting quadrature or overlap weights in numerical averages.
Exercises
Section titled “Exercises”- Let be uniform on . Compute and using LOTUS.
Solution
The density is on . Therefore,
by odd symmetry. Also,
Hence .
-
Let and be events. Use indicator variables to show
Solution
Pointwise,
Take expectations and use linearity:
No independence assumption is needed.
-
For
compute the expectation and variance of , where the eigenvalues of and are and .
Solution
The two probabilities are
Therefore,
Since ,
The phase does not affect a measurement.
-
The density
is zero otherwise. Show that it is normalized but has no finite expectation.
Solution
Normalization holds because
The expectation is
The logarithmic integral diverges, so . Normalization alone does not guarantee a finite first moment.
References
Section titled “References”- P. Billingsley, Probability and Measure, 3rd ed., Wiley, 1995.
- G. Grimmett and D. Stirzaker, Probability and Random Processes, 3rd ed., Oxford University Press, 2001.
- W. Feller, An Introduction to Probability Theory and Its Applications, Vol. I, 3rd ed., Wiley, 1968.
- L. E. Ballentine, Quantum Mechanics: A Modern Development, World Scientific, 1998.
- A. S. Holevo, Probabilistic and Statistical Aspects of Quantum Theory, 2nd ed., Edizioni della Normale, 2011.
- P. Busch, P. Lahti, J.-P. Pellonpää, and K. Ylinen, Quantum Measurement, Springer, 2016.