Lecture 4
Lecture 4
a) In how many ways can 3 balls be drawn from the box, if at least
one black ball is to be included in the draw?
b) What is the probability that 1 black and 2 other colored balls are
drawn
a) In how many ways can 3 balls be drawn from the box, if at least
one black ball is to be included in the draw?
b) What is the probability that 1 black and 2 other colored balls are
drawn
= 45+18+1
=64
(3𝐶1)(6𝐶2) 45
𝑃 𝐵 = = = 0.5357 = 53.57%
9𝐶3 84
a) 3 aces
b) 4 hearts and one club
(13𝐶4)(13𝐶1)(26𝐶0) 9295
𝑃 𝐵 = = = 0.3576%
52𝐶5 2598960
In any case:
𝑷 𝑨 ∩ 𝑩 = 𝑷 𝑨 𝑷(𝑩) => intersection follows
LEcture developed rule of products
by Ikram-E-Khuda
Note!
+ = ∪= 𝑜𝑟
×= 𝑎𝑛𝑑 =∩
B={3,4,7,9,10,11,12}
𝑨 ∩ 𝑩={3,4,7}
Case 1
A- 𝐴 ∩ 𝐵= only A = {1,2,5,6,8}
B- 𝐴 ∩ 𝐵 = only B ={9,10,11,12}
Thus by subtracting two times 𝐴 ∩ 𝐵, then only we can get
only A and only B
A- 𝑨 ∩ 𝑩= only A = {1,2,5,6,8}
B={3,4,7,9,10,11,12}
Ks As
Kc Kings Kh Ac Aces Ah
Kd Ad
4𝐶1 4𝐶1 8
𝑃 𝐾 𝑜𝑟 𝐴 = 𝑃 𝐾 + 𝑃 𝐴 = + = =15.38%
52𝐶1 52𝐶1 52
As
Maths=M History=H
35
54 69
19
P(Only M)=100
34
P(Only H)=100
Start
35
P(Both M and H)=100
12
P(Neither M nor H)=100
LEcture developed by Ikram-E-Khuda
Solution (using with and without formula)
Exactly
Without formula
19 34 53
• P(exactly M or H)= + =
100 100 100
Atleast
Without formula
19 34 35 88
• P(at least M or H)= + + =
100 100 100 100
What are the possible events and their probabilities at the end of the random experiment?
The dataset:
X={9 both red balls, 24 one red and one green, 16 both green}
X is a random variable showing the count of red colored balls
X={01………016, 117, ………..140, 241……..249}
𝟏𝟐 𝟏𝟔 𝟐𝟖
𝑷 𝑮 =𝑷 𝑹∩𝑮 +𝑷 𝑮∩𝑮 = + = = 𝟓𝟕. 𝟏𝟒%
𝟒𝟗 𝟒𝟗 𝟒𝟗
𝑃 𝐵 = 𝑃 𝐴 ∩ 𝐵 + 𝑃(𝐴 ∩ 𝐵)
𝑃(𝐵)= 𝑃 𝐴 ∩ 𝐵 + 𝑃(𝐴 ∩ 𝐵)
a) Range
b) All quartiles
c) 15th percentile
d) 8th decile
e) Frequency distribution of X
f) Mean value of X
g) Error in the mean value
h) Predicted outcome
What are the possible events and their probabilities at the end of the random experiment?
Trial 2
Trial 1 End
P(R)=3/7 2R
Start 4G
P(G|R)=4/6 P(R)P(G|R)=P(R and G)=12/42
3R
4G P(R|G)=3/6 P(G)P(R|G)=P(G and R)=12/42
3R
P(G)=4/7 3G
P(G|G)=3/6 =P(G)P(G|R)=P(G and G)=12/42
0 4 x 3=12 12/42
1 (3 x 4) + (4 x 3)=24 24/42
2 3 x 2=6 6/42
Total N=7x6=42 1
𝟏𝟐 𝟏𝟐 𝟐𝟒
𝑷 𝑮 =𝑷 𝑹∩𝑮 +𝑷 𝑮∩𝑮 = + = = 𝟓𝟕. 𝟏𝟒%
𝟒𝟐 𝟒𝟐 𝟒𝟐
𝑃 𝐵 = 𝑃 𝐴 ∩ 𝐵 + 𝑃(𝐴 ∩ 𝐵)
𝑃(𝐵)= 𝑃 𝐴 ∩ 𝐵 + 𝑃(𝐴 ∩ 𝐵)