Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Explorations › Data you can hold › lesson 4 of 6

The bell curve from the Galton board

Add up many small random nudges and you always get the same shape. Drop balls through pegs and watch the bell curve build itself.

Heights, measurement errors, exam marks and the sample averages from the last lesson all pile up in the same shape: a hump in the middle, tailing off evenly on both sides. It is called the normal distribution, or bell curve.

Many small nudges

Each ball bounces left or right at every peg, like tossing a coin 10 times. To land at the far edge it needs 10 lefts in a row: rare. To land in the middle it needs about 5 lefts and 5 rights, and there are many ways to do that. So most balls end up in the middle.

Drop 1,000 balls and the bins trace the black bell curve.

Two numbers describe it

A bell curve is fixed by its mean (where the hump is) and its standard deviation (how wide it is). Change the chance of bouncing right and the whole bell slides over. Add rows and it widens.

withinshare of values
1 standard deviation of the meanabout 68%
2 standard deviationsabout 95%
3 standard deviationsabout 99.7%

Why it shows up everywhere

Whenever a result is the sum of many small independent effects, it ends up bell-shaped, whatever each effect looks like on its own. This is the central limit theorem. Your height is the sum of many genes and many meals; a measurement error is the sum of many tiny disturbances.

Worked example

Adult heights in a group have mean 165 cm and standard deviation 7 cm. About 95% of the group is between 165−14=151165 - 14 = 151165−14=151 cm and 165+14=179165 + 14 = 179165+14=179 cm.

What to remember

  • The bell curve comes from adding many small random effects.
  • It is described by its mean and its standard deviation.
  • About 68% of values lie within one standard deviation, 95% within two.
  • The central limit theorem explains why it appears so often.
Samples and why size mattersNext