Educerie

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 4.9 · SL and HL

The normal distribution

Many measured quantities pile up in the same bell shape, so how do you describe that shape, and how do you use it to find probabilities and cut-off values?

What you will learn

  • Know the properties of the normal curve: a symmetric bell with mean, median and mode equal and total area 1.
  • Understand how the mean and standard deviation move and stretch the curve, and when a normal model is reasonable.
  • Know that about 68%, 95% and 99.7% of values lie within one, two and three standard deviations of the mean.
  • Understand probability as area under the curve, found with technology, and the inverse normal as the step from an area back to a value.

You must be able to

  1. Calculate normal probabilities with a GDC from a clear probability statement.
  2. Calculate a boundary value from a given probability using the inverse normal.
  3. Sketch a normal curve and shade the region a probability describes.
  4. Estimate probabilities without a calculator using symmetry and the 68, 95, 99.7 rule.
  5. Use a normal probability in an expected number, a conditional probability or a binomial model.
  6. Comment on whether a normal model suits a set of data.

In the exam. mostly Paper 2, where "Find" is by far the commonest command term: a probability from the normal cdf, a boundary from the inverse normal, often followed by an expected number or a binomial step (4.8), usually inside a longer question and worth 2 to 3 marks per part. Paper 1, with no calculator, uses symmetry and the 68–95–99.7 rule: given one area, find another. Standardizing with z-values, and finding an unknown μ\mu or σ\sigma, belong to 4.12, not to this page.

1A curve for measured quantities

Figure 1 shows the 500 masses with a normal curve over them. Each bar is a frequency density, so its area is its number of loaves. Rescale the total area to 1 and area becomes proportion: probability.

Figure 1 · Masses of 500 loaves from one bakery line 760 770 780 790 800 810 820 830 840 mass of a loaf (g) 0 5 10 15 frequency density (loaves per g) normal curve μ = 800, σ = 12 The histogram of the measurements is close to a bell shape, and the normal curve models it.
Figure 1 · Masses of 500 loaves from one bakery line

This is the change from 4.8. A binomial variable is discrete: it takes 3 or 4, never 3.6, and every value carries its own probability. A normal variable is continuous: any value in an interval, like a mass, a time or a length. So:

  • Probability is area under the curve, and the whole area is 1.
  • One exact value has probability 0, because a line has no width. P(X=800)=0P(X = 800) = 0 means no loaf weighs exactly 800.000…800.000\ldots g.
  • Hence P(X<780)=P(X≤780)P(X < 780) = P(X \le 780). Moving the end point changes nothing. For the binomial it changes everything.

Where the normal shape appears

  • A quantity tends to be roughly normal when each value comes from many small, independent influences, some up and some down. Examples:
    • items filled or cut by a machine aimed at a target
    • the heights of adults of one sex in one population
    • the lengths of leaves from one species
    • repeated lab readings of one quantity, where random errors scatter either side of the true value.
  • The influences mostly cancel, which piles values near the middle. They rarely line up, which gives thin tails.
  • Many quantities are not normal. One that cannot fall below zero, sits close to zero on average and has a few very large values has a long right tail. It is skewed, not bell-shaped. Section 8 shows how to tell.
  • The mathematician de Moivre derived the curve. In the 19th century the Belgian scientist Quetelet applied it to human characteristics such as height, weight and strength. From it he described l'homme moyen, the "average man".

2The properties of the normal curve

Figure 2 labels the shape. For X∼N(μ,σ2)X \sim N(\mu, \sigma^{2}):

Figure 2 · The normal curve and its properties 764 776 788 800 812 824 836 x, mass (g) mean = median = mode = μ change of curvature at μ − σ and at μ + σ total area = 1 tail gets ever closer to the axis, never touches mirror image of the left side Symmetric about μ, one peak at μ, total area 1, and tails that never quite reach the axis.
Figure 2 · The normal curve and its properties
  • It has one peak, at x=μx = \mu.
  • It is symmetric about the vertical line x=μx = \mu. Each half mirrors the other, so P(X<μ)=P(X>μ)=0.5P(X < \mu) = P(X > \mu) = 0.5.
  • So the mean, median and mode all equal μ\mu.
  • The total area is 1.
  • The tails approach the horizontal axis without touching it. In the model every value is possible, however unlikely.
  • The curve switches from bending down to bending up (its points of inflection) at x=μ±σx = \mu \pm \sigma. That is the guide for sketching: the shoulders of the bell sit one standard deviation from the centre.

