Chapter 1. Random Variables and Probability Distributions (Autosaved)
Chapter 1. Random Variables and Probability Distributions (Autosaved)
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.
TTT 0
TTH 1
THT 1
HTT 1
HHT 2
HTH 2 So, the possible values of
THH 2 the
HHH 3 random variable X are 0, 1,
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.
Number of 0 1 2 3
Heads (X)
Probability 1 3 3 1
P(X) 8 8 8 8
A probability histogram
shows the relative
probabilities of the values of
a random variable in the
form of bar graph.
An urn contains 4 green balls (G) and Possible Value of the Random
Outcomes Variable Z
3 yellow balls (Y). An experiment is (number of green balls)
done such that two balls are drawn GG 2
one after the another without YG 1
replacement. If random GY 1
variable that gives the YY 0
green balls Znumber of for
construct the probability
each distribution.
outcome,
is
The possible values of the random variable Z are 0, 1, and 2.
the
Solution: Compute the probability to each value of
the random variable Z.
X 0 2 4 6 8
2. P(X) 1 1 1 1 1
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
Review:
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
Students (X) 6 8 10 12 14
Probability
P(X) 0.12 0.22 0.20 0.18 0.28
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)
6 0.12 0.72
The mean obtained is 10.56. Hence, the
8 0.22 1.76
average number of students who obtained
10 0.20 2
a GPA of 1.5 or higher for the past 5
12 0.18 2.16 semesters or more semesters is 10.56.
14 0.28 3.92
Σ [ 𝒙 𝑷(x) ] = 𝟏𝟎.𝟓𝟔
𝝁 = 𝟏𝟎. 𝟓𝟔
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
TV Units (X) 2 3 4 5 6
Probability
P(X) 0.15 0.40 0.25 0.12 0.08
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
units (X) P(X) xP(x)
Number of TV Probability
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
units (X) P(X) xP(x)
Thus, the
2 0.15 0.30 expected
3 0.40 1.20 value/mean of the
4 0.25 1.00
5 0.12 0.60 number of
6 0.08 0.48 TV units
per
household for the past 5 years or
longer in the first subdivision is
𝝁 = 𝟑. 𝟓𝟖
3.58.
The report of a weather Number of typhoons
per month X Probability P(X)
bureau on the forecast of the 0 0.15
number of typhoons entering 1 0.35
Σ [𝒙𝑷 (𝒙) ] = 𝟏. 𝟔𝟓
𝝁 = 𝟏. 𝟔𝟓
Application
It is a measure of spread or dispersion. It
measures the variation of the values of a
random variable from the mean.
𝝈= Σ 𝒙
−𝝁 𝟐𝑷 𝒙
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
Cars (X) 1 2 3 4
Probability
P(X) 0.25 0.35 0.30 0.10
Solution:
Step 1: Find the expected value.
Step 2: Subtract the expected value from
Number of Probability
Cars (X) P(X) xP(x)
each outcome. Square each difference.
1 0.25 0.25
Number
2 0.35 0.70 of Cars Probability
P(X) xP(x) 𝒙−𝝁 𝒙−𝝁 𝟐
(X)
3 0.30 0.90
4 0.10 0.40 1 0.25 0.25 1 - 2.25 = -1.25 −1.25 2 = 1.5625
2 0.35 0.70 2 - 2.25 = -0.25 −0.25 2 = 0.0625
𝝁 = 𝟐. 𝟐𝟓 3 0.30 0.90 3 - 2.25 = 0.75 0.75 2 = 0.5625
4 0.10 0.40 4 - 2.25 = 1.75 1.75 2 = 3.0625
Step 3: Multiply each square of the difference by
the corresponding probability.
Number
of Cars Probability
P(X) xP(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
3 0.30 0.90 3 - 2.25 = 0.75 0.75 2 = 0.5625 0.16875
4 0.10 0.40 4 - 2.25 = 1.75 1.75 2 = 3.0625 0.30625
Step 4: Sum up all the figures obtained in Step 3.
Number
of Cars Probability
P(X) xP(x) 𝒙−𝝁 𝒙−𝝁 𝟐 𝒙 − 𝝁 𝟐𝑷(𝒙)
(X)
Σ 𝒙 − 𝝁 𝟐𝑷 𝒙 = 𝟎. 𝟖𝟖𝟕𝟓
𝝈𝟐 = 𝟎. 𝟖𝟗
To find the standard deviation, get the square
root of the variance.
𝜎 2 = 0.89
𝜎 = 𝜎2
= 0.89 = 0.943398
𝝈 = 𝟎. 𝟗𝟒
Probability 1 1 1 1
P(X) 18 2 3 9
Step 2: Subtractthe expectedvalue from
Solution: each outcome. Square each difference.
Step 1: Find the expected value.
Number of Probability Number
Boxes (X) P(X) xP(x) of Boxes Probability
P(X) xP(x) 𝒙−𝝁 𝒙−𝝁 𝟐
(X)
1
0 0
18 1
0 0 0 – 1.5 = -1.5 −1.5 2 = 2.25
1 1 18
1
2 2 1 1
1 1 - 1.5 = -0.5 −0.5 2 = 0.25
1 2 2 2
2
3 3 1 2
2 2 - 1.5 = 0.5 0.5 2 = 0.25
1 1 3 3
3
9 3 1 1
3 3 – 1.5 = 1.5 1.5 2 = 2.25
9 3
𝝁 = 𝟑 𝒐𝒓
𝟐
𝟏. 𝟓
Step 3: Multiply each square of the difference by the
corresponding
probability.
Number
of Boxes Probability
P(X) xP(x) 𝒙−𝝁 𝒙−𝝁 𝟐 𝒙 − 𝝁 𝟐𝑷(𝒙)
(X)
1
0 0 0 – 1.5 = -1.5 −1.5 2 = 2.25 0.125
18
1 1
1 1 - 1.5 = -0.5 −0.5 2 = 0.25 0.125
2 2
1 2
2 2 - 1.5 = 0.5 0.5 2 = 0.25 0.083
3 3
1 1
3 3 – 1.5 = 1.5 1.5 2 = 2.25 0.25
9 3
Step 4: Sum up all the figures obtained in Step 3.
Number
of Boxes Probability
P(X) xP(x) 𝒙−𝝁 𝒙−𝝁 𝟐 𝒙 − 𝝁 𝟐𝑷(𝒙)
(X)
1
0 0 0 – 1.5 = -1.5 −1.5 2 = 2.25 0.125
18
1 1
1 1 - 1.5 = -0.5 −0.5 2 = 0.25 0.125
2 2
1 2
2 2 - 1.5 = 0.5 0.5 2 = 0.25 0.083
3 3
1 1
3 3 – 1.5 = 1.5 1.5 2 = 2.25 0.25
9 3
Σ 𝒙 − 𝝁 𝟐𝑷 𝒙 = 𝟎. 𝟓𝟖𝟑
𝝈𝟐 = 𝟎. 𝟓𝟖
To find the standard deviation, get the
square root of the variance.
𝜎 2 = 0.58
𝜎 = 𝜎2
= 0.58 = 0.761577
𝝈 = 𝟎. 𝟕𝟔