NPTEL- Probability and Distributions
MODULE 1
PROBABILITY
LECTURE 5
Topics
1.3.2 Bayesβ Theorem
1.3.2 Bayesβ Theorem
The following theorem provides a method for finding the probability of occurrence of an
event in a past trial based on information on occurrences in future trials.
1.3.2 Theorem 3.4 (Bayesβ Theorem)
Let πΊ, β±, π be a probability space and let πΈπ : π β π¬ be a countable collection of
mutually exclusive and exhaustive events with π πΈπ > 0, π β π¬ . Then, for any event
πΈ β β± with π πΈ > 0, we have
π πΈπ |πΈ =
π πΈ|πΈπ π πΈπ
,
πβπ¬ π πΈ|πΈπ π πΈπ
πβπ¬β
Proof. We have, for π β π¬,
π πΈπ |πΈ =
=
=
π πΈπ β© πΈ
π(πΈ)
π πΈ|πΈπ π πΈπ
π(πΈ)
π πΈ|πΈπ π πΈπ
πβπ¬ π πΈ|πΈπ π πΈπ
using Theorem of Total Probability . β
Remark 3.2
(i)
Suppose that the occurrence of any one of the mutually exclusive and
exhaustive events πΈπ , π β π¬, causes the occurrence of an event πΈ. Given that the
event πΈ has occurred, Bayesβ theorem provides the conditional probability that
the event πΈ is caused by occurrence of event πΈπ , π β π¬.
Dept. of Mathematics and Statistics Indian Institute of Technology, Kanpur
1
NPTEL- Probability and Distributions
(ii)
In Bayesβ theorem the probabilities π πΈπ , π β π¬ , are referred to as prior
probabilities and the probabilities π πΈπ |πΈ , π β π¬, are referred to as posterior
probabilities. β
To see an application of Bayesβ theorem let us revisit Example 3.4.
Example 3.5
Urn π1 contains 4 white and 6 black balls and urn π2 contains 6 white and 4 black balls.
A fair die is cast and urn π1 is selected if the upper face of die shows five or six dots.
Otherwise urn π2 is selected. A ball is drawn at random from the selected urn.
(i)
(ii)
Given that the drawn ball is white, find the conditional probability that it came
from urn π1 ;
Given that the drawn ball is white, find the conditional probability that it came
from urn π2 .
Solution. Define the events:
π βΆ drawn ball is white;
πΈ1 βΆ urn π1 is selected
mutually exclusive & exhaustive events
πΈ2 βΆ urn π2 is selected
(i)
We have
π πΈ1 |π =
π π|πΈ1 π πΈ1
π π|πΈ1 π πΈ1 + π π|πΈ2 π πΈ2
4
=
4
10
10
2
2
×6
×6 +
6
10
4
×6
1
β
4
Since πΈ1 and πΈ2 are mutually exclusive and π πΈ1 βͺ πΈ2 |π = π πΊ|π = 1,we
have
=
(ii)
π πΈ2 |π = 1 β π πΈ1 |π
=
3
ββ
4
In the above example
π πΈ1 |π =
1 1
< = π πΈ1 ,
4 3
Dept. of Mathematics and Statistics Indian Institute of Technology, Kanpur
2
NPTEL- Probability and Distributions
and
π πΈ2 |π =
3 2
> = π πΈ2 ,
4 3
i.e.,
(i)
(ii)
the probability of occurrence of event πΈ1 decreases in the presence of the
information that the outcome will be an element of π;
the probability of occurrence of event πΈ2 increases in the presence of information
that the outcome will be an element of π.
These phenomena are related to the concept of association defined in the sequel.
Note that
π πΈ1 |π < π πΈ1 β π πΈ1 β© π < π πΈ1 π(π),
and
π πΈ2 |π > π πΈ2 β π πΈ2 β© π > π πΈ2 π(π).
Definition 3.2
Let πΊ, β±, π be a probability space and let π΄ and π΅ be two events. Events π΄ and π΅ are
said to be
(i)
(ii)
(iii)
negatively associated if π π΄ β© π΅ < π π΄ π π΅ ;
positively associated if π π΄ β© π΅ > π π΄ π π΅ ;
independent if π π΄ β© π΅ = π π΄ π π΅ . β
Remark 3.3
(i)
(ii)
If π π΅ = 0 then π π΄ β© π΅ = 0 = π π΄ π π΅ , βπ΄ β β±, i.e., if π π΅ = 0 then
any event π΄ β β± and π΅ are independent;
If π π΅ > 0 then π΄ and π΅ are independent if, and only if, π π΄|π΅ = π(π΄),
i.e., if π π΅ > 0, then events π΄ and π΅ are independent if, and only if, the
availability of the information that event π΅ has occurred does not alter the
probability of occurrence of event π΄. β
Now we define the concept of independence for arbitrary collection of events.
Dept. of Mathematics and Statistics Indian Institute of Technology, Kanpur
3
NPTEL- Probability and Distributions
Definition 3.3
Let πΊ, β±, π be a probability space. Let π¬ β β be an index set and let πΈπΌ : πΌ β π¬ be a
collection of events in β±.
(i)
Events πΈπΌ : πΌ β π¬ are said to be pairwise independent if any pair of events πΈπΌ
and πΈπ½ , πΌ β π½ in the collection πΈπ : π β π¬ are independent. i.e., if π πΈπΌ β©
πΈπ½ = π πΈπΌ π πΈπ½ , whenever πΌ, π½ β π¬ and πΌ β π½;
(ii)
Let π¬ = 1, 2, β¦ , n , for some π β β, so that πΈπΌ : πΌ β π¬ = πΈ1 , β¦ , πΈπ is a
finite collection of events in β±. Events πΈ1 , β¦ , πΈπ are said to be independent if,
for any sub collection πΈπΌ 1 , β¦ , πΈπΌ π of πΈ1 , β¦ , πΈπ π = 2,3, β¦ , π
π
π
πΈπΌ π
π =1
(iii)
π
=
π πΈπΌ π .
(3.6)
π =1
Let π¬ β β be an arbitrary index set. Events πΈπΌ : πΌ β π¬ are said to be
independent if any finite sub collection of events in πΈπΌ : πΌ β π¬ forms a
collection of independent events. β
Remark 3.4
(i)
To verify that π events πΈ1 , β¦ , πΈπ β β± are independent one must verify
π
2π β π β 1 = ππ=2 π conditions in (3.6). For example, to conclude that
three events πΈ1 , πΈ2 and πΈ3 are independent, the following 4 = 23 β 3 β 1
conditions must be verified:
π πΈ1 β© πΈ2 = π πΈ1 π πΈ2 ;
π πΈ1 β© πΈ3 = π πΈ1 π πΈ3 ;
π πΈ2 β© πΈ3 = π πΈ2 π πΈ3 ;
π πΈ1 β© πΈ2 β© πΈ3 = π πΈ1 π πΈ2 π πΈ3 .
(ii)
If events πΈ1 , β¦ , πΈπ are independent then, for any permutation πΌ1 , β¦ , πΌπ of
1, β¦ , π , the events πΈπΌ 1 , β¦ , πΈπΌ π are also independent. Thus the notion of
independence is symmetric in the events involved.
(iv)
Events in any subcollection of independent events are independent. In
particular independence of a collection of events implies their pairwise
independence. β
Dept. of Mathematics and Statistics Indian Institute of Technology, Kanpur
4
NPTEL- Probability and Distributions
The following example illustrates that, in general, pairwise independence of a collection
of events may not imply their independence.
Example 3.6
Let πΊ = 1, 2, 3, 4 and let β± = π« πΊ , the power set of πΊ. Consider the probability space
πΊ, β±, P , where π π
1
= 4 , π = 1, 2, 3, 4 . Let π΄ = 1, 4 , π΅ = 2, 4 and πΆ = 3, 4 .
Then,
1
π π΄ = π π΅ = π πΆ = 2,
1
π π΄ β© π΅ = π π΄ β© πΆ = π π΅ β© πΆ = π {4} = 4,
π π΄β©π΅β©πΆ =π 4
and
1
= β
4
Clearly,
π π΄ β© π΅ = π π΄ π π΅ ; π π΄ β© πΆ = π π΄ π(πΆ), and π π΅ β© πΆ = π π΅ π(πΆ),
i.e., π΄, π΅ and πΆ are pairwise independent.
However,
1
π π΄ β© π΅ β© πΆ = 4 β π π΄ π π΅ π(πΆ).
Thus π΄, π΅ and πΆ are not independent. β
Dept. of Mathematics and Statistics Indian Institute of Technology, Kanpur
5
© Copyright 2026 Paperzz