Professional Documents
Culture Documents
Chapter 4
Chapter 4
Chapter 3
Random Variables and Probability Distributions
Example: Let (𝛺, ℱ, ℙ) be the probability space for rolling a pair of dice, and let
X: 𝛺 → ℤ be the random variable that gives the sum of the numbers on the two
dice. So
A discrete random variable is one which may take on only a countable number of
distinct values such as 0, 1, 2, 3, 4, ... Discrete random variables are usually (but
not necessarily) counts. If a random variable can take only a finite number of
distinct values, then it must be discrete. Examples of discrete random variables
include the number of children in a family.
Definition: The set of ordered pairs (x, f(x)) is a probability function, probability
mass function, or probability distribution of the discrete random variable X if, for
each possible outcome x,
1. f(x) ≥ 0
2. ∑𝒙 𝒇(𝒙) = 𝟏
3. P(X = x) = f(x)
Y = Sum of the up faces of the two die. Table gives value of y for all elements in S
Red\Green 1 2 3 4 5 6
1 2 3 4 5 6 7
2 3 4 5 6 7 8
3 4 5 6 7 8 9
4 5 6 7 8 9 10
5 6 7 8 9 10 11
6 7 8 9 10 11 12
y p(y) F(y)
2 1/36 1/36
3 2/36 3/36
4 3/36 6/36 # of ways 2 die can sum to y
p( y ) =
5 4/36 10/36 # of ways 2 die can result in
6 5/36 15/36 y
7 6/36 21/36 F ( y) = p(t)
8 5/36 26/36 t =2
9 4/36 30/36
10 3/36 33/36
11 2/36 35/36
12 1/36 36/36
0,2 Dice Rolling Probability Function
0,1
p(y)
0
2 3 4 5 6 7 8 9 10 11 12
y
0,75
F(y)
0,5
0,25
0
1 2 3 4 5 6 7 8 9 10 11 12 13
y
Definition: The function f(x) is a probability density function (pdf) for the
continuous random variable X, defined over the set of real numbers, if
𝒃
3. P(a < X <b) = ∫𝒂 𝒇(𝒙)𝒅𝒙
𝒙
F(X) = P(X ≤ x) =∫−∞ 𝒇(𝒕)𝒅𝒕
Definition: Let X be a random variable with probability distribution f(x). The
mean, or expected value, of X is:
And
+∞
𝑬(𝑿) = ∫−∞ 𝒙 𝒇(𝒙)𝒅𝒙 if X is continuous.
Worksheet 3
Exercise 1-
X 0 1 2 3 4 5 6
PX 0. 40 0.15 0.15 0.10 0.10 0.05 0.05
Exercise 2-
X 0 1 2 3
Px A B C D
1) Determine A, B, C and D if:
p(X<1)=0.2
p(X>2)=0.6
p(X=1) = p(X=2)
Exercise 3-
A biased die with six faces is rolled. The discrete random variable X represents
the score on the uppermost face. The probability distribution of X is shown in the
table below.
x 1 2 3 4 5 6
P(X=x) a a a b b 0.3
a) Given that E(X) = 4.2. Find the value of a and the value of b.
b) Show that E(X2) = 20.4
c) Find Var(5-3X)
A biased die with five faces is rolled. The discrete random variable Y represents
the score which is uppermost. The cumulative distribution function of Y is shown
in the table below.
y 1 2 3 4 5
F(y) 1/10 2/10 3k 4k 5k
Exercise 4-
𝒌𝒙 𝒙 = 𝟐, 𝟒, 𝟔
𝒑(𝑿 = 𝒙) = {𝒌(𝒙 − 𝟐) 𝒙=𝟖
𝟎 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
where k is constant.
The probability of R is
r 2 4 6
P(R=r) 2/3 1/6 1/6
d) Find E(R)
e) Find Var(R)
Exercise 6-
y 1 2 3 4
P(Y=y) a b 0.3 c
y 1 2 3 4
F(y) 0.1 0.5 d 1.0
Where d is a constant
a) Find the value of a, the value of b the value of c and the value of d.
b) Find p(3Y+2≥8)