# A Philosopher's Blog

## Of Dice & Chance

Posted in Metaphysics, Philosophy, Uncategorized by Michael LaBossiere on August 9, 2017

Imagine, if you will, a twenty-sided die (or a d20 as it is known to gamers) being rolled. In the ideal the die has a 1 in 20 chance of rolling a 20 (or any particular number). It is natural to think of the die as being a sort of locus of chance, a random number generator whose roll cannot be predicted. While this is an appealing view of dice, there is a rather interesting question about what such random chance amounts to.

One way to look at the matter, using the example of a d20, is that if the die is rolled 20 times, then one of those rolls will be a 20. Obviously enough, this is not true—as any gamer will tell you, the number of 20s rolled while rolling 20 times varies a great deal. This can, of course, be explained by the fact that d20s are imperfect and hence tend to roll some numbers more than others. There are also the influences of the roller, the surface on which the d20 lands and so on. As such, a d20 will not be a perfect random number generator. But, imagine if there could be a perfect d20 rolled under perfect conditions. What would occur?

One possibility is that each number would come up within the 20 rolls, albeit at random. As such, every 20 rolls would guarantee a 20 (and only one 20), thus accounting for the 1 in 20 chance of rolling a 20. This, however, seems problematic. There is the obvious question of what would ensure that each of the twenty numbers were rolled once (and only once). Then again, that this would occur is only marginally weirder than the idea of chance itself.

It is, of course, well-established that a small number of random events (such as rolling a d20 only twenty times) will deviate from what probability dictates. It is also well-established that as the number of rolls increases, the closer the outcomes will match the expected results (assuming the d20 is not loaded). This general principle is known as the law of large numbers. As such, getting three 20s or no 20s in a series of 20 rolls would not be surprising, but as the number of rolls increases, the closer the results will be to the expected 1 in 20 outcome for each number. As such, the 1 in 20 odds of getting a 20 with a d20 does not mean that 20 rolls will ensure one and only one 20, it means that with enough rolls about 1 in 20 of all the rolls will be 20s. This, does not, of course, really say much about how chance works—beyond noting that chance seems to play out “properly” over large numbers.

One interesting way to look at this is to say that if there were an infinite number of d20 rolls, then 5% of the infinite number of rolls would be 20s. One might, of course, wonder what 5% of infinity would be—would it not be infinite as well? Since infinity is such a mess, a rather more manageable approach would be to use the largest finite number (which presumably has its own problems) and note that 5% of that number of d20 rolls would be 20s.

Another approach would be to say that the 1 in 20 chance means that if all 1 in 20 chance events were formed into sets of 20, sets could be made from all the events that would have one occurrence each of the 1 in 20 events. Using dice as the example, if all the d20 rolls in the universe were known and collected into sets of numbers, they could be dived up into sets of twenty with each number in each set. So, while my 20 rolls would not guarantee a 20, there would be one 20 out of every 20 rolls in the universe. There is still, of course, the question of how this would work. One possibility is that random events are not random and this ensures the proper distribution of events—in this case, dice rolls.

It could also be claimed that chance is a bare fact, that a perfect d20 rolled in perfect conditions would have a 1 in 20 chance of producing a specific number. On this view, the law of large numbers might fail—while unlikely, if chance were a real random thing, it would not be impossible for results to be radically different than predicted. That is, there could be an infinite number of rolls of a perfect d20 with no 20 being rolled. One could even imagine that since a 1 can be rolled on any roll, someone could roll an infinite number of consecutive 1s. Intuitively this seems impossible—it is natural to think that in an infinity every possibility must occur (and perhaps do so perfectly in accord with the probability). But, this would only be a necessity if chance worked a certain way, perhaps that for every 20 rolls in the universe there must be one of each result. Then again, infinity is a magical number, so perhaps this guarantee is part of the magic.

My Amazon Author Page

My Paizo Page

My DriveThru RPG Page

Tagged with: ,

### 4 Responses

1. TJB said, on August 9, 2017 at 7:55 pm

The meaning of never.

A team of 10^10 monkeys, typing for the age of the universe, 10^18 seconds, has a probability of typing Hamlet of 10^-164345.

It won’t happen.

Calculated here:

• WTP said, on August 11, 2017 at 6:10 am

It won’t happen.

It is extremely highly unlikely to happen. It is not worth our time/effort to have any expectation of it happening. But it can happen. Similarly, it can happen (much more likely) for two separately generated software GUID’s to be equal. Applications depend on this never happening. But it could.

• TJB said, on August 11, 2017 at 3:29 pm

This is an operational definition of “it won’t happen” for scientists. There are lot of examples of this in physics, and especially statistical mechanics.

2. CoffeeTime said, on August 10, 2017 at 5:41 pm

We humans do so much lazy thinking – the kind of thing that make us answer “If 5 men can make 5 bookcases in 5 days, how many bookcases can 10 men make in 10 days?” with the wrong answer. But, mostly, it works for us, because most of the questions we address in this way have no immediate consequences. And sometimes we push ourselves out of that, and buckle down to an actual analysis, because there will be consequences; you don’t want to play chess or build a bridge based purely on your first instinctive reaction.

And sometimes the concepts run so deep that even the most careful analysis fails to converge satisfactorily. “People who think about this topic almost invariably get into philosophical discussions about what the word “random” means. In a sense, there is no such thing as a random number; for example, is 2 a random number? Rather, we speak of a sequence of independent random numbers with a specified distribution, and this means loosely that each number was obtained merely by chance, having nothing to do with other numbers of the sequence, and that each number has a specified probability of falling in any given range of values.” — D. E. Knuth. And so we construct an operational definition, and with it a series of tests that allows us to certify that a given sequence, and we get on with our lives.