The Total Probability Theorem is a fundamental principle in probability theory that allows us to compute the probability of an event based on conditional probabilities associated with a partition of the sample space. Often, direct computation of an event's probability is challenging, especially when the event depends on several different underlying scenarios. In such cases, the total probability theorem provides a structured approach by breaking down the event into simpler, mutually exclusive cases and summing the weighted probabilities.
This theorem is particularly useful in real-life situations involving uncertainty and multiple contributing factors—such as medical diagnosis, risk analysis, or decision-making processes. By understanding and applying this theorem, one can tackle complex probability problems more systematically and accurately.
The Total Probability Theorem provides a way to compute the probability of an event based on a partition of the sample space.
Statement:
Let be a partition of the sample space S, such that all are mutually exclusive and exhaustive events, and . Then, for any event A,
This is particularly useful when direct computation of P(A) is complex, but conditional probabilities are known.
The general Total Probability Theorem formula can be rewritten as:
This formula is widely applied in fields like data science, finance, medicine, and engineering, especially for modeling risk and decision-making under uncertainty.
Let’s walk through the Total Probability Theorem proof step-by-step:
Example 1: A factory has 3 machines: producing 30%, 45%, and 25% of the total output respectively. The probability that these machines produce a defective item are 0.01, 0.03, and 0.02 respectively. What is the probability that a randomly selected item is defective?
Solution:
Let D be the event that an item is defective.
Using Total Probability Theorem:
=(0.3)(0.01)+(0.45)(0.03)+(0.25)(0.02)= (0.3)(0.01) + (0.45)(0.03) + (0.25)(0.02)
= 0.003 + 0.0135 + 0.005 = 0.0215
So, the probability of selecting a defective item is 0.0215 or 2.15%.
Example 2: A company has three branches: . The probability of a security breach occurring in each branch is given as follows:
If a breach happens in a branch, the probability that the breach is classified as severe is as follows:
Example 3: What is the overall probability that a breach, if it occurs, will be classified as severe?
Solution:
We need to find P(S), the total probability of a severe breach. Using the Total Probability Theorem, we have:
Substitute the values:
P(S) = (0.5)(0.4) + (0.3)(0.6) + (0.2) (0.3)
P(S) = 0.2 + 0.18 + 0.06 = 0.44
Thus, the overall probability that a breach will be classified as severe is 0.44 or 44%.
Example 4: A data scientist is analyzing customer churn for a telecom company. The company has two types of customers:
What is the probability that a randomly selected customer has churned?
Solution:
We are given:
P(Churn|A) = 0.1 and P(Churn|B) = 0.3
Let’s find the probability that a randomly selected customer has churned, i.e., P(Churn).
Using the Total Probability Theorem:
Substitute the values:
P(Churn) = (0.6)(0.1) + (0.4)(0.3)
P(Churn) = 0.06 + 0.12 = 0.18
Thus, the probability that a randomly selected customer has churned is 0.18 or 18%.
Example 5: In a manufacturing plant, there are three machines producing different types of components:
What is the probability that a randomly chosen component is defective?
Solution:
Let D be the event that a component is defective.
We are given:
Using the Total Probability Theorem, we can compute P(D)P(D):
Substitute the values:
P(D) = (0.25)(0.04) + (0.50)(0.02) + (0.25)(0.01)
P(D) = 0.01 + 0.01 + 0.0025 = 0.0225
Thus, the probability that a randomly selected component is defective is 0.0225 or 2.25%.
The Total Probability Theorem and Bayes Theorem are deeply connected.
Thus, Bayes' Theorem relies on the total probability to "reverse" the condition.
The applications of Total Probability Theorem are vast, including:
(Session 2025 - 26)