Professional Documents
Culture Documents
Uniform and Normal Distribution.
Uniform and Normal Distribution.
Pradeep Boggarapu
Department of Mathematics
BITS PILANI K K Birla Goa Campus, Goa
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 1 / 29
Standard Examples for Continuous Random
Variables
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 2 / 29
Standard examples of continuous randam variables
1 Uniform distribution
2 Normal distribution
3 Gamma distribution
4 Exponential distribution
5 Chi-squared distribution
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 3 / 29
Standard examples of continuous randam variables
Uniform distribution
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 4 / 29
Uniform distribution
Definition 0.1.
We say that X is a uniform random variable on the interval
(a, b) if the probability density function of X is given by
1
f (x) = , a < x < b.
b−a
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 5 / 29
Uniform distribution
Definition 0.1.
We say that X is a uniform random variable on the interval
(a, b) if the probability density function of X is given by
1
f (x) = , a < x < b.
b−a
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 5 / 29
Uniform distribution Cont.
Theorem 0.2.
Let X be uniformly destributed over an interval (a, b)
then
a+b
1 The mean is given by µ = .
2
2 (b − a)2 b−a
2 Var (X ) = σ = and σ = √ .
12 2 3
3 The mgf of X is given by
tb ta
e −e if t ̸= 0
t(b−a)
mX (t) =
1 if t = 0.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 6 / 29
Problems
Example 1.
If X is uniformly distributed over (0, 10), calculate (a)
P(X < 3), (b) P(X > 6), and (c) P(3 < X < 8).
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 7 / 29
Problems
Example 1.
If X is uniformly distributed over (0, 10), calculate (a)
P(X < 3), (b) P(X > 6), and (c) P(3 < X < 8).
Example 2.
Buses arrive at a specified stop at 15-minute intervals
starting at 7 A.M. That is, they arrive at 7, 7:15, 7:30,
7:45, and so on. If a passenger arrives at the stop at a
time that is uniformly distributed between 7 and 7:30, find
the probability that he waits
(a) less than 5 minutes for a bus;
(b) more than 10 minutes for a bus.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 7 / 29
Problems
Example 3.
Consider a random chord of a circle and assume that the
length of the chord is uniformly distributed over (0, d)
where d is the diameter of the circle. What is the
probability that the length of the chord will be greater
than the side of the equilateral triangle inscribed in that
circle ?
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 8 / 29
Problems
Example 3.
Consider a random chord of a circle and assume that the
length of the chord is uniformly distributed over (0, d)
where d is the diameter of the circle. What is the
probability that the length of the chord will be greater
than the side of the equilateral triangle inscribed in that
circle ?
Example 4.
A stick of length 1 unit is split at a point U that is
uniformly distributed over (0, 1). Determine the expected
length of the piece that contains a fixed point
p, 0 ≤ p ≤ 1.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 8 / 29
Problems
Example 5.
If X ∼ U(0, 1) and a < b, then find the distribution of
Y = a + (b − a)X .
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 9 / 29
Standard examples of continuous randam variables
Normal distribution
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 10 / 29
Normal distribution
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 11 / 29
Graph of density function of normal rv
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 12 / 29
Normal distribution conti.
Theorem 0.4.
Let X be normally distributed with parameters µ and σ.
1 The moment generating function for X is given by
2 2
MX (t) = e µt+σ t /2
.
2 E [X ] = µ.
3 Var [X ] = σ 2 .
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 13 / 29
mgf of Normal distribution
2 t 2 /2
To show that MX (t) = e µt+σ :
Z ∞ 2
1 x−µ
MX (t) = E (e ) = tX
e tx √ e −(1/2) σ dx
−∞ 2πσ
Z ∞
1 2 2
µt+ σ 2t 1 2
MX (t) = e √ e − 2 (y −σt) dy
2π −∞
Z ∞
2
µt+ σ 2t
2 1 z2
MX (t) = e √ e − 2 dz .
2π −∞
Therefore, we get that
σ2 t 2
MX (t) = e µt+ 2
Z ∞
1 z2
as √ e − 2 dz = 1.
2π −∞
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 15 / 29
Mean and variation of normal distribution
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 16 / 29
Mean and variation of normal distribution
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 16 / 29
Mean and variation of normal distribution
Thus we get,
dMX (t) d 2 MX (t)
E (X ) = = µ, E (X 2 ) = = µ2 + σ 2
dt t=0 dt 2 t=0
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 16 / 29
Normal distribution conti.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 17 / 29
Standard Normal Distribution
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 18 / 29
Standard Normal Distribution
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 18 / 29
Standardization theorem
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 19 / 29
Standardization theorem
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 19 / 29
Standardization theorem
X −µ
We will find the moment generating function of σ :
X −µ −tµ tX
M X −µ (t) = E [e t( σ ) ]=e σ E [e σ ]
σ
−tµ
t −tµ tµ σ 2 t 2 2
=e σ MX =e σ e σ + 2 σ2 = et /2
= MZ (t).
σ
X −µ
Thus σ ∼ N(0, 1).
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 20 / 29
Standardization theorem
X −µ
We will find the moment generating function of σ :
X −µ −tµ tX
M X −µ (t) = E [e t( σ ) ]=e σ E [e σ ]
σ
−tµ
t −tµ tµ σ 2 t 2 2
=e σ MX =e σ e σ + 2 σ2 = et /2
= MZ (t).
σ
X −µ
Thus σ ∼ N(0, 1).
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 20 / 29
Notation
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 21 / 29
Standard normal distribution-Table
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 22 / 29
Standard normal distribution-Table
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 23 / 29
Standard distribution-Table
Example 6.
Find the following:
1 P[Z ≤ −2.95]
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 24 / 29
Standard distribution-Table
Example 6.
Find the following:
1 P[Z ≤ −2.95]
2 P[Z ≤ −2.62]
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 24 / 29
Standard distribution-Table
Example 6.
Find the following:
1 P[Z ≤ −2.95]
2 P[Z ≤ −2.62]
3 z0.9956
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 24 / 29
Standard distribution-Table
Example 6.
Find the following:
1 P[Z ≤ −2.95]
2 P[Z ≤ −2.62]
3 z0.9956
4 z0.33
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 24 / 29
Standard distribution-Table
Example 6.
Find the following:
1 P[Z ≤ −2.95]
2 P[Z ≤ −2.62]
3 z0.9956
4 z0.33
5 z0.1515
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 24 / 29
Problems
Example 7.
Suppose that diameter of the disc is normally distributed
with mean 39.8 and SD 2.05 inches respectively. What is
the probability that of 20 randomly selected discs exactly
5 have diameter of at least 40 inches?
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 25 / 29
Problems
Example 7.
Suppose that diameter of the disc is normally distributed
with mean 39.8 and SD 2.05 inches respectively. What is
the probability that of 20 randomly selected discs exactly
5 have diameter of at least 40 inches?
Example 8.
If Xi ∼ N(µi , σi2 ), for each i = 1, 2, . . . , n, are
independent, then prove that their linear combination
X n Xn n
X
2 2
a i Xi ∼ N ai µi , ai σi , where ai ’s are real
i=1 i=1 i=1
numbers.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 25 / 29
Problems
Example 9.
Data indicates that the yearly precipitation in a city is a
normal random variable with mean of 12.08 inches and a
SD of 3.1 inches. Assume that the precipitations of a year
is independent of that of any other year.
1 Find the probability that the total precipitation during
the next two years will exceed 25 inches.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 26 / 29
Problems
Example 9.
Data indicates that the yearly precipitation in a city is a
normal random variable with mean of 12.08 inches and a
SD of 3.1 inches. Assume that the precipitations of a year
is independent of that of any other year.
1 Find the probability that the total precipitation during
the next two years will exceed 25 inches.
2 Find the probability that next year’s precipitation will
exceed that of the following year by more than 3
inches.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 26 / 29
Problems
Example 10.
In a university examination of a particular year, 60% of
the students failed when the mean of the marks 50% and
the standard deviation was 5%. The university decided to
relax the condition of passing by lowering the passing
marks to show its result as 70% passed. Find the
minimum marks needed for a student to pass by assuming
that the marks are normally distributed ?
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 27 / 29
Normal probability rule
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 28 / 29
Normal probability rule
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 28 / 29
Normal probability rule
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 28 / 29
Thank you for your attention
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics February 21, 2024 29 / 29