Statistical physics speaks the language of probability. A random variable is described completely by its probability density p(x), or equivalently by its cumulative distribution P(x); delta functions let discrete and mixed variables use the same tools. Averages such as the mean and variance summarize a density, and the Gaussian, exponential and Poisson densities appear again and again.
Statistical physics deals with systems of enormous numbers of particles, whose individual behaviour cannot be followed. Its language is probability. 8.044 begins with a short course in probability, from one random variable to sums of many, and this first lecture covers a single variable (slides 1–14, of which the opening overview and the closing Poisson plots are only described; notes pp. 1–18). (MIT's material for this lecture is Thomas Greytak's lecture slides and his lecture notes on probability, Chapter 1; this page follows them in its own words, with its own worked example. The notes' figures are not reproduced.)
A random variable is a quantity whose value cannot be predicted from the information at hand, although its behaviour follows the rules of probability (notes p. 1). The uncertainty has two sources: ignorance, as for the velocity of an atom picked at random from a gas whose individual atoms we have not followed, and quantum mechanics, as for the distance of a hydrogen atom's electron from its proton, random even when the atom's state is completely known (notes p. 1; slide 2). Random variables can be continuous (a velocity), discrete (the number of atoms in a small volume) or mixed (the energy of an electron in a hydrogen discharge, discrete for bound states and continuous above) (notes pp. 1–2).
Probability rests on an ensemble: a very large number M of similarly prepared systems, everything specified about the system set alike in each, the rest left to chance (notes p. 2). Building a histogram of the values xn they produce and letting M→∞ defines the probability density (notes p. 3):
Probability density
px(ζ)≡M→∞,dζ→0limMdζnumber of systems with ζ≤x<ζ+dζ
In words
p sub x ( zeta ) is defined as the limit as M goes to infinity, d zeta goes to 0 of the quantity number of systems with zeta is less than or equal to x less than zeta plus d zeta, all over the quantity M d zeta
So px(ζ)dζ is the probability that one such system gives a value between ζ and ζ+dζ. (The subscript names the variable and ζ is a dummy argument; when nothing is ambiguous one writes simply p(x).) From the histogram picture (notes p. 3; slide 3):
p sub x ( zeta ) is greater than or equal to 0, probability (a less than x is less than or equal to b) equals the integral from a to b of p sub x ( zeta ) d zeta, the integral from minus infinity to infinity of p sub x ( zeta ) d zeta equals 1
capital P sub x ( zeta ) is defined as probability (x is less than or equal to zeta ) equals the integral from minus infinity to zeta of p sub x ( eta ) d eta, p sub x ( zeta ) equals d over d zeta capital P sub x ( zeta )
Either one specifies the random variable completely: px contains all that can be known about x for the given system (notes p. 4). The practical questions are how to find px, which is the subject of the rest of the course, and what can be extracted from it once known, the subject of these notes.
Waiting for a decay (notes pp. 4–6). A radioactive source behind a shutter gives detections at a mean rate 1/τ. Opening the shutter at t=0, the waiting time to the first detection has the exponentialdensityp(t)=τ−1e−t/τ for t≥0 (and zero before), which is normalized and has the cumulative P(t)=1−e−t/τ.
Loading graph…
The exponential waiting-time density and its cumulative distribution, computed from the formulas above. The density starts at 1/τ and falls; the cumulative rises from 0 towards 1, reaching 1−1/e≈0.63 at t=τ.
To treat continuous, discrete and mixed variables with one formalism, use the delta functionδ(x): zero for x=0, undefined at x=0, with unit area (notes pp. 6–7). It is the limit of narrow normalized functions, such as a rectangle of width w and height 1/w, or a Gaussian of width σ, as the width goes to zero. Its key property is (notes p. 7)
Sifting property of the delta function
∫−∞∞f(x)bδ(x−a)dx=bf(a)
In words
the integral from minus infinity to infinity of f(x) b delta the quantity x minus a, d x equals b f(a)
A discrete variable is then a sum of weighted delta functions. The notes' example is the number of stars in a closely bound group, with illustrative probabilities 31, 21, 61 for single, binary and triple stars: p(x) is three delta functions, and P(x) is a staircase whose steps, 31, 21 and 61, are their weights; differentiating the staircase gives the delta functions back (notes pp. 8–9). A mixed variable has both: in a forest where one tree in six has been cut to a 4-foot stump, the height has a delta function at 4 feet plus a continuous part for the uncut trees (notes pp. 9–10). Light from a xenon discharge mixes sharp lines, from transitions between bound electron states, with a continuum, from transitions involving free electrons; its wavelength, as a random variable, has a mixed density too. Since photonenergy is inversely proportional to wavelength, turning that density into one for energy needs the method of functions of a random variable, two lectures on (notes pp. 10–12).
The slides illustrate these ideas with gases and surfaces (slides 4–9). An atom leaving a surface after physical adsorption flies off at an angle θ from the normal with densityp(θ)=2sinθcosθ on 0≤θ≤π/2, so most atoms leave neither straight up nor grazing the surface; per unit solid angledΩ=sinθdθdϕ, the probability goes as cosθ/π (slides 4–6). An atom bouncing around inside a cavity with a small hole escapes at each wall encounter with probability AH/AT, the hole's share of the wall area, so the number n of encounters before it escapes has the geometric (or Bose–Einstein) density
Geometric density
p(n)=ATAH(1−ATAH)n,n=0,1,2,…
In words
p(n) equals capital A sub H over capital A sub T, times the quantity 1 minus capital A sub H over capital A sub T, all to the power n, n equals 0, 1, 2, and so on
a discrete variable written as delta functions at the integers (slides 7–8). And an atom that may be either physically or chemically adsorbed has a mixed density whose discrete part shrinks with time as e−t/τ (slide 9).
The mean⟨x⟩ locates the density; the mean square⟨x2⟩ is often tied to energy or power; and the variance measures the spread about the mean (notes pp. 12–13):
Variance
Var(x)≡⟨(x−⟨x⟩)2⟩=⟨x2⟩−⟨x⟩2
In words
Var (x) is defined as the average of the quantity x minus the average of x, all squared equals the average of x squared minus the average of x squared
appears whenever a variable contributes quadratically to the energy in thermal equilibrium (a velocity component of a gas atom), or is the sum of many small independent contributions (a random walk). It has ⟨x⟩=a and Var(x)=σ2: two separate parameters set its position and its width (notes p. 14). Its cumulative distribution has no closed form; it is the tabulated error function (notes p. 15). By contrast, the exponential density has mean τ and varianceτ2, both set by the same parameter (slide 11). Averages over the angle density above give, for instance, the mean path ⟨L⟩ of an atom crossing a layer of thickness d in a straight line from its surface: L=d/cosθ, and ⟨L⟩=∫0π/2cosθd2sinθcosθdθ=2d (slide 12).
The Poisson density (notes pp. 15–18; slide 13). Suppose events occur along a line so that, in a short stretch ΔX, exactly one event happens with probability rΔX, independently of all other stretches. Then the number of events in a length L follows (notes p. 15)
Poisson density
p(n)=n!1(rL)ne−rL,n=0,1,2,…
In words
p(n) equals 1 over the quantity n factorial, times (r L ) to the power n e to the power minus r L, n equals 0, 1, 2, and so on
(derived in the next lecture, with the tools for two random variables). Examples: the number of decays from a radioactive sample in a time short compared with its mean life; the number of helium-3 atoms in a small patch of a monolayer of natural helium; the number of atoms within some distance of a given atom in a dilute gas (notes p. 16). Summing the series, with a derivative trick for the sums weighted by n and n2, gives normalization, ⟨n⟩=rL (rate times interval) and ⟨n2⟩=⟨n⟩+⟨n⟩2, so (notes pp. 16–18)
Poisson mean and variance
⟨n⟩=rL,Var(n)=⟨n⟩,p(n)=n!1⟨n⟩ne−⟨n⟩
In words
the average of n equals r L, Var (n) equals the average of n, p(n) equals 1 over the quantity n factorial, times the average of n to the power n e to the power minus the average of n
A single parameter, the mean, specifies everything.
Worked example
Three densities at work
(a) A detector registers events at a mean rate of 0.5 per second. What is the probability that the first event comes within 1 s of opening the shutter, and what are the mean and standard deviation of the waiting time? (b) In a fixed time the number of counts is Poisson with mean 2.5. Find the probabilities of no counts, exactly two counts, and at least one count. (c) For a Gaussian, what fraction of values lies within one standard deviation of the mean?
(a) Waiting time
τ=2 s, so P(1s)=1−e−0.5≈0.393. The mean is τ=2 s and the standard deviationτ2=2 s: for an exponential, the spread is as large as the mean.
(b) Counting
p(0)=e−2.5≈0.082; p(2)=22.52e−2.5≈0.257; and 1−p(0)≈0.918. The variance is 2.5, so the standard deviation is about 1.6 counts.
(c) Within one sigma
∫a−σa+σp(x)dx=1−erfc(1/2)≈0.683: about two thirds of the values lie within one standard deviation.
The branch of physics that explains the large-scale behaviour of matter, such as temperature and pressure, from the laws governing its atoms, using probability. Explained in Thermodynamic variables, temperature and work.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
An idealised spike: zero everywhere except at one point, yet with total area one. It describes a sudden kick or a point source. Explained in The Fourier transform and AM radio.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
A state in which energy is shared out evenly and nothing changes on average, so the system can be described by a single temperature. Explained in Temperature and thermal energy.
A path made of steps in random directions; after N steps of length λ the typical distance from the start is only about λ√N. Explained in Mean free path, effusion, sound and diffusion.
The function erf(x): the area under a bell curve from 0 to x, scaled so that it tends to 1; it has no simpler formula. Explained in The second fundamental theorem of calculus.
The average time an unstable particle survives before decaying; after one mean lifetime about 37 per cent of a sample is left. Explained in Big Bang nucleosynthesis: the first nuclei.
A random pattern of values in space whose value at each point, and any combination of values, follows a bell-shaped normal distribution. Explained in How many halos? The Press–Schechter mass function.
A simple method for predicting how many dark matter halos of each mass exist, from the statistics of the smoothed early density ripples. Explained in How many halos? The Press–Schechter mass function.
To obtain a result by reasoning or calculation from other known results.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).