Professional Documents
Culture Documents
Sidra Raees
LECTURE 07
Department of Mathematics, NED University of
Engineering & Technology, Karachi
1
2
As an application of probability, there are two more concepts
namely random variables and probability distributions. Before
seeing the definition of probability distribution, random variable
needs to be explained. It has been a general notion that if an
experiment is repeated under identical conditions, values of the
variable so obtained would be similar. However, there are situations
where these observations vary even though the experiment is
repeated under identical conditions. As the result, the outcomes of
the variable are unpredictable and the experiments become random.
That is;
X(HH) = 2, X(HT) = 1, X(TH) = 1, X(TT) = 0
Therefore the numbers 2, 1, 0 in the above example are
random quantities determined by the outcomes of the
random experiment. Such a numerical quantity whose
value is determined by the outcome of a random
experiment, is called a random variable. Thus, the
number of heads obtained in the experiment of tossing a
coin two times in the above example are the values of
random variable.
NOTE:
The probability distribution of a discrete random variable X is
also called probability mass function or simple probability
function of the random variable X.
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
8
A discrete probability distribution must posses the
following properties:
𝑓 𝑥 ≥ 0,
σ 𝑓 𝑥 = 1,
𝑃 𝑋 = 𝑥 = 𝑓(𝑥).
Solution:
Solution:
Let X be a random variable whose values x are the
possible numbers of defective computers purchased by
the school. Then x can only take the numbers 0, 1, and 2.
Now
Solution:
The cumulative distribution function of coin is
1
𝐹 0 =𝑓 0 =
8
1 3 4
𝐹 1 =𝑓 0 +𝑓 1 = + =
8 8 8
Hence,
0, 𝑓𝑜𝑟 𝑥 < 0
1
, 𝑓𝑜𝑟 0 ≤ 𝑥 < 1
8
4
, 𝑓𝑜𝑟 1 ≤ 𝑥 < 2
8
7
, 𝑓𝑜𝑟 2 ≤ 𝑥 < 3
8
1, 𝑓𝑜𝑟 𝑥 ≥ 3
Find
(a) K
(b) 𝑃 𝑥 < 6
(c) 𝑃 𝑥 ≥ 6
(d) 𝑃 0 < 𝑥 < 5
(e) Distribution function (CDF)
(c) 𝑃 𝑥 ≥ 6 = 𝑃 6 + 𝑃 7
= 0.02 + 0.17
= 0.19