Steply

Probability of exactly 4 heads in 6 coin flips

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

Step by step

The question

Question: A coin is flipped 6 times.

What is the probability of exactly 4 heads?

1 Binomial: yes or no

6 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.

6 flips: same chance, each on its own

n is the number of flips: 6.

k is how many heads we want: 4.

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

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

n = 6 flips, k = 4 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(4 heads) = nCk × pk × qn − k

We put the numbers in.

P(4 heads) = 6C4 × (12)4 × (12)2

3 Count the orders

6 C 4 counts the orders: which 4 of the 6 flips are the heads.

6 times 5 times 4 times 3, over 4 times 3 times 2 times 1, is 15.

6C4 = 6 × 5 × 4 × 34 × 3 × 2 × 1 = 15

4 One order's chance

One order, like this one.

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

one order = 116 × 14
(12)4 = 116
(12)2 = 14

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

one order = 164

5 Multiply

Every order has this same chance.

There are 15 orders, so we multiply by 15.

P(4 heads) = 15 × 164

Careful!

That is only one order.

Heads can come in 15 different orders.

Careful: not 164 ✗

15 times 1 is 15.

So it is 15/64.

P(4 heads) = 1564

6 Check

And count it: 6 flips make 64 outcomes, all just as likely.

15 of them have exactly 4 heads.

That is 15/64.

So the answer is right!

15 of 2 × 2 × 2 × 2 × 2 × 2 = 64 outcomes: 1564

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(4 heads) = 1564

Your turn

Try this one yourself, then check:

Show the answer
P(5 heads) = 332

More from Binomial probability

The whole lesson: Binomial probability →