Lecture PPT Probability
Lecture PPT Probability
1,2,3,4
Date: August 06, 07,08 2020….
MA 2302: Introduction to Probability and Statistics
PROBABILITY
Instructor
Prof. Gopal Krishna Panda
Department of Mathematics
NIT Rourkela
Probability: Basic concepts
• An experiment which results whose outcome can not be predicted
before it is performed, but the possible outcomes are known in
advance, is known as a random experiment, which is commonly
known as a trial.
• The set of all possible outcomes of a random experiment is known as
a sample space.
• The elements of a sample space are known as elementary outcomes.
A subset of the sample space (whose probability is computable) is
known as an event.
• The probability of an event is the degree of certainty of occurrence of
occurrence of the event.
Probability: Basic concepts
#(𝐴)
• If all the elementary outcomes are equally likely to occur, then 𝑃 𝐴 = ,
#(𝑆)
where # is the counting measure.
𝑚(𝐴)
• Thus, 𝑃 𝐴 = , where 𝑚 may the counting measure or it measures length in
𝑚(𝑆)
1D, area in 2D and volume in 3D.
• Two events 𝐴 and 𝐵 are equally likely (to occur) if 𝑃 𝐴 = 𝑃(𝐵). 𝐴 and 𝐵 are mutually
exclusive if they are set theoretically disjoint leading to 𝑃 𝐴 ∩ 𝐵 = 0. However,
𝑃 𝐴 ∩ 𝐵 = 0 need not imply that 𝐴 and 𝐵 are mutually exclusive.
𝐴 𝐵
𝐴𝐵𝑐 𝐴𝐵 Ac 𝐵
Addition rules
• If 𝐴, 𝐵 and 𝐶 are three events, then
𝑃 𝐴∪𝐵∪𝐶 =𝑃 𝐴∪𝐵 ∪𝐶 =𝑃 𝐴∪𝐵 +𝑃 𝐶 −𝑃 𝐴∪𝐵 ∩𝐶
= 𝑃 𝐴 ∪ 𝐵 + 𝑃 𝐶 − 𝑃 𝐴𝐶 ∪ 𝐵𝐶
= 𝑃 𝐴 + 𝑃 𝐵 − 𝑃 𝐴𝐵 + 𝑃 𝐶 − 𝑃 𝐴𝐶 − 𝑃 𝐵𝐶 + 𝑃 𝐴𝐵𝐶
= 𝑃 𝐴 + 𝑃 𝐵 + 𝑃 𝐶 − 𝑃 𝐴𝐵 − 𝑃 𝐴𝐶 − 𝑃 𝐵𝐶 + 𝑃 𝐴𝐵𝐶 .
Assignment 1: Derive the formula for 𝑃 𝐴 ∪ 𝐵 ∪ 𝐶 ∪ 𝐷 .
Assignment 2: Guess the formula for 𝑃 𝐴 ∪ 𝐵 ∪ 𝐶 ∪ 𝐷 ∪ 𝐸 .
Assignment 3: Observe that
𝑛 𝑛
𝑛−1
𝑃 ራ 𝐴𝑖 = 𝑃 𝐴𝑖 − 𝑃 𝐴𝑖 𝐴𝑗 + 𝑃 𝐴𝑖 𝐴𝑗 𝐴𝑘 − ⋯ + −1 𝑃 𝐴1 𝐴2 ⋯ 𝐴𝑛 .
𝑖=1 𝑖=1 1≤𝑖<𝑗≤𝑛 1≤𝑖<𝑗<𝑘≤𝑛
= 1 − 1 − 𝑝 𝑛.
Conditional Probability
If we perform any experiment, then the sample space always occurs. But a event 𝐴 may or
may not occur. Let 𝐴 and 𝐵 be two events and it is known that 𝐵 has occurred. Then
depending on 𝐵, the probability of 𝐴 prior and posterior to the occurrence of 𝐵 will
certainly be affected.
40 39
𝑃 𝐴𝐵 = 𝑃 𝐴 𝑃 𝐵 ∶ 𝐴 ℎ𝑎𝑠 𝑜𝑐𝑐𝑢𝑟𝑒𝑑 = × .
90 89
𝐴 𝐵
𝐴𝐵
If 𝑃 𝐵 = 0, then 𝑃 𝐴 𝐵 = 𝑃(𝐴) since the nothing has occurred. However, if 𝑃 𝐵 = 1, then also
𝑃 𝐴 𝐵 = 𝑃 𝐴 since occurrence of 𝐵 is equivalent to the occurrence of the sample space which
always occur. In particular 𝑃 𝐴 𝜙 = 𝑃 𝐴|𝑆 = 𝑃(𝐴).
Independent events
Observe that, in the previous example if the resistors are chosen at random with replacement, then
40 40
𝑃 𝐴𝐵 = 𝑃 𝐴 𝑃 𝐵|𝐴 = × = 𝑃 𝐴 𝑃(𝐵).
90 90
Definition: Two events 𝐴 and 𝐵 in a sample space 𝑆 are said to be independent if 𝑃 𝐴𝐵 = 𝑃 𝐴 𝑃(𝐵).
If there are more than two events, say 𝐴1 , 𝐴2 , … , 𝐴𝑛 , then they are said to be independent if
𝑃 𝐴𝑖1 𝐴𝑖2 … 𝐴𝑖𝑟 = 𝑃 𝐴𝑖1 𝑃 𝐴𝑖2 ⋯ 𝑃 𝐴𝑖𝑟 for each nonempty subset 𝑖1 , 𝑖2 , … , 𝑖𝑟 of 1,2, … , 𝑛 . If
𝑃 𝐴𝑖 𝐴𝑗 = 𝑃 𝐴𝑖 𝑃(𝐴𝑗 ) for all 𝑖 ≠ 𝑗, then 𝐴1 , 𝐴2 , … , 𝐴𝑛 are said to be pairwise independent.
𝑃 𝐴𝐵𝐶 = 𝑃 𝐴 𝑃 𝐵 P(C)
Independent events
Q. If 𝐴 and 𝐵 are independent, show that 𝐴𝑐 and 𝐵 are also independent.
Proof: Given 𝑃 𝐴𝐵 = 𝑃 𝐴 𝑃(𝐵). To prove 𝑃 𝐴𝑐 𝐵 = 𝑃 𝐴𝑐 𝑃(𝐵).
𝐴𝑐 𝐵 ∪ 𝐴𝐵 = 𝐵. 𝐴𝑐 𝐵 and 𝐴𝐵 are mutually exclusive. Hence
𝑃 𝐵 = 𝑃 𝐴𝑐 𝐵 + 𝑃 𝐴𝐵 = 𝑃 𝐴𝑐 𝐵 + 𝑃 𝐴 𝑃 𝐵
Thus,
𝑃 𝐴𝑐 𝐵 = P 𝐵 − 𝑃 𝐴 𝑃 𝐵 = 1 − 𝑃 𝐴 𝑃 𝐵 = 𝑃 𝐴𝑐 𝑃(𝐵).
Q. If 𝐴 and 𝐵 are independent, show that 𝐴𝑐 and 𝐵𝑐 are also independent.
Proof: Given 𝑃 𝐴𝐵 = 𝑃 𝐴 𝑃(𝐵). To prove 𝑃 𝐴𝑐 𝐵𝑐 = 𝑃 𝐴𝑐 𝑃(𝐵𝑐 ).
𝑃 𝐴𝑐 𝐵𝑐 = 𝑃( 𝐴 ∪ 𝐵 𝑐 ) = 1 − 𝑃 𝐴 ∪ 𝐵 = 1 − 𝑃 𝐴 − 𝑃 𝐵 + 𝑃 𝐴𝐵
=1−𝑃 𝐴 −𝑃 𝐵 +𝑃 𝐴 𝑃 𝐵 = 1−𝑃 𝐴 1−𝑃 𝐵 = 𝑃 𝐴𝑐 𝑃(𝐵𝑐 )
Independent events
Q. If 𝐴, 𝐵 and 𝐶 are pairwise independent and 𝐴 is independent of 𝐵 ∪ 𝐶 then prove that 𝐴, 𝐵 and 𝐶 are
mutually independent.
𝑃 𝐴𝐵 +𝑃 𝐴𝐶 − 𝑃 𝐴𝐵𝐶 = 𝑃 𝐴 𝑃(𝐵)+ 𝑃 𝐴 𝑃 𝐶 − 𝑃 𝐴 𝑃 𝐵𝐶 .
Now using pairwise independence, one can get the desired results.
Q. The probability of hitting a target in a single shot is 𝑝. What is the probability that out of ten shot fired,
at least one shot will hit the target?
Ans. Let 𝐴𝑖 be the event that the 𝑖-th shot hits the target. Then 𝑃 𝐴𝑖 = 𝑝 for each 𝑖. We are
interested in
Q. A box contains three chips bearing numbers 112,121,211 and 222. A chip is chosen at
random. Let 𝐴, 𝐵 and 𝐶 be the events that the first, second and third digit of the chip number
is 1 respectively. Prove that 𝐴, 𝐵 and 𝐶 are pairwise independent but not mutually
independent.
Solun: Observe that
𝑆 = 112,121,211,222 𝐴 = 112,121 , 𝐵 = 112,211 , 𝐶 = 121,211 ,
𝐴𝐵 = 112 , 𝐴𝐶 = 121 , 𝐵𝐶 = 211 , 𝐴𝐵𝐶 = 𝜙.
1 1
Hence, 𝑃 𝐴 = 𝑃 𝐵 = 𝑃 𝐶 = , 𝑃(𝐴𝐵) = 𝑃(𝐴𝐶) = 𝑃(𝐵𝐶) = , 𝑃(𝐴𝐵𝐶) =0
2 4
Hence 𝑃 𝐴𝐵 = 𝑃 𝐴 𝑃 𝐵 , 𝑃 𝐴𝐶 = 𝑃 𝐴 𝑃 𝐶 and 𝑃 𝐵𝐶 = 𝑃 𝐵 𝑃 𝐶 but
1
𝑃 𝐴𝐵𝐶 = 0 ≠ = 𝑃 𝐴 𝑃 𝐵 P(C). Hence 𝐴, 𝐵 and 𝐶 are pairwise independent but not
8
mutually independent.
Independent events
Example 2: 𝑃 𝐴𝐵𝐶 = 𝑃 𝐴 𝑃 𝐵 𝑃(𝐶), but 𝐴, 𝐵 and 𝐶 are not pairwise independent
and hence not mutually independent.
Remark: Let 𝐴 and 𝐵 be two events with positive probabilities. Observe that
if 𝐴 and 𝐵 are mutually exclusive, they cannot be independent. Moreover, if
they are independent, then they cannot be mutually exclusive.
WHY???
Bayes theorem
Assume that in a sample space 𝑆, there are 𝑛 events 𝐴1 , 𝐴2 , … , 𝐴𝑛 which are
pairwise mutually exclusive. Let 𝐵 be another event such that 𝐵 ⊂ =𝑖𝑛ڂ1 𝐴𝑖 .
Then 𝐵 = 𝐵 ∩ =𝑖𝑛ڂ1 𝐴𝑖 = =𝑖𝑛ڂ1 𝐴𝑖 𝐵. Observe that the 𝑛 events
𝐴1 𝐵, 𝐴2 𝐵, … , 𝐴𝑛 𝐵 are also pairwise mutually exclusive. Hence, by addition
rule of probability, 𝑃 𝐵 = 𝑃 =𝑖𝑛ڂ1 𝐴𝑖 𝐵 = σ𝑛𝑖=1 𝑃 𝐴𝑖 𝐵
Hence,
𝑷 𝑩 = σ𝒏𝒊=𝟏 𝑷 𝑨𝒊 𝑷 𝑩|𝑨𝒊
This is known as the law of total probabilities. Now,
𝑃(𝐴𝑘 𝐵) 𝑷 𝑨𝒌 𝑷 𝑩|𝑨𝒌
𝑷 𝑨𝒌 |𝑩 = = 𝒏
𝑃(𝐵) σ𝒊=𝟏 𝑷 𝑨𝒊 𝑷 𝑩|𝑨𝒊
which is known as the Bayes theorem.
Examples
1. A man is equally likely to choose one of the three Routs 𝐴, 𝐵 and 𝐶 from his house to the railway
station. On a rainy day, the probability of missing the train is 0.2 if he starts before one hour of train
time through Rout 𝐴. The same probabilities for Routs B and C are 0.1 and 0.15 respectively. (a) On a
rainy day, what is the probability of his missing the train? (b) If on a rainy day, if he missed the train,
what is the probability that his choice of rout was B?
Ans. Let 𝐴1 , 𝐴2 and 𝐴3 be the event od choosing Routs A,B and C respectively and 𝐷, the event of
missing the train. Then certainly 𝑃 𝐴1 = 𝑃 𝐴2 = 𝑃 𝐴3 = 1/3, 𝑃 𝐷 𝐴1 = 0.2, 𝑃 𝐷 𝐴2 = 0.1
and 𝑃 𝐷 𝐴3 = 0.15. Hence,
Probability Of missing the train is (Law of total probabilities)
1 1 1
𝑃 𝐷 = σ3𝑖=1 𝑃 𝐴𝑖 𝑃 𝐷|𝐴𝑖 = × 0.2 + × 0.1 + × 0.15 = 0.15
3 3 3
Given that he missed the train, the probability that the Rout chosen by him was B is (by Bayes theorem)
1
𝑃 𝐴2 𝑃 𝐷|𝐴2 × 0.1 2
𝑃 𝐴2 |𝐷 = 3 = 3 = .
σ𝑖=1 𝑃 𝐴𝑖 𝑃 𝐷|𝐴𝑖 1 1 1 9
× 0.2 + × 0.1 + × 0.15
3 3 3