Skip to content

Variance and Standard Deviation

The variance of an observable quantifies the intrinsic spread of its Born-rule measurement outcomes about their expectation value. For a state ρ\rho and a self-adjoint observable AA, define the centered observable

δρA≡A−⟨A⟩ρI.\delta_\rho A \equiv A-\langle A\rangle_\rho I.

The variance and standard deviation are

Var⁡ρ(A)≡(ΔρA)2=⟨(δρA)2⟩ρ,\operatorname{Var}_\rho(A) \equiv (\Delta_\rho A)^2 = \left\langle(\delta_\rho A)^2\right\rangle_\rho,

and

ΔρA=Var⁡ρ(A).\Delta_\rho A = \sqrt{\operatorname{Var}_\rho(A)}.

The standard deviation has the same physical units as AA; the variance has squared units. Neither quantity is, by itself, an apparatus error or a claim about measurement disturbance. It is a property of the observable’s outcome distribution in the specified state.

This page develops the quantum interpretation, operator forms, domain conditions, and examples. The generic probability theory belongs at Variance and Covariance, while the inequalities relating spreads of two observables belong at General Uncertainty Relations.

Required background. Expectation Values supplies the first and second moments used here.

Helpful background. Functions of Operators supplies squared and centered observables.

Let μρA\mu_\rho^A be the Born probability measure of AA. If its second moment is finite, then

Var⁡ρ(A)=∫R(λ−⟨A⟩ρ)2 dμρA(λ).\operatorname{Var}_\rho(A) = \int_{\mathbb R} (\lambda-\langle A\rangle_\rho)^2 \,d\mu_\rho^A(\lambda).

The integrand is nonnegative and measures the squared displacement of each outcome from the mean. Outcomes twice as far from the mean contribute four times as much, so variance is especially sensitive to tails and outliers.

Two distributions can have the same expectation but very different spreads.

Two probability densities with the same mean and different standard deviations

Both distributions are centered at x0x_0, but the lower distribution has the larger standard deviation. A mean identifies a center; it does not determine the width or shape of the outcome law.

Variance is therefore information beyond the expectation value. It still does not determine the full distribution: laws with different skewness, tails, or multiple peaks can share both mean and variance.

Expanding the centered square gives

Var⁡ρ(A)=⟨A2−2⟨A⟩ρA+⟨A⟩ρ2I⟩ρ=⟨A2⟩ρ−⟨A⟩ρ2.\begin{aligned} \operatorname{Var}_\rho(A) &= \left\langle A^2-2\langle A\rangle_\rho A +\langle A\rangle_\rho^2 I \right\rangle_\rho\\ &= \langle A^2\rangle_\rho - \langle A\rangle_\rho^2. \end{aligned}

Thus

ΔρA=⟨A2⟩ρ−⟨A⟩ρ2.\Delta_\rho A = \sqrt{ \langle A^2\rangle_\rho - \langle A\rangle_\rho^2 }.

The central-moment form and raw-moment form are mathematically equivalent when the moments exist. The central form is often numerically safer because ⟨A2⟩\langle A^2\rangle and ⟨A⟩2\langle A\rangle^2 can be large, nearly equal numbers whose subtraction loses floating-point precision.

For a discrete spectral decomposition

A=∑aaPa,A = \sum_a aP_a,

the probability of outcome aa is

pρ(a)=Tr⁡(ρPa).p_\rho(a) = \operatorname{Tr}(\rho P_a).

The variance is the ordinary discrete second central moment:

Var⁡ρ(A)=∑a(a−⟨A⟩ρ)2pρ(a).\operatorname{Var}_\rho(A) = \sum_a (a-\langle A\rangle_\rho)^2 p_\rho(a).

Equivalently,

Var⁡ρ(A)=∑aa2pρ(a)−[∑aapρ(a)]2.\operatorname{Var}_\rho(A) = \sum_a a^2p_\rho(a) - \left[ \sum_a ap_\rho(a) \right]^2.

Degeneracy is already included because PaP_a projects onto the entire eigenspace. The probabilities themselves are developed at Born Rule for Discrete Spectra.

If the spectral probability measure has density pA(λ)p_A(\lambda), then

Var⁡ρ(A)=∫−∞∞(λ−⟨A⟩ρ)2pA(λ) dλ.\operatorname{Var}_\rho(A) = \int_{-\infty}^{\infty} (\lambda-\langle A\rangle_\rho)^2 p_A(\lambda)\,d\lambda.

For one-dimensional position,

(ΔX)2=∫−∞∞(x−⟨X⟩)2∣ψ(x)∣2 dx.(\Delta X)^2 = \int_{-\infty}^{\infty} (x-\langle X\rangle)^2 |\psi(x)|^2\,dx.

For a mixed spectral law with atomic weights wnw_n at ana_n and continuous density pac(λ)p_{\mathrm{ac}}(\lambda),

Var⁡ρ(A)=∑n(an−⟨A⟩ρ)2wn+∫R(λ−⟨A⟩ρ)2pac(λ) dλ.\begin{aligned} \operatorname{Var}_\rho(A) &= \sum_n(a_n-\langle A\rangle_\rho)^2w_n\\ &\quad+ \int_{\mathbb R} (\lambda-\langle A\rangle_\rho)^2 p_{\mathrm{ac}}(\lambda)\,d\lambda. \end{aligned}

The density, atoms, and coordinate-measure rules are treated at Born Rule for Continuous Spectra.

For a normalized pure state, define

∣fA⟩≡(A−⟨A⟩ψI)∣ψ⟩.|f_A\rangle \equiv (A-\langle A\rangle_\psi I)|\psi\rangle.

Then

(ΔψA)2=⟨fA∣fA⟩=∥(A−⟨A⟩ψI)∣ψ⟩∥2.\begin{aligned} (\Delta_\psi A)^2 &= \langle f_A|f_A\rangle\\ &= \left\| (A-\langle A\rangle_\psi I)|\psi\rangle \right\|^2. \end{aligned}

This form immediately proves

(ΔψA)2≥0.(\Delta_\psi A)^2\ge0.

It also supplies the vectors used in the Cauchy–Schwarz derivation of quantum uncertainty relations. The norm form is more than a proof trick: for unbounded operators, it expresses the second spectral moment without unnecessarily requiring A2∣ψ⟩A^2|\psi\rangle to exist as a vector.

For a pure state and self-adjoint AA, a finite second moment requires

∫Rλ2 dμψA(λ)<∞.\int_{\mathbb R}\lambda^2 \,d\mu_\psi^A(\lambda)<\infty.

This is equivalent to

∣ψ⟩∈D(A),|\psi\rangle\in D(A),

and then

∫Rλ2 dμψA(λ)=∥Aψ∥2.\int_{\mathbb R}\lambda^2 \,d\mu_\psi^A(\lambda) = \|A\psi\|^2.

The notation ⟨A2⟩\langle A^2\rangle in a variance formula should therefore be understood as this second spectral moment or quadratic form. Requiring the operator expression A2∣ψ⟩A^2|\psi\rangle would demand ∣ψ⟩∈D(A2)|\psi\rangle\in D(A^2), a stronger condition that is not needed merely to define the variance.

A normalized state can have a finite mean but infinite second moment. In that case the standard deviation is infinite, and formulas that assume a finite variance, such as the usual standard error of a sample mean, do not apply.

For a density operator ρ\rho and a bounded observable AA,

Var⁡ρ(A)=Tr⁡(ρA2)−[Tr⁡(ρA)]2.\operatorname{Var}_\rho(A) = \operatorname{Tr}(\rho A^2) - \left[ \operatorname{Tr}(\rho A) \right]^2.

Equivalently,

Var⁡ρ(A)=Tr⁡ ⁣[ρ(δρA)2].\operatorname{Var}_\rho(A) = \operatorname{Tr}\!\left[ \rho(\delta_\rho A)^2 \right].

For unbounded AA, these traces require the corresponding finite-moment and domain conditions. The full trace formalism is at Trace Rule for Expectation Values.

