Steply

Probability of exactly 3 heads in 5 coin flips

Step by step, with the reason for every step · Binomial probability · Probability

Step by step

The question

Question: A coin is flipped 5 times.

What is the probability of exactly 3 heads?

1 Binomial: yes or no

5 flips.

Each one has the same chance, and one does not change the next.

Each is a success or not.

That is a binomial experiment.

5 flips: same chance, each on its own

n is the number of flips: 5.

k is how many heads we want: 3.

p is the chance of a success each time: 1/2.

q is the chance of not: 1 minus p, 1/2.

n = 5 flips, k = 3 heads
p = 12 (head)
q = 1 − p = 12

2 Write the rule

The rule: n C k, times p to the power k, times q to the power n minus k.

P(3 heads) = nCk × pk × qn − k

We put the numbers in.

P(3 heads) = 5C3 × (12)3 × (12)2

3 Count the orders

5 C 3 counts the orders: which 3 of the 5 flips are the heads.

5 times 4 times 3, over 3 times 2 times 1, is 10.

5C3 = 5 × 4 × 33 × 2 × 1 = 10

Here they are: H is a head, T is a tail.

10 orders.

HHHTT HHTHT HHTTH HTHHT HTHTH
HTTHH THHHT THHTH THTHH TTHHH

4 One order's chance

One order, like HHHTT.

Along one path we multiply: 1/2 for each head, and 1/2 for each tail.

one order = 18 × 14
(12)3 = 18
(12)2 = 14

Top times top, bottom times bottom: 1/32.

one order = 132

5 Multiply

Every order has this same chance.

There are 10 orders, so we multiply by 10.

P(3 heads) = 10 × 132

Careful!

That is only one order.

Heads can come in 10 different orders.

Careful: not 132 ✗

10 times 1 is 10.

So it is 10/32.

P(3 heads) = 1032

Both 10 and 32 can be divided by 2.

That makes it simpler.

P(3 heads) = 10 ÷ 232 ÷ 2

So it is 5/16.

P(3 heads) = 516

6 Check

Let's check another order, TTHHH.

The same number of each, just in other places.

Multiplied, it is 1/32 again.

TTHHH: 12 × 12 × 12 × 12 × 12 = 132

And count it: 5 flips make 32 outcomes, all just as likely.

10 of them have exactly 3 heads.

10/32 is 5/16.

So the answer is right!

10 of 2 × 2 × 2 × 2 × 2 = 32 outcomes: 1032 = 516

Let's look back.

First: binomial: yes or no.

Then: write the rule.

Then: count the orders.

Then: one order's chance.

Then: multiply.

Last: check.

Answer
P(3 heads) = 516

Your turn

Try this one yourself, then check:

Show the answer
P(5 heads) = 332

More from Binomial probability

The whole lesson: Binomial probability →