Probability Mass Function of A Discrete Random Variable
Probability Mass Function of A Discrete Random Variable
In this lesson, we shall learn about how to construct and calculate the
probability mass function of a discrete random variable.
Essential Questions
Histogram
A histogram is a graph of a probability mass function.
Histogram
Example:
A coin is flipped three times. Let 𝑋 be the number of heads
that appear in flipping a coin. The histogram that represents
the probability mass function is shown on the next slide.
Learn about It!
Histogram
Example:
Try it!Practice
Let’s
Example 1: Two coins are tossed. Let 𝐻 be the number of heads that occur. Construct the
probability distribution for the random variable 𝐻 and its corresponding histogram.
Solution:
1. Determine the values for the random variable 𝐻.
Example 1: Two coins are tossed. Let 𝐻 be the number of heads that occur. Construct the
probability distribution for the random variable 𝐻 and its corresponding histogram.
Solution:
In this sample space, we will Outcomes 𝑯
have the following values for 𝐻𝐻 2
the random variable 𝐻. 𝐻𝑇 1
𝑇𝐻 1
Thus, 𝐻 = 0, 1, 2. 𝑇𝑇 0
Solution to Let’s Practice
Example 1: Two coins are tossed. Let 𝐻 be the number of heads that occur. Construct the
probability distribution for the random variable 𝐻 and its corresponding histogram.
Solution:
2. Construct the probability distribution for the random
variable.
𝑯 0 1 2
1 1 1
𝑷(𝑯)
4 2 4
Solution to Let’s Practice
Example 1: Two coins are tossed. Let 𝐻 be the number of heads that occur. Construct the
probability distribution for the random variable 𝐻 and its corresponding histogram.
Solution:
3. Construct the histogram for the probability distribution.
The horizontal axis will have the values for 𝐻, and the
vertical axis will have the probability values. The height of
each bar is the same with the probability value.
Solution to Let’s Practice
Example 1: Two coins are tossed. Let 𝐻 be the number of heads that occur. Construct the
probability distribution for the random variable 𝐻 and its corresponding histogram.
Solution:
Try it!Practice
Let’s
Example 2: A train contains girls and boys. If three persons are taken from the train one
after the other, determine the possible values of the random variable 𝐺 representing the
number of girls. Construct its corresponding histogram.
Solution:
1. Determine the values for the random variable 𝐺.
Example 2: A train contains girls and boys. If three persons are taken from the train one
after the other, determine the possible values of the random variable 𝐺 representing the
number of girls. Construct its corresponding histogram.
Solution:
1. Determine the values for the random variable 𝐺.
Example 2: A train contains girls and boys. If three persons are taken from the train one
after the other, determine the possible values of the random variable 𝐺 representing the
number of girls. Construct its corresponding histogram.
Solution:
Outcomes 𝑮 Outcomes 𝑮
𝐺𝐺𝐺 3 𝐵𝐵𝐺 1
𝐺𝐺𝐵 2 𝐵𝐺𝐵 1
𝐺𝐵𝐺 2 𝐺𝐵𝐵 1
𝐵𝐺𝐺 2 𝐵𝐵𝐵 0
Solution to Let’s Practice
Example 2: A train contains girls and boys. If three persons are taken from the train one
after the other, determine the possible values of the random variable 𝐺 representing the
number of girls. Construct its corresponding histogram.
Solution:
Thus, 𝐺 = 0, 1, 2, 3.
Solution to Let’s Practice
Example 2: A train contains girls and boys. If three persons are taken from the train one
after the other, determine the possible values of the random variable 𝐺 representing the
number of girls. Construct its corresponding histogram.
Solution:
2. Construct the probability distribution for the random
variable.
𝑮 0 1 2 3
1 3 3 1
𝑷(𝑮)
8 8 8 8
Solution to Let’s Practice
Example 2: A train contains girls and boys. If three persons are taken from the train one
after the other, determine the possible values of the random variable 𝐺 representing the
number of girls. Construct its corresponding histogram.
Solution:
3. Construct the histogram for the
probability distribution.
Try It!
Individual Practice:
𝑋−1
𝑃(𝑋) = , where 𝑋 = 0, 1, 2, 3
2
Try It!
Individual Practice:
𝑋+1
𝑃 𝑋 = , where 𝑋 = 0, 1, 3
7
Try It!
Pishro-Nick, H. “Probability Mass Function (PMF).” Probability Course. Retrieved 27 June 2019 from
http://bit.ly/30Apjws