Discrete Random Variables TD
Discrete Random Variables TD
Subject: Mathematics 2
Exercise 1:
1 2 3 4 5 6
( = )a 2a 3a 3a 2a a
With ∈ ℝ.
Exercise 2:
In a population of 3000 individuals, 1470 have blood type O, 1140 have the
type A, 300 type B and the rest type AB. Let X be the random variable that associates with each individual the
0, 1, 2 or 3 if the person has blood type O, A, B, AB respectively.
1) Determine the probability distribution of the random variable X.
Exercise 3:
Exercise 4:
1
Exercise 5:
In a hotel, an average of 1.25 people arrive every 10 minutes between 3 PM and 9 PM. Let X be the
number of people arriving at this hotel every 10 minutes during this particular time period.
Exercise 6:
A receptionist receives an average of two calls per hour. If he/she is absent for one hour, what
What is the probability that he does not miss any call? And what is the probability that he misses one?
Exercise 1:
1 2 3 4 5 6
( = ) a 2a 3a 3a 2a a
With ∈ ℝ.
We know well that ( = ) = ( ) , and for that be a probability law, it must be that
( ) greater than or equal to 0
check: { 6
∑ =1 ( ) = 1
∑ ( ) = 1⇒ ( 1+ ) (
2+ ) 3+ ( ) 4+ ( 5)+ ( 6=)1 ( )
=1
⇒ (1+) 2 ( +) 3 +( ) 4 + ( )5 + ( 6=
) 1 ( )
a + 2a + 3a + 3a + 2a + a =1
⇒ 12a =1
⇒ = = ,
2) Calculate ( )
≤ 3and ( 4 )
▪ P (X ≤ 3 )= ( = 1+ ) X =( 2+ ) = 3(
X )
2
1 1
⇒ P (X ≤ 3 )a + 2a + 3a =6 = 6× =
12 2
⇒ ( ≤ )= = ,
( > 4) =) ?
▪ P(X
1 1
( > 4) =) 2a + a = 3a = 3 ×
⇒ P(X =
12 4
⇒ ( > )= = ,
Method 2: (4= 1− ) X ≤ 4 ( )
( ≤ 4)= ( = 1+ ) X =( 2+ )X = 3+
( + )=4 ( )
1 3
⇒ P (X ≤ 3 )= a + 2a + 3a + 3a = 9a = 9 × =
12 4
3
⇒ P (X ≤ 3 )=
4
31
( > 4) =) 1− =
⇒ P(X
4 4
⇒ ( > )= = ,
⇒ ( )(= )1×
( 1+( 2) )× ( 2 +3( ×) P) 3( +4 × (P ) 4) (+5 × P (5 ) ) ( )
+ 6×
( 6( ))
⇒ ( ))= 1×
( + )2 ×(2a+ 3 ×) 3a+
( 4 × 3a+
) (5 × 2a+ )6× ( ) (
1 7
⇒ ( )= a + 4a + 9a +12a +10a +6a = 42a = 42 × =
12 2
⇒ ( )= = ,
Variance: =( ) −( ) ( ( ) ) with ( =) = ∑ ( )
3
6
2) 2 ( = )1× ( 21+ 2 ( ×) ) 2( 2+3 × ( ) 3)
( =∑ (+42 × (4 ) ) ( 2 ( ))
=1
+ (5 2 × 5( ) +6×
) ( 2
6 ( ))
2 2 2 2 2 2 2
⇒ ( ()= 1× + 2) × (2a + 3 )×3a( + 4 × )3a (+ 5 ×2a) +6×
( ) ( )
2 1 85
⇒ ( )= a + 8a + 27a + 48a + 50a + 36 = 170a =170 × =
12 6
2 85
⇒ ( )= = 1417
6
On a: ( =) ( −) ( ( ))
⇒ ( )= ,
Exercise 2:
In a population of 3000 individuals, 1470 have blood type O, 1140 have the
Type A, 300 type B and the rest type AB. Let X be the random variable that associates with each
individuals the value 0, 1, 2, or 3 if the person has respectively blood type O, A,
B, AB.
⇒ AB = Ω -( O+ A+ B)
⇒ AB = 90
4
By definition we have: ( ) = ({ ∈ Ω / ( )= })
That is to say:
1470
• (0 ) = ({ ∈ Ω / X omega
( ) = 0=}) (= ) =
Ω 3000
⇒ ( )= ,
1140
• (1=) ∈Ω/X
({ (
Omega =) 1= }) =( ) =
Ω 3000
⇒ ( )= ,
300
• (2 ) = ({ ∈ Ω / X omega
( ) = 2=}) (= ) =
Ω 3000
⇒ ( )= ,
90
• (3 ) = ({ ∈ Ω / X Omega
( ) = 3=}) ( =) =
Ω 3000
⇒ ( )= ,
0 1 2 3
( = ) 0.49 0.38 0,1 0.03
⇒ ( )(= ) 0×
( 0 ( )+1×
) ( 1+ 2( ×) ) (2 +3 ×( P) ) 3 ( )
⇒ ( ))= 0×
( 0.49 + 1×
) 0.38+
( 2 ×)0,1+
( 3× 0.03
) (
⇒ ( )= ,
2 2 2 2 2
⇒ ( ()= 1× 0.49+ 2 )× 0.38
( + 3 ×0,1+
) ( 4 × 0.03
) ( )
2
⇒ ( )3.39
On a : ( )= ( )
− ( ( ))
5
⇒ ( )= ,
Standard deviation: = √( )
⇒ = √ 2.9411
⇒ = ,
Exercise 3:
We can see that: : Ω → 0,{1, 2, 3, …200 (it is}a discrete random variable).
So follows the binomial law of size = 200 and parameter = 0,05 , we then write
↳ B( ; , )
( ) = 2000.051-0.05
( ) ( ) 200− with ∈ 012,
{ 3, … , 200( }represents the number
of defective components)
⇒ ( )= ( , ) ( , ) − with ∈ 0,
{ 1, 2, 3, … , 200 }
(0 ) = 0 ( )0.95
0( ) 200−0 = 0 ( ) 200
2000.05 2000.95
0 200!
With 200 = =1
0! (200-0 ! )
(0 )) = (0.95 200
⇒
−
⇒ ( )= , ×
(2 ) = 2 ( )0.95
2( ) 200−2 = 2 ( )20.95
( ) 198
2000.05 2000.05
−
⇒ ( )= , ×
Exercise 4:
↳ B( ; , )
( ) = 200.251-0.25
( ) ( ) 20− with ∈ 0,
{ 1, 2, 3, … , 20(} represents the number of
correct answers
⇒ ( )= ( , ) (, ) − with ∈ 011,
{ 2, 3, … , 20 }
What is the probability that this student will fail all the questions?
(0 ) = 0 ( )0.75
0( ) 20−0 = 0 ( ) 20
200.25 200.75
0 20!
With 20= =1
0! (20−0! )
(0 )) = (0.75 20
⇒
−
⇒ ( )= , × ≅ ,
⇒ )3 (
(3 ) =18 ×19 ×10 ×0.25 ( 0.75 ) 17
⇒ ( )= ,
4) What is the probability that this student gives at most 2 correct answers?
(1=) 1 ( ) 20-1 = 1 ( ) 19
• 200.25 )1 ( 200.25 )10.75
(
⇒ (1=
) 20 × 0.25
( )1 (
0.75 ) 19
⇒ ( )= ,
(2 ) = 2 ( ) 20−2 = 2 ( ) 18
200.25 )0.75
• 2( )20.75
(
200.25
⇒ (3 ) =190 ×0.25
( )2 (
0.75 ) 18
7
−
⇒ ( )= , × ≅ ,
⇒ ( ≤ )= ,
Exercise 5:
In a hotel, an average of 1.25 people arrive every 10 minutes between 3 PM and 9 PM. Let X be the
number of people arriving at this hotel every 10 minutes during this specific schedule.
The random variable follows the Poisson distribution of parameterλ > 0, with : ( )= − where
!
= 1,25(k represents the number of people arriving at this hotel every 10 minutes in this
special schedule.
, − ,
⇒ ( )= !
1,252
(2 ) = −1250.224
2!
⇒ ( )= ,
( <= 2)= 0( +
) 1+( ) 2 + ( )3 + ( 4) ( )
125 0
• 0( )= −1,250.287
0!
1,25 1
• 1=
( ) −1,250.358
1!
1,25 3
• 3( )= −1,250.093
3!
125 4
• 4( )= −1,250.029
4!
So: <=
( 2= 0,287
) + 0,358 + 0,224 + 0,093 + 0,029
⇒ ( ≤ )= ,
Exercise 6:
A receptionist receives an average of two calls per hour. If they are absent for an hour, what
What is the probability that he misses no calls?
8
The random variable follows the Poisson law with parameterλ > 0, with: ( )= − where
!
⇒ ( )= −
!
2-20
(0 ) = = 0,135
0!
⇒ ( )= ,
The probability that he will miss one:
21 -2
(1=) 0.270
1!
⇒ ( )= ,