Analyzing the Setup
We begin with a total of 20 coins. The probability of selecting an unbiased coin, denoted as event U, is:
The probability of selecting the biased coin, denoted as event B, is:
These values represent our 'prior' knowledge before observing the outcome of the coin toss.
The Evidence
Next, we consider the evidence: the coin toss resulted in a Head (H). We must determine the conditional probability of this outcome based on the coin selected.
If we selected an unbiased coin, the probability of obtaining a Head is:
If we selected the biased coin, the probability of obtaining a Head is:
This is because the biased coin is double-headed, making a Head the only possible outcome.
The Logic of Bayes
We aim to find P(U∣H), the probability that the coin is unbiased given that we observed a Head. Bayes' Theorem provides the framework to update our belief based on the observed evidence:
P(U∣H)=P(U)P(H∣U)+P(B)P(H∣B)P(U)P(H∣U)
The numerator represents the probability of the path where we picked an unbiased coin AND obtained a Head. The denominator represents the total probability of obtaining a Head across all possible scenarios.
The Calculation
Substituting our values into the theorem, the numerator is:
The denominator is the sum of the unbiased path and the biased path:
4019+(201⋅1)=4019+402=4021
Dividing the numerator by the denominator, the 40s cancel out, yielding:
Here, m=19 and n=21.
Final Calculation
The problem requires the value of n2−m2. Using the difference of squares identity, a2−b2=(a−b)(a+b), we calculate:
The final result is 80.