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
Blog › Explore in 3D

25 November 2026 · 3 min readInteractive 3D

Groups of colourful dots, an artwork about pattern recognition
Photo by Google DeepMind on Unsplash

What is the normal distribution? Correlation in 3D

One bell curve is a hill’s outline. Two variables together make a whole hill. Squeeze it, stretch it and twist it into a ridge.

Heights, exam marks and measurement errors often follow a bell curve: most values near the middle, fewer and fewer further out. With two quantities at once, such as height and weight, the bell becomes a hill.

Change the two spreads and the correlation. The curves on the walls are each variable on its own.

Reading the hill

  • The peak sits at the average of both variables.
  • A bigger spread makes the hill wider and lower, because the total volume under it is always 1.
  • Correlation twists the hill into a diagonal ridge: a big value of one now usually comes with a big value of the other.

Why AI uses it

Normal distributions are everywhere in machine learning: models start with random numbers drawn from them, noise is added to images to train image generators, and many methods assume errors are roughly normal. Seeing the 3D hill makes correlation, a slippery idea in words, something you can point at.

Correlation is not causation. Ice-cream sales and sunburn are correlated because both rise in summer, not because one causes the other.

The 68–95–99.7 rule

In a normal distribution, about 68% of values lie within one standard deviation of the mean, 95% within two and 99.7% within three. If heights of 15-year-olds have mean 160 cm and standard deviation 7 cm, about 95% of them are between 146 and 174 cm.

  1. Mean 160, standard deviation 7
  2. One SD: 153 to 167 cm (68%)
  3. Two SD: 146 to 174 cm (95%)
  4. Three SD: 139 to 181 cm (99.7%)

Correlation in the 3D hill

With two measurements, like height and weight, the hill is round if they are unrelated and stretched along a diagonal if they move together. The correlation coefficient r, from −1 to 1, measures how stretched it is. Height and weight might have r ≈ 0.7: taller people tend to be heavier, but with plenty of exceptions.

Why so many things are normal

The central limit theorem says that adding up many small, independent effects gives a normal distribution, whatever the individual effects look like. Heights depend on many genes and on food; measurement errors come from many small disturbances. That is why the bell curve appears so often.

Not everything is normal: incomes, city sizes and earthquake strengths have long tails, so extreme values are far more common than a bell curve predicts.

Z-scores

A z-score says how many standard deviations a value is from the mean: z = (x − mean) ÷ SD. A mark of 85 in a test with mean 70 and SD 10 has z = 1.5, better than about 93% of students. Z-scores let you compare results from tests with different scales.

Glossary

  • Mean: the average.
  • Standard deviation: typical distance from the mean.
  • Correlation: how strongly two measurements move together.
  • Outlier: a value unusually far from the rest.

Try these yourself

  1. Q1. Mean 50, SD 10: range for 95%? 30 to 70
  2. Q2. What share is above the mean? 50%
  3. Q3. What share is above mean + 1 SD? About 16%
  4. Q4. r = −0.9 means: strong negative link

In short

The bell curve describes many measurements; the 68–95–99.7 rule tells you how spread they are. In two dimensions, correlation stretches the hill along a diagonal.

Keep going

  • Lesson: probability and distributions
  • Conditional probability made visual
  • Glossary: mean
  • What is a partial derivative? Slopes two ways
  • How does attention work in transformers?

Read and listen in

Indian languages

World languages

Questions people ask

What is a normal distribution?

A symmetric, bell-shaped distribution in which most values cluster around the mean and fewer lie far away.

What is the 68–95–99.7 rule?

About 68%, 95% and 99.7% of values lie within one, two and three standard deviations of the mean.

Why is the normal distribution so common?

Because sums of many small independent effects tend to be normal, which is the central limit theorem.

More articles

  • What is conditional probability? A visual guide
  • What is a partial derivative? Slopes two ways
  • How does attention work in transformers?