Random Variables
Random Variables
Random Variables
American
German
Filipino
Chinese
Korean
Italian
Japanese
Nationality Number of Participants
American 6
German 5
Filipino 4
Chinese 2
Korean 2
Italian 4
Japanese 7
Determine the probability of the
following events:
1. What is the probability of obtaining a tail in a
single toss of a die?
2. What is the probability of obtaining a face card
in a single draw of card from a deck?
3. What is the probability of obtaining two heads in
a toss of three coins?
4. What is the probability of obtaining a prime
number in a single throw of a die?
5. What is the probability of obtaining a diamond
in a
Determine the probability of the following events:
1. What is the probability of obtaining a tail in a single
toss of a die? ANS.
2. What is the probability of obtaining a face card in a
single draw of card from a deck? ANS.
3. What is the probability of obtaining two heads in a toss
of three coins? ANS.
4. What is the probability of obtaining a prime number in
a single throw of a die? ANS.
5. What is the probability of obtaining a diamond in a
single draw of card from a deck? ANS.
Probability Distribution of the Discrete
Random Variable
STEPS:
1. List the sample space.
2. Determine the values of the required
variable.
3. Construct the frequency distribution of
the values of the random variable.
4. Construct the probability distribution of
the random variable.
Example
A basket contains 10 ripe and 4
unripe bananas. If 3 bananas were
taken at random, determine the
possible values of random variable
R (ripe bananas)
1. List the sample space.
Outcome
1. List the sample space.
Outcome
RRR
RRU
RUR
URR
UUR
URU
RUU
UUU
2. Determine the values of the required
variable.
Number of Ripe
Outcome
Bananas (R)
RRR
RRU
RUR
URR
UUR
URU
RUU
UUU
2. Determine the values of the required
variable.
Number of Ripe
Outcome
Bananas (R)
RRR 3
RRU 2
RUR 2
URR 2
UUR 1
URU 1
RUU 1
UUU 0
3. Construct the frequency distribution of the
values of the random variable.
Number of Occurrence
Number of Ripe Bananas (R)
(f)
3
2
1
0
Total
3. Construct the frequency distribution of the
values of the random variable.
Number of Occurrence
Number of Ripe Bananas (R)
(f)
3 1
2 3
1 3
0 1
Total 8
4. Construct the probability distribution
of the random variable.
Number of Number of Probability
Ripe Bananas Occurrence (f) P(R)
(R)
3 1
2 3
1 3
0 1
Total 8
4. Construct the probability distribution
of the random variable.
Number of Number of Probability
Ripe Bananas Occurrence (f) P(R)
(R)
3 1 1/8
2 3 3/8
1 3 3/8
0 1 1/8
Total 8 1
Probability Distribution Table
R 3 2 1 0
P(R)
Probability Distribution Table
R 3 2 1 0
R 3 2 1 0
P(R) 1/8 3/8 3/8 1/8
x 0 1 3 5
P(x) 1/3 1/6 1/3 1/4
Z 4 7 8 9
P(Z) 1/5 1/5 2/5 1/5
H 3 6 9
P(H) 0.65 -0.15 0.50
G 5 10 15 20 25
P(G) 0.12 0.34 0.23 0.16 0.15
Probability
Histogram
A histogram is used to represent the
relationship between the number of
values (independent variable) and the
number of occurrences (dependent
variable) of a random variable.
Example 1
A basket contains 10 ripe and 4
unripe bananas. If 3 bananas were
taken at random, determine the
possible values of random variable
R (ripe bananas)
Construct the frequency distribution of the
values of the random variable R.
Number of Occurrence
Number of Ripe Bananas (R)
(f)
3 1
2 3
1 3
0 1
Total 8
Frequency Histogram
3.5
2.5
f
2
1.5
0.5
0
3 2 1 0
R
Construct the probability distribution of
the values of the random variable R.
3 1/8
2 3/8
1 3/8
0 1/8
Total 1
0.400
Probability Histogram
0.350
0.300
0.250
P(R) 0.200
0.150
0.100
0.050
0.000
3 2 1 0
R
Example 2
Construct the probability histogram of the
probability distribution of the number of
heads.
Where mean
= frequency
= total frequency
Example:
Ages of Grade 11 Mathematics Teachers
X f fX 1. What is the value
of N?
21 2
2. What is the value
25 4 of
36 6 3. What is the value
43 2 of the mean ?
50 1
N= ∑ 𝑓𝑋=¿¿
Finding the Mean and the Variance of a
Frequency Distribution
The variance and the standard deviation of a
frequency distribution are computed by using the
following formulas:
Where = frequency
= total frequency
score
Example:
Ages of Grade 11 Mathematics Teachers
Compute the variance and the standard deviation.
X f fX f
21 2
25 4
36 6
43 2
50 1
N=
∑ 𝑓𝑋=¿¿ ∑ 𝑓 𝑋 =¿¿
2
The Mean of a Discrete Probability
Distribution
The Mean of a Discrete Probability
Distribution
To find the mean or the expected value of a discrete
probability distribution,
Where mean
X = value of the random variable
P(X) = probability value of the random variable
Example
Find the mean of the discrete random variable X with the ff. probability
distribution.
X P(X)
3
2
1
0
Example
Find the mean of the discrete random variable X with the ff.
probability distribution.
X P(X)
3
2
1
0
Step 1
Multiply the value of X by its corresponding probability value
P(X).
X P(X) XP(X)
3
2
1
0
Step 1
Multiply the value of X by its corresponding probability value
P(X).
X P(X) XP(X)
3
2
1
0 0
Step 2
Find the mean or the expected value of the probability distribution
by getting the sum of the values under the column XP(X)
= +++0
=
= 1.5
Therefore, the mean or the expected
value of the probability distribution
is 1.5.
Example 2
Find the mean or the expected value of the probability
distribution.
X P(X)
2 0.042
3 0.010
4 0.021
5 0.375
6 0.188
7 0.344
8 0.021
ACTIVITY 5
Find the mean of the discrete
probability distributions in Activity
4.
The Variance and Standard Deviation
of a Discrete Probability Distribution
The Variance and Standard Deviation of a
Discrete Probability Distribution
Variance:
Standard Deviation:
Where mean
X = value of the random variable
P(X) = probability value of the random variable
= variance
= standard deviation
Example 1
Find the variance and the standard deviation of the probability
distribution.
X P(X)
3
2
1
0
Step 1
Find the mean of the probability distribution.
X P(X) XP(X)
3
2
1
0
Step 1
Find the mean of the probability distribution.
X P(X) XP(X)
3
2
1
0 0
= +++0
=
= 1.5
Step 2
Square each value of the random variable and multiply by
the corresponding probability value
X P(X)
3
2
1
0
Step 2
Square each value of the random variable and multiply by
the corresponding probability value
X P(X)
3 9
2 4
1 1
0 0 0
Step 3
Find the variance and the standard deviation
Variance:
Standard Deviation:
Variance:
=
=
=
= 0.75
Standard Deviation:
=
=
=
Therefore, the variance is and
the standard deviation is
Example 2
Find the variance and the standard deviation
of the probability distribution.
X P(X)
2 0.042
3 0.010
4 0.021
5 0.375
6 0.188
7 0.344
8 0.021
ACTIVITY 6
Find the variance and the standard
deviation of the discrete probability
distributions in Activity 5.
Applied Problems Involving the Mean and the
Variance of a Discrete Probability Distribution
The following show the probability distribution of the
number of computers sold daily in a computer shop during
the past several months.
1. What is the probability that
No. of Probability
on a given day
Computers P(X)
X a. fewer than three computers
will be sold?
0 0.10
b. at most, two computers
1 0.20 will be sold?
2 0.45 c. at least, four computers
3 0.15 will be sold?
4 0.05 d. exactly three computers
5 0.05 will be sold?
2. Find the mean.
X P(X)
0 0.10
1 0.20
2 0.45
3 0.15
4 0.05
5 0.05
𝜇=𝐸 ( 𝑋 )=∑ [ 𝑋 ∙ 𝑃 (𝑋 ) ]
The mean of the probability distribution
is 2. This implies that in a long run, we
expect that the average number of
computers that will be sold on a given
day will be two.
3. Find the standard deviation.
X P(X) P(X)
0 0.10
1 0.20
2 0.45
3 0.15
4 0.05
5 0.05
𝜎= √ ∑ [ 𝑋 ∙ 𝑃 ( 𝑋 )] − 𝜇
2 2
The standard deviation of the probability
distribution is 1.18. this implies that on
the average, the number of computers
sold is 1.18 units from the mean.
ACTIVITY 7
No. of Probability
Tellers P(X)
X
In a convenient store, the
0 0.029
number of tellers (X) busy
1 0.049
with customers at 12:00
2 0.078
noon varies from day to
3 0.155
day. Past records indicate
4 0.212
that the probability
5 0.262
distribution of X is as
6 0.215
follows:
1. What is the probability that
exactly four tellers are busy at
12:00 noon?
2. What is the probability that, at
No. of Probability least, two tellers are busy at
Tellers P(X) 12:00 noon?
X 3. What is the probability that
0 0.029 fewer than five tellers are busy at
1 0.049 12:00 noon?
2 0.078 4. What is the probability that, at
least two, but fewer than five
3 0.155
tellers are busy at 12:00 noon?
4 0.212
5. What is the mean of the
5 0.262 probability distributions?
6 0.215 6. What is the standard deviation of
the probability distributions?