Chapter 3 2022
Chapter 3 2022
Chapter 3
Random Variables and
Probability Distributions
Quantitative RV Qualitative RV
f ( x) 1
all x
x
F(x n ) f(x) dx
aX 0 X 1
a 1 X 2
f ( x)
- aX 3a 2X3
0 elsewhere
• 1. Find the constant a
• 2. Find the probability
Solution:
1 2 3
ax dx a dx (ax 3a)dx 1
0 1 2
Dr. Yehya Mesalam 8
Solution:
1 3
x 2
2
ax1 a
x
3aX 1
2
a
2 0 2 2
2a=1, then a=0.5
X
2 0 X 1
1
1 X 2
f ( x) 2
-X 3
2 2 2X3
0
elsewhere
1 1.5
1 1 1 1
P( x 1.5) xdx dx (1.5 1) 0.5
20 2 1 4 2
Dr. Yehya Mesalam 9
Example
2x 1
x 0, 1, 2, 3, 4
f ( x) 25
0 otherwise
• Required:
(a) P(x=4) (b) P(2 x 4)
(c) P( x 1) (d) P(x>-6)
Solution:
x 0 1 2 3 4 sum
f(x) 0.04 0.12 0.2 0.28 0.36 1
Cumulative F(x) 0.04 0.16 0.36 0.64 1
(a) P(x=4)=0.36
or P(x=4) = F(4) – F(3) = 1- 0.64 = 0.36
Dr. Yehya Mesalam 10
Solution:
(b) P(2 x 4) p(2) p(3) p(4)
0.2+0.28+0.36=0.84
or = F(4) – F( 1) = 1 – 0.16 = 0.84
(c) P( x 1) 0.16
(d) P(x>- 6) =1
0 x 1
1
2 1 x 2
F x 5
2 x3
6 x3
1 Graph of F(x) (step function)
Let X = # heads.
No. of Heads
H
H 2
T T T 1
H 3
H
H T 2
H 2
H T T 1
T H 2
H T 1
T H 1
Dr. Yehya Mesalam
T T 0 15
Solution:
X 0 1 2 3 4
f 1 4 6 4 1
15/16 16/16
11/16
5/16
1/16
P[(X, Y ) ∈ A] = P(X + Y ≤ 1) =
f(0, 0) + f(0, 1) + f(1, 0)