Go back to the moment quantum mechanics first asked you to trust something new: the Born rule,
introduced there as the probability density for finding a particle at position . Everything that followed on that page — normalization, the probability of finding a particle between two points, the entire physical meaning of the wave function — leaned on the word "probability" as though its meaning were already settled. It never was, formally. You were handed a working intuition and asked to run with it, which is a perfectly reasonable thing to do in a physics course, but it leaves a debt outstanding. This topic pays it: what a probability distribution actually is, how to extract a single representative number (the expectation value) and a measure of spread (the variance) from one, and why an enormous range of unrelated random processes — coin flips, molecular velocities, measurement errors, populations of anything — all funnel toward the exact same bell-shaped curve in the end.
Discrete probability distributions
A discrete random variable takes one of a finite (or countably infinite) list of values , each with an associated probability , often abbreviated . Two conditions make this bookkeeping consistent with the plain meaning of "probability":
The second condition says the outcomes are exhaustive: something in the list is guaranteed to happen. This is the discrete cousin of the normalization condition already met for the wave function — the same statement, "the total probability of all possibilities is ," written as a sum instead of an integral because the outcomes here are a discrete list rather than a continuum of positions.
Continuous probability distributions
When the random variable can take any value in a continuous range — a position, a speed, a measurement error — a single number per outcome stops making sense, since there are uncountably many outcomes and each individual one typically has probability exactly zero. What survives is a probability density , defined so that the probability of landing in a small interval is
with normalization
This is exactly the structure the Born rule already used, with as one particular, physically singled-out choice of density. Nothing about the mathematics of required it to come from a wave function; a probability density is a general object, and is one instance of it, arriving with an unusually strange physical origin story but obeying completely ordinary rules once it exists.
Expectation value and variance
Given a distribution, the single most useful summary number is the expectation value (or mean), the probability-weighted average of the random variable. For a discrete distribution,
and for a continuous one,
More generally, the expectation value of any function of the random variable is defined the same way, weighting each value of by the probability of the underlying outcome:
The mean says where a distribution is centered, but says nothing about how tightly it's clustered around that center. That is the job of the variance,
the average squared deviation from the mean. Expanding the square and using linearity of the expectation value,
using that is just a constant number that can be pulled outside its own expectation value. This is the standard working formula for variance: mean of the square, minus square of the mean. Its square root, , is the standard deviation, carrying the same units as itself and serving as the natural measure of how spread out the distribution is.
The binomial distribution
Consider independent trials, each succeeding with probability and failing with probability — flipping a coin, say, or checking whether each of radioactive nuclei has decayed in some fixed time window. Let be the total number of successes. The probability of getting exactly successes is
the binomial distribution. The binomial coefficient counts the number of distinct orderings of successes and failures among trials, and each such ordering has probability by independence, so their sum over all orderings gives the formula above.
Rather than grinding that sum out directly against the binomial formula, there's a shortcut: write as a sum of single trials, , where each is a Bernoulli variable — it equals if trial succeeds and if it fails. A single trial's mean is easy:
For the variance, note that only ever takes the values and , and both of those satisfy — squaring a bit doesn't change it. So , and the working formula for variance derived above gives
Now extend to all trials. Expectation is linear no matter what — independent or not — so the mean of the sum is just the sum of the means:
Variance doesn't add so freely in general: , and that cross term only vanishes when the trials don't influence each other. That's exactly what independence buys here — for , since factors into when the two trials are independent. All the cross terms drop out, leaving
The Gaussian distribution as a limit
Here is the remarkable fact this topic is building toward. Take the binomial distribution and let grow very large while stays fixed. The distribution's shape, plotted as a function of , becomes smoother and smoother, and in the limit it approaches a specific continuous curve — the Gaussian, or normal distribution,
with and matching the mean and variance of the distribution it's approximating. This is not a special property of coin flips. The central limit theorem states, in far greater generality, that the sum (or average) of a large number of independent random variables — drawn from any distribution with finite mean and variance, not only a binomial one — approaches a Gaussian distribution as the number of terms grows, regardless of the shape of the original distribution being summed. The theorem is not proven here in full generality, but the binomial-to-Gaussian limit worked below is its cleanest concrete instance: a distribution built from a sharply discrete, lopsided-looking process (a coin that might not even be fair) smooths itself into the single universal bell shape as more and more trials are piled on.
This is why the Gaussian shows up constantly and everywhere in physics: measurement noise, the velocities of molecules in a gas, the diffusion of a dye through water — anything that is itself the accumulated result of many small, roughly independent random contributions ends up looking Gaussian, almost regardless of the messy details of any one contribution.
Worked example
A discrete random variable takes the values with probabilities respectively. Compute and . Then, for the normalized Gaussian , verify by direct integration that and that the standard deviation really is . (click to reveal the solution)
The discrete case — computing the mean: by definition,
Computing :
Computing the variance:
So this distribution has mean and standard deviation .
The Gaussian case — setting up: the claim to check is
given that is already normalized, (which follows from the standard Gaussian integral , taken as known here). Substitute throughout, so and , with ranging over the same :
Evaluating the first piece: the integrand is an odd function of (odd times even), and the integral of an odd function over the symmetric interval vanishes — the same argument already used repeatedly on this site for odd integrands on symmetric intervals:
Evaluating the second piece: the remaining integral is exactly the normalization integral, equal to by assumption, so
Adding both pieces,
confirming that the parameter appearing in the Gaussian formula really is its mean.
Checking the variance: with the same substitution ,
This integral is evaluated by differentiating the normalization integral with respect to a parameter — a standard trick. Write (the Gaussian integral, with here). Differentiating both sides with respect to :
so
Substituting , so :
Dividing by the normalization factor :
So the variance really is , and the standard deviation of the Gaussian is exactly the parameter appearing in its own formula — confirming that the two letters and written into the Gaussian at the start of this topic were not arbitrary labels. They are, respectively, exactly the mean and exactly the standard deviation, verified here by direct integration rather than assumed.
Where this leads
Probability has now been built as a formal structure in its own right, with the Gaussian identified as the shape a huge class of accumulated random processes converges toward. That convergence is not a mathematical curiosity waiting for an application — it is the entire foundation of statistical mechanics, where the enormous number of particles in even a small gas sample means the accumulated randomness of countless individual collisions settles, via exactly this central-limit mechanism, into sharp, reliable, macroscopic laws. The next stretch of this site takes that idea and runs with it directly: the kinetic theory of gases derives the pressure and temperature of a gas from the statistics of its molecules' motion, and the distribution of molecular speeds is a direct descendant of the expectation-value and variance machinery built here. Beyond that, microstates and entropy shows that the number of ways a system's constituents can be arranged is itself the concept underlying temperature and the arrow of time — probability, in the end, is the machinery beneath the Second Law.