Unit 15 Continuous Uniform and Exponential Distributions: Structure
Unit 15 Continuous Uniform and Exponential Distributions: Structure
Unit 15 Continuous Uniform and Exponential Distributions: Structure
15.1 INTRODUCTION
In Units 13 and 14, you have studied normal distribution with its various
properties and applications. Continuing our study on continuous distributions,
we, in this unit, discuss continuous uniform and exponential distributions. It
may be seen that discrete uniform and geometric distributions studied in Unit
11 and Unit 12 are the discrete analogs of continuous uniform and exponential
distributions. Like geometric distribution, exponential distribution also has the
memoryless property. You have also studied that geometric distribution is the
only discrete distribution which has the memoryless property. This feature is
also there in exponential distribution and it is the only continuous distribution
having the memoryless property.
The present unit discusses continuous uniform distribution in Sec. 15.2 and
exponential distribution in Sec. 15.3.
Objectives
After studing the unit, you would be able to:
define continuous uniform and exponential distributions;
state the properties of these distributions;
explain the memoryless property of exponential distribution; and
solve various problems on the situations related to these distributions.
1
for a x b
f x b a
0, otherwise
57
Continuous Probability The distribution is called uniform distribution since it assumes a constant
Distributions
(uniform) value for all x in (a, b). If we draw the graph of y = f(x) over x-axis
and between the ordinates x = a and x = b (say), it describes a rectangle as
shown in Fig. 15.1
1
ba
X
a b
Fig. 15.1: Graph of uniform function
For x b
x
F x P X x f x dx
a b
f x dx f x dx f x dx
a b
a b
1
0 dx
a
ba
dx 0 dx
b
1 b ba
=0+ x a 0 = 1.
ba ba
So,
0 for x a
x a
Fx for a x b
b a
1 for x b
58
On plotting its graph, we have Continuous Uniform and
Exponential Distributions
Fx
a b
Fig. 15.2: Graph of distribution function
b
1 x2 1 b2 a 2
=
b a 2 a b a 2 2
=
b a b a
ab
2b a 2
b b
1 1 x3 1 b3 a 3
= x2. dx = =
a
ba b a 3 a ba 3 3
b3 a 3
=
3 b a
b a b2 ab a 2
= x 3 y 3 x y x 2 xy y 2
3 b a
a 2 ab b 2
3
2
2 a 2 ab b 2 a b
2
Variance of X = E(X ) – [E(X)] =
3 2
2
4 a 2 ab b 2 3 a b
12
59
Continuous Probability
Distributions 4a 2 4ab 4b 2 3a 2 3b 2 6ab
12
2
b2 a 2 2ab b a
.
12 12
2
So, Mean =
ab
and Variance =
b a .
2 12
Let us now take up some examples on continuous uniform distribution.
Example 1: If X is uniformly distributed with mean 2 and variance 12, find
P[X < 3].
Solution: Let X U [a, b]
probability density function of X is
1
f x , a x b.
ba
Now as Mean = 2
ab
2
2
a+b=4 … (1)
Variance = 12
2
b a 12
12
2
b a 144
b – a = 12
Variance =
b a
12 0
144
12.
12 12 12
S.D. = 12
Thus, the coefficient of variation
S.D.
= 100 [Also see Unit 2 of MST-002]
Mean
12
100 = 57.74%
6
Example 3: Metro trains are scheduled every 5 minutes at a certain station. A
person comes to the station at a random time. Let the random variable X count
the number of minutes he/she has to wait for the next train. Assume X has a
uniform distribution over the interval (0, 5). Find the probability that he/she
has to wait at least 3 minutes for the train.
Solution: As X follows uniform distribution over the interval (0, 5),
probability density function of X is
1 1 1
f x , 0 x5
ba 50 5
Thus, the desired probability
5 5 5
1 1
P X 3 f x dx dx 1 dx
3 3
5 53
1 5 1 2
x 3 5 3 0.4
5 5 5
E2) A random variable X has a uniform distribution over (–2, 2). Find k for
1
which P[X > k] = .
2
61
Continuous Probability Now, let us discuss exponential distribution in the next section.
Distributions
x
ex x x
x
1 e 0 e e
0
0
e x 1 1 e x .
1 e x for x 0
So, F x .
0, elsewhere
x ex dx
0
ex
ex
x 1 dx [Integrating by parts]
0 0
62
Continuous Uniform and
1 ex
Mean 0 0 Exponential Distributions
0
1 1 1
2 0 1 2 .
Now, E X 2 x 2f x dx x 2 e x dx
0 0
x 2e x dx
0
ex ex
= x 2 2x dx [Integrating by parts]
0 0
2
0 0 x e x dx
0
2 2
0 0
x e x dx = x ex dx
2
E X
21
[E(X) is mean and has already been obtained]
2
2
2
2 1 2 1 1
Thus, Variance = E(X2) – [E(X)] 2 = 2
2 2 2
1 1
So, Mean = and Variance = 2 .
1 1 Mean
Remark 1: Variance = 2
Mean = Variance
.
So,
Value of Implies
<1 Mean < Variance
=1 Mean = Variance
>1 Mean > Variance
63
Continuous Probability Memoryless Property of Exponential Distribution
Distributions
Now, let us discuss a very important property of exponential distribution and
that is the memoryless (or forgetfulness) property. Like geometric distribution
in the family of discrete distributions, exponential distribution is the only
distribution in the family of continuous distributions which has memoryless
property. The memorless property of exponential distribution is stated as:
If X has an exponential distribution, then for every constant a 0, one has
P[X x + a X a] = P X x for all x i.e. the conditional probability of
waiting up to the time ' x a ' given that it exceeds ‘a’ is same as the
probability of waiting up to the time ‘ x ’. To make you understand the above
concept clearly let us take the following example: Suppose you purchase a TV
set, assuming that its life time follows exponential distribution, for which the
expected life time has been told to you 10 years (say). Now, if you use this TV
set for say 4 years and then you ask a TV mechanic, without informing him/her
that you had purchased it 4 years ago, regarding its expected life time. He/she,
if finds the TV set as good as new, will say that its expected life time is 10
years.
So, here, in the above example, 4 years period has been forgotten, in a way,
and for this example:
P[life time up to 10 years]
= P[life time up to 14 years | life time exceeds 4 years]
i.e. P[X 10] = P [X 14 X 4]
or P[X 10] = P[X 10 + 4 X 4]
Here a = 4 and x = 10.
Let us now prove the memoryless property of exponential distribution.
X x a X a
Proof: P X x a X a [By conditional probability]
P X a
where
P X x a X a P a X x a
xa xa
x
f x dx e dx
a a
xa
ex e x a e a
a
x a
e ea e x .ea ea
x e x a a
P[X a] = f x dx = e dx 0 e e
a a a
64
e a 1 e x Continuous Uniform and
P X x a X a 1 e x Exponential Distributions
ea
x
Also, P[ X x ] e x dx
0
x ex
Ae dx 1 A 1
0 (1) 0
–A [0 –1] = 1 A = 1
f x e x
=1
1 1
Hence, mean = 1,
1
1 1
and variance = 1.
2 1
So, the mean and variance are equal for the given exponential distribution.
Example 5: Telephone calls arrive at a switchboard following an exponential
distribution with parameter = 12 per hour. If we are at the switchboard, what
is the probability that the waiting time for a call is
i) at least 15 minutes
ii) not more than 10 minutes.
Solution: Let X be the waiting time (in hours) for a call.
f x ex , x 0
= 1– e 2 = 1– (0.1353) = 0.8647
Now, we are sure that you can try the following exercises.
E3) What are the mean and variance of the exponential distribution given
by:
f x 3e3x , x 0
E4) Obtain the value of k > 0 for which the function given by
f x 2e kx , x 0
66
We now conclude this unit by giving a summary of what we have covered in it. Continuous Uniform and
Exponential Distributions
15.4 SUMMARY
Following main points have been covered in this unit.
1) A random variable X is said to follow a continuous uniform (rectangular)
distribution over an interval (a, b) if its probability density function is given
by
1
for a x b
f x b a
0, otherwise
ab
2) For continuous uniform distribution, Mean and
2
2
variance
b a .
12
3) A random variable X is said to follow exponential distribution with
parameter > 0, if it takes any non-negative real value and its probability
density function is given by
ex for x 0
f x
0 , elsewhere
1 1
4) For exponential distribution, Mean = and Variance = 2 .
5) Mean > or = or < Variance according to whether > or = or < 1.
6) Exponential distribution is the only continuous distribution which has
the memoryless property given by:
P[X x + a X a] = P[X x].
15.5 SOLUTIONS/ANSWERS
E1) As X U[ a, a],
probability density function of X is
1 1 1
f x , a x a .
a ( a) a a 2a
1
i) Given that P[X > 4] =
3
a
1 1
2a dx 3
4
1 1
x a4
2a 3
67
Continuous Probability a4 1
Distributions
2a 3
3a – 12 = 2a
a = 12.
3
ii) P X 1
4
1
1 3
dx
a
2a 4
1 3
x 1 a
2a 4
1 3
1 a
2a 4
3
1+ a = a
2
2 2a 3a
a2
iii) P X 2 P X 2
X 2 X 2
X 2 or X 2
2 X 2 and
P 2 X 2 P X 2 or X 2
X 2 X 2
X 2or X 2
X 2or X 2
By Addition law of
P 2 X 2 P X 2 P X 2 probability for mutually
exclusive events
2 2 a
1 1 1
dx dx dx
2
2a a
2a 2
2a
1 1 1
2a
4 2 a a 2
2a 2a
4 (2 a) (a 2)
4 4 2a
2a = 8
a=4
E2) As X ~ U [ 2, 2],
1
f x , 2 x 2.
68 4
1 Continuous Uniform and
Now P X k Exponential Distributions
2
2
1 1
4dx 2
k
2k 1
4 2
2–k=2
k = 0.
E3) Comparing it with the exponential distribution given by
f x e x , x 0
We have = 3
1 1 1 1
Mean = and Variance = 2
3 9
E4) As the given function is exponential distribution i.e. a p.d.f.,
f x dx 1
0
we have
= 2 and = k
k=2
1
x
E5) Here P X x F x 1 e x = 1 – e 20
ii) P[First accident occurs on second week from starting of working day
on Tuesday till end of working day on Wednesday]
=P[First accident occurs after 7 working days
and before the end of 9 working days]
= P[7 < X 9]
= P[X 9] – P[X 7]
69
Continuous Probability 9 7
Distributions
1 e 20 1 e 20
9 7
20 20
e e
7 9
20 20
e e
e0.35 e 0.45
= 0.7047 – 0.6376 [See the table give at the end of Unit 10]
= 0.0671.
70