Notation

  • In N(μ,σ2)N(\mu, \sigma^{2}) the second entry is the variance. X∼N(800,144)X \sim N(800, 144) and X∼N(800,122)X \sim N(800, 12^{2}) say the same thing, with standard deviation 12.
  • The calculator wants σ\sigma, never σ2\sigma^{2}.

What μ\mu and σ\sigma do

Figure 3 changes one at a time.

  • Changing μ\mu slides the whole curve sideways. Its shape is untouched.
  • Changing σ\sigma alters the spread. A larger σ\sigma gives a wider, lower curve, because the area must stay 1. A smaller σ\sigma gives a tall, narrow one.
Figure 3 · μ slides the curve, σ stretches it Change μ 760 800 840 880 x N(800, 12²) N(840, 12²) Change σ 760 800 840 x N(800, 6²) N(800, 15²) Left: same σ, larger μ, the curve moves right. Right: same μ, larger σ, wider and lower, area still 1.
Figure 3 · μ slides the curve, σ stretches it

To sketch one curve, draw a symmetric bell, label μ\mu at the peak and mark the given values on the axis. To compare two, put the larger mean further right and draw the larger standard deviation wider with a lower peak.

3The 68–95–99.7 rule

Whatever μ\mu and σ\sigma are, the same proportions lie within the same number of standard deviations:

About 68% of values lie within μ±σ\mu \pm \sigma, about 95% within μ±2σ\mu \pm 2\sigma, and about 99.7% within μ±3σ\mu \pm 3\sigma.

Figure 4 shows them for the loaves, X∼N(800,122)X \sim N(800, 12^{2}):

  • about 68% weigh from 788 g to 812 g
  • about 95% from 776 g to 824 g
  • almost all (99.7%) from 764 g to 836 g.
Figure 4 · The 68–95–99.7 rule, X ~ N(800, 12²) 764 776 788 800 812 824 836 x, mass (g) μ − 3σ μ − 2σ μ − σ μ μ + σ μ + 2σ μ + 3σ 68% 95% 99.7% 34% 34% 13.5% 13.5% About 68% of loaves lie within one σ of the mean, 95% within two and 99.7% within three.
Figure 4 · The 68–95–99.7 rule, X ~ N(800, 12²)

Symmetry splits the areas further, as the figure shows:

  • 34% on each side of μ\mu within the first σ\sigma
  • 95−682=13.5%\frac{95-68}{2} = 13.5\% in each band between one and two σ\sigma
  • 100−952=2.5%\frac{100-95}{2} = 2.5\% beyond two σ\sigma on each side.

Worked example 1 (no calculator). For X∼N(800,122)X \sim N(800, 12^{2}), estimate:

