Why is the roll of a die considered random?

15.4k Views Asked by At

I've been reading articles on pseudo-randomness in computing when generating a random value. They all state that the generated numbers are pseudo-random because we know all the factors that influence the outcome, and that the roll of a die is considered truly random. But I'm wondering why. Don't we know all the physical forces that influence the die when it's being rolled? Or is there too many of them?

13

There are 13 best solutions below

1
On

Don't we know all the physical forces that influence the die when it's being rolled?

Yes. But, when throwing a die in a normal way, we aren't able to control the initial conditions (i.e. the position where you throw the die, and the applied force) and other conditions which might affect the throw (e.g. air currents).

Even when you just 'drop' a die from a certain height, you'll see the outcomes are random. That is, until you reduce the height to a fraction of the size of the die; then the forces are small enough to be able to predict the outcome of the 'throw'.

0
On

We assume randomness when identical inputs to a system give rise to different outputs. For a die roll, we are not able to consistently describe the changes to the system from roll to roll, for as you've supposed there are too many factors (and see Chaos Theory). So while a phenomenon may in principle be best modelled deterministically, it's often more practical and "good enough" to use a random model instead.

7
On

Even without invoking Quantum Theory, some systems are chaotic. In principle, they can be predicted but this requires impossibly perfect measurements of the initial state. Quantum theory prohibits these perfect measurements but such precision would be required that even without quantum mechanics, sufficiently perfect measurements would not be possible.

One nice example is a toy which is a consists of a pendulum which contains a magnet over a base with two magnets; the magnets are aligned to attract the pendulum. Place the base magnets slightly either side of the rest point of the pendulum. Move the pendulum off centre and release it. It will come to rest over one of the magnets but which? There will be areas around each base magnet in which the pendulum will predictably stop over that magnet. However, outside those areas, the behaviour is very complex. Here is one of the first hits that I found in a search, I expect that there are better ones: A pendulum and two magnets - an example of a chaotic system.

A purer mathematical example is the Mandelbrot set. In principle it is utterly predictable. Any point is either in the set or not. However, in some areas, this cannot be determined in finite number of steps. Mandelbrot set at Wikipedia

Another example is the solar system. Assume that Newton was right and ignore everything except the Sun and major planets (include Pluto if you wish). With a perfect measurement of the initial state and perfect calculations, we could predict its future indefinitely into the future. However, the tiniest error could render the results seriously wrong later on.

20
On

This has to do with chaos theory: the tiniest variation of the initial conditions will cause an enormously different output. For a physical system like a die toss:

  • even from a classical point of view, it is very unlikely that you can know the very exact initial conditions of the throw. And of the environment: the "floor" distance and surface characteristics (think of the abrupt effect of each bounce, that will be very different depending on the most infinitesimal variation of the impact parameters), the air conditions (thermodynamic and kinematic)...!

  • this becomes actually impossible if you include the uncertainty principle (that prevents you from knowing the exact value of certain pairs of variables at the same time, e.g. position and momentum, but see below);

  • it would be impossible from a practical point of view to propagate these initial conditions without introducing round-off errors, that due to the chaotic nature of the problem would make the result completely unreliable;

  • even if you could perform exact calculations, there is still the quantum indeterminacy (again, see below) that affects the development of the status of the die: at each bounce, even when air molecules brake the die rotation, it is impossible even theoretically to predict what will happen in the next instant with absolute certainty.

As pointed out in many comments and with many downvotes, the contributions to the randomness of the roll from quantum effects are insignificant from any practical point of view. Nevertheless I do want to mention them since they provide a theoretical watertight border against a deterministic idea of the phenomenon.

Taking care of another possible correct objection, I have to underline that my answer holds for a fair throw. If you think of a die "tossed" from, say, $1\,\mathrm{mm}$ above a horizontal flat floor, with negligible initial velocity and a face parallel to the ground, it is obvious that you can predict the outcome with practical certainty. Moving progressively away from this limit situation, you have many halfway toss styles that can influence the probability distribution of the outcomes, if only by a few percent. I'm referring to the opposite limit, when the system can be considered ergodic. When I heard this term applied to the die, maybe not $100\%$ properly, it was with the meaning that the system "scans" over time all the possible outcomes many many times, with equal probability and with no recognizable pattern. Add the fact that a fair throw starts with a random grip of the die, and you really have equal chances for all the outcomes.

5
On

A die roll is only considered random if the external factors are not controlled.

Practiced dice cheats can roll numbers they want to roll. So talk about nerves and blood vessels and quantum effects are just wrong. These cheats control the meaningful factors such that they influence the outcome of the roll, predictably. Even if someone only increases their chance of rolling a certain number by a few percentage points, that's huge in gambling terms.

That's why there are rules on how the dice must be rolled at casinos, and inventions such as the dice tower:

Dice Tower.

13
On

I feel the existing answers all concentrate on the dice and would like to offer another perspective, concerned with the generator:

The "pseudo" in "pseudo random generator" means that the next value is completely determined. There is no surprise at all, no matter what you do. The only "surprise factor" arises if you do not happen to know the internal state of the generator. But it is trivially easy to get the internal state (just read out the RAM), and it is there.

Also, if you restore a known internal state, you can repeat the series of "random" values you got before. This is actually, where PRNGs are used, often a welcome feature - for example, you can generate a lot of, well, pseudorandom data from a very small seed value. So to communicate whatever you generated, you only need to transfer the seed, not all values. Or you can test something which needs seemingly random input in a repeatable way (for debugging, demonstration etc.).

For dice, or many other physical processes, the problem is not so much that we are too stupid to read out the state, but that there actually is no deterministic process underlying whatever we are using to generate the next random value. It is not so much about us not being able to figure it out ("read the RAM") but that there "is no RAM". For dice, the previous roll of the dice has no relation whatsoever to the next roll. Sure, we might, in ideal conditions and with stunning advances in measuring apparatuses, somehow try to predict the current roll while it is happening. But even if we'd manage to do that (quantum effects, Heisenberg, chaotic effects ignored), this roll would have no relation whatsoever with the next roll. Hence we call it truly (independently) random.

If you are more interested, a nice read is "The Art of Computer Programming" by Knuth. He spends a lot of time on PRNGs, including how to measure how "random" a random generator actually is.

1
On

The roll of a die is modelled as being random.

The purpose of a mathematical model is to help us to understand some feature of the world.

A real die falling onto a surface is a mechanical system. It can be modelled by a deterministic mechanical model, which could be used to generate pseudorandom numbers. However, this is not usually a particularly useful model. Instead we can use a uniform discrete distribution as a model for the die. This is a much better model. It simplifies the mechanical system, and allows you to gain insight into the world. It allows you to consider the expected value and variance of the die roll (these concepts would be hidden by the detail of the mechanical model).

In mathematical questions phrases like "Yusuf rolls a fair die..." are part of the code: It means "There is a random variable with a discrete uniform distribution on {1...6}. The question is asking you to form a mathematical model. A more sophisticated model takes into account the slight biases due to the mass of the die not being centred, or the sides not being identical.

This is what is meant by a die being random: It is an object that is usefully modelled by a random variable.

0
On

According to this article:

We argue using simple models that all successful practical uses of probabilities originate in quantum fluctuations in the microscopic physical world around us, often propagated to macroscopic scales. Thus we claim there is no physically verified fully classical theory of probability. We comment on the general implications of this view, and specifically question the application of classical probability theory to cosmology in cases where key questions are known to have no quantum answer. We argue that the ideas developed here may offer a way out of the notorious measure problems of eternal inflation.

So, whenever something is truly random, the probabilistic aspects of it will always derive from quantum mechanical processes. In the article it's explained how quantum processes in the brain propagate via our nerves to our hands when we throw coins or throw dice. And this is true even if you consider betting on the value of the digits of $\pi$. The probability that the $123543745345385$th binary digit of $\pi$ is 0 seems to be a purely classical probability, but in the article it's pointed out that even this probability has a purely quantum mechanical origin.

0
On

If we know the algorithm of a pseudo-random number generator, and we know its current internal state, then we can predict with certainty the next number.

But with a die roll, although we might be able to predict with some level of accuracy what the number might be, it depends on how much we know about factors such as:

  1. the starting position and orientation of the die
  2. how it is picked up and thrown
  3. the motion and density of the air it passes through
  4. the surface it lands on, particularly at the points where it will probably land/bounce

If we collude with the roller and have them "roll" it by placing it on the surface with a given number facing upwards - effectively controlling point 2 above - then we can even predict, with great surety, what the outcome will be.

Therefore we must make some additional assumptions about our level of knowledge/control in order to consider a die roll to be random.

Informally, I'd say that we would tend to assume:

  1. only vague knowledge of a die's position and orientation (maybe just which number is facing up)
  2. no knowledge of how it will be picked up and thrown

At this point, I would expect any outcome to be possible (even if the air and surface were the same each time). So with just those two assumptions, I would informally consider the outcome of a die roll to be "random".

2
On

There are no such things as "truly random" and "pseudorandom", at least in science.

An event is random if you do not have enough information to determine its outcome. Randomness depends on your state of information. This includes that an event may be random for you, but not somebody else (who has more knowledge).

For an outsider, who cannot see the internal state of a computer, the sequence generated by that computer may be random because he/she has not enough information to determine the next number. For the computer admin, the sequence is not random.

Some events (e.g. in quantum states) may be "truly random" in the sense that it is impossible to gather enough information to predict them. But this is a purely philosophical question and nobody can say whether some clever physicist will be able to predict quantum states in the future.

3
On

I think the die is random because it BEHAVES AS IF it is random. Likewise, the pseudorandom generators in computers. The difference is that in the computer, you can reset the generator and get the exact same sequence; nobody I know has been able to do this with dice.

I heard of a long ago Soviet computer that had an actual random digit generator. I don't know if they used thermal noise or a radioactive decay detector, but it was abandoned because there was no way to repeat the exact same sequence when software was being debugged.

2
On

Think of a Galton board.

Even though all balls are dropped the same way, the outcomes of the collisions are completely unpredictable.

enter image description here

The device will be influenced by a person caughing in the next room. The same goes with dice.

1
On

The existence of true randomness is a philosophical question. However, many completely deterministic processes approximate the statistical properties of randomness. This is how we develop and test pseudo-random number generators, which are completely deterministic processes that nonetheless are statistically indistinguishable from a truly random process.

Therefore, one good operational definition of a random process is that it passes the same tests that pseudo-random number generators must pass (suitably adjusted for whatever non-uniformity we are assuming about the process).

So, we consider a die roll to be statistically random insofar as it satisfies the requirements we would place on an equivalent pseudorandom number generator.

As an example, one such requirement is the absence of any statistically significant autocorrelation between successive rolls (up to some large number of lags). Technically, all pseudorandom number generators will fail this test for a sufficiently large lag (very, very large), where the autocorrelation will spike to 1.0.

However, for smaller lags, it will behave statistically like it came from a process that can generate any value in its range for any given trial.