The normal distribution is by far the most important probability distribution. One of the main reasons
for that is the Central Limit Theorem (CLT) that we will discuss later in the book. To give you
an idea, the CLT states that if you add a large number of random variables, the distribution of the sum
will be approximately normal under certain conditions. The importance of this result comes from the fact
that many random variables in real life can be expressed as the sum of a large number of random variables
and, by the CLT, we can argue that distribution of the sum should be normal. The CLT is one of the most
important results in probability and we will discuss it later on. Here, we will introduce normal random
variables.
We first define the standard normal random variable. We will then see that we can obtain other normal
random variables by scaling and shifting a standard normal random variable.
A continuous random variable Z is said to be a standard normal (standard Gaussian) random variable,
shown as Z∼N(0,1), if its PDF is given by
fZ(z)=2π1exp{−2z2},for all z∈R.
The 2π1 is there to make sure that the area under the PDF is equal to one. We will
verify that this holds in the solved problems section. Figure 4.6 shows the PDF of the standard normal
random variable.
Fig.4.6 - PDF of the standard normal random variable.
Let us find the mean and variance of the standard normal distribution. To do that, we will use a simple
useful fact. Consider a function g(u):R→R. If g(u) is an odd function,
i.e., g(−u)=−g(u), and ∣∫0∞g(u)du∣<∞, then
∫−∞∞g(u)du=0.
For our purpose, let
g(u)=u2k+1exp{−2u2},
where k=0,1,2,.... Then g(u) is an odd function. Also ∣∫0∞g(u)du∣<∞. One way
to see this is to note that g(u) decays faster than the function exp{−u} and since
∣∫0∞exp{−u}du∣<∞, we conclude that ∣∫0∞g(u)du∣<∞. Now,
let Z be a standard normal random variable. Then, we have
EZ2k+1=2π1∫−∞∞u2k+1exp{−2u2}du=0,
for all k∈{0,1,2,..,}. Thus, we have shown that for a standard normal random variable Z, we have
EZ=EZ3=EZ5=....=0.
In particular, the standard normal distribution has zero mean. This is not surprising as we can see
from Figure 4.6 that the PDF is symmetric around the origin, so we expect that EZ=0. Next, let's find EZ2.
EZ2
=2π1∫−∞∞u2exp{−2u2}du
=2π1[−uexp{−2u2}]−∞∞+
+2π1∫_−∞∞exp{−2u2}du(integration by parts)
=∫−∞∞2π1exp{−2u2}du
=1.
The last equality holds because we are integrating the standard normal PDF from −∞ to ∞. Thus,
we conclude that for a standard normal random variable Z, we have
Var(Z)=1.
So far we have shown the following:
If Z∼N(0,1), then EZ=0 and Var(Z)=1.
CDF of the standard normal
To find the CDF of the standard normal distribution, we need to integrate the PDF function.
In particular, we have
FZ(z)=2π1∫−∞zexp{−2u2}du.
This integral does not have a closed form solution. Nevertheless, because of the importance of
the normal distribution, the values of FZ(z) have been tabulated and many calculators and
software packages have this function. We usually denote the standard normal CDF by Φ.
The CDF of the standard normal distribution is denoted by the Φ function:
Φ(x)=P(Z≤x)=2π1∫−∞xexp{−2u2}du.
As we will see in a moment, the CDF of any normal random variable can be written in terms of the
Φ function, so the Φ function is widely used in probability. Figure 4.7 shows the Φ function.
Fig.4.7 - The Φ function (CDF of standard normal).
Here are some properties of the Φ function that can be shown from its definition.
x→∞limΦ(x)=1,x→−∞limΦ(x)=0;
Φ(0)=21;
Φ(−x)=1−Φ(x), for all x∈R.
Also, since the Φ function does not have a closed form, it is sometimes useful to use upper or lower
bounds. In particular we can state the following bounds (see Problem 7 in the Solved Problems section).
For all x≥0,
As we mentioned earlier, because of the importance of the normal distribution, the values
of the Φ function have been tabulated and many calculators and software packages have this
function. For example, you can use the normcdf command in MATLAB to compute Φ(x) for a
given number x. More specifically, normcdf(x) returns Φ(x). Also, the function norminv returns
Φ−1(x). That is, if you run x=norminv(y), then x will be the real number for which Φ(x)=y.
Normal random variables
Now that we have seen the standard normal random variable, we can obtain any normal random variable
by shifting and scaling a standard normal random variable. In particular, define
X=σZ+μ,where σ>0.
Then
EX=σEZ+μ=μ,
Var(X)=σ2Var(Z)=σ2.
We say that X is a normal random variable with mean μ and variance σ2. We write
X∼N(μ,σ2).
If Z is a standard normal random variable and X=σZ+μ, then X is a normal random variable
with mean μ and variance σ2, i.e,
X∼N(μ,σ2).
Conversely, if X∼N(μ,σ2), the random variable defined by Z=σX−μ is a
standard normal random variable, i.e., Z∼N(0,1). To find the CDF of X∼N(μ,σ2), we can write
FX(x)
=P(X≤x)
=P(σZ+μ≤x)(where Z∼N(0,1))
=P(Z≤σx−μ)
=Φ(σx−μ).
To find the PDF, we can take the derivative of FX,
fX(x)
=dxdFX(x)
=dxdΦ(σx−μ)
=σ1Φ′(σx−μ)(chain rule for derivative)
=σ1fZ(σx−μ)
=σ2π1exp{−2σ2(x−μ)2}.
If X is a normal random variable with mean μ and variance σ2, i.e, X∼N(μ,σ2), then
fX(x)=σ2π1exp{−2σ2(x−μ)2},
FX(x)=P(X≤x)=Φ(σx−μ),
P(a<X≤b)=Φ(σb−μ)−Φ(σa−μ).
Figure 4.8 shows the PDF of the normal distribution for several values of μ and σ.
Fig.4.8 - PDF for normal distribution.
Example
Let X∼N(−5,4).
Find P(X<0).
Find P(−7<X<−3).
Find P(X>−3∣X>−5).
Solution
X is a normal random variable with μ=−5 and σ=4=2, thus we have
Find P(X<0):
P(X<0)
=FX(0)
=Φ(20−(−5))
=Φ(2.5)≈0.99
Find P(−7<X<−3):
P(−7<X<−3)
=FX(−3)−FX(−7)
=Φ(2(−3)−(−5))−Φ(2(−7)−(−5))
=Φ(1)−Φ(−1)
=2Φ(1)−1(since Φ(−x)=1−Φ(x))
≈0.68
Find P(X>−3∣X>−5):
P(X>−3∣X>−5)
=P(X>−5)P(X>−3,X>−5)
=P(X>−5)P(X>−3)
=1−Φ(2(−5)−(−5))1−Φ(2(−3)−(−5))
=1−Φ(0)1−Φ(1)
≈0.50.1587≈0.32
An important and useful property of the normal distribution is that a linear transformation of a normal
random variable is itself a normal random variable. In particular, we have the following theorem:
Theorem
If X∼N(μX,σX2), and Y=aX+b, where a,b∈R, then Y∼N(μY,σY2) where