Review the key concepts, formulae, and examples before starting your quiz.
πConcepts
A set of events is called a partition of the sample space if they are pairwise disjoint ( for ), exhaustive (), and each has a non-zero probability ().
The Theorem of Total Probability states that if is a partition of , then for any event associated with , the probability is the weighted average of conditional probabilities .
This theorem is often the first step in calculating posterior probabilities using Bayes' Theorem.
To apply the theorem, identify the mutually exclusive events (the 'causes' or 'paths') and the common event that can occur under each .
πFormulae
outdoor
$$P(A) = \sum_{j=1}^{n} P(E_j)P(A|E_j)
$$P(A \cap E_i) = P(E_i)P(A|E_i)
π‘Examples
Problem 1:
A bag contains red and black balls. A second bag contains red and black balls. One bag is selected at random and a ball is drawn. Find the probability that the ball drawn is red.
Solution:
Let and be the events of selecting Bag I and Bag II respectively. Let be the event of drawing a red ball.
Since the bags are chosen at random: ,
Probability of drawing a red ball from Bag I:
Probability of drawing a red ball from Bag II:
Using the Theorem of Total Probability:
Calculation of the numerator:
Explanation:
We first define the partition of the sample space as choosing Bag I or Bag II. Then we calculate the conditional probability of drawing a red ball from each specific bag. Finally, we sum the products of the bag selection probability and the respective conditional probability.
Problem 2:
In a factory, machine produces of the items and machine produces . of the items produced by are defective, while of items from are defective. An item is chosen at random. Find the probability it is defective.
Solution:
Let be the event that the item is produced by and be the event it is produced by . Let be the event that the item is defective.
By Total Probability Theorem:
Sum calculation:
Explanation:
The event of being defective can happen via two paths: either from machine 1 or machine 2. The total probability is the sum of probabilities of being 'Defective and from ' and 'Defective and from '.