Binomial Probability Formula
The probability of getting exactly \( k \) successes in \( n \) trials is:
\[
P(k \text{ successes}) = \binom{n}{k} p^k (1-p)^{n-k}
\]
where the binomial coefficient is:
\[
\binom{n}{k} = \frac{n!}{k!(n-k)!}
\]
and \( n! = 1 \times 2 \times 3 \times \cdots \times n \).
Example 1: Coin Toss Derivation
A fair coin is tossed 3 times. Find the probability of getting exactly 2 heads.
Solution
Sample space for 3 tosses:
Event \( E \) = {HHT, HTH, THH} has 3 favorable outcomes.
For each outcome with 2 heads and 1 tail:
\[
P(\text{HHT}) = p \cdot p \cdot (1-p) = p^2(1-p)
\]
Since \( p = 0.5 \) for a fair coin:
\[
P(E) = 3 \times (0.5)^2(0.5) = 3 \times 0.125 = 0.375
\]
The coefficient 3 comes from combinations: \(\binom{3}{2} = 3\).
Worked Examples
Example 2: Coin Toss Probability
A fair coin is tossed 5 times. What's the probability of exactly 3 heads?
Solution
Here \( n = 5 \), \( k = 3 \), \( p = 0.5 \):
\[
\begin{aligned}
P(3 \text{ heads}) &= \binom{5}{3} (0.5)^3 (0.5)^2 \\
&= 10 \times 0.125 \times 0.25 \\
&= 0.3125
\end{aligned}
\]
Example 3: Dice Probability
A fair die is rolled 7 times. Find the probability of exactly 5 sixes.
Solution
Here \( n = 7 \), \( k = 5 \), \( p = \frac{1}{6} \):
\[
P(5 \text{ sixes}) = \binom{7}{5} \left(\frac{1}{6}\right)^5 \left(\frac{5}{6}\right)^2 = 21 \times 0.0001286 \times 0.6944 \approx 0.00187
\]
Example 4: Quality Control
A factory produces tools with 98% reliability. In samples of 1000 tools:
- Find the mean number of working tools
- Find the standard deviation
Solution
Here \( n = 1000 \), \( p = 0.98 \):
- Mean: \(\mu = 1000 \times 0.98 = 980\) tools
- Standard deviation: \(\sigma = \sqrt{1000 \times 0.98 \times 0.02} \approx 4.43\)
Example 5: "At Least" Probability
A fair coin is tossed 7 times. Find the probability of at least 5 heads.
Solution
"At least 5" means 5, 6, or 7 heads:
\[
\begin{aligned}
P(\geq 5) &= P(5) + P(6) + P(7) \\
&= \binom{7}{5}(0.5)^5(0.5)^2 + \binom{7}{6}(0.5)^6(0.5)^1 + \binom{7}{7}(0.5)^7(0.5)^0 \\
&= 0.16406 + 0.05469 + 0.00781 \\
&= 0.22656
\end{aligned}
\]
Example 6: Multiple Choice Test
A test has 20 questions with 4 choices each. What's the probability of passing (≥10 correct) by guessing?
Solution
Here \( n = 20 \), \( p = 0.25 \):
\[
\begin{aligned}
P(\geq 10) &= \sum_{k=10}^{20} \binom{20}{k} (0.25)^k (0.75)^{20-k} \\
&\approx 0.00992 + 0.00301 + 0.00075 + \cdots \\
&\approx 0.01386 \quad (\text{about 1.4%})
\end{aligned}
\]
Conclusion: Random guessing is ineffective for passing.
Example 7: Complementary Events
A box has 3 red, 4 white, and 3 black balls. Six draws with replacement. Find the probability of at least 2 red balls.
Solution
Probability of red in one draw: \( p = \frac{3}{10} = 0.3 \)
Use complement rule:
\[
\begin{aligned}
P(\geq 2) &= 1 - [P(0) + P(1)] \\
&= 1 - \left[\binom{6}{0}(0.3)^0(0.7)^6 + \binom{6}{1}(0.3)^1(0.7)^5\right] \\
&= 1 - [0.11765 + 0.30253] \\
&= 0.57982
\end{aligned}
\]
Example 8: Insurance Application
80% of people in a city have insurance with "MyInsurance".
- If 10 people are randomly selected, find the probability that at least 8 have insurance with "MyInsurance"
- In a random sample of 500 people, how many are expected to have this insurance?
Solution
-
\( n = 10 \), \( p = 0.8 \):
\[
\begin{aligned}
P(\geq 8) &= P(8) + P(9) + P(10) \\
&= \binom{10}{8}(0.8)^8(0.2)^2 + \binom{10}{9}(0.8)^9(0.2)^1 + \binom{10}{10}(0.8)^{10}(0.2)^0 \\
&= 0.30199 + 0.26843 + 0.10737 \\
&= 0.67779
\end{aligned}
\]
- Expected value: \(\mu = 500 \times 0.8 = 400\) people