Suppose a preparation is represented as

ρ=∑jqjρj,qj≥0,∑jqj=1.\rho = \sum_j q_j\rho_j, \qquad q_j\ge0, \qquad \sum_jq_j=1.

Let

μj=Tr⁡(ρjA),μ=Tr⁡(ρA)=∑jqjμj.\begin{aligned} \mu_j &= \operatorname{Tr}(\rho_jA),\\ \mu &= \operatorname{Tr}(\rho A) = \sum_jq_j\mu_j. \end{aligned}

The law of total variance gives

Var⁡ρ(A)=∑jqjVar⁡ρj(A)+∑jqj(μj−μ)2.\begin{aligned} \operatorname{Var}_\rho(A) &= \sum_jq_j\operatorname{Var}_{\rho_j}(A)\\ &\quad+ \sum_jq_j(\mu_j-\mu)^2. \end{aligned}

The first term averages the within-component quantum spreads; the second is the spread of the component means. This decomposition depends on the chosen ensemble realization of ρ\rho, whereas the total variance depends only on ρ\rho. Because a density operator generally has many ensemble decompositions, the two terms are not intrinsic state invariants separately.

For real α\alpha and β\beta,

Var⁡ρ(αA+βI)=α2Var⁡ρ(A),\operatorname{Var}_\rho(\alpha A+\beta I) = \alpha^2\operatorname{Var}_\rho(A),

and

Δρ(αA+βI)=∣α∣ΔρA.\Delta_\rho(\alpha A+\beta I) = |\alpha|\Delta_\rho A.

Adding a constant shifts every outcome and the mean by the same amount, so it does not change the spread. Multiplying the observable rescales every deviation.

For example, if Sz=(ℏ/2)σzS_z=(\hbar/2)\sigma_z, then

ΔSz=ℏ2Δσz.\Delta S_z = \frac{\hbar}{2}\Delta\sigma_z.

This scaling is also a dimensional check: standard deviation carries the observable’s units, while variance carries their square.

Let AA have outcomes a−a_- and a+a_+ with probabilities 1−p1-p and pp. Its expectation is

μ=(1−p)a−+pa+.\mu = (1-p)a_-+pa_+.

Direct calculation gives

Var⁡(A)=p(1−p)(a+−a−)2.\operatorname{Var}(A) = p(1-p)(a_+-a_-)^2.

The variance vanishes at p=0p=0 or p=1p=1, when the outcome is certain, and is maximal at p=1/2p=1/2. For fixed outcomes,

Var⁡(A)≤(a+−a−)24.\operatorname{Var}(A) \le \frac{(a_+-a_-)^2}{4}.

This compact formula covers projective measurements of any two-level observable.

Consider

∣ψ⟩=cos⁡θ2∣+z⟩+eiϕsin⁡θ2∣−z⟩.|\psi\rangle = \cos\frac{\theta}{2}|+z\rangle + e^{i\phi}\sin\frac{\theta}{2}|-z\rangle.

For σz\sigma_z,

⟨σz⟩=cos⁡θ,⟨σz2⟩=1.\langle\sigma_z\rangle = \cos\theta, \qquad \langle\sigma_z^2\rangle=1.

Therefore

(Δσz)2=1−cos⁡2θ=sin⁡2θ,Δσz=∣sin⁡θ∣.\begin{aligned} (\Delta\sigma_z)^2 &= 1-\cos^2\theta = \sin^2\theta,\\ \Delta\sigma_z &= |\sin\theta|. \end{aligned}

For the physical spin component,

ΔSz=ℏ2∣sin⁡θ∣.\Delta S_z = \frac{\hbar}{2}|\sin\theta|.

The phase ϕ\phi does not affect the zz-outcome probabilities, but it affects spreads of spin components along other directions. The SzS_z eigenstates have zero SzS_z variance, while an equatorial state has the maximal value ℏ2/4\hbar^2/4.

Let

ρ=12(I+r⋅σ)\rho = \frac12(I+\mathbf r\cdot\boldsymbol\sigma)

and measure

A=n⋅σ,∣n∣=1.A = \mathbf n\cdot\boldsymbol\sigma, \qquad |\mathbf n|=1.

Because A2=IA^2=I,

Var⁡ρ(A)=1−(r⋅n)2.\operatorname{Var}_\rho(A) = 1-(\mathbf r\cdot\mathbf n)^2.

A pure state with r=±n\mathbf r=\pm\mathbf n has a definite outcome and zero variance. The maximally mixed state has r=0\mathbf r=0 and unit variance for every spin direction, even though every spin expectation vanishes.

Consider the normalized position density

pX(x)=12πsexp⁡ ⁣[−(x−x0)22s2].p_X(x) = \frac{1}{\sqrt{2\pi}s} \exp\!\left[ -\frac{(x-x_0)^2}{2s^2} \right].

Its first two raw moments are

⟨X⟩=x0,⟨X2⟩=x02+s2.\langle X\rangle=x_0, \qquad \langle X^2\rangle=x_0^2+s^2.

Consequently,

Var⁡(X)=s2,ΔX=s.\operatorname{Var}(X)=s^2, \qquad \Delta X=s.

Wavefunctions are often parameterized with symbols called “width” that differ by factors of 22 or 2\sqrt2. Computing the variance identifies the physical standard deviation independent of naming convention.

For a pure state, the norm form implies

ΔψA=0\Delta_\psi A=0

if and only if

(A−⟨A⟩ψI)∣ψ⟩=0.(A-\langle A\rangle_\psi I)|\psi\rangle=0.

Thus the state is an eigenvector of AA with eigenvalue ⟨A⟩ψ\langle A\rangle_\psi.

For a mixed state, zero variance means that the support of ρ\rho lies entirely inside one eigenspace of AA:

supp⁡(ρ)⊆ker⁡(A−⟨A⟩ρI).\operatorname{supp}(\rho) \subseteq \ker(A-\langle A\rangle_\rho I).

The state may still be mixed within a degenerate eigenspace. Zero variance therefore implies a definite measurement value, not necessarily a pure state.

If the spectrum relevant to the measurement lies in [m,M][m,M], then the Bhatia–Davis bound gives

Var⁡ρ(A)≤(M−⟨A⟩ρ)(⟨A⟩ρ−m).\operatorname{Var}_\rho(A) \le (M-\langle A\rangle_\rho) (\langle A\rangle_\rho-m).

Since the product on the right is at most (M−m)2/4(M-m)^2/4,

Var⁡ρ(A)≤(M−m)24.\operatorname{Var}_\rho(A) \le \frac{(M-m)^2}{4}.

For a qubit observable with outcomes ±1\pm1, this yields Var⁡(A)≤1\operatorname{Var}(A)\le1. Such bounds are strong sanity checks for analytic and numerical calculations.

For NN independent outcomes a1,…,aNa_1,\ldots,a_N, define the sample mean

a‾=1N∑j=1Naj.\overline a = \frac1N\sum_{j=1}^N a_j.

The usual unbiased estimator of the population variance is

sA2=1N−1∑j=1N(aj−a‾)2.s_A^2 = \frac{1}{N-1} \sum_{j=1}^N(a_j-\overline a)^2.

The factor N−1N-1 corrects the bias introduced by estimating the mean from the same data. The quantum prediction Var⁡ρ(A)\operatorname{Var}_\rho(A) is the population quantity that repeated experiments estimate; one should not confuse it with a particular finite-sample value sA2s_A^2.

When the variance is finite, the standard deviation of the sample mean is

ΔA‾N=ΔAN.\Delta\overline A_N = \frac{\Delta A}{\sqrt N}.

This describes independent statistical fluctuations. Correlated trials, drifting preparations, and detector systematics require a more complete error model.

Suppose a recorded value has the additive form

Y=A+N,Y=A+N,

where the ideal quantum outcome AA and detector noise NN are independent and have finite variances. Then

Var⁡(Y)=Var⁡(A)+Var⁡(N).\operatorname{Var}(Y) = \operatorname{Var}(A) + \operatorname{Var}(N).

This decomposition is a model assumption, not a universal measurement law. Correlated noise, nonlinear response, and general POVMs require different treatments. It nevertheless illustrates why intrinsic quantum spread and instrumental resolution should be specified separately.

The identity

Var⁡(A)=⟨A2⟩−⟨A⟩2\operatorname{Var}(A) = \langle A^2\rangle-\langle A\rangle^2

can suffer catastrophic cancellation when both terms are large compared with their difference. In numerical work, prefer a centered calculation such as

Var⁡ψ(A)=∥(A−⟨A⟩ψI)∣ψ⟩∥2\operatorname{Var}_\psi(A) = \left\| (A-\langle A\rangle_\psi I)|\psi\rangle \right\|^2

or a stable online variance algorithm for sampled data. A tiny negative result at the level of floating-point roundoff should be diagnosed and clipped only after verifying normalization and Hermiticity; a materially negative variance signals an error.

For two observables, define centered-state vectors

∣fA⟩=δρA∣ψ⟩,∣fB⟩=δρB∣ψ⟩|f_A\rangle = \delta_\rho A|\psi\rangle, \qquad |f_B\rangle = \delta_\rho B|\psi\rangle

in the pure-state case. Their norms are ΔA\Delta A and ΔB\Delta B. Cauchy–Schwarz therefore constrains the product of the two standard deviations. Separating commutator and anticommutator contributions leads to the Robertson and Schrödinger uncertainty relations.

The familiar bound

ΔA ΔB≥12∣⟨[A,B]⟩∣\Delta A\,\Delta B \ge \frac12 \left| \langle[A,B]\rangle \right|

concerns outcome-distribution spreads in one state. It is not, by itself, a statement about detector precision or how one measurement disturbs another. The derivation and equality conditions are canonical at General Uncertainty Relations.

ΔA\Delta A is the standard deviation of the ideal Born distribution. Detector noise and calibration uncertainty are separate contributions unless a model explicitly combines them.

A distribution symmetric about zero can have ⟨A⟩=0\langle A\rangle=0 and a large variance. The maximally mixed qubit has zero mean spin in every direction and maximal variance for every Pauli measurement.

The identity is

Var⁡(A)=⟨A2⟩−⟨A⟩2,\operatorname{Var}(A) = \langle A^2\rangle-\langle A\rangle^2,

not ⟨A2⟩−⟨A⟩\langle A^2\rangle-\langle A\rangle.

Squaring matrix elements instead of the operator

Section titled “Squaring matrix elements instead of the operator”

A2A^2 means the operator product AAAA, or the spectral function λ↦λ2\lambda\mapsto\lambda^2. It does not mean squaring each matrix entry.

ΔA\Delta A has the units of AA; Var⁡(A)\operatorname{Var}(A) has squared units. Comparing a variance directly to an unsquared physical scale is dimensionally wrong.

Assuming normalization implies finite variance

Section titled “Assuming normalization implies finite variance”

A normalized Born distribution can have heavy enough tails that its second moment diverges. Check convergence and operator domains for unbounded observables.

Two moments do not determine the full outcome distribution. Multimodality and rare-event tails can be invisible in a mean-and-standard-deviation summary.

The variance of AA in a state ρ\rho is the second central moment of its Born distribution:

Var⁡ρ(A)=∫R(λ−⟨A⟩ρ)2 dμρA(λ).\operatorname{Var}_\rho(A) = \int_{\mathbb R} (\lambda-\langle A\rangle_\rho)^2 \,d\mu_\rho^A(\lambda).

Equivalent operator notation is

Var⁡ρ(A)=⟨A2⟩ρ−⟨A⟩ρ2,\operatorname{Var}_\rho(A) = \langle A^2\rangle_\rho - \langle A\rangle_\rho^2,

with the second moment interpreted through the spectral quadratic form when AA is unbounded. The standard deviation ΔρA\Delta_\rho A is nonnegative, has the units of the observable, vanishes exactly for a definite outcome, and provides the norm entering uncertainty relations. Finite variance is an additional condition beyond state normalization.

  • L. E. Ballentine, Quantum Mechanics: A Modern Development, 2nd ed., World Scientific, 2014, Chapters 2–3.
  • R. Bhatia and C. Davis, “A Better Bound on the Variance,” American Mathematical Monthly 107, 353–357 (2000).
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013, Chapters 7–10.
  • M. Reed and B. Simon, Methods of Modern Mathematical Physics, Vol. I: Functional Analysis, revised and enlarged ed., Academic Press, 1980, Sections VII.1–VII.3 and VIII.3.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020, Chapters 1–2.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994, Chapters 1 and 4.
  • J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press, 1955, Chapters II–III.

Let A=σzA=\sigma_z and

∣ψ⟩=2∣+z⟩+i∣−z⟩5.|\psi\rangle = \frac{2|+z\rangle+i|-z\rangle}{\sqrt5}.

Compute ⟨A⟩\langle A\rangle, Var⁡(A)\operatorname{Var}(A), and ΔA\Delta A.

Solution

The probabilities of +1+1 and −1-1 are 4/54/5 and 1/51/5. Hence

⟨A⟩=45−15=35.\langle A\rangle = \frac45-\frac15 = \frac35.

Since A2=IA^2=I,

Var⁡(A)=1−(35)2=1625,ΔA=45.\begin{aligned} \operatorname{Var}(A) &= 1-\left(\frac35\right)^2 = \frac{16}{25},\\ \Delta A &= \frac45. \end{aligned}

An observable returns a−a_- with probability 1−p1-p and a+a_+ with probability pp. Derive

Var⁡(A)=p(1−p)(a+−a−)2\operatorname{Var}(A) = p(1-p)(a_+-a_-)^2

and find the probability pp that maximizes it.

Solution

The mean is μ=(1−p)a−+pa+\mu=(1-p)a_-+pa_+. The deviations are

a−−μ=−p(a+−a−)a_--\mu = -p(a_+-a_-)

and

a+−μ=(1−p)(a+−a−).a_+-\mu = (1-p)(a_+-a_-).

Therefore

Var⁡(A)=(1−p)p2(a+−a−)2+p(1−p)2(a+−a−)2=p(1−p)(a+−a−)2.\begin{aligned} \operatorname{Var}(A) &= (1-p)p^2(a_+-a_-)^2\\ &\quad+ p(1-p)^2(a_+-a_-)^2\\ &= p(1-p)(a_+-a_-)^2. \end{aligned}

The factor p(1−p)p(1-p) is maximal at p=1/2p=1/2, where it equals 1/41/4.

Suppose

pX(x)=12πse−(x−x0)2/(2s2).p_X(x) = \frac{1}{\sqrt{2\pi}s} e^{-(x-x_0)^2/(2s^2)}.

Given ⟨X⟩=x0\langle X\rangle=x_0 and ⟨X2⟩=x02+s2\langle X^2\rangle=x_0^2+s^2, compute the variance after the shifted observable Y=3X−2LY=3X-2L is introduced, where LL has units of length.

Solution

First,

Var⁡(X)=(x02+s2)−x02=s2.\operatorname{Var}(X) = (x_0^2+s^2)-x_0^2 =s^2.

The constant shift does not affect variance, while multiplication by 33 multiplies it by 99:

Var⁡(Y)=9s2,ΔY=3s.\operatorname{Var}(Y)=9s^2, \qquad \Delta Y=3s.

Let AA have a degenerate eigenvalue aa with orthonormal eigenvectors ∣a,1⟩|a,1\rangle and ∣a,2⟩|a,2\rangle. Consider

ρ=q∣a,1⟩⟨a,1∣+(1−q)∣a,2⟩⟨a,2∣.\rho = q|a,1\rangle\langle a,1| + (1-q)|a,2\rangle\langle a,2|.

Compute the variance of AA and explain why zero variance does not imply that ρ\rho is pure.

Solution

Every state in the support of ρ\rho has the same AA outcome aa. Therefore

⟨A⟩ρ=a,⟨A2⟩ρ=a2,\langle A\rangle_\rho=a, \qquad \langle A^2\rangle_\rho=a^2,

and

Var⁡ρ(A)=0.\operatorname{Var}_\rho(A)=0.

For 0<q<10<q<1, the density operator is mixed, but its support lies entirely in one degenerate eigenspace. The observable cannot distinguish mixtures within that eigenspace.

5. Total variance of a preparation mixture

Section titled “5. Total variance of a preparation mixture”

Two preparation procedures are selected with probabilities qq and 1−q1-q. Their outcome means are μ1\mu_1 and μ2\mu_2, and their variances are v1v_1 and v2v_2. Derive the total variance.

Solution

The total mean is

μ=qμ1+(1−q)μ2.\mu=q\mu_1+(1-q)\mu_2.

The law of total variance gives

v=qv1+(1−q)v2+q(μ1−μ)2+(1−q)(μ2−μ)2.\begin{aligned} v &= qv_1+(1-q)v_2\\ &\quad+ q(\mu_1-\mu)^2 +(1-q)(\mu_2-\mu)^2. \end{aligned}

For two components, the between-means term simplifies to

q(1−q)(μ1−μ2)2.q(1-q)(\mu_1-\mu_2)^2.

Thus

v=qv1+(1−q)v2+q(1−q)(μ1−μ2)2.\begin{aligned} v &= qv_1+(1-q)v_2\\ &\quad+ q(1-q)(\mu_1-\mu_2)^2. \end{aligned}

Consider the even density

p(x)=1(1+∣x∣)3.p(x)=\frac{1}{(1+|x|)^3}.

Verify normalization, show that ⟨X⟩=0\langle X\rangle=0 exists, and show that the variance diverges.

Solution

Normalization follows from

∫−∞∞p(x) dx=2∫0∞dx(1+x)3=1.\int_{-\infty}^{\infty}p(x)\,dx = 2\int_0^\infty\frac{dx}{(1+x)^3} =1.

The absolute first moment is finite:

E[∣X∣]=2∫0∞x(1+x)3 dx=1.\mathbb E[|X|] = 2\int_0^\infty\frac{x}{(1+x)^3}\,dx =1.

Hence evenness legitimately gives ⟨X⟩=0\langle X\rangle=0. But

⟨X2⟩=2∫0∞x2(1+x)3 dx\langle X^2\rangle = 2\int_0^\infty\frac{x^2}{(1+x)^3}\,dx

diverges logarithmically because the integrand behaves as 1/x1/x at large xx. The mean exists, but the variance is infinite.

For

ρ=12(I+r⋅σ)\rho=\frac12(I+\mathbf r\cdot\boldsymbol\sigma)

and A=n⋅σA=\mathbf n\cdot\boldsymbol\sigma with ∣n∣=1|\mathbf n|=1, derive the variance. Evaluate it for the maximally mixed state.

Solution

The Pauli algebra gives A2=IA^2=I, while

⟨A⟩ρ=r⋅n.\langle A\rangle_\rho = \mathbf r\cdot\mathbf n.

Therefore

Var⁡ρ(A)=1−(r⋅n)2.\operatorname{Var}_\rho(A) = 1-(\mathbf r\cdot\mathbf n)^2.

For the maximally mixed state, r=0\mathbf r=0, so the variance is 11 for every measurement direction. Its vanishing spin expectation does not mean a sharp zero outcome; the only outcomes are ±1\pm1 and they are equally likely.

An observable has ΔA=2.5\Delta A=2.5 in a fixed state. Assuming independent trials and negligible systematics, how many measurements make the standard deviation of the sample mean no larger than 0.010.01?

Solution

Use

ΔA‾N=2.5N.\Delta\overline A_N = \frac{2.5}{\sqrt N}.

The requirement

2.5N≤0.01\frac{2.5}{\sqrt N}\le0.01

implies N≥250\sqrt N\ge250, hence

N≥62,500.N\ge62{,}500.

This is a statistical requirement only. Increasing NN does not automatically remove systematic preparation or detector errors.