Mathematics · Upper Division

Probability & Statistics for Physics

Physics is inherently probabilistic at the quantum level and practical level alike. Probability theory, distributions, and statistical inference are tools every physicist uses — from analyzing data to formulating quantum mechanics.

PrerequisitesCalculus(Ch.22)BasicprobabilityconceptsCalculus (Ch. 22) \cdot Basic probability concepts
Learning Goals
  • Identify the Gaussian, Poisson, Maxwell-Boltzmann, and Lorentzian distributions and their physical applications.
  • Apply the central limit theorem to determine how measurement uncertainty decreases with sample size.
  • Propagate errors through a function of multiple independent measurements using partial derivatives.
  • Update beliefs from data using Bayes' theorem, distinguishing prior, likelihood, and posterior.
  • Interpret the chi-squared statistic and reduced chi-squared to assess goodness of fit.

PR.1 Probability Distributions

Definition PR.1Key Distributions in Physics
Gaussian (Normal): P(x)=(1/(2πσ2))e((xμ)2/(2σ2)).AppearswhenevermanyindependentrandomcontributioP(x) = (1/\sqrt(2\pi\sigma^{2})) e^(-(x-\mu)^{2}/(2\sigma^{2})). Appears whenever many independent random contributios add (CLT). Quantum measurement uncertainties, thermal fluctuations, noise.Poisson: P(k)=eλλk/k!probabilityofkeventswhenmeanisλ.RadioactivedecaycountingP(k) = e^{-\lambda} \lambdaᵏ/k! — probability of k events when mean is \lambda. Radioactive decay counting photon shot noise, rare events.Maxwell-Boltzmann: f(v)=4πn(m/(2\pikBT))3/2v2e(mv2/(2kBT)).Speeddistributionofidealgasmoleculf(v) = 4\pi n(m/(2\pik_BT))^{3/2} v^{2} e^(-mv^{2}/(2k_BT)). Speed distribution of ideal gas moleculs.Cauchy (Lorentzian): P(x)=(Γ/π)/(x2+Γ2).Heavytails;resonancelineshapes,randomwalkin2D.NofinitemeaP(x) = (Γ/\pi)/(x^{2}+Γ^{2}). Heavy tails; resonance line shapes, random walk in 2D. No finite mea or variance!

PR.2 Central Limit Theorem and Error Propagation

Theorem PR.1Central Limit Theorem
IfX1,X2,,XnareindependentidenticallydistributedrandomvariableswithmeanμanIf X_{1}, X_{2}, \cdots, X_{n} are independent identically distributed random variables with mean \mu andvarianceσ2,thenthesamplemeanXˉ=(X1++Xn)/nsatisfiesd variance \sigma^{2}, then the sample mean X̄ = (X_{1}+\cdots+X_{n})/n satisfies:(Xˉμ)/(σ/\sqrtn)N(0,1)asnX̄ - \mu) / (\sigma/\sqrtn) \to N(0,1) as n \to \inftyregardlessofthedistributionofindividualXi(providedthevarianceisfinite).Thestaregardless of the distribution of individual X_{i} (provided the variance is finite). The standarderrorofthemeanisσ/\sqrtnaveragingnmeasurementsreducesuncertaintyby\sqrtn.Thisndard error of the mean is \sigma/\sqrtn — averaging n measurements reduces uncertainty by \sqrtn. This is why averaging works and why the Gaussian distribution is universal.

Error propagation: if a quantity z = f(x, y, ...) depends on measured quantities with uncertainties σ_x, σ_y:

σz2=(\partialf/\partialx)2σx2+(\partialf/\partialy)2σy2+2(\partialf/\partialx)(\partialf/\partialy)σxy(errorpropagation)\sigma_z^{2} = (\partialf/\partialx)^{2} \sigma_x^{2} + (\partialf/\partialy)^{2} \sigma_y^{2} + 2(\partialf/\partialx)(\partialf/\partialy) \sigma_xy \qquad (error propagation)(PR.1)

For independent measurements (σ_xy = 0): σ_z² = Σᵢ (∂f/∂xᵢ)² σᵢ². For z = x·y: (σ_z/z)² = (σ_x/x)² + (σ_y/y)² (relative errors add in quadrature).

Example PR.1Radioactive Decay Counting Statistics

AGeigercounterrecordsanaveragecountrateλ=100counts/minute.HowpreciselyisthiA Geiger counter records an average count rate \lambda = 100 counts/minute. How precisely is thisknownafterT=5minutess known after T = 5 minutes?

Poisson statistics:ForNeventscounted,variance=N(PoissonpropertyFor N events counted, variance = N (Poisson property.
Total counts:N=\lambdaT=100×5=500countsN = \lambdaT = 100\times5 = 500 counts
Statistical uncertainty:σN=\sqrtN=50022.4\sigma_N = \sqrtN = \sqrt500 \approx 22.4
Uncertainty in rate:σλ=σN/T=22.4/5=4.5counts/min\sigma_\lambda = \sigma_N/T = 22.4/5 = 4.5 counts/min
Relative precision:σλ/λ=1/\sqrtN=1/500=4.5\sigma_\lambda/\lambda = 1/\sqrtN = 1/\sqrt500 = 4.5%. To get 1% precision: need N = 10,000 counts (T = 100 min.
Systematic check:AfterTminutes,ifweseeN\lambdaTbymorethan3(\lambdaT),investigatesystematicerrors.TheAfter T minutes, if we see N ≠ \lambdaT by more than 3\sqrt(\lambdaT), investigate systematic errors. The \sqrtNruleisfundamentalshotnoiseisirreducible\sqrtN rule is fundamental — shot noise is irreducible

PR.3 Bayesian Inference

Bayesian statistics provides a framework for updating beliefs with data:

P(θdata)P(dataθ)×P(θ)(Bayestheorem)P(\theta|data) \propto P(data|\theta) \times P(\theta) \qquad (Bayes' theorem)(PR.2)

Here P(θ) is the prior (belief before seeing data), P(data|θ) is thelikelihood (probability of observing the data given parameter θ), and P(θ|data) is the posterior (updated belief). Bayesian methods are especially powerful when: (1) Prior information is available (previous experiments). (2) Data is limited. (3) Model comparison is needed. In gravitational wave detection, Bayesian parameter estimation recovers black hole masses, spins, and sky location from the noisy LIGO signal.

PR.4 The χ² Distribution and Goodness of Fit

For fitting a model with k free parameters to n data points, thechi-squared statistic is:

χ2=i(yif(xi))2/σi2(chisquared)\chi^{2} = \sum_{i} (y_{i} - f(x_{i}))^{2} / \sigma_i^{2} \qquad (chi-squared)(PR.3)

Under the null hypothesis (model is correct), χ²/(n−k) should be approximately 1 (reduced chi-squared). Values much greater than 1 indicate poor fit or underestimated errors; values much less than 1 indicate overestimated errors or overfitting.

The p-value — probability of observing χ² this large or larger by chance — is computed from the chi-squared distribution with ν = n−k degrees of freedom. Convention: p < 0.05 → reject null hypothesis at 95% confidence; in particle physics, p < 2.87×10⁻⁷ (5σ) is the "discovery" threshold.

Example PR.2Fitting a Decay Curve

YoumeasureN(t)=N0e\lambdatat5timepoints.FindthebestλbymaximumlikelihoodYou measure N(t) = N_{0} e^{-\lambdat} at 5 time points. Find the best \lambda by maximum likelihood.

Likelihood:EachmeasurementNiattimetihasPoissonuncertainty.Loglikelihood:lnL=i[Niln(NEach measurement N_{i} at time t_{i} has Poisson uncertainty. Log-likelihood: ln L = \sum_{i} [N_{i} ln(N0e\lambdati)N0e(\lambdati_{0} e^{-\lambdat_{i}}) - N_{0} e^(-\lambdat_{i}.
Maximize over λ:d(lnL)/dλ=i[Niti+N0tie\lambdati]=0d(ln L)/d\lambda = \sum_{i} [-N_{i} t_{i} + N_{0} t_{i} e^{-\lambdat_{i}}] = 0
Equation:\sum_{i} N_{i} t_{i} = N_{0} \sum_{i} t_{i} e^{-\lambdat_{i}} — solve numerically for \lambdâ.
Uncertainty:σλ2=1/(d2lnL/dλ2)=1/(N0iti2e\lambdati)fromtheFisherinformation\sigma_\lambda^{2} = -1/(d^{2}lnL/d\lambda^{2}) = 1/(N_{0} \sum_{i} t_{i}^{2} e^{-\lambdat_{i}}) — from the Fisher information.
Practical:For Gaussian noise, maximum likelihood reduces to least squares. For Poisson data (counting experiments), use Poisson likelihood.
Definition PR.2Common Traps
  • Probability density is not probability: integrate density over an interval to get probability.
  • Independence is an assumption: uncorrelated variables need not be independent.
  • Bayes' theorem updates beliefs with evidence: priors and likelihoods play different roles.
  • Standard deviation and standard error differ: one describes spread, the other uncertainty in a mean.
Exercises — PR.1–PR.4 Probability and Statistics
1.
A Geiger counter records 500 total counts. What is the relative statistical uncertainty on the count rate?
%
Straightforward
2.
Acountrateof100counts/minismeasuredoverT=5min.FindtheuncertaintyinthemeaA count rate of 100 counts/min is measured over T = 5 min. Find the uncertainty in the measured rate.
counts/min
Straightforward
3.Fornitrogenmolecules(M=28g/mol)atT=300K,findthemean,rms,andmostprobableFor nitrogen molecules (M = 28 g/mol) at T = 300 K, find the mean, rms, and most probable speeds. Compare to the speed of sound.
Straightforward
4.Explainthettestforcomparingtwoexperimentalmeans.Whenis2σsufficientandwhenisExplain the t-test for comparing two experimental means. When is 2\sigma sufficient and when is 5σrequired?Whatisthelookelsewhereeffect5\sigma required? What is the look-elsewhere effect
Intermediate
5.Propagateerrorsforthependulummeasurementg=4π2L/T2:lengthL=1.000±0.001m,perPropagate errors for the pendulum measurement g = 4\pi^{2}L/T^{2}: length L = 1.000 \pm 0.001 m, periodT=2.007±0.002s.Whatisσgiod T = 2.007 \pm 0.002 s. What is \sigma_g?
Intermediate
6.ConnectinformationentropyS=pilnpitothermodynamicentropyviaJaynessmaximumConnect information entropy S = -\sum p_{i} ln p_{i} to thermodynamic entropy via Jaynes's maximum entropy principle. State the Cramér-Rao bound and its quantum analog.
Challenging
Key Takeaways
  • Key distributions: Gaussian (CLT, noise), Poisson (counting), Maxwell-Boltzmann (gas speeds), Lorentzian (resonances).
  • CLT:XˉN(μ,σ/\sqrtn).Standarderrorscalesas1/\sqrtnmoredatahelpsCLT: X̄ \to N(\mu, \sigma/\sqrtn). Standard error scales as 1/\sqrtn — more data helps.
  • Errorpropagation:σz2=i(\partialf/\partialxi)2σi2.RelativeerrorsaddinquadratureforproductsError propagation: \sigma_z^{2} = \sum_{i} (\partialf/\partialx_{i})^{2} \sigma_{i}^{2}. Relative errors add in quadrature for products.
  • Bayes:posteriorlikelihood×prior.PowerfulforlimiteddataandmodelcomparisonBayes: posterior \propto likelihood \times prior. Powerful for limited data and model comparison.
  • χ2/ν1forgoodfit.pvaluemeasuresconsistencywithnullhypothesis\chi^{2}/\nu \approx 1 for good fit. p-value measures consistency with null hypothesis.
  • Maximumentropyprinciple:BoltzmanndistributionmaximizesSsubjecttoE=UMaximum entropy principle: Boltzmann distribution maximizes S subject to ⟨E⟩ = U.