# Bean machines

Take a moment and think about a

**sequence**of random events you have experienced in the past. Such as lottery numbers, coin flips or dice rolls.We call these

**independent**events because the past outcomes**do not influence future outcomes**. If we flip a coin 3 times and it lands heads each time, we know the fourth flip is still equally likely to be heads or tails.One interesting question is

**how many heads occur**, on average, in a**sequence**of coin flips. If we flip a coin 10 times, what can we say about the likely outcome? Can we say anything at all?Instead of flipping coins all day we can use an equivalent mechanism to speed things up. What is equivalent to a coin flip? Well, any process which results in

**2 equally likely outcomes**. For example, we could drop a disk directly over a peg which deflects it either to the right or left.To model a sequence of 12 coin flips we must chain multiple collisions together. This is exactly what Francis Galton did in the middle of the 19th century with his bean machine. Below is a diagram of his device:

At the bottom of the machine are buckets which represent the

**total number of right vs. left deflections in the sequence**. For example the middle bucket represents an**equal number**of right vs. left deflections. While the buckets at the far left edge represent 12 left deflections.If we drop hundreds of balls into this machine how do you think they will

**distribute**among the various buckets? Is one bucket more likely to full up than another? Are they all equal?Let’s find out! Below we have a simulation of Galton's device for you to use:

What do you notice?

Next up we have an exercise to test your understanding of this phenomenon.