Section 9.2 The Normal Distribution
The normal distribution is also sometimes referred to as the Gaussian Distribution (often by Physicists) or the Bell Curve (often by social scientists).
xxxxxxxxxx
var('x,mu,sigma')
f(x) = e^(-((x-mu)/sigma)^2/2)/(sigma*sqrt(2*pi))
def _(m=slider(-10,10,1,0,label='$$\\mu$$'),
s=slider(1/5,5,1/10,1,label='$$\\sigma$$')):
titletext = ("Normal Curve with mean "+
str(m)+" and standard deviation "+str(s))
G = plot(f(mu=m,sigma=s),(x,m-5*s,m+5*s))
G += point((0,1),size=1)+point((12,0),size=1)+point((-12,0),size=1)
G += point((m,f(x=m,mu=m,sigma=s)),color='red',size=20)
G += point((m+s,f(x=m+s,mu=m,sigma=s)),color='green',size=20)
G += point((m-s,f(x=m-s,mu=m,sigma=s)),color='green',size=20)
show(G,figsize=(5,3),title=titletext,ymin=0,ymax=1,xmin=-15,xmax=15)
Theorem 9.2.2. Standard Normal Distribution.
Proof.
Convert to standard units 5.6 using the conversion
Notice that the work needed to complete the integrals over the entire domain above was pretty serious. To determine probabilities for a given interval is however not possible in general and therefore approximations are needed. When using TI graphing calculators, you can use
Or you can use the calculator below.
Note that when no mean or standard deviation for normalcdf is provided, the calculator presumes standard normal.
Note that you can use a graphing calculator’s normalcdf(a,b) = to compute probabilities in the standard normal distrubution. If you have a normal distribution other than the standard and don’t want to convert to standard, then the graphing calculator usage is normalcdf(a,b, ).
xxxxxxxxxx
print("Calculator for Normal Probabilities")
layout=dict(top=[['a', 'b']],bottom=[['mu','sigma']])) (
def _(a=input_box(-2,width=10,label='a = '),
b=input_box(2,width=10,label='b = '),
mu=input_box(0,width=8,label='$$\\mu = $$'),
sigma=input_box(1,width=8,label='$$\\sigma = $$')):
if (b < a):
t=a
a=b
b=t
f = e^(-((x-mu)/sigma)^2/2)/(sigma*sqrt(2*pi))
G = plot(f,x,mu-3*sigma,mu+3*sigma)+plot(f,x,a,b,fill=True, fillcolor='green')
show(G,figsize=(3,2))
P = integral_numerical(f,a,b)[0]
pretty_print(html("$$ P("+str(a)+" < X < "+str(b)
+") \\approx "+str(P)+"$$"))
Checkpoint 9.2.3. WebWork - Computing Standard Normal Probabilities.
Checkpoint 9.2.4. WeBWorK - Computing Normal Probabilities when non-Standard.
Suppose the scores of students on a Statistics course are Normally distributed with a mean of 293 and a standard deviation of 69.
What percentage of the students scored between 155 and 293 on the exam? (Give your answer to 3 significant figures.)
percent.
Theorem 9.2.5. Verifying the normal probability function.
Proof.
Note that you can convert the integral above to standard units 5.6.1 so that it is sufficient to show
Toward this end, consider and change the variables to get
Converting to polar coordinates using
and
gives
as desired.
Theorem 9.2.6. Verifying the normal probability mean.
Proof.
The definition of expected value for a continuous variable in this case gives an integral to evaluate since X is continuous. In that integral, it is useful to use a standard change of variables as in basic integral calculus to convert the integral to something easier to evaluate. In this case, you will want to convert the X variable to the standard units variable Z so that
or by solving for x
So, it follows that
and therefore the use of as the parameter in the normal distribution probability function is warranted.
Theorem 9.2.7. Verifying the normal probability variance.
Proof.
using integration by parts. So, the use of as the other parameter in the normal probability function is also warranted.
Using simple calculus on the normal probability function provides a few tips regarding how to best sketch a nice graph.
Theorem 9.2.8. Normal Distribution Maximum.
The maximum of the normal distribution probability function occurs when
Proof.
Take the derivative of the probability function to get
which is zero only when
It is easy to see by evaluating to the left and right of this value that this critical value yields a maximum.
Theorem 9.2.9. Normal Distribution Points of Inflection.
Proof.
Take the second derivative of the probability function to get
which is zero only when
It is easy to see by evaluating to the left and right of this value that these critical values yield points of inflection.
When using a graphing calculator’s normalcdf(a,b, ), pay attention to the the order of terms. For normal distributions, the calculator function always requires an interval. If you are looking for a one-sided probability, such as for a problem with (say) mean and you can replace the infinite upper limit with "large" finite endpoint. Providing something that is more than 10 standard deviations above the mean is for all practical purposes infinity with respect to calculations. So, in this case can be approximated by normalcdf(4,32,2,3). If you are brave, you can go even higher and use normalcdf(4,100000,2,3) if desired.
Checkpoint 9.2.10. WebWork - Computing Regular Normal Probabilities.
Length of snowboards in a boardshop are normally distributed with a mean of 151.1 cm and a standard deviation of 0.4 cm. The figure below shows the distribution of the length of snowboards in a boardshop. Calculate the shaded area under the curve. Express your answer in decimal form with at least two decimal place accuracy.
Answer:

In the standard normal distribution, we have considered the case where you get the probability when given an interval. However, what about the reverse problem of finding an interval that would result in a given probability? That is, to solve for example the problem
To deal with this we need an "inverse function" Toward that end, consider the simpler problem of solving
Then, technically the answer would be
Since integrating the normal probability function is impossible you can expect that finding a nice formula for the inverse of that integration might also be challenging and that is certainly the case. However, you have two options:
- Use a calculator that has the inverse built in!
For most graphing calculators, there is a function called "invNorm" and that is a way to compute values involving Indeed, for example if you wanted to solve
xxxxxxxxxx
# Inverse Normal Calculator
print("Calculator for Inverse Standard Normal")
var("x")
layout=dict(top=[['p0']])) (
def _(p0=input_box(1/2,width=10,label='probability= ')):
if (p0 > 0.99999999) or (p0 < 0.000032): # due to the sensitivity of T below
print("Enter a value between 0.000032 and 0.99999999")
else:
T = RealDistribution('gaussian', 1) # use built-in
z0 = T.cum_distribution_function_inv(p0) # rel tol 1e-14
pretty_print(html("$$ P(Z < z_0) = \\Phi(z_0) = "+str(p0)+" \\; \\; " +
"\\Rightarrow \\; \\; z_0 ="+str(z0)+"$$"))
G = plot(T,x,-6,6)+plot(T,x,-4,z0,fill=True,fillcolor='green')
show(G,figsize=(4,2))
Checkpoint 9.2.11. WebWork - Inverse Standard Normal Calculations.
While we are at it, can we "go backwards" and figure out the mean and variance if given some probabilities. This requires some problem solving skills and enough provided information to figure things out. For the exercise below, what does it mean to talk about the "middle" percentage of the area? That gives one the mean and also describes a probability of the sort
where is a z-value obtained by using the inverse normal distribution function. It might help to draw a picture first of the area under the normal curve described in any such exercise.
Checkpoint 9.2.12. WebWork - Computing Regular Normal Probabilities.
Checkpoint 9.2.13. WebWork - Applying Normal Probabilities.
The physical fitness of an athlete is often measured by how much oxygen the athlete takes in (which is recorded in milliliters per kilogram, ml/kg). The mean maximum oxygen uptake for elite athletes has been found to be with a standard deviation of Assume that the distribution is approximately normal.
(a) What is the probability that an elite athlete has a maximum oxygen uptake of at least ml/kg?
answer:
(b) What is the probability that an elite athlete has a maximum oxygen uptake of ml/kg or lower?
answer:
(c) Consider someone with a maximum oxygen uptake of ml/kg. Is it likely that this person is an elite athlete? Write "YES" or "NO."
answer: