Conditional probability is a fundamental concept in statistics and probability theory, often used to calculate the likelihood of an event occurring given that another event has already occurred. It helps in understanding complex relationships between different events, especially in fields like data analysis, machine learning, and decision theory. Whether you're studying for exams or applying statistical concepts in real life, conditional probability is essential.
Let A and B be the two events associated with the same random experiment. Then, the probability of occurrence of A under the condition B has already occurred and P(B) ≠ 0, is called conditional probability, denoted by P(A | B).
We define:
and
The general formula for conditional probability is:
This formula assumes that event B has already occurred and helps calculate how likely A is to occur under that condition.
If two events, A and B, are Independent Events, then the occurrence of one does not affect the occurrence of the other, i.e.
P(A ⋂ B) = P(A)·P(B)
Then,
If A and B are Dependent Event, then
Example: Tossing an unbiased coin and rolling a die are independent events. If we ask, "What is the probability of getting a head on the coin, given that we rolled a 4?" Since these events are independent, the probability remains:
The joint probability P(A ⋂ B) represents the probability that both events A and B occur. The conditional probability formula can also be derived from the joint probability: P(A ⋂ B) = P(A|B) × P(B)
This relationship is essential when dealing with multiple dependent events.
Bayes' theorem calculates the probability of an event occurring given specific conditions or prior information. It is used to determine conditional probabilities and is often referred to as the formula for assessing the likelihood of causes.
The formula for Bayes' theorem is:
Example 1: if an odd number comes up on tossing a die. Find the probability of its being a prime number.
Solution:
S = {1, 2, 3, 4, 5, 6}
A = {1, 3, 5}
B = {2, 3, 5}
Now
We know that A ⋂ B = {3, 5}
P(A ⋂ B) =
Then,
Example 2: A box contains 4 bad and 6 good tubes. Two are drawn out from the box at a time. One of them is tested and found to be good. What is the Probability that the other one is also good?
Solution:
Example 3: In a certain school, 20% of the students failed in English, 15 % of the student failed in Mathematics and 10% of the student failed both in English and Mathematics. A student is selected at random. If he failed in Mathematics. What is the probability that he also failed in English?
Solution:
P(E)= 0.2
P(M) = 0.5
P(E ⋂ M) = 0.1
Example 4: An urn contains 10 white and 5 black balls. Two balls are drawn sequentially from an urn without replacement. What is the probability that both balls drawn are white?
Solution:
Example 5: Two cards are drawn one by one without replacement from a well- shuffled pack of 52 cards. What is the probability that one is the red queen and the other is a king of black.
Solution:
Ans: The formula for conditional probability is:
Where:
Ans: Bayes' theorem is a way to reverse conditional probabilities. It helps in updating probabilities based on new information. The formula for Bayes’ theorem is:
This theorem is widely used in statistics, machine learning, and decision theory to make inferences from data.
Ans: To calculate conditional probability for dependent events, use the formula:
This formula adjusts the probability of A based on the known occurrence of event B.
(Session 2025 - 26)