A fair coin is tossed three times and the outcomes are noted. What is the probability of getting exactly two heads ?
Each toss has two possible outcomes: Heads (H) or Tails (T).
Since the tosses are independent, the total number of possible outcomes for three tosses is 2 * 2 * 2 = 2Β³ = 8.
The sample space (set of all possible outcomes) is:
HHH, HHT, HTH, THH, HTT, THT, TTH, TTT.
We are looking for the probability of getting exactly two heads.
The outcomes with exactly two heads are:
HHT
HTH
THH
There are 3 favourable outcomes.
The probability of an event is defined as (Number of favourable outcomes) / (Total number of possible outcomes).
Probability of getting exactly two heads = (Number of outcomes with exactly two heads) / (Total number of outcomes)
Probability = 3 / 8.
In this case, n=3 (three tosses), k=2 (exactly two heads), and p=0.5 (probability of getting a head with a fair coin).
P(X=2) = C(3, 2) * (0.5)Β² * (1-0.5)Β³β»Β²
P(X=2) = C(3, 2) * (0.5)Β² * (0.5)ΒΉ
P(X=2) = C(3, 2) * (0.5)Β³
C(3, 2) = 3! / (2! * (3-2)!) = 3! / (2! * 1!) = (3 * 2 * 1) / ((2 * 1) * 1) = 3.
(0.5)Β³ = 0.5 * 0.5 * 0.5 = 0.125 = 1/8.
P(X=2) = 3 * (1/8) = 3/8.
This confirms the result obtained by listing the outcomes.