1.3.15 · D1Probability & Statistics

Foundations — Central limit theorem

2,515 words11 min readBack to topic

This page builds every symbol the parent note uses, starting from things a curious 12-year-old already knows: dice, coin flips, and dot-patterns. We add nothing until you can see it.


1. Randomness: the random variable

Picture it. Roll one die. Before you look, the outcome is unknown — but it's one of . That whole "machine that produces an unknown number" is .

Why the topic needs it. Every piece of data in machine learning — a pixel value, a gradient, a click/no-click — is a number that came from some random process. We need one letter to talk about "a single draw" before we talk about many draws.

When we have many draws we number them: . The subscript is just a label ("draw number 1", "draw number 2"), and is how many draws we took.


2. The distribution: the shape of the randomness

Picture it. For a fair die every face has the same chance , so its distribution is flat — six equal-height bars. We call this uniform because every value is equally likely.

Figure — Central limit theorem

Why the topic needs it. The whole magic of the CLT is that it doesn't care what this starting shape is — flat, lopsided, spiky, discrete or continuous — the averages still end up bell-shaped. To appreciate that, you must first be able to see the starting shape.


3. The mean and the symbol

Picture it. Mark every possible value on a see-saw and put a weight on each equal to its probability. The point where the see-saw balances is . For the die, the balance point sits exactly in the middle at .

Why the topic needs it. is the true answer we are trying to estimate from data. The CLT is a statement about how close our average of samples gets to this .


4. Spread: variance and standard deviation

Picture it. Two dartboards, both centred on . One has darts clustered tight (small ), one has darts scattered wide (large ). Squaring the distances means a dart twice as far away counts four times as much, so outliers dominate.

Figure — Central limit theorem

Why the topic needs it. measures how noisy a single measurement is. The CLT's headline result is that averaging shrinks this spread in a precise way — so we must be able to name the spread first.


5. Independence and "identically distributed" (i.i.d.)

Picture it. Imagine one factory printing dice, all identical (identically distributed), and you roll them in separate rooms so no roll can affect another (independent).

Why the topic needs it. Independence is what lets us add variances () — the key algebra step we use in the very next section and again in the CLT proof. "Identically distributed" is what lets us say each draw has the same and .


6. The sample mean

Reading the notation. The symbol is just shorthand for "add up ." The is a capital Greek S ("Sigma", for Sum); is the counter that walks from to . Then divides by how many we added — that's an average.

Picture it. Every time you compute an average you get one new number. Do the whole experiment again and you get a slightly different average. So is itself a random variable with its own distribution — and the CLT describes exactly that distribution.

Figure — Central limit theorem

Why the topic needs it. is the star of the show. The CLT is a statement about what happens to as grows.


7. Standard error:

Picture it. As you average more numbers, the lucky-high and unlucky-low draws cancel out, so the average wobbles less. The in the denominator says: to halve the wobble you need four times as many samples (since ).

Why the topic needs it. This is the CLT's quantitative punch-line: averaging doesn't just make things bell-shaped, it makes the bell narrower at a rate of . This single fact powers the law of large numbers, Confidence Intervals, and Sample Size Calculation.


8. Standardizing: the -score

Picture it. Two bell curves of different widths sitting at different places. Standardizing slides each one so its centre lands on , then stretches or squeezes it so its width becomes exactly . Now they overlap perfectly — a fair comparison.

Why the topic needs it. The CLT compares the sample mean to a single reference curve, the standard normal. To make that comparison we first standardize : Numerator: "how far is our average from the truth ." Denominator: the standard error. So reads as "how many standard errors away are we?"


9. The normal distribution and

Picture it. A single humped curve, tallest at the centre, tailing off symmetrically on both sides. The full picture lives in Normal Distribution.

Why the topic needs it. Once the CLT tells us is approximately standard normal, any probability question about the sample mean becomes an area under this one fixed curve — read off via . That is exactly what the parent's worked examples do.


10. The "converges in distribution" arrow

Picture it. A sequence of histograms, each for a bigger , morphing frame by frame until it lies right on top of the bell curve.

Why the topic needs it. The CLT's core statement is : the standardized sample mean's shape becomes the standard normal.


11. The fine print: finite variance

Picture it. A "normal" distribution's tails shrink fast, so extreme values are rare enough that squared distances stay finite. A pathological heavy-tailed distribution keeps producing giant outliers whose squares dominate every average — the bell curve never forms.

Why the topic needs it. The parent's definition writes "" — that little "" is this assumption. It's the one condition standing between "averaging tames randomness" and "averaging can't help you."


How these feed the theorem

Random variable X

Distribution shape

Mean mu

Variance sigma squared

Finite variance assumption

i.i.d. draws X1..Xn

Sample mean Xbar

Standard error sigma over root n

Standardize into Zn

Normal N and Phi

Central Limit Theorem


Equipment checklist

Cover the right side and test yourself. If any answer is fuzzy, re-read that section before the main proof.

What is a random variable in one phrase?
A rule that produces an unknown number from a random experiment, written with a capital letter like .
What does a distribution describe?
Which values are likely vs rare — the shape of the randomness.
What is the difference between a PMF and a PDF?
A PMF gives bar heights = actual probabilities for a discrete variable; a PDF is a smooth curve whose area gives probabilities for a continuous variable.
What does represent as a picture?
The balance point of the distribution — its long-run average.
Write variance two ways and connect the notation.
; "" and "" are the same quantity.
Give the shortcut formula for variance.
.
How do and differ?
is variance (squared units); is standard deviation (original units) — its square root.
What do the two letters in "i.i.d." give us?
Independent lets us add variances; identically distributed gives every draw the same and .
Write the sample mean and read aloud.
; "" means add through .
Derive .
(constant-scaling + independence + identical).
State the standard error and what implies.
; to halve the wobble you need four times as many samples.
Why does standardizing give mean , spread ?
by linearity; by constant-scaling.
What is ?
The area under the standard-normal curve left of , i.e. ; , .
What does assert?
The distribution's shape converges to the target shape as .
What hidden condition does the classic CLT require?
Finite variance, (the "" in ); heavy-tailed infinite-variance data break it.

Ready? Continue to Central limit theorem for the full derivation, and see Law of Large Numbers for its close cousin.