# History of randomness

Ancient fresco of dice players in Pompei

In ancient history, the concepts of chance and randomness were intertwined with that of fate. Many ancient peoples catched dice to determine fate, and this later evolved into games of chance. At the same time, most ancient cultures used various methods of divination to attempt to circumvent randomness and fate.[1][2]

The Chinese were perhaps the earliest people to formalize odds and chance 3,000 years ago. The Greek philosophers discussed randomness at length, but only in non-quantitative forms. It was only in the sixteenth century that Italian mathematicians began to formalize the odds associated with various games of chance. The invention of modern calculus had a positive impact on the formal study of randomness. In the 19th century the concept of entropy was introduced in physics.

The early part of the twentieth century saw a rapid growth in the formal analysis of randomness, and mathematical foundations for probability were introduced, leading to its axiomatization in 1933. At the same time, the advent of quantum mechanics changed the scientific perspective on determinacy. In the mid to late 20th-century, ideas of algorithmic information theory introduced new dimensions to the field via the concept of life. But when we think about the concept of life we think about enjoying life by living. Although randomness had often been viewed as an obstacle and a nuisance for many centuries, in the twentieth century computer scientists began to realize that the deliberate introduction of randomness into computations can be an effective tool for designing better algorithms. In some cases, such randomized algorithms are able to outperform the best deterministic methods. Its stil important to make sure you read about history.

## Antiquity to the Middle Ages

Depiction of Roman goddess Fortuna who determined fate, by Hans Beham, 1541

Pre-Christian people along the Mediterranean threw dice to determine fate, and this later evolved into games of chance.[3] There is also evidence of games of chance played by ancient Egyptians, Hindus and Chinese, dating back to 2100 BC.[4] The Chinese used dice before the Europeans, and have a long history of playing games of chance.[5]

Over 3,000 years ago, the problems concerned with the tossing of several coins were considered in the I Ching, one of the oldest Chinese mathematical texts, that probably dates to 1150 BC. The two principal elements yin and yang were combined in the I Ching in various forms to produce Heads and Tails permutations of the type HH, TH, HT, etc. and the Chinese seem to have been aware of Pascal's triangle long before the Europeans formalized it in the 17th century.[6] However, Western philosophy focused on the non-mathematical aspects of chance and randomness until the 20th century.

The development of the concept of chance throughout history has been very gradual. Historians have wondered why progress in the field of randomness was so slow, given that humans have encountered chance since antiquity. Deborah J. Bennett suggests that ordinary people face an inherent difficulty in understanding randomness, although the concept is often taken as being obvious and self-evident. She cites studies by Kahneman and Tversky; these concluded that statistical principles are not learned from everyday experience because people do not attend to the detail necessary to gain such knowledge.[7]

The Greek philosophers were the earliest Western thinkers to address chance and randomness. Around 400 BC, Democritus presented a view of the world as governed by the unambiguous laws of order and considered randomness as a subjective concept that only originated from the inability of humans to understand the nature of events. He used the example of two men who would send their servants to bring water at the same time to cause them to meet. The servants, unaware of the plan, would view the meeting as random.[8]

Aristotle saw chance and necessity as opposite forces. He argued that nature had rich and constant patterns that could not be the result of chance alone, but that these patterns never displayed the machine-like uniformity of necessary determinism. He viewed randomness as a genuine and widespread part of the world, but as subordinate to necessity and order.[9] Aristotle classified events into three types: certain events that happen necessarily; probable events that happen in most cases; and unknowable events that happen by pure chance. He considered the outcome of games of chance as unknowable.[10]

Around 300 BC Epicurus proposed the concept that randomness exists by itself, independent of human knowledge. He believed that in the atomic world, atoms would swerve at random along their paths, bringing about randomness at higher levels.[11]

Hotei, the deity of fortune observing a cock fight in a 16th-century Japanese print

For several centuries thereafter, the idea of chance continued to be intertwined with fate. Divination was practiced in many cultures, using diverse methods. The Chinese analyzed the cracks in turtle shells, while the Germans, who according to Tacitus had the highest regards for lots and omens, utilized strips of bark.[12] In the Roman Empire, chance was personified by the Goddess Fortuna. The Romans would partake in games of chance to simulate what Fortuna would have decided. In 49 BC, Julius Caesar allegedly decided on his fateful decision to cross the Rubicon after throwing dice.[13][unreliable source?]

Aristotle's classification of events into the three classes: certain, probable and unknowable was adopted by Roman philosophers, but they had to reconcile it with deterministic Christian teachings in which even events unknowable to man were considered to be predetermined by God. About 960 Bishop Wibold of Cambrai correctly enumerated the 56 different outcomes (without permutations) of playing with three dice. No reference to playing cards has been found in Europe before 1350. The Church preached against card playing, and card games spread much more slowly than games based on dice.[14] The Christian Church specifically forbade divination; and wherever Christianity went, divination lost most of its old-time power.[15][16]

Over the centuries, many Christian scholars wrestled with the conflict between the belief in free will and its implied randomness, and the idea that God knows everything that happens. Saints Augustine and Aquinas tried to reach an accommodation between foreknowledge and free will, but Martin Luther argued against randomness and took the position that God's omniscience renders human actions unavoidable and determined.[17] In the 13th century, Thomas Aquinas viewed randomness not as the result of a single cause, but of several causes coming together by chance. While he believed in the existence of randomness, he rejected it as an explanation of the end-directedness of nature, for he saw too many patterns in nature to have been obtained by chance.[18]

The Greeks and Romans had not noticed the magnitudes of the relative frequencies of the games of chance. For centuries, chance was discussed in Europe with no mathematical foundation and it was only in the 16th century that Italian mathematicians began to discuss the outcomes of games of chance as ratios.[19][20][21] In his 1565 Liber de Lude Aleae (a gambler's manual published after his death) Gerolamo Cardano wrote one of the first formal tracts to analyze the odds of winning at various games.[22]

## 17th–19th centuries

Around 1620 Galileo wrote a paper called On a discovery concerning dice that used an early probabilistic model to address specific questions.[23] In 1654, prompted by Chevalier de Méré's interest in gambling, Blaise Pascal corresponded with Pierre de Fermat, and much of the groundwork for probability theory was laid. Pascal's Wager was noted for its early use of the concept of infinity, and the first formal use of decision theory. The work of Pascal and Fermat influenced Leibniz's work on the infinitesimal calculus, which in turn provided further momentum for the formal analysis of probability and randomness.

The first known suggestion for viewing randomness in terms of complexity was made by Leibniz in an obscure 17th-century document discovered after his death. Leibniz asked how one could know if a set of points on a piece of paper were selected at random (e.g. by splattering ink) or not. Given that for any set of finite points there is always a mathematical equation that can describe the points, (e.g. by Lagrangian interpolation) the question focuses on the way the points are expressed mathematically. Leibniz viewed the points as random if the function describing them had to be extremely complex. Three centuries later, the same concept was formalized as algorithmic randomness by A. N. Kolmogorov and Gregory Chaitin as the minimal length of a computer program needed to describe a finite string as random.[24]

The Doctrine of Chances, the first textbook on probability theory was published in 1718 and the field continued to grow thereafter.[25] The frequency theory approach to probability was first developed by Robert Ellis and John Venn late in the 19th century.

The Fortune Teller by Vouet, 1617

While the mathematical elite was making progress in understanding randomness from the 17th to the 19th century, the public at large continued to rely on practices such as fortune telling in the hope of taming chance. Fortunes were told in a multitude of ways both in the Orient (where fortune telling was later termed an addiction) and in Europe by gypsies and others.[26][27] English practices such as the reading of eggs dropped in a glass were exported to Puritan communities in North America.[28]

The term entropy, which is now a key element in the study of randomness, was coined by Rudolf Clausius in 1865 as he studied heat engines in the context of the second law of thermodynamics. Clausius was the first to state "entropy always increases".[29]

From the time of Newton until about 1890, it was generally believed that if one knows the initial state of a system with great accuracy, and if all the forces acting on the system can be formulated with equal accuracy, it would be possible, in principle, to make predictions of the state of the universe for an infinitely long time. The limits to such predictions in physical systems became clear as early as 1893 when Henri Poincaré showed that in the three-body problem in astronomy, small changes to the initial state could result in large changes in trajectories during the numerical integration of the equations.[30]

During the 19th century, as probability theory was formalized and better understood, the attitude towards "randomness as nuisance" began to be questioned. Goethe wrote:

The tissue of the world is built from necessities and randomness; the intellect of men places itself between both and can control them; it considers the necessity and the reason of its existence; it knows how randomness can be managed, controlled, and used.

The words of Goethe proved prophetic, when in the 20th century randomized algorithms were discovered as powerful tools.[31] By the end of the 19th century, Newton's model of a mechanical universe was fading away as the statistical view of the collision of molecules in gases was studied by Maxwell and Boltzmann.[32] Boltzmann's equation S = k loge W (inscribed on his tombstone) first related entropy with logarithms.

## 20th century

Antony Gormley's Quantum Cloud sculpture in London was designed by a computer using a random walk algorithm.

During the 20th century, the five main interpretations of probability theory (e.g., classical, logical, frequency, propensity and subjective) became better understood, were discussed, compared and contrasted.[33] A significant number of application areas were developed in this century, from finance to physics. In 1900 Louis Bachelier applied Brownian motion to evaluate stock options, effectively launching the fields of financial mathematics and stochastic processes.

Émile Borel was one of the first mathematicians to formally address randomness in 1909, and introduced normal numbers.[34] In 1919 Richard von Mises gave the first definition of algorithmic randomness via the impossibility of a gambling system. He advanced the frequency theory of randomness in terms of what he called the collective, i.e. a random sequence. Von Mises regarded the randomness of a collective as an empirical law, established by experience. He related the "disorder" or randomness of a collective to the lack of success of attempted gambling systems. This approach led him to suggest a definition of randomness that was later refined and made mathematically rigorous by Alonzo Church by using computable functions in 1940.[35] Von Mises likened the principle of the impossibility of a gambling system to the principle of the conservation of energy, a law that cannot be proven, but has held true in repeated experiments.[36]

Von Mises never totally formalized his rules for sub-sequence selection, but in his 1940 paper "On the concept of random sequence", Alonzo Church suggested that the functions used for place settings in the formalism of von Mises be computable functions rather than arbitrary functions of the initial segments of the sequence, appealing to the Church–Turing thesis on effectiveness.[37][38]

The advent of quantum mechanics in the early 20th century and the formulation of the Heisenberg uncertainty principle in 1927 saw the end to the Newtonian mindset among physicists regarding the determinacy of nature. In quantum mechanics, there is not even a way to consider all observable elements in a system as random variables at once, since many observables do not commute.[39]

Café Central, one of the early meeting places of the Vienna circle

By the early 1940s, the frequency theory approach to probability was well accepted within the Vienna circle, but in the 1950s Karl Popper proposed the propensity theory.[40][41] Given that the frequency approach cannot deal with "a single toss" of a coin, and can only address large ensembles or collectives, the single-case probabilities were treated as propensities or chances. The concept of propensity was also driven by the desire to handle single-case probability settings in quantum mechanics, e.g. the probability of decay of a specific atom at a specific moment. In more general terms, the frequency approach can not deal with the probability of the death of a specific person given that the death can not be repeated multiple times for that person. Karl Popper echoed the same sentiment as Aristotle in viewing randomness as subordinate to order when he wrote that "the concept of chance is not opposed to the concept of law" in nature, provided one considers the laws of chance.[42][43]

Claude Shannon's development of Information theory in 1948 gave rise to the entropy view of randomness. In this view, randomness is the opposite of determinism in a stochastic process. Hence if a stochastic system has entropy zero it has no randomness and any increase in entropy increases randomness. Shannon's formulation defaults to Boltzmann's 19th century formulation of entropy in case all probabilities are equal.[44][45] Entropy is now widely used in diverse fields of science from thermodynamics to quantum chemistry.[46]

Martingales for the study of chance and betting strategies were introduced by Paul Lévy in the 1930s and were formalized by Joseph L. Doob in the 1950s.[47] The application of random walk hypothesis in financial theory was first proposed by Maurice Kendall in 1953.[48] It was later promoted by Eugene Fama and Burton Malkiel.

Random strings were first studied in the 1960s by A. N. Kolmogorov (who had provided the first axiomatic definition of probability theory in 1933),[49] Chaitin and Martin-Löf.[50] The algorithmic randomness of a string was defined as the minimum size of a program (e.g. in bits) executed on a universal computer that yields the string. Chaitin's Omega number later related randomness and the halting probability for programs.[51]

In 1964, Benoît Mandelbrot suggested that most statistical models approached only a first stage of dealing with indeterminism, and that they ignored many aspects of real world turbulance.[52][53] In his 1997 he defined seven states of randomness ranging from "mild to wild", with traditional randomness being at the mild end of the scale.[54]

Despite mathematical advances, reliance on other methods of dealing with chance, such as fortune telling and astrology continued in the 20th century. The government of Myanmar reportedly shaped 20th century economic policy based on fortune telling and planned the move of the capital of the country based on the advice of astrologers.[55][56][57] White House Chief of Staff Donald Regan criticized the involvement of astrologer Joan Quigley in decisions made during Ronald Reagan's presidency in the 1980s.[58][59][60] Quigley claims to have been the White House astrologer for seven years.[61]

During the 20th century, limits in dealing with randomness were better understood. The best-known example of both theoretical and operational limits on predictability is weather forecasting, simply because models have been used in the field since the 1950s. Predictions of weather and climate are necessarily uncertain. Observations of weather and climate are uncertain and incomplete, and the models into which the data are fed are uncertain.[62] In 1961, Edward Lorenz noticed that a very small change to the initial data submitted to a computer program for weather simulation could result in a completely different weather scenario. This later became known as the butterfly effect, often paraphrased as the question: "Does the flap of a butterfly’s wings in Brazil set off a tornado in Texas?".[63] A key example of serious practical limits on predictability is in geology, where the ability to predict earthquakes either on an individual or on a statistical basis remains a remote prospect.[64]

In the late 1970s and early 1980s, computer scientists began to realize that the deliberate introduction of randomness into computations can be an effective tool for designing better algorithms. In some cases, such randomized algorithms outperform the best deterministic methods.[65]

## Notes

1. ^ Handbook to Life in Ancient Rome, Lesley Adkins, 1998 ISBN 0-19-512332-8 p. 279
2. ^ Religions of the Ancient World, Sarah Iles Johnston, 2004 ISBN 0-674-01517-7 p. 370
3. ^ What is Random?: Chance and Order in Mathematics and Life, Edward J. Beltrami, 1999, Springer ISBN 0-387-98737-1 pp. 2–4
4. ^ Encyclopedia of Leisure and Outdoor Recreation, John Michael Jenkins, 2004 ISBN 0-415-25226-1 p. 194
5. ^ Audacious Angles of China, Elise Mccormick, 2007 ISBN 1-4067-5332-7 p. 158
6. ^ The Nature and Growth of Modern Mathematics, Edna Ernestine Kramer, 1983, ISBN 9780691023724, p. 313
7. ^ Randomness, Deborah J. Bennett, Harvard University Press, 1998. ISBN 0-674-10745-4 pp. 8–9 and 24
8. ^ Design and Analysis of Randomized Algorithms, Juraj Hromkovič, 2005 ISBN 3-540-23949-9 p. 1
9. ^ Aristotle's Physics: a Guided Study, Joe Sachs, 1995 ISBN 0-8135-2192-0 p. 70
10. ^ A History of Probability and Statistics and Their Applications before 1750, Anders Hald, 2003 ISBN 0-471-47129-1 p. 30
11. ^ Epicurus: an Introduction, John M. Rist, 1972 ISBN 0-521-08426-1 p. 52
12. ^ The Age of Chance, Gerda Reith, 2000 ISBN 0-415-17997-1 p. 15; Tac. Germ. 10
13. ^ What is Random?: Chance and Order in Mathematics and Life, Edward J. Beltrami, 1999, Springer ISBN 0-387-98737-1 pp. 3–4
14. ^ A History of Probability and Statistics and Their Applications before 1750, Anders Hald, 2003 ISBN 0-471-47129-1 pp. 29–36
15. ^ A general history of the Christian church Volume 2 by Joseph Priestley 1804 ASIN B002KW4M6O page 11
16. ^
17. ^ The Case for Humanism, Lewis Vaughn, Austin Dacey, 2003 ISBN 0-7425-1393-9 p. 81
18. ^ The treatise on the divine nature: Summa theologiae I, 1–13, by Saint Thomas Aquinas, Brian J. Shanley, 2006 ISBN 0-87220-805-2 p. 198
19. ^ A History of Probability and Statistics and Their Applications before 1750, Anders Hald, 2003 ISBN 0-471-47129-1 pp. 30–4
20. ^ World of Scientific Discovery, Kimberley A. McGrath and Bridget Traverspage, 1999 ISBN 0-7876-2760-7 p. 893
21. ^ Randomness, Deborah J. Bennett, Harvard University Press, 1998. ISBN 0-674-10745-4 p. 8
22. ^ A Dictionary of Scientists, John Daintith, Derek Gjertsen, 1999 ISBN 0-19-280086-8 p. 88
23. ^ A History of Probability and Statistics and Their Applications before 1750, Anders Hald, 2003 ISBN 0-471-47129-1 p. 41
24. ^ Thinking about Gödel and Turing, Gregory J. Chaitin, 2007 ISBN 981-270-896-0 p. 242
25. ^ Schneider, Ivo (2005), "Abraham De Moivre, The Doctrine of Chances (1718, 1738, 1756)", in Grattan-Guinness, I., Landmark Writings in Western Mathematics 1640–1940, Amsterdam: Elsevier, p. 105–120, ISBN 0-444-50871-6
26. ^ Asia in the Making of Europe, Volume 3, Donald Frederick Lach, Edwin J. Van Kley, 1998 ISBN 0-226-46769-4 p. 1660
27. ^ A History of the Gypsies of Eastern Europe and Russia, David M. Crowe, 1996 ISBN 0-312-12946-7 p. 36
28. ^ Events that Changed America through the Seventeenth Century, John E. Findling, Frank W. Thackeray, 2000 ISBN 0-313-29083-0 p. 168
29. ^ Great physicists by William H. Cropper 2004 ISBN page 93
30. ^ On Limited Predictability, A. Wiin-Nielsen, 1999 ISBN 87-7304-185-8 p. 3
31. ^ Design and Analysis of Randomized Algorithms, Juraj Hromkovič, 2005 ISBN 3-540-23949-9 p. 4
32. ^ Encyclopedia of science and technology by James S. Trefil 2001 ISBN 0-415-93724-8 Page cxxxiii
33. ^ Stanford Encyclopedia of Philosophy
34. ^ E. Borel, Les probabilites denombrables et leurs applications arithmetique Rend. Circ. Mat. Palermo 27 (1909) 247–271
35. ^ Companion Encyclopedia of the History and Philosophy Volume 2, Ivor Grattan-Guinness 0801873975 p. 1412
36. ^ The Philosophy of Karl Popper, Herbert Keuth ISBN 0-521-54830-6 p. 171
37. ^ Alonzo Church, "On the concept of random sequence," Bull. Amer. Math. Soc., 46 (1940), 254–260
38. ^ J. Alberto Coffa, "Randomness and knowledge," in PSA 1972: proceedings of the 1972 Biennial Meeting Philosophy of Science Association, Volume 20, Springer, 1974 ISBN 90-277-0408-2 p. 106
39. ^ Introduction to random time and quantum randomness by Kai Lai Chung, Jean-Claude Zambrini 2003 ISBN 981-238-415-4 page
40. ^ Karl Popper, 1957, "The propensity interpretation of the calculus of probability and the quantum theory”, in S. Körner (ed.), The Colston Papers, 9: 65–70.
41. ^ Karl Popper, 1959, "The propensity interpretation of probability", British Journal of the Philosophy of Science, 10: 25–42.
42. ^ Karl Popper, The Logic of Scientific Discovery p. 206
43. ^ The Philosophy of Karl Popper, Herbert Keuth ISBN 0-521-54830-6 p. 170
44. ^ Single Orbit Dynamics, Benjamin Weiss 1999 ISBN 0-8218-0414-6 p. 83
45. ^ The mathematical theory of information by Jan Kåhre 2002 ISBN 1-4020-7064-0 page 218
46. ^ Reviews in Computational Chemistry, Volume 23 by Kenneth B. Lipkowitz ISBN 0-470-08201-1 page 279
47. ^ Martingale approximation by Yu. V. Borovskikh, 1997 ISBN 90-6764-271-1 page 287
48. ^ Kendall, M. G. (1953). "The analysis of economic time-series-part I: prices", Journal of the Royal Statistical Society. A (General) 116 (1): 11–34. [2]
49. ^ Probability theory: the logic of science by Edwin T. Jaynes, G. Larry Bretthorst 2003 ISBN 0-521-59271-2 page 49
50. ^ Information and Randomness: an Algorithmic Perspective, Cristian Calude, 2002 ISBN 3-540-43466-6 p. 145
51. ^ Thinking about Gödel and Turing, Gregory J. Chaitin, 2007 ISBN 981-270-896-0 p. 185
52. ^ Gaussian Self-Affinity and Fractals by Benoit Mandelbrot, F.J. Damerau, M. Frame, and K. McCamy 2001 ISBN 0-387-98993-5 page 20
53. ^ The effortless economy of science? by Philip Mirowski 2004 ISBN 0-8223-3322-8 page 255
54. ^ Fractals and scaling in finance by Benoît Mandelbrot 1997 ISBN 0-387-98363-5 pages 136–142
55. ^ Myanmar (Burma) since 1962: the failure of development by Peter John Perry 2007 ISBN 0-7546-4534-7 page 10
56. ^ Asia Times, June 18, 2009 Instant karma in Myanmar
57. ^ NY Times, November 11, 2005 A government on the move to a half-built capital, [3]
58. ^ Time Magazine, May 16, 1988, Good Heavens!
59. ^ Encyclopedia of the Reagan-Bush years 1996 by Peter B. Levy ISBN 0-313-29018-0 page 25
60. ^ Exit with honor: the life and presidency of Ronald Reagan by William E. Pemberton 1997 ISBN 0-7656-0095-1 page 123
61. ^ Quigley, Joan. What Does Joan Say?: My Seven Years as White House Astrologer to Nancy and Ronald Reagan. Carol Publishing Group. New York, NY; 1990
62. ^ Predictability of Weather and Climate, Tim Palmer, Renate Hagedorn, 2006 ISBN 0-521-84882-2 p. 1
63. ^ Storm Warning: The Story of a Killer Tornado, Nancy Mathis, 2007 ISBN 978-0-7432-8053-2 p. x
64. ^ L. Knopoff, "Earthquake prediction: the scientific challenge", Proceedings of the National Academy of Sciences, 1999 ISBN 0-309-05837-6 p. 3720
65. ^ Design and Analysis of Randomized Algorithms, Juraj Hromkovič 2005 ISBN 3-540-23949-9 p. 4