Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Part 3: Moments - The Statistical Bridge to Physics

How Nature Computes | Statistical Thinking Module 1 | ASTR 596

San Diego State University

Learning Outcomes

By the end of Part 3, you will be able to:


3.1 What Are Moments? The Information Extractors

Priority: 🔴 Essential

You have a distribution with 1057 particles. How do you extract useful information without tracking every particle? The answer is moments – weighted averages that capture essential features.

For any distribution f(v)f(v), the nn-th moment is:

Mn=vnf(v)dv=vn=E[vn]\boxed{M_n = \int_{-\infty}^{\infty} v^n f(v) dv = \langle v^n \rangle = E[v^n]}

Think of moments as increasingly sophisticated summaries:

3.2 Why Moments Matter Statistically

Priority: 🔴 Essential

Moments are the fundamental tools for characterizing distributions:

MomentStatistical NamePhysical MeaningFormula
1stMeanAverage valueμ=E[X]\mu = E[X]
2nd centralVarianceSpread around meanσ2=E[(Xμ)2]\sigma^2 = E[(X-\mu)^2]
3rd standardizedSkewnessAsymmetryγ1=E[(Xμ)3]/σ3\gamma_1 = E[(X-\mu)^3]/\sigma^3
4th standardizedKurtosisTail weightγ2=E[(Xμ)4]/σ43\gamma_2 = E[(X-\mu)^4]/\sigma^4 - 3

The moment generating function encodes all moments:

M(t)=E[etX]=n=0tnn!E[Xn]M(t) = E[e^{tX}] = \sum_{n=0}^{\infty} \frac{t^n}{n!}E[X^n]

Taylor expand and each coefficient gives a moment!

Why few moments often suffice:

3.3 Example: Moments of Maxwell-Boltzmann

Priority: 🔴 Essential Let’s extract physics from the Maxwell-Boltzmann distribution using moments.

For 1D velocity: f(vx)=nm2πkBTemvx2/2kBTf(v_x) = n\sqrt{\frac{m}{2\pi k_B T}} e^{-mv_x^2/2k_B T}

First moment (mean velocity):

vx=0\langle v_x \rangle = 0

Symmetric distribution – no net flow.

Second moment (mean square velocity):

vx2=kBTm\langle v_x^2 \rangle = \frac{k_B T}{m}

This IS temperature! Temperature literally is the second moment of velocity.

Connection to pressure:

P=nmvx2=nkBTP = nm\langle v_x^2 \rangle = nk_B T

Pressure is mass density times velocity variance!

The profound realization:

3.4 Moments in Machine Learning

Priority: 🔴 Essential

The moment concept is fundamental to ML:

The universal principle: Whether extracting features from data or deriving physics from distributions, moments compress information while preserving what matters.

Part 3 Synthesis: Moments Bridge Statistics and Physics


Bridge to Part 4: From Understanding to Implementation

You understand the principles and can extract information using moments. Now comes the crucial step: generating samples from these distributions computationally. This bridges theory to simulation.