Académique Documents
Professionnel Documents
Culture Documents
Probability --- coins experiment --- coins theory --- dice experiment --- dice theory --- for teachers
Calculating probabilities
Pascal's triangle
There are a couple of important points. Firstly, probabilities do not tell you
what is going to happen, they merely tell you what is likely to happen. It is
unlikely that you will toss twenty coins and that they will all come up heads.
But if enough people toss enough coins for long enough, then this may well
happen. It will startle the person it happens to, but think of all the people it
didn't happen to! Secondly, if you toss a coin nineteen times and it comes up
heads each time, then it is not more likely that the next toss will be a tail. The
odds stay the same, at 50%. The tosses are called 'independent events' which
means that the coin can't remember what has happened to it. While twenty
heads in a row is unlikely, once you have nineteen heads in a row, the unlikely
event has already happened. The potential twentieth head has the same
probability as the first head. Another way of looking at it is that any sequence
of twenty tosses is unlikely as twenty heads in a row, even if it looks random.
But you have to write down the sequence before you start tossing to see if
you get it!
When we toss a coin, there are two possibly outcomes. It can be a head or a
tail, which are both equally likely. If we toss two coins, there can be two heads,
two tails, or a head and a tail. It is tempting to say that there are three equally
possible outcomes. But this would be wrong. You must think of the coins
separately. It might be easier to imagine tossing one coin first and the other
after (or even tossing the same coin twice, which has exactly the same effect).
Or you could imagine two different values of coins, so they can be told apart.
Now you can see that there are four possibilities: both heads, both tails, first
coin a head and the second a tail, and first coin a tail and the second a head.
You can see that the number of possible outcomes gets bigger and bigger.
Click on One more coin to see how the number of possible outcomes
increases:
It is quite easy to find the different outcomes, since they are represented by
the binary numbers with that amount of digits, with H representing the digit
one and Trepresenting zero. This also shows us how many outcomes there
are, since there are 2n possible binary numbers with n digits.
Working out probabilies by counting
Once you have listed all possible outcomes, then you can work out the
probabilities quite easily. Say that you are going to toss three coins, and you
want to work out the probability of only one head (and so two tails). The
possible outcomes are:
All these outcomes are different, and they are all equally likely. There are 8 of
them. There are 3 tosses with only one head:
So the probability is 3/8. You can convert this into a decimal 0.375 or a
percentage 37.5%, which you can round to 38% if you wish. Or you can
describe it as a three in eight chance. All these mean the same.
You can list the possible outcomes above for any dice up to 6 and count the
tosses which match the probability that you want. Then divide it by the total
number of throws. Or you can use this calculator, where the computer counts
the number of tosses for you!
heads:
Now you can work out the probabilities for various combinations for heads and
coins, then you can experiment to see if reality matches the probability! You
will find it won't necessarily match (although the more numbers of throw, the
closer it will get), but the experiments should give figures fairly close to the
probability.
Calculating probabilities
The counting method works, and is very good for getting the right answer with
a small number of coins. However, for larger numbers, we need a more
mathematical approach. We know that the probability will be a fraction, and
we know that the denominator (the number underneath) is 2n for n coins. The
problem is working out the numerator (the number on top). We don't want to
count all the cases where it happens. What we can do is start with one coin,
then add a coin at a time, and see what difference it makes to the probability.
This starts to build up a pattern.
if
if coin total
coin
is a of
is a
head these
tail
chance of no
0 1 1
heads
if new if new
total of
coin coin
these
is a head is a tail
chance of no
0 1 1
heads
if new if new
total of
coin coin
these
is a head is a tail
chance of 4 heads 1 0 1
We add a fourth coin.
chance of 3 heads 3 1 4
chance of 2 heads 3 3 6
chance of 1 head 1 3 4
chance of no
0 1 1
heads
if new if new
total of
coin coin
these
is a head is a tail
chance of 5 heads 1 0 1
chance of 4 heads 4 1 5
chance of 2 heads 4 6 10
chance of 1 head 1 4 5
chance of no
0 1 1
heads
Pascal's triangle
The pattern that emerges from the above example is something called
Pascal's triangle (after Blaise Pascal a French mathematician). You work this
out like this. Every line is made by adding the two numbers in the line above.
You assume that there are zeros at the start and end of each line, and you
start with a one in the top row. Pascal's triangle crops up a lot in probability. In
particular, take the nth row of Pascal's triangle, and the mth number in it, and
you have the numerator (top bit) of the probability of finding m heads when
tossing n coins.
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 6 15 20 15 6 1