P(X>812)≈0.5−0.34=0.16812=μ+σ: half minus the 34% above μP(X > 812) \approx 0.5 - 0.34 = 0.16 \qquad \textcolor{#838c91}{812 = \mu + \sigma\text{: half minus the 34\% above }\mu}P(X>824)≈0.025824=μ+2σ: one tail beyond 2σP(X > 824) \approx 0.025 \qquad \textcolor{#838c91}{824 = \mu + 2\sigma\text{: one tail beyond }2\sigma}P(776<X<812)≈0.475+0.34=0.8152σ below to 1σ aboveP(776 < X < 812) \approx 0.475 + 0.34 = 0.815 \qquad \textcolor{#838c91}{2\sigma\text{ below to }1\sigma\text{ above}}

The GDC gives 0.159, 0.0228 and 0.819. So the rule is good for estimates, for sanity checks on a calculator answer, and for Paper 1.

On a population

  • A proportion becomes a count by multiplying.
  • Of a day's 1500 loaves, about 0.16×1500=2400.16 \times 1500 = 240 weigh more than 812 g. About 0.025×1500=37.50.025 \times 1500 = 37.5 weigh more than 824 g.

The rule also gives a fast test for normality. If far from two-thirds of a data set lies within one standard deviation of its mean, the normal model is doubtful.

4Symmetry: the Paper 1 method

With no calculator, a question gives one probability and asks for another. Symmetry is the method, and a sketch makes it safe.

Worked example 2. X∼N(800,122)X \sim N(800, 12^{2}) and P(X<785)=0.106P(X < 785) = 0.106. Find P(785<X<815)P(785 < X < 815).

785 is 15 g below the mean and 815 is 15 g above it. By symmetry the two tails are equal, as Figure 5 shows.

Figure 5 · Symmetry does the work on Paper 1 770 785 800 815 830 x, mass (g) 1 − 2(0.106) = 0.788 0.106 0.106 15 g 15 g 785 and 815 are both 15 g from the mean, so the two tails are equal: 0.106 each, 0.788 between.
Figure 5 · Symmetry does the work on Paper 1
P(X>815)=P(X<785)=0.106symmetric about μ=800P(X > 815) = P(X < 785) = 0.106 \qquad \textcolor{#838c91}{\text{symmetric about }\mu = 800}P(785<X<815)=1−2×0.106=0.788\begin{aligned}P(785 < X < 815) &= 1 - 2 \times 0.106 \\[6pt] &= 0.788\end{aligned}

First check that the two values are the same distance from μ\mu. If the question gives P(X<785)P(X < 785) and asks about 820, symmetry cannot help.

Other moves from the same sketch:

  • Value to mean. Between a value and the mean is half minus the tail: P(785<X<800)=0.5−0.106=0.394P(785 < X < 800) = 0.5 - 0.106 = 0.394.
  • Half a middle piece. Half of a symmetric middle piece is a one-sided piece: P(800<X<815)=0.788÷2=0.394P(800 < X < 815) = 0.788 \div 2 = 0.394.
  • Differences of left areas. P(a<X<b)=P(X<b)−P(X<a)P(a < X < b) = P(X < b) - P(X < a), and P(X>a)=1−P(X<a)P(X > a) = 1 - P(X < a). So P(X<815)=1−0.106=0.894P(X < 815) = 1 - 0.106 = 0.894.
  • In reverse. If P(X<a)=P(X>b)P(X < a) = P(X > b), the mean is exactly halfway between aa and bb.

The reverse move also compares two curves. Take X∼N(30,s2)X \sim N(30, s^{2}) and Y∼N(50,s2)Y \sim N(50, s^{2}), with the same spread. The value bb with P(X>b)=P(Y<b)P(X > b) = P(Y < b) sits halfway between the means, so b=40b = 40.

5Probabilities with technology

On Paper 2 the GDC finds any area. Every model has a normal cdf function. It takes a lower bound, an upper bound, μ\mu and σ\sigma, and returns the area between them.

  • TI-84 Plus: normalcdf(lower,upper,μ,σ)\text{normalcdf}(\text{lower}, \text{upper}, \mu, \sigma).
  • Casio: Normal CD.
  • For a tail that runs on for ever, use a huge number for the missing bound: 109910^{99} (typed 1E99 on a TI) or −1099-10^{99}.

The routine that earns the marks is sketch, shade, write, calculate.

Worked example 3. Loaf masses X∼N(800,122)X \sim N(800, 12^{2}). Find the probability that a random loaf weighs (a) less than 770 g, (b) between 790 g and 820 g, (c) more than 822 g.

P(X<770)=0.00621lower −1099, upper 770P(X < 770) = 0.00621 \qquad \textcolor{#838c91}{\text{lower }-10^{99}\text{, upper 770}}P(790<X<820)=0.750lower 790, upper 820P(790 < X < 820) = 0.750 \qquad \textcolor{#838c91}{\text{lower 790, upper 820}}P(X>822)=0.0334lower 822, upper 1099P(X > 822) = 0.0334 \qquad \textcolor{#838c91}{\text{lower 822, upper }10^{99}}

Figure 6 is the sketch for (b). It catches the two commonest slips: shading the wrong side, and an impossible area (a region clearly over half the curve cannot be 0.25).

Figure 6 · P(790 < X < 820) is the shaded area 770 790 800 810 820 830 x, mass (g) 0.750 Sketch, shade, then calculate: normal cdf with lower 790, upper 820, μ = 800, σ = 12 gives 0.750.
Figure 6 · P(790 < X < 820) is the shaded area

From a probability to a count. Example: 2000 loaves are baked. The expected number under 770 g is 2000×0.0062097…=12.42000 \times 0.0062097\ldots = 12.4. As in 4.5, an expected number need not be a whole number, so the answer is 12.4, not 12.

A "given that" question

  • Conditional probability (4.6) works with normal areas like any other probability.
  • Example: loaves heavier than 812 g go to a large-loaf line. Of those, what fraction exceed 824 g?
P(X>824∣X>812)=P(X>824)P(X>812)824 > 812, so "above 824" lies inside "above 812"=0.022750…0.158655…=0.143\begin{aligned}P(X > 824 \mid X > 812) &= \frac{P(X > 824)}{P(X > 812)} && \textcolor{#838c91}{\text{824 > 812, so "above 824" lies inside "above 812"}} \\[6pt] &= \frac{0.022750\ldots}{0.158655\ldots} = 0.143\end{aligned}

6Inverse normal: from an area back to a value

  • When you know the area and want the boundary, use the inverse normal. An example is the mass only the heaviest 10% exceed.
  • The GDC's inverse normal function (invNorm on a TI-84, Inverse Normal on a Casio) takes an area, μ\mu and σ\sigma. It returns the xx with that area to its left.
  • At SL and HL, μ\mu and σ\sigma are given. Finding an unknown μ\mu or σ\sigma needs z-values and is 4.12.
  • The one step that needs thought is turning the question's area into an area to the left. Figure 7 shows the two common cases.
Figure 7 · Inverse normal: you know the area, you want the boundary Heaviest 10% 780 800 820 x, mass (g) 0.9 0.1 k = 815.4 g Middle 90% 780 800 820 x, mass (g) 0.9 0.05 0.05 780.3 819.7 Give the calculator the area to the LEFT of the boundary. Top 10% means 0.9 to the left.
Figure 7 · Inverse normal: you know the area, you want the boundary

Worked example 4. X∼N(800,122)X \sim N(800, 12^{2}).

(a) The heaviest 10% of loaves weigh more than kk grams. Find kk.

P(X>k)=0.1P(X > k) = 0.1P(X<k)=0.9convert to the area to the leftP(X < k) = 0.9 \qquad \textcolor{#838c91}{\text{convert to the area to the left}}k=invNorm(0.9,800,12)=815.4 g (4 s.f.)k = \text{invNorm}(0.9, 800, 12) = 815.4\ \mathrm{g}\ \text{(4 s.f.)}

(b) Find the interval, symmetric about the mean, that contains the middle 90% of masses.

area outside=0.1, so 0.05 in each tail\text{area outside} = 0.1, \ \text{so 0.05 in each tail}a=invNorm(0.05,800,12)=780.3 ga = \text{invNorm}(0.05, 800, 12) = 780.3\ \mathrm{g}b=invNorm(0.95,800,12)=819.7 gb = \text{invNorm}(0.95, 800, 12) = 819.7\ \mathrm{g}

Quartiles and percentiles are inverse normal calls

  • The lower quartile has 0.25 to its left, the median 0.5 (so it equals μ\mu), and the upper quartile 0.75.
  • The interquartile range is Q3−Q1Q_3 - Q_1.
  • By symmetry Q1Q_1 and Q3Q_3 sit the same distance either side of μ\mu. That is a quick check.
  • For the loaves Q1=invNorm(0.25,800,12)=791.9Q_1 = \text{invNorm}(0.25, 800, 12) = 791.9 and Q3=808.1Q_3 = 808.1, so the IQR is 16.2 g. The 90th percentile is the kk of part (a).
  • Check each answer against the sketch. The top-10% boundary must lie above the mean. The ends of the middle interval must be equally far from it (19.7 g each side here).

Two "which side" cases to keep straight

  • "The lightest 3%" is already an area to the left, so use 0.03.
  • "At least this heavy for 3% of loaves" is a right tail, so use 0.97.

7Joining the normal to other results

A longer question often uses the normal probability as a stepping stone.

Into a binomial. Example: cartons of 8 jars are filled by a machine that delivers J∼N(250,42)J \sim N(250, 4^{2}) grams per jar. A jar is underfilled if it holds under 242 g. What is the probability that a carton contains at least one underfilled jar?

p=P(J<242)=0.022750…one jar, from the normal modelp = P(J < 242) = 0.022750\ldots \qquad \textcolor{#838c91}{\text{one jar, from the normal model}}U∼B(8, 0.022750…)U = underfilled jars in a cartonU \sim B(8,\ 0.022750\ldots) \qquad \textcolor{#838c91}{U\text{ = underfilled jars in a carton}}P(U≥1)=1−P(U=0)=1−(1−0.022750…)8=0.168P(U \ge 1) = 1 - P(U = 0) = 1 - (1 - 0.022750\ldots)^{8} = 0.168

Carry the full calculator value of pp into the second stage. Rounded to 0.023, it gives 0.170, wrong in the third figure. Independence of the jars is an assumption a question may ask you to state.

Into a boundary. A conditional statement can lead to an inverse normal.

Example: the heaviest quarter of the large-loaf line (over 812 g, section 5) are sold as extra large. Find the lightest extra-large mass mm.

P(X>m∣X>812)=0.25m>812, so the intersection is just X>mP(X > m \mid X > 812) = 0.25 \qquad \textcolor{#838c91}{m > 812\text{, so the intersection is just }X > m}P(X>m)=0.25×0.158655…=0.039663…P(X > m) = 0.25 \times 0.158655\ldots = 0.039663\ldotsm=invNorm(0.960336…,800,12)=821.1 g (4 s.f.)m = \text{invNorm}(0.960336\ldots, 800, 12) = 821.1\ \mathrm{g}\ \text{(4 s.f.)}

Go from the condition to a plain area, then to the area to the left. mm must come out above 812.

8When to trust the model

A normal model always returns an answer. Three checks catch most misuse.

  1. Is the variable continuous and measured? Masses, lengths and times, yes. Counts of people or goals are discrete and are not normal in their own right.
  2. Is the data roughly symmetric and bell-shaped? Look at a histogram and compare mean with median. If they are far apart, the data are skewed and the normal model is poor.
  3. Does the model give impossible values real probability? The curve never ends, so it always puts some probability below zero. When μ\mu is many standard deviations above zero, that is negligible. When it is not, the model is wrong.
  • Figure 8 shows the third check failing. Daily screen time has mean 3.1 hours and standard deviation 2.4 hours. The model N(3.1,2.42)N(3.1, 2.4^{2}) gives P(X<0)=0.0982P(X < 0) = 0.0982: nearly one person in ten would use a negative number of hours. Such data are right-skewed.
  • A quick rule: if μ−2σ\mu - 2\sigma falls below an impossible value, be suspicious. Here 3.1−4.8=−1.73.1 - 4.8 = -1.7 hours.
Figure 8 · When the normal model does not fit −4 −2 0 2 4 6 8 10 hours of screen time per day impossible values: area 0.098 N(3.1, 2.4²) N(3.1, 2.4²) for daily hours of screen time puts about 10% of people below zero hours. The model is wrong.
Figure 8 · When the normal model does not fit
  • Take most care in the tails. A model fitted to the middle says least about the extremes. Yet extremes often matter most, such as the biggest flood a defence must hold.
  • Few data lie out there, so a real data set may have more extreme values than the normal curve allows.

Practice questions

57 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.