CHAPTER 1 Random Variables and Probability Distributions
CHAPTER 1 Random Variables and Probability Distributions
Steps:
1. List the sample space.
2. Count the number of the assigned value in each
outcome and assigned this number to this outcome.
3. Make a conclusion.
Suppose three coins are tossed. Let X be the
random variable representing the number of
heads that come out. Determine the values of the
random variable X.
Solution:
Determine the sample space.
S = {TTT, TTH, THT, HTT, HHT, HTH, THH, HHH}
Count the number of heads in each outcome in the sample space
and assign this number to this outcome.
Possible Outcomes Value of the Random
Variable X
(number heads)
TTT 0
TTH 1
THT 1
HTT 1
HHT 2
HTH 2 So, the possible values of the
THH 2 random variable X are 0, 1,
HHH 3 2, and 3.
An urn contains 4 green balls and 3 yellow balls. An
experiment is done such that two balls are drawn one
after the another without replacement. If Z is the
random variable that gives the number of green balls for
each outcome, find all the possible values for Z.
Solution:
Determine the sample space.
S = {GG, YG, GY, YY}
Count the number of green balls in each outcome in the sample
space and assign this number to this outcome.
Possible Outcomes Value of the Random
Variable Z
(number of green balls)
GG 2
YG 1
GY 1
YY 0
Number of 0 1 2 3
Heads (X)
Probability 1 3 3 1
P(X) 8 8 8 8
Probability P(X)
2. X 0
1
2
1
4
1
6
1
8
1
P(X)
6 6 3 6 6
3. X 1 3 5 7
P(X) 0.35 0.25 0.22 0.12
Find P(2).
Lesson 1.3
oillustrate the mean, variance, and standard
deviation of a discrete random variables.
ocompute the mean, variance, and standard
deviation of a discrete random variables.
osolve problems related to mean, variance,
and standard deviation and interpret the
results.
▪ The mean of a discrete random variable is
also called the expected value.
▪ It is the weighted average of all the values
that the random variable would assume in
the long run.
▪ The mean or expected value is denoted by
𝐸 𝑋 or 𝜇.
▪ It is computed using the formula:
𝑬 𝑿 or 𝝁 = σ[𝒙𝑷 𝒙 ]
where:
X – random variable
𝝁 – mean or expected value
x – outcome or value of the random variable
P(x) – probability of the outcome x
A distribution of the number of students who got
a GPA of 1.5 or higher in the last 5 semesters and
the corresponding probabilities is shown below.
Find the mean of the probability distribution.
Number of
6 8 10 12 14
Students (X)
Probability
0.12 0.22 0.20 0.18 0.28
P(X)
Solution:
Step 1: Construct the probability Step 2: Multiply the value of random
distribution for the random variable variable X by the corresponding
X representing the number of probability.
students who got a GPA of 1.5 or
Number of Probability
higher. Students (X) P(X)
xP(x)
Number of Probability
xP(x)
Students (X) P(X)
6 0.12 0.72 The mean obtained is 10.56. Hence,
8 0.22 1.76 the average number of students who
10 0.20 2 obtained a GPA of 1.5 or higher for
12 0.18 2.16 the past 5 semesters or more
14 0.28 3.92 semesters is 10.56.
𝒙𝑷 𝒙 = 𝟏𝟎. 𝟓𝟔
𝝁 = 𝟏𝟎. 𝟓𝟔
A survey conducted on the number of TV units
per household during the past 5 years in a first
subdivision showed the table below. Compute the
mean for the distribution.
Number of
2 3 4 5 6
TV Units (X)
Probability
0.15 0.40 0.25 0.12 0.08
P(X)
Solution:
Step 1: Construct the probability Step 2: Multiply the value of random
distribution for the random variable variable X by the corresponding
X representing the number of TV probability.
units per household.
Number of TV Probability
xP(x)
Number of TV Probability units (X) P(X)
units (X) P(X) 2 0.15 0.30
2 0.15 3 0.40 1.20
3 0.40 4 0.25 1.00
4 0.25 5 0.12 0.60
5 0.12 6 0.08 0.48
6 0.08
Step 3: Add the results obtained in Step 2.
Number of TV Probability
xP(x)
units (X) P(X)
2 0.15 0.30 Thus, the expected value/mean of
3 0.40 1.20 the number of TV units per
4 0.25 1.00 household for the past 5 years or
5 0.12 0.60 longer in the first subdivision is
6 0.08 0.48 3.58.
𝒙𝑷 𝒙 = 𝟑. 𝟓𝟖
𝝁 = 𝟑. 𝟓𝟖
The report of a weather Number of typhoons per
Probability P(X)
month X
bureau on the forecast of the 0 0.15
number of typhoons entering 1 0.35
Number of
Probability
typhoon per xP(x)
P(X)
month (X)
0 0.15 0 So, the average number of typhoon
1 0.35 0.70 that enters the country per month is
2 0.30 0.60 1.65.
3 0.10 0.30
4 0.10 0.40
𝒙𝑷 𝒙 = 𝟏. 𝟔𝟓
𝝁 = 𝟏. 𝟔𝟓
▪ It is a measure of spread or dispersion. It
measures the variation of the values of a
random variable from the mean.
▪ Alternative Formula:
𝛔𝟐 = 𝒙𝟐 𝑷 𝒙 − 𝝁𝟐
where:
x – outcome
𝝁 – population mean or expected value
P(x) – probability of the outcome x
▪ It is the square root of the variance.
▪ The standard deviation of a discrete
random variable is written as 𝜎.
▪ It is computed as:
𝝈= 𝒙 − 𝝁 𝟐𝑷 𝒙
A survey was conducted to find the number of cars each
household owns in a particular subdivision. The results
of the survey are shown below. Find the variance and
standard deviation for the probability distribution.
Number of
1 2 3 4
Cars (X)
Probability
0.25 0.35 0.30 0.10
P(X)
Solution:
Step 1: Find the expected value.
Step 2: Subtract the expected value from each
Number of Probability
xP(x) outcome. Square each difference.
Cars (X) P(X)
1 0.25 0.25
Number
2 0.35 0.70 Probability 𝟐
of Cars xP(x) 𝒙−𝝁 𝒙−𝝁
P(X)
3 0.30 0.90 (X)
2
4 0.10 0.40 1 0.25 0.25 1 - 2.25 = -1.25 −1.25 = 1.5625
2
2 0.35 0.70 2 - 2.25 = -0.25 −0.25 = 0.0625
𝝁 = 𝟐. 𝟐𝟓 3 0.30 0.90 3 - 2.25 = 0.75 0.75 2 = 0.5625
2
4 0.10 0.40 4 - 2.25 = 1.75 1.75 = 3.0625
Step 3: Multiply each square of the difference by the corresponding
probability.
Number
Probability 𝟐
of Cars xP(x) 𝒙−𝝁 𝒙−𝝁 𝒙 − 𝝁 𝟐 𝑷(𝒙)
P(X)
(X)
1 0.25 0.25 1 - 2.25 = -1.25 −1.25 2 = 1.5625 0.390625
2 0.35 0.70 2 - 2.25 = -0.25 −0.25 2 = 0.0625 0.021875
2
3 0.30 0.90 3 - 2.25 = 0.75 0.75 = 0.5625 0.16875
2
4 0.10 0.40 4 - 2.25 = 1.75 1.75 = 3.0625 0.30625
Step 4: Sum up all the figures obtained in Step 3.
Number
Probability 𝟐
of Cars xP(x) 𝒙−𝝁 𝒙−𝝁 𝒙 − 𝝁 𝟐 𝑷(𝒙)
P(X)
(X)
1 0.25 0.25 1 - 2.25 = -1.25 −1.25 2 = 1.5625 0.390625
2
2 0.35 0.70 2 - 2.25 = -0.25 −0.25 = 0.0625 0.021875
2
3 0.30 0.90 3 - 2.25 = 0.75 0.75 = 0.5625 0.16875
4 0.10 0.40 4 - 2.25 = 1.75 1.75 2 = 3.0625 0.30625
𝒙 − 𝝁 𝟐𝑷 𝒙 = 𝟎. 𝟖𝟖𝟕𝟓
𝝈𝟐 = 𝟎. 𝟖𝟗
To find the standard deviation, get the square root of the variance.
𝜎 2 = 0.89
𝜎 = 𝜎2
= 0.89 = 0.943398
𝝈 = 𝟎. 𝟗𝟒
Thus, the variance (𝝈𝟐 ) is 0.89 and the standard deviation (𝝈) is 0.94.
Using the Alternative Formula:
Number
Probability 𝛔𝟐 = 𝒙𝟐 𝑷 𝒙 − 𝝁𝟐
of Cars xP(x) 𝒙𝟐 𝒙𝟐 𝑷(𝒙)
P(X)
(X)
1 0.25 0.25 1 2
=1 0.25
= 5.95 − 2.25 2
2 0.35 0.70 2 2
=4 1.40
= 5.95 − 5.0625
3 0.30 0.90 3 2 =9 2.70
= 0.8875
4 0.10 0.40 4 2 = 16 1.60
𝝈𝟐 = 𝟎. 𝟖𝟗
𝝁 = 𝟐. 𝟐𝟓 [𝒙𝟐 𝑷 𝒙 ] = 𝟓. 𝟗𝟓 𝜎= 𝜎 2 = 0.89
𝝈 = 𝟎. 𝟗𝟒
A store selling boxes of chocolate candies found that the
probabilities of a customer will buy 0, 1, 2, or 3 boxes of
chocolate candies are shown below. Determine the
variance and standard deviation.
Number of
0 1 2 3
boxes (X)
Probability 1 1 1 1
P(X) 18 2 3 9
Solution: Step 2: Subtract the expected value from each
Step 1: Find the expected value. outcome. Square each difference.
𝒙 − 𝝁 𝟐𝑷 𝒙 = 𝟎. 𝟓𝟖𝟑
𝝈𝟐 = 𝟎. 𝟓𝟖
To find the standard deviation, get the square root of the variance.
𝜎 2 = 0.58
𝜎 = 𝜎2
= 0.58 = 0.761577
𝝈 = 𝟎. 𝟕𝟔
Hence, the variance (𝝈𝟐 ) is 0.58 and the standard deviation (𝝈) is 0.76.
Using the Alternative Formula:
Number
Probability
of Boxes
P(X)
xP(x) 𝒙𝟐 𝒙𝟐 𝑷(𝒙) 𝛔𝟐 = 𝒙𝟐 𝑷 𝒙 − 𝝁𝟐
(X)
0
1
0 0 2
=0 0 = 2.83 − 1.5 2
18 = 2.83 − 2.25
1 1 1
1
2 2
1 2
=1
2
𝝈𝟐 = 𝟎. 𝟓𝟖
1 2 2 4
2 2 =4
3 3 3 𝜎= 𝜎 2 = 0.58
1 1 2
3
9 3
3 =9 1 𝝈 = 𝟎. 𝟕𝟔
𝟑 𝟐𝑷
𝟏𝟕
𝝁 = 𝒐𝒓 𝟏. 𝟓 [𝒙 𝒙 ]= 𝒐𝒓 𝟐. 𝟖𝟑
𝟐 𝟔