Total Probability Theorem And Bayes' Theorem
TOTAL PROBABILITY THEOREM AND BAYES' THEOREM
Partition of Sample-Space:
Consider a sample space 'S'. Let A1, A2, L An be the
set of mutually exclusive and exhaustive set of
sample-space S.
These A1, A2, L, An events are said to partition the
Sample-space in to 'n'-parts.
We have Ai Aj ]f for i ]j, i i, j n
And
Total Probability Theorem:
Let 'A' be any event of S. We can write A = (A1 A) (A2 A) L (An A). As A1, A2 L An are mutually exclusive, (A1 A), (A2 A), L, (An A) would also be mutually exclusive.
P(A) = P(A1 A) + P(A2 A) + L + P(An A)
= P(A1)×P(A/A1) + P(A2)×P(A/A2) + L + P(An)×P(A/An)
P(A) =
This is known as the total probability of the event A.
Remark:
P(A/Ai) gives up the contribution of Ai in the occurrence of A.
Example -1: One bag contains four white balls and three black balls and a second bag contains three white balls and five black balls. One ball is drawn from the first bag and placed unseen in the second bag. What is the probability that a ball now drawn from second bag is black ?
Sol: Bag – I Bag – II
4 w 3 w
3 B 5 B
Let A1 be the event that a white ball is transferred from bag – I to bag – II and A2 be the event that a black ball is transferred from bag – I to bag –II.
P (A1) =, P(A2) =
Let 'A' be the probability the finally a black ball is drawn from the second bag P(A/A1) = , P(A/A2) = .
Now from total probability theorem we get,
P(A) = P(A1) . P(A/A1) + P(A2) . P(A/A2) =
Bayes' Theorem:
This theorem at times is also called inverse probability theorem.
Let us consider any event 'A' of sample space 'S' (as in the previous section). This event would have occurred due to the different causes (or due to the occurrence of any of the event A1, A2, L An).
Now, let us say that event A is found to have occurred and we have to find the probability that it has occurred to the occurrence of cause, say Ai.
That means we are interested in P(Ai/A). These types of problems are solved with the help of Bayes' theorem.
From total probability theorem we get P(A) =
Also, P(Ai/A) =
P(Ai/A) =
This result is known as Bayes' theorem.
Example -2: A bag 'A' contains 2 w and 3 red balls, a bag 'B' contains 4 w and 5 black balls. A bag is selected randomly and a ball is drawn from it. Drawn ball is observed to be white. Find the probability that bag 'B' was selected.
Sol: Bag A Bag B
2 w, 3R 4 w, 5B
Let A1 be the event that bag 'A' is selected and A2 be the event that bag B is selected.
P(A1) = P(A2) =1/2
Let 'A' be the event that a white ball is drawn from the selected bag.
P(A/A1) = 2/5, P(A/A2) =
P(A) = P(A1) . P(A/A1) + P(A2) . P(A/A2)
=
Finally, P(A2/A) = =
Example -3: A card from a pack of 52 cards is lost. From the remaining cards, two cards are drawn and are found to be spades. Find the probability that missing card is also a spade.
Sol: Let A1 be the event that missing card is spade and A2 be event that missing card is non-spade.
P(A1) = , P(A2) =
Let 'A' be event that 2 spade cards are drawn from the remaining cards,
P(A) = P(A1) ×
=
Now
Ready to master Probability?
Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.