Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Probability Measures, Expectations, and Conditional Laws

    A detector reports a noisy combination of two fluctuating quantities. Averaging over everything gives the unconditional mean; using the detector reading gives a different random variable, the conditional mean. Both operations are integrals, but they preserve different information. This distinction also governs integrating out field variables and averaging an estimator whose coefficients were fitted separately.

    We will construct conditional expectation from its integral identity, then solve a two-variable Gaussian model. The calculation will also supply an explicit bound justifying the source derivatives that generate its moments.

    Preparation: Integration and elementary linear algebra. The Gaussian-vector article develops the moment formulas used later in this chapter.

    A law is a measure, not necessarily a density

    A probability space consists of a set of outcomes Ω\Omega, a sigma-algebra F\mathcal F of measurable events, and a countably additive measure P\mathbb P with P(Ω)=1\mathbb P(\Omega)=1. A real random variable is a measurable map X:Ω→RX:\Omega\to\mathbb R. Its law is the pushforward measure

    μX(B)=P(X∈B),B⊆R Borel.\mu_X(B)=\mathbb P(X\in B), \qquad B\subseteq\mathbb R\text{ Borel}.

    Different experiments can produce the same law. Conversely, knowing separate laws for XX and YY does not determine their joint law. Independent unit Gaussians and the pair (X,X)(X,X) have identical one-variable marginals but very different correlations.

    For a nonnegative measurable function hh, expectation is the nonnegative integral, possibly infinite. For a signed or complex function we require absolute integrability before treating its expectation as a finite number:

    E[h(X)]=∫h(x) dμX(x),E[∣h(X)∣]<∞.\mathbb E[h(X)]=\int h(x)\,\mathrm d\mu_X(x), \qquad \mathbb E[|h(X)|]<\infty.

    This change of variables holds first for indicators, then for simple functions, and finally by monotone convergence and decomposition into positive and negative parts. A density pXp_X is an extra property: when dμX=pX(x) dx\mathrm d\mu_X=p_X(x)\,\mathrm dx, the last integral becomes an ordinary density integral. A point mass or a Gaussian supported on a lower-dimensional subspace needs no such density.

    The spaces Lp(P)L^p(\mathbb P) identify variables equal almost surely. For real X,Y∈L2X,Y\in L^2, define

    Var⁡X=E[(X−EX)2],Cov⁡(X,Y)=E[(X−EX)(Y−EY)].\operatorname{Var}X=\mathbb E[(X-\mathbb EX)^2], \qquad \operatorname{Cov}(X,Y)=\mathbb E[(X-\mathbb EX)(Y-\mathbb EY)].

    The covariance is finite for X,Y∈L2X,Y\in L^2 by Cauchy–Schwarz. Since the underlying measure has total mass one, L2⊆L1L^2\subseteq L^1.

    State the condition that permits an interchange

    Three integration results recur in field theory. Their hypotheses do different work.

    • Monotone convergence: if 0≤Xn↑X0\leq X_n\uparrow X, then EXn↑EX\mathbb EX_n\uparrow\mathbb EX, allowing infinity.
    • Dominated convergence: if Xn→XX_n\to X almost surely and ∣Xn∣≤G|X_n|\leq G with G∈L1G\in L^1, then Xn→XX_n\to X in L1L^1 and EXn→EX\mathbb EX_n\to\mathbb EX.
    • Tonelli and Fubini: on a product of sigma-finite measure spaces, a nonnegative measurable integrand may be integrated in either order, allowing infinity. For a signed or complex integrand, absolute integrability is a sufficient condition for both iterated integrals to equal the product integral.

    The proofs and precise integration statements are in Durrett, §§1.6–1.7, PDF. Absolute integrability cannot be replaced by the existence of a principal value. A conditionally convergent cancellation may change when the integration order or cutoff changes.

    For differentiation under an integral, apply dominated convergence to difference quotients. For example, if ∂tF(t,ω)\partial_t F(t,\omega) exists on a neighborhood of t0t_0 and is bounded there by an integrable function, the mean-value theorem bounds the difference quotient and gives

    ddtE[F(t)]∣t=t0=E[∂tF(t0)].\left.\frac{\mathrm d}{\mathrm dt}\mathbb E[F(t)]\right|_{t=t_0} =\mathbb E[\partial_t F(t_0)].

    We will prove such a bound for the Gaussian generating function below rather than infer it just from a formal expansion.

    Independence is a statement about all events

    Random variables XX and YY are independent when

    P(X∈A,Y∈B)=P(X∈A)P(Y∈B)\mathbb P(X\in A,Y\in B) =\mathbb P(X\in A)\mathbb P(Y\in B)

    for all Borel sets A,BA,B. Equivalently, their joint law is μX⊗μY\mu_X\otimes\mu_Y. Therefore

    E[f(X)g(Y)]=E[f(X)] E[g(Y)]\mathbb E[f(X)g(Y)] =\mathbb E[f(X)]\,\mathbb E[g(Y)]

    for bounded measurable f,gf,g, and for individually integrable f(X),g(Y)f(X),g(Y) by Tonelli applied to the absolute value and then Fubini. The converse follows by taking indicator functions. Zero covariance alone tests only one pair of functions and does not imply independence.

    Independence of XX from a sigma-algebra G\mathcal G means that every event determined by XX is independent of every event in G\mathcal G. This is the appropriate language when the available information consists of several measurements or an entire past history.

    Conditional expectation preserves observable averages

    Let XX be real with X∈L1X\in L^1, and let G⊆F\mathcal G\subseteq\mathcal F. A conditional expectation M=E[X∣G]M=\mathbb E[X\mid\mathcal G] is a G\mathcal G-measurable, integrable variable satisfying

    ∫AM dP=∫AX dPfor every A∈G.\int_A M\,\mathrm d\mathbb P =\int_A X\,\mathrm d\mathbb P \qquad\text{for every }A\in\mathcal G.

    It is the average inferred from the available information, constrained to reproduce the original averages on every event that information can distinguish. Equivalently,

    E[ZX]=E[ZM]\mathbb E[ZX]=\mathbb E[ZM]

    for every bounded G\mathcal G-measurable test variable ZZ.

    Existence is a consequence of the Radon–Nikodym theorem. For X≥0X\geq0, the finite measure ν(A)=∫AX dP\nu(A)=\int_A X\,\mathrm d\mathbb P on G\mathcal G is absolutely continuous with respect to P∣G\mathbb P|_{\mathcal G}; its derivative is MM. For signed XX, subtract the derivatives for its positive and negative parts. If M,M′M,M' both work, test on {M−M′>1/n}\{M-M'>1/n\}. Their equal integrals force this event to have probability zero. Taking the countable union and reversing the roles proves M=M′M=M' almost surely. This is why conditioning determines a version, not prescribed values at every null outcome. See Sheffield, Lecture 16, slides 4–14, PDF.

    For a finite partition into events AjA_j of positive probability, the definition becomes

    E[X∣σ(A1,…,AN)]=∑j1AjE[X1Aj]P(Aj).\mathbb E[X\mid\sigma(A_1,\ldots,A_N)] =\sum_j\mathbf1_{A_j}\frac{\mathbb E[X\mathbf1_{A_j}]}{\mathbb P(A_j)}.

    This familiar ratio is a special case. If YY has a continuous density, P(Y=y)=0\mathbb P(Y=y)=0, so conditioning on a value cannot use that ratio of event probabilities.

    The identities and their assumptions

    Linearity and order follow directly from the integral definition and uniqueness. Taking A=ΩA=\Omega gives total expectation. For nested information H⊆G\mathcal H\subseteq\mathcal G,

    E[E[X∣G]∣H]=E[X∣H],E[E[X∣H]∣G]=E[X∣H].\begin{aligned} \mathbb E[\mathbb E[X\mid\mathcal G]\mid\mathcal H] &=\mathbb E[X\mid\mathcal H],\\ \mathbb E[\mathbb E[X\mid\mathcal H]\mid\mathcal G] &=\mathbb E[X\mid\mathcal H]. \end{aligned}

    For the first line, test on events in H\mathcal H and use their membership in G\mathcal G. The second follows because an H\mathcal H-measurable variable is already G\mathcal G-measurable. Nested sigma-algebras are essential; arbitrary successive conditionings need not commute. These properties are developed in Sheffield, Lecture 18, slides 9–15, PDF.

    If ZZ is bounded and G\mathcal G-measurable, testing against indicators and then simple functions gives

    E[ZX∣G]=ZE[X∣G].\mathbb E[ZX\mid\mathcal G]=Z\mathbb E[X\mid\mathcal G].

    Unbounded factors require integrability of the products. If XX is independent of G\mathcal G, the constant EX\mathbb EX satisfies the defining test and is its conditional expectation. The converse requires the corresponding identity for every bounded function of XX, not only for XX itself.

    Order also gives ∣E[X∣G]∣≤E[∣X∣∣G]|\mathbb E[X\mid\mathcal G]|\leq\mathbb E[|X|\mid\mathcal G], hence L1L^1 contraction. For X∈L2X\in L^2, conditional Jensen gives M∈L2M\in L^2, and truncating an arbitrary Z∈L2(G)Z\in L^2(\mathcal G) extends the bounded-test identity to

    E[(X−M)Z]=0.\mathbb E[(X-M)Z]=0.

    Thus MM is the orthogonal projection onto L2(G)L^2(\mathcal G). In particular, for every ZZ in that space,

    E[(X−Z)2]=E[(X−M)2]+E[(M−Z)2].\mathbb E[(X-Z)^2] =\mathbb E[(X-M)^2]+\mathbb E[(M-Z)^2].

    The conditional mean minimizes mean-square error among all estimators using that information, including nonlinear estimators.

    Solve a noisy Gaussian observation

    Let X∼N(0,σ2)X\sim N(0,\sigma^2) and η∼N(0,τ2)\eta\sim N(0,\tau^2) be independent, with σ,τ>0\sigma,\tau>0, and observe

    Y=aX+η,a∈R.Y=aX+\eta,\qquad a\in\mathbb R.

    Changing variables from (x,η)(x,\eta) to (x,y)(x,y) has unit Jacobian, so

    p(x,y)=12πστexp⁡[−x22σ2−(y−ax)22τ2].p(x,y)=\frac1{2\pi\sigma\tau} \exp\left[-\frac{x^2}{2\sigma^2} -\frac{(y-ax)^2}{2\tau^2}\right].

    Define

    S=a2σ2+τ2,κ=aσ2S,v=σ2τ2S.S=a^2\sigma^2+\tau^2, \qquad \kappa=\frac{a\sigma^2}{S}, \qquad v=\frac{\sigma^2\tau^2}{S}.

    Completing the square gives the exact identity

    x2σ2+(y−ax)2τ2=(x−κy)2v+y2S.\frac{x^2}{\sigma^2}+\frac{(y-ax)^2}{\tau^2} =\frac{(x-\kappa y)^2}{v}+\frac{y^2}{S}.

    Since vS=σ2τ2vS=\sigma^2\tau^2, both the exponent and normalization factorize. Therefore Y∼N(0,S)Y\sim N(0,S) and

    p(x∣y)=12πvexp⁡[−(x−κy)22v].p(x\mid y)=\frac1{\sqrt{2\pi v}} \exp\left[-\frac{(x-\kappa y)^2}{2v}\right].

    This density defines a regular conditional law: for measurable sets A,BA,B,

    P(X∈A,Y∈B)=∫B[∫Ap(x∣y) dx]pY(y) dy.\mathbb P(X\in A,Y\in B) =\int_B\left[\int_A p(x\mid y)\,\mathrm dx\right]p_Y(y)\,\mathrm dy.

    The displayed continuous formula supplies a convenient version for every real yy; the probability law determines it only for almost every yy. Its moments give

    E[X∣Y]=κY,E[X2∣Y]=v+κ2Y2.\mathbb E[X\mid Y]=\kappa Y, \qquad \mathbb E[X^2\mid Y]=v+\kappa^2Y^2.

    The second expression is not the square of the first. The missing term would be the uncertainty left after the measurement. Averaging restores the unconditional variance:

    v+κ2S=σ2.v+\kappa^2S=\sigma^2.

    For a=0a=0 the observation carries no information: κ=0\kappa=0 and v=σ2v=\sigma^2. For fixed a≠0a\ne0 and τ↓0\tau\downarrow0, κ→1/a\kappa\to1/a and v→0v\to0; the conditional law tends to a point mass. Its limiting joint law is singular, so the nonsingular density formula cannot simply be evaluated at τ=0\tau=0.

    Prove the bound behind source differentiation

    Use real sources J,KJ,K. Independence and elementary one-dimensional Gaussian completion give

    M(J,K)=E[eJX+KY]=exp⁡[σ22(J+aK)2+τ22K2].\begin{aligned} M(J,K)&=\mathbb E[e^{JX+KY}]\\ &=\exp\left[\frac{\sigma^2}{2}(J+aK)^2 +\frac{\tau^2}{2}K^2\right]. \end{aligned}

    To obtain moments by differentiating, fix a compact source range ∣J∣,∣K∣≤R|J|,|K|\leq R and write X=σUX=\sigma U, η=τV\eta=\tau V, with independent standard normals U,VU,V. Then

    ∣JX+KY∣≤b∣U∣+c∣V∣,b=Rσ(1+∣a∣),c=Rτ.|JX+KY|\leq b|U|+c|V|, \quad b=R\sigma(1+|a|),\quad c=R\tau.

    The inequality b∣u∣≤u2/4+b2b|u|\leq u^2/4+b^2 and its vv analogue imply

    eb∣u∣+c∣v∣e−(u2+v2)/2≤eb2+c2e−(u2+v2)/4.e^{b|u|+c|v|}e^{-(u^2+v^2)/2} \leq e^{b^2+c^2}e^{-(u^2+v^2)/4}.

    A derivative of any fixed order inserts a polynomial in X,YX,Y, bounded by a polynomial in ∣u∣+∣v∣|u|+|v|. A polynomial times the right-hand Gaussian is integrable. This supplies a single dominator on each compact source range for the derivative and its difference quotients. Fubini and repeated differentiation are therefore justified. The bound is finite-dimensional and does not establish uniform control when a field cutoff is removed.

    Conditioning gives the same generating function by a second route:

    E[eJX∣Y]=eJκY+vJ2/2,\mathbb E[e^{JX}\mid Y] =e^{J\kappa Y+vJ^2/2},

    so averaging eKYe^{KY} times this expression yields exp⁡[vJ2/2+S(K+κJ)2/2]\exp[vJ^2/2+S(K+\kappa J)^2/2]. The identities Sκ=aσ2S\kappa=a\sigma^2 and v+Sκ2=σ2v+S\kappa^2=\sigma^2 recover the previous result. Tonelli applies for these positive real exponentials; the bound also justifies their moment derivatives.

    Summary

    A probability law defines averages without requiring a density. Conditional expectation is the integrable projection that preserves averages on the events accessible to the observer. In the Gaussian model, completing the square identifies both the inferred mean and the residual variance; a Gaussian domination bound makes the corresponding source calculus legitimate.

    Continue to Gaussian vectors and Wick products for correlated moments, or to limit theorems for the additional conditions needed when a sequence of laws changes.

    Exercises

    A coarse detector

    Let X∼N(0,σ2)X\sim N(0,\sigma^2), and suppose the detector records only whether X>0X>0. Find the conditional mean, its mean-square prediction error, and the variance split.

    Solution

    Both sign events have probability 1/21/2. Integrating the positive half of the Gaussian gives E[X1X>0]=σ/2π\mathbb E[X\mathbf1_{X>0}]=\sigma/\sqrt{2\pi}. Thus the conditional mean is M=σ2/πM=\sigma\sqrt{2/\pi} on X>0X>0 and its negative on X≤0X\leq0. The value at zero is immaterial.

    By projection, E[(X−M)2]=EX2−EM2=σ2(1−2/π)\mathbb E[(X-M)^2]=\mathbb EX^2-\mathbb EM^2=\sigma^2(1-2/\pi). Since EM=0\mathbb EM=0, the explained variance is 2σ2/π2\sigma^2/\pi. These sum to σ2\sigma^2. The detector has retained some information even though it cannot report the magnitude.

    Two independent noisy readings

    For the same prior XX, observe Y1=X+η1Y_1=X+\eta_1 and Y2=X+η2Y_2=X+\eta_2, where η1,η2∼N(0,τ2)\eta_1,\eta_2\sim N(0,\tau^2) are independent of each other and of XX. Find the conditional law given both readings.

    Solution

    The terms in the joint exponent involving xx are

    x2σ2+(y1−x)2+(y2−x)2τ2.\frac{x^2}{\sigma^2} +\frac{(y_1-x)^2+(y_2-x)^2}{\tau^2}.

    Their quadratic coefficient is v2−1=σ−2+2τ−2v_2^{-1}=\sigma^{-2}+2\tau^{-2} and their linear coefficient is −2(y1+y2)/τ2-2(y_1+y_2)/\tau^2. Completing the square yields variance v2v_2 and mean v2(y1+y2)/τ2v_2(y_1+y_2)/\tau^2. Compared with one reading, the conditional variance is smaller. The sum is sufficient for estimating XX in this model; the difference contains only noise. The unconditional readings are correlated through their shared XX, despite the independent noises.

    A random fitted coefficient

    Let U,VU,V be independent standard normals. Compare T=U2−VUT=U^2-VU with T′=U2−UUT'=U^2-UU. Why does replacing a fixed coefficient by a fitted one require care?

    Solution

    Conditioning on the independent pilot VV gives E[T∣V]=1−VEU=1\mathbb E[T\mid V]=1-V\mathbb EU=1, hence ET=1\mathbb ET=1. In contrast, T′=0T'=0 identically. Although EU=0\mathbb EU=0, a coefficient chosen from the same observation is correlated with that observation. The invalid step would be pulling UU out of an unconditional expectation while keeping EU=0\mathbb EU=0. This is the elementary mechanism behind the independent-fit requirement in field control variates.

    References

    • R. Durrett, Probability: Theory and Examples, fifth edition, version 11 January 2019, §§1.6–1.7, especially Theorems 1.6.7, 1.6.9 and 1.7.2, author PDF.
    • S. Sheffield, 18.175: Theory of Probability, MIT, 2016, Lecture 16, PDF, slides 4–14, and Lecture 18, PDF, slides 9–15, on conditional expectation and its properties.

    Reproducible Gaussian identities and cutoff calculations: examples/mathematical-methods/probability/gaussian-measures-README.md.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.