Randomness
Randomness is the absence of pattern, predictability, or deterministic cause in a sequence of outcomes. Key result: an outcome is random if it cannot be predicted with certainty and, over many trials, its outcomes follow a stable probability distribution. Where it applies: probability, statistics, cryptography, quantum physics, simulation, and games of chance. Who/when: formalized through probability theory (Pascal, Fermal, Kolmogorov) and algorithmic information theory (Kolmogorov, Chaitin, 1960s).
Randomness is individual unpredictability combined with collective regularity. A single fair die roll is impossible to predict, yet the long-run frequency of each face converges to exactly 1/6. This dual nature — chaos in the small, order in the large — is the engine behind all of probability and statistics. Randomness is not "nothing happening"; it is structure that lives only in the aggregate.
Formal Statement
There are several complementary ways to make "randomness" precise. The most accessible is the probabilistic definition, built on a sample space and a probability measure.
For a random experiment, the sample space is the set of all possible outcomes. An event is a subset of . A probability function assigns to each event a number satisfying the axioms below.
Derivation hint: a probability is a proportion of outcomes; proportions cannot be negative or exceed the whole, which equals 1.
Derivation hint: something in the sample space must occur, so the certain event has probability 1.
Derivation hint: for mutually exclusive (disjoint) events, the proportions simply add since no outcome is double-counted. Symbols: = sample space (all outcomes); = events (sets of outcomes); = probability measure; = union ("or"); = intersection ("and"); = empty set.
When a finite sample space has outcomes that are all equally likely, the probability of an event containing favorable outcomes is:
Derivation hint: each of the outcomes has probability by symmetry; sum over the favorable outcomes by equation [3].
Let be independent repetitions of a random experiment, each with mean . The sample average converges to the true mean as the number of trials grows:
Derivation hint: the variance of the average is , which shrinks to 0 as grows; outcomes therefore cluster ever tighter around . This theorem is why randomness produces collective regularity: the relative frequency of an event approaches its probability.
A finite binary string is algorithmically random if its Kolmogorov complexity — the length of the shortest computer program that outputs — is at least as long as itself:
Derivation hint: a compressible string has a short generating program (a "pattern"); a string with no shorter description than itself contains no exploitable pattern, the very meaning of randomness. Here is a small fixed constant. Symbols: = Kolmogorov complexity of ; = length of in bits; = machine-dependent constant.
Why It Holds / Derivation
We show why the abstract number matches the observed frequency of . 1. Indicator variable. For each trial , define if event occurs and otherwise. Then is a random variable. 2. Mean of the indicator. Its expected value is . 3. Sample average is a frequency. The average equals (number of times occurred) divided by — exactly the relative frequency of . 4. Apply the Law of Large Numbers (equation [5]): as . 5. Conclusion. The observed long-run frequency of an event converges to its probability. This is why probability, an abstract measure, can be measured by repeated experiments.
∎The Soviet mathematician Andrey Kolmogorov gave probability theory its rigorous modern foundation in his 1933 book Grundbegriffe der Wahrscheinlichkeitsrechnung, defining probability as a measure on a sample space — the framework in equations [1]–[3]. Three decades later he returned to randomness from a radically different angle, founding algorithmic information theory (equation [6]) by asking: what makes a single sequence random, with no reference to repetition? His answer — incompressibility — connected randomness to computation and complexity, unifying probability with the theory of algorithms.
Building Intuition
Picture two strings of 20 coin flips:
- `HTHTHTHTHTHTHTHTHTHT`
- `HHTHTTHTTHHHTHTTHTHH`
Both have probability exactly — they are equally likely outcomes! Yet the first "feels" non-random because we can describe it shortly ("HT repeated ten times"), while the second resists compression. This captures the deep idea: randomness is not about any single outcome being unlikely, but about the absence of describable pattern. Probability tells us how outcomes distribute; Kolmogorov complexity tells us which individual sequences deserve the name "random." A truly random sequence is its own shortest description — to communicate it, you must transmit every bit.
Worked Examples
Given: Two fair six-sided dice are rolled. Find the probability that the sum equals 7.
Steps: 1. Total outcomes: each die has 6 faces, so equally likely ordered pairs (equation [4]). 2. Favorable outcomes summing to 7: — that is . 3. Apply equation [4]: .
Given: Random points are scattered uniformly in a square; a quarter-circle of radius 1 sits inside it. Suppose points are thrown and land inside the quarter-circle. Estimate .
Steps: 1. The fraction inside should approximate the area ratio: . 2. Solve for : . 3. Compute: .
This uses randomness constructively: the Law of Large Numbers (equation [5]) guarantees the estimate improves as .
Common Misconceptions
A common error is believing that past random outcomes influence future independent ones — e.g., "the roulette wheel landed red five times, so black is now 'due'." For independent events, the probability resets every trial: regardless of history. Randomness has no memory. The Law of Large Numbers does not work by "correcting" imbalances; it works by diluting them as grows.
One might claim a sequence like `HHHHHHHHHH` (ten heads) proves a coin is rigged. But for a fair coin this exact sequence has probability — unlikely, yet equally unlikely as any other specific sequence such as `HTHTHHTHTT`. The appearance of a "pattern" in a finite sample is not evidence against randomness; truly random data inevitably contains apparent streaks and clusters. Conversely, forcing data to look "evenly mixed" (no long streaks) actually makes it non-random.
Connections
Randomness is the foundation of Probability Theory, which quantifies it, and Statistics, which extracts signal from it. Its collective regularity is formalized by the Law of Large Numbers and refined by the Central Limit Theorem, explaining why the Normal Distribution appears everywhere. The algorithmic view (equation [6]) ties randomness to Information Theory and Kolmogorov Complexity, measuring it as incompressibility. In physics, Quantum Mechanics suggests randomness may be fundamental, not merely a reflection of our ignorance — a sharp contrast with the apparent randomness of Chaos Theory, where deterministic systems only look random due to sensitivity to initial conditions.
Real-World Applications
Historical Development
Subtleties & Limits
Deep questions remain about the very nature of randomness:
- Is true randomness real? Quantum mechanics appears genuinely random, but "hidden variable" theories (constrained by Bell's theorem) keep the debate alive. Is the universe fundamentally indeterministic, or merely unpredictable to us?
- Uncomputability of complexity: Kolmogorov complexity (equation [6]) is provably uncomputable — no algorithm can calculate it in general. We therefore cannot certify, for any given finite string, that it is "truly random."
- Pseudo-randomness: Computers generate only deterministic sequences that merely look random. Whether efficiently computable functions can be perfectly indistinguishable from randomness connects to the unsolved P vs NP question and the existence of cryptographic one-way functions.
- Defining randomness for infinite sequences (Martin-Löf randomness, 1966) gives a robust notion, but multiple inequivalent definitions exist, and which one is "correct" remains a philosophical and mathematical frontier.
See Also
Probability Theory · Law of Large Numbers · Central Limit Theorem · Normal Distribution · Kolmogorov Complexity · Information Theory · Monte Carlo Method · Chaos Theory · Quantum Mechanics · Statistics