Find the probability distribution of number of heads in 4 tosses of fair coin

medium CBSE JEE-MAIN NCERT Class 12 3 min read

Question

A fair coin is tossed 4 times. Find the probability distribution of XX, where XX is the number of heads obtained. Also find the mean and variance.

(NCERT Class 12, Chapter 13 — Probability)


Solution — Step by Step

Each toss is a Bernoulli trial with p=1/2p = 1/2 (probability of head) and q=1/2q = 1/2. With n=4n = 4 trials, XX follows a Binomial distribution: XB(4,1/2)X \sim B(4, 1/2).

P(X=k)=(4k)(12)k(12)4k=(4k)116P(X = k) = \binom{4}{k} \left(\frac{1}{2}\right)^k \left(\frac{1}{2}\right)^{4-k} = \binom{4}{k} \cdot \frac{1}{16}
XX (heads)(4k)\binom{4}{k}P(X=k)P(X = k)
011/161/16
144/16=1/44/16 = 1/4
266/16=3/86/16 = 3/8
344/16=1/44/16 = 1/4
411/161/16

Verification: 1+4+6+4+1=161 + 4 + 6 + 4 + 1 = 16, so P=16/16=1\sum P = 16/16 = 1

For a binomial distribution: E(X)=np=4×12=2E(X) = np = 4 \times \frac{1}{2} = \mathbf{2}

Or by direct calculation:

E(X)=0116+1416+2616+3416+4116=0+4+12+12+416=3216=2E(X) = 0 \cdot \frac{1}{16} + 1 \cdot \frac{4}{16} + 2 \cdot \frac{6}{16} + 3 \cdot \frac{4}{16} + 4 \cdot \frac{1}{16} = \frac{0 + 4 + 12 + 12 + 4}{16} = \frac{32}{16} = 2

For a binomial distribution: Var(X)=npq=4×12×12=1\text{Var}(X) = npq = 4 \times \frac{1}{2} \times \frac{1}{2} = \mathbf{1}

Standard deviation: σ=1=1\sigma = \sqrt{1} = 1.


Why This Works

Each coin toss is independent, with the same probability of success. This is the textbook scenario for a binomial distribution. The probability of getting exactly kk heads in nn tosses is determined by: how many ways can kk heads be arranged among nn positions ((nk)\binom{n}{k}), times the probability of each specific arrangement (pkqnkp^k q^{n-k}).

The mean np=2np = 2 makes intuitive sense — on average, half of 4 tosses will show heads. The variance npq=1npq = 1 tells us the typical deviation from the mean is about 1 head.


Alternative Method — Listing all outcomes

Total outcomes = 24=162^4 = 16. List them: HHHH, HHHT, HHTH, HTHH, THHH, HHTT, HTHT, HTTH, THHT, THTH, TTHH, HTTT, THTT, TTHT, TTTH, TTTT.

Count by number of heads: 0H → 1 way, 1H → 4 ways, 2H → 6 ways, 3H → 4 ways, 4H → 1 way.

For CBSE boards, the question typically asks for the probability distribution table AND the mean. The marking scheme gives 2 marks for the table and 1-2 marks for the mean. Use the binomial formula E(X)=npE(X) = np for the mean — it’s much faster than the direct sum method and gets full marks.


Common Mistake

Students sometimes compute P(X=2)=(42)×(1/2)2=6×1/4=3/2P(X = 2) = \binom{4}{2} \times (1/2)^2 = 6 \times 1/4 = 3/2 — a probability greater than 1, which is clearly wrong. The error is forgetting the (1/2)4k(1/2)^{4-k} term. The correct computation is (42)×(1/2)2×(1/2)2=6/16\binom{4}{2} \times (1/2)^2 \times (1/2)^2 = 6/16. Always include both the pkp^k and qnkq^{n-k} factors.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next