Lesson 1:: Random Variable
Lesson 1:: Random Variable
Random
Variable
Objectives:
1. Illustrate a random variable (discrete and continuous).
In the illustration,
random variable is
represented by the
uppercase X. the
lowercase x represents
the specific values.
Discrete Random Variable
x 1 2 3 4
b.
P(x)
=1
Example 4:
The spinner below is divided into eight sections. Let X be the score
where the arrow will stop (numbered as 1, 2, 3, and 4).
x 1 2 3 4
b.
P(x)
=1
Example 5:
When two fair dice are thrown simultaneously, the
following are the possible outcomes.
(1, 1) (1, 2) (1, 3) (1, 4) (1, 5) (1, 6)
(2, 1) (2, 2) (2, 3) (2, 4) (2, 5) (2, 6)
(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) (3, 6)
(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) (4, 6)
(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) (5, 6)
(6, 1) (6, 2) (6, 3) (6, 4) (6, 6) (6, 6)
The probabilities of each of the possible values P(x) are given below.
1
𝑃 ( 2 )=𝑃 ( 1 ,1 ) =
36
2 1
𝑃 ( 3 )= 𝑃 ( 1 , 2 )+ 𝑃 ( 2 , 1 )= =
36 18
3 1
𝑃 ( 4 )= 𝑃 ( 1 ,3 ) + 𝑃 ( 2 , 2 ) + 𝑃 ( 3 ,1 ) = =
36 12
4 1
𝑃 ( 5 )= 𝑃 ( 1 , 4 )+ 𝑃 ( 2 , 3 ) + 𝑃 ( 3 , 2 ) + 𝑃 ( 4 , 1 )= =
36 9
5
𝑃 ( 6 )= 𝑃 ( 1 , 5 ) + 𝑃 ( 2 , 4 ) + 𝑃 ( 3 , 3 ) + 𝑃 ( 4 ,2 )+ 𝑃 ( 5 , 1 )=
36
6 1
𝑃 ( 7 )= 𝑃 ( 1 , 6 ) + 𝑃 ( 2 ,5 )+ 𝑃 ( 3 , 4 ) + 𝑃 ( 4 ,3 ) + 𝑃 ( 5 , 2 ) + 𝑃 ( 6 , 1 )= =
36 6
5
𝑃 ( 8 )= 𝑃 ( 2 , 6 )+ 𝑃 ( 3 , 5 ) + 𝑃 ( 4 , 4 )+ 𝑃 ( 5 , 3 ) + 𝑃 (6 ,2)=
36
4 1
𝑃 ( 9 )= 𝑃 ( 3 , 6 )+ 𝑃 ( 4 , 5 ) + 𝑃 (5 , 4 )+ 𝑃 (6 , 3)= =
36 9
3 1
𝑃 ( 10 )= 𝑃 ( 4 , 6 ) + 𝑃 ( 5 ,5 ) + 𝑃 ( 6 , 4 )= =
36 12
2 1
𝑃 ( 11 ) =𝑃 (5 ,6 ) + 𝑃 ( 6 ,5 )= =
36 18
1
𝑃 ( 12 ) =𝑃 ( 6 , 6 ) =
36
+ + + + +
=1
a. Determine P(2).
Use the second property of discrete probability distribution
to determine P(2).
∑ 𝑃 ( 𝑥) =𝑃 ( 0) +𝑃 (1 )+ 𝑃 ( 2) +𝑃 ( 3) +𝑃(4)
1= 0.1+ 0.2+ 𝑃 ( 2 ) +0.2+ 0.2
1=0.7+ 𝑃 ( 2 )
𝑃 ( 2 )=1 −0.7
𝑃 ( 2 )=0.3
The probability histogram is shown below.
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
0 1 2 3 4
Example 7:
A discrete random variable X has the following probability
distribution as follows:
x 1 2 3 4
P(x) 0.21 29c 0.29 0.21
a. Determine c.
Use the second property of discrete probability distribution
to determine c.
∑ 𝑃 ( 𝑥) =𝑃 ( 0) +𝑃 (1 )+ 𝑃 ( 2) +𝑃 ( 3) +𝑃(4)
1=0.21+29 𝑐 +0.2 9+0.2 1
1=0.71+ 29 𝑐
29 𝑐=1 −0.7 1
0.29
29 𝑐=0. 29 𝑐= 𝑐=0.01
29
ss o n 1
o f L e
E nd