Probability theory
Probability theory is the branch of mathematics that studies random events. A random event is one whose outcome cannot be known before it happens, though it must be one of several possible outcomes.[1] Probability theory gives each event a number from 0 to 1, with 1 for a certain event and 0 for an impossible one, though in some models an event with probability 0 can still happen.[2][3]
A single coin toss cannot be predicted, but many tosses show a steady pattern: heads comes up about half the time.[1] Probability theory turns such patterns into exact rules and theorems, and it is the basis of statistics.[1]
Outcomes, events, and probabilities
Probability theory starts with an experiment, a process that can be repeated under the same conditions and may give a different outcome each time.[1] Three basic terms describe it.
- The sample space is the set of all possible outcomes. Tossing a coin once has the sample space {heads, tails}.
- An event is a subset of the sample space, meaning a set whose members all belong to the sample space. An example is "the two dice add up to six".
- The probability of an event , written , is a number from 0 to 1.
Equally likely outcomes
Early probability dealt with experiments that treat every outcome alike, such as fair dice, so that each outcome has the same chance.[1] Then the probability of an event is the number of outcomes in the event divided by the total number of outcomes.
Tossing two dice has 36 possible outcomes, written as ordered pairs with and from 1 to 6. In an ordered pair the order matters, so and are different outcomes.[1] The event "the sum is six" holds five outcomes, , , , , and , so its probability is .[1]
Many possible outcomes
Some experiments have infinitely many outcomes.[1] Tossing a coin until the first head appears can take 1, 2, 3, or any number of tosses. Spinning an ideal pointer can stop at any angle from 0 up to , so its outcomes fill a whole interval of real numbers, the numbers that can be placed on a number line.
Rules for combining probabilities
A few rules let you build the probability of a complex event from simpler ones. They use two set operations.[1]
- ("A and B"): the outcomes in both events.
- ("A or B"): the outcomes in at least one of the events.
Addition and complement
If two events share no outcomes, the probability that one or the other happens is the sum of their probabilities.[1]
Here is the empty set, the event with no outcomes.
The complement is the event "A does not happen". The addition rule gives .[1]
For example, the chance of at least one head in coin tosses is . This is because the only outcome with no heads is all tails, which has probability .[1]
Conditional probability
Conditional probability is the probability of an event once you know that another event has happened. It is written , read "the probability of A given B", and is defined as[2]
For a fair die, the probability that it shows 1, given that it shows an odd number, is .[2] Knowing the roll is odd shrinks the possible outcomes from six to three.
Independence
Two events are independent when knowing that one happened does not change the probability of the other.[4] This holds exactly when
Two tosses of a coin are the standard example. The first toss tells you nothing about the second.[4]
Abraham de Moivre stated this product rule for independent events in his book The Doctrine of Chances in 1718.[5]
Bayes' theorem
Bayes' theorem reverses a conditional probability. It finds the probability of a hypothesis given evidence from the probability of the evidence given the hypothesis:[4]
- is the prior probability, held before seeing the evidence.
- is the chance of seeing the evidence if the hypothesis is true.
- is the posterior probability, held after seeing the evidence.
Medical diagnosis is a typical use: a doctor knows how common a disease is and how often a test is positive in sick patients, and wants the chance of disease given a positive test.[4]
Random variables and distributions
A random variable is a number whose value depends on the outcome of an experiment, such as the sum of two dice.[4]
Its probability distribution tells how likely each value, or range of values, is.
Discrete and continuous distributions
Random variables come in two main kinds.[6]
| Kind | Values it can take | How probabilities are described | Example |
|---|---|---|---|
| Discrete | Separate values | Each value has its own probability | A fair die gives each of 1 to 6 the probability |
| Continuous | Any value in a range | A probability density function ; probability is area under | A spinner's stopping angle |
For a continuous random variable with density , the probability that lands between and is[6]
For such a variable, the probability of any single exact value is 0.[6] Yet some value always occurs, so an event with probability 0 is not the same as an impossible event.[3]
The cumulative distribution function works for both kinds. When a density exists, , and at every point where is continuous.[6]
Expected value
The expected value, or mean, is the long-run average value of a random variable. For a discrete random variable that takes value with probability , it is[7]
provided this sum converges absolutely, meaning the sum of the sizes is finite. If it does not, has no expected value.[7]
The expected value is often written . For one roll of a fair die, .[8]
Variance and standard deviation
The variance measures how far a random variable tends to fall from its mean:[8]
The standard deviation is , so the variance is also written .[8]
For a fair die, the variance is and the standard deviation is , about 1.71.[8]
Expected value and variance are the first two of a wider family of summary numbers called moments.
Limit theorems
Limit theorems describe what happens when an experiment is repeated many times. The two most important are the law of large numbers and the central limit theorem.[9]
Chebyshev's inequality
Chebyshev's inequality bounds the chance that a random variable lands far from its mean. For a random variable with mean and any number ,[10]
Irénée-Jules Bienaymé proved a version in 1853, and Pafnuty Chebyshev proved it more generally in 1867.[11][12]
The law of large numbers
The law of large numbers says that the average of many independent repetitions gets close to the expected value. Let be independent trials with the same distribution, finite mean , and finite variance , and let . Then for any ,[10]
The proof applies Chebyshev's inequality to the average , whose variance is .[10]
For coin tossing, the law says the share of heads should be near the chance of heads. This ties the mathematical model to the everyday idea of probability as long-run frequency.[10]
The naturalist Buffon tossed a coin 4,040 times and got 2,048 heads, a share of about 0.507, close to 1/2.[13]
The strong law
The result above is the weak law: for each large , a big gap between and is unlikely. The strong law says more.
Suppose are independent and identically distributed, meaning independent and all with the same probability distribution. If is finite and the mean is , then[14]
Convergence that holds with probability 1 like this is called almost sure convergence.[14] The strong law needs no assumption about the variance.[14]
The central limit theorem
The central limit theorem says that the sum of many independent random variables with finite variance, once shifted and rescaled, is close to a normal distribution, the bell curve.[15] The standard normal density is[9]
Take as before, with each having mean and finite variance . Subtracting the mean and dividing by the standard deviation gives a standardized sum. For any numbers ,[15]
The theorem gives more information than the law of large numbers, because it describes the shape of the distribution of the sum, not just where it centers.[15]
The requirement of identical distributions can be weakened a great deal. J. W. Lindeberg found a condition under which sums are still close to normal, and William Feller showed that this condition is also necessary in a certain sense.[15]
A simple case is the binomial distribution, which gives the chances for the number of successes in a fixed number of independent trials that all have the same chance of success.[9] For many trials, its bars follow the normal curve closely.
A Galton board, in which balls bounce left or right off rows of pegs, shows the same effect: the balls pile up in a bell shape.[15]
Axioms and measure theory
Modern probability theory rests on a short set of axioms that Andrey Kolmogorov published in 1933 in his book *Grundbegriffe der Wahrscheinlichkeitsrechnung* (Foundations of the Theory of Probability).[2][16] The approach based on rules avoids defining probability through "equally likely" outcomes, a definition that is circular.[1]
The probability space
A probability space is a triple .[17][2]
- is the sample space, the set of all outcomes.
- is the collection of events. It is a sigma-algebra: it contains , the complement of each of its sets, and the union of any countable sequence of its sets. A countable sequence is one that can be listed as a first, second, third set, and so on.
- assigns each event in a number from 0 to 1.
Kolmogorov's axioms
The function must obey three axioms.[2]
- Non-negativity: for every event .
- Normalization: .
- Countable additivity: if is a countable sequence of events, no two of which share an outcome, then
The third axiom extends the addition rule from finitely many events to an infinite list.[2]
Countable additivity makes a probability a probability measure in the sense of measure theory, the branch of mathematics that studies length, area, and volume.[2][17]
Kolmogorov himself called infinite probability spaces idealized models, and said he limited himself to countably additive ones by choice.[2]
Countable additivity is not accepted by everyone. Some authors keep only finite additivity, and Bruno de Finetti opposed the countable version.[2]
Random variables as functions
In this framework, a random variable is a measurable function from to the real numbers. Three points make this precise.[17]
- Borel sets. These are the sets of real numbers that can be built from intervals by repeatedly taking complements and countable unions. Formally, they form the smallest sigma-algebra on the real line that contains every interval .
- Measurability. For every Borel set , the set of outcomes must be an event in .
- Why it matters. Measurability guarantees that statements like "" have a probability.
Conditional expectation
Conditional expectation is the expected value of a random variable given some information, where the information is a sigma-algebra contained in . Let be a random variable with finite. The conditional expectation is the unique random variable , apart from changes on events of probability 0, that is -measurable and satisfies[18]
Here is the indicator of , equal to 1 on outcomes in and 0 elsewhere.
Being -measurable means depends only on the information in .[18] Two extreme cases show the idea.[18]
| Case | Conditional expectation |
|---|---|
| is -measurable | |
| is independent of |
Random processes
A stochastic process is a collection of random variables that evolve over time, such as the daily weather or a gambler's fortune. Two families of processes are central to the field.
Markov chains
A Markov chain is a process in which the probability of the next state depends only on the present state, not on how the process got there.[19] This rule is called the Markov property. A transition probability is the chance of moving from one state to another in a single step.
Andrey Markov began this work in 1906, partly to answer the mathematician Pavel Nekrasov, who argued that the law of large numbers applies only to independent events.[19] Markov studied a two-state system in which all four transition probabilities are greater than 0 and less than 1. He proved that the share of time spent in each state still settles to a fixed value, so independence is not needed.[19]
In 1913 Markov applied the idea to the first 20,000 letters of Pushkin's poem Eugene Onegin, sorting them into vowels and consonants.[19] He found that whether a letter is a vowel depends on the letter before it.
Martingales
A martingale models a player's fortune in a fair game. Given everything that has happened so far, the expected fortune after the next round equals the current fortune.[20]
The information available at each time is described by a filtration. This is an increasing sequence of sigma-algebras , where holds what is known at time .[21]
A process is a martingale with respect to this filtration when three conditions hold.[20]
- Each depends only on the information available at time ; that is, is -measurable.
- Each is finite.
- The conditional expectation of the next value equals the current value:
It follows that the expected fortune never changes: for every .[20] Doob's optional-stopping theorem gives conditions under which the expected fortune stays the same even when the player stops at a random time.[20]
Interpretations of probability
The axioms say how probabilities combine, but apart from giving 1 to the whole sample space and 0 to the empty set, they do not say what probabilities mean or which numbers to assign.[2] Interpretations of probability fill this gap. The Stanford Encyclopedia of Philosophy groups them around three broad concepts.[2]
| Concept | What probability measures | Main analyses |
|---|---|---|
| Evidential | How strongly evidence supports a claim | Classical, logical |
| Degree of belief | How confident an agent is | Subjective (Bayesian) |
| Physical | A feature of the world, apart from anyone's beliefs | Frequentist, propensity, best-system |
Three of these analyses are less familiar than the rest.
- Classical probability shares probability equally among all possible outcomes, so an event's probability is the fraction of outcomes in which it occurs.[2]
- Logical probability measures how strongly a piece of evidence supports a hypothesis. Unlike classical probability, it lets outcomes carry unequal weights.[2]
- Best-system probabilities are those given by the laws of the best overall theory of the world, the theory that best balances simplicity, strength, and fit with what actually happens.[22]
Frequency
In the frequency view, a probability describes how often an event happens over many trials. Saying a coin has probability one-half of heads means that heads comes up about half the time in many tosses, but says nothing about any single toss.[1] Life-expectancy figures used in insurance work the same way: they describe a large group, not one person.[1]
Degree of belief
The subjective view rests on three ideas.
- The view. A probability is a person's degree of confidence, often measured by the odds at which they would bet.[2] Frank Ramsey and de Finetti developed this view.[2]
- The Dutch book argument. Anyone whose betting odds break the axioms can be offered a set of bets that loses money whatever happens.[2]
- Updating. Beliefs change on new evidence by conditioning: the new probability of is the old .[2]
History
Most histories date the start of probability theory to letters between Blaise Pascal and Pierre de Fermat in 1654.[23][2] Earlier work existed, notably by Gerolamo Cardano, but it was isolated.[23] For a fuller account, see history of probability.
Games of chance
The Pascal and Fermat letters dealt with gambling questions brought to Pascal by Antoine Gombaud, the Chevalier de Méré, and Damien Mitton.[23]
One was the problem of points: how to divide the stakes fairly when a series of games stops early.[23]
Christiaan Huygens heard of their work and wrote a short treatise. It was published in Latin in 1657 as De Ratiociniis in Ludo Aleae, the first publication on probability.[23]
Timeline
| Year | Event |
|---|---|
| 1565 | Cardano writes *Liber de ludo aleae*, published only in 1663[23] |
| 1654 | Pascal and Fermat exchange seven letters between July and October[23] |
| 1657 | Huygens's De Ratiociniis in Ludo Aleae appears[23] |
| 1713 | Jacob Bernoulli's *Ars Conjectandi* is published after his death, with the weak law of large numbers[5] |
| 1733 | De Moivre shows that the normal curve comes close to the binomial distribution[5] |
| 1763 | Thomas Bayes's work on inverse probability is presented after his death[5] |
| 1812 | Pierre-Simon Laplace publishes *Théorie analytique des probabilités*[12] |
| 1837 | Siméon Denis Poisson presents the Poisson distribution, used for counting rare events in a set time or space, and coins the name "law of large numbers"[12][24] |
| 1853 | Bienaymé proves a less general form of the inequality now named for Chebyshev[11] |
| 1867 | Chebyshev proves the inequality in general form[11][12] |
| 1906 | Markov begins his work on chains of dependent events[19] |
| 1933 | Kolmogorov publishes his axioms[16] |
From games to theorems
Four early contributions turned gambling puzzles into general theorems.
- Bernoulli. His law of large numbers answered a practical question: how many trials are needed to estimate an unknown probability, such as the share of white balls in an urn.[10] He wrote that he had thought about the problem for twenty years.[10]
- De Moivre. He proved the first central limit theorem, for coin-toss-type trials, and in 1733 showed that the normal curve comes close to the binomial distribution.[9][5]
- Laplace. He later showed that the sum of many independent, identically distributed variables is close to normal.[15]
- Bayes. According to the historian Maistrov, the formula now called Bayes' theorem does not appear in its modern form in Bayes's essay. Laplace gave it the name while working on inverse problems.[4]
Applications
Probability theory supplies the basis for statistics, which draws conclusions from samples of data.[1] It is used in fields from physics to weather forecasting to judging the risks of new medical treatments.[13] Uses include:
- Opinion polls and surveys, which learn about a population from a random sample.[1]
- Clinical trials, which compare a new treatment with a standard one. The 1954 test of the Salk polio vaccine, organized by the U.S. Public Health Service, involved almost two million children.[1]
- Insurance, through life-expectancy figures for groups of people.[1]
- Genetics, such as the chance that a child inherits a genetic disease.[1]
The broader field of applied probability covers these and many other uses.
Further topics
The field branches into many specialized areas. Pages on this site include:
- Elementary probability and probabilistic inequalities
- Large deviations theory and extreme value theory
- Kolmogorov's zero-one law and convergence of measures
- Percolation theory, random graphs, and stochastic geometry
- The probabilistic method in combinatorics and probabilistic number theory
- Free probability and noncommutative probability
- Randomness and its history
References
- Probability theory, Encyclopaedia Britannica (David O. Siegmund), 2026.
- Interpretations of Probability, Stanford Encyclopedia of Philosophy (Alan Hájek), 2019.
- Zero-probability events, StatLect, n.d.
- Discrete Conditional Probability (Grinstead and Snell), LibreTexts, 1997.
- A short history of probability and statistics: 18th century, Leiden University (Kees Verduin), n.d.
- Continuous Density Functions (Grinstead and Snell), LibreTexts, 1997.
- Expected Value of Discrete Random Variables (Grinstead and Snell), LibreTexts, 1997.
- Variance of Discrete Random Variables (Grinstead and Snell), LibreTexts, 1997.
- Central Limit Theorem for Bernoulli Trials (Grinstead and Snell), LibreTexts, 1997.
- Law of Large Numbers for Discrete Random Variables (Grinstead and Snell), LibreTexts, 1997.
- Chebyshev's inequality, Encyclopaedia Britannica, 2026.
- A short history of probability and statistics: 19th century, Leiden University (Kees Verduin), n.d.
- Grinstead and Snell's Introduction to Probability, American Mathematical Society, 1997.
- Lecture 9: The Strong Law of Large Numbers, Matthias Winkel, University of Oxford, 2007.
- Central Limit Theorem for Discrete Independent Trials (Grinstead and Snell), LibreTexts, 1997.
- A short history of probability and statistics: 20th century, Leiden University (Kees Verduin), n.d.
- Probability: Theory and Examples, 5th edition, Rick Durrett, Cambridge University Press, 2019.
- Conditional Expectation (STA 205 lecture notes), Duke University Department of Statistical Science, 2010.
- First Links in the Markov Chain, Brian Hayes, American Scientist, 2013.
- The Martingale Stopping Theorem, Dartmouth College Mathematics, 2013.
- Conditional Expectation and Martingales, Steven Lalley, University of Chicago, n.d.
- Interpretations of Probability (Summer 2012 Edition), Stanford Encyclopedia of Philosophy (Alan Hájek), 2012.
- A short history of probability and statistics: 17th century, Leiden University (Kees Verduin), n.d.
- Poisson distribution, Encyclopaedia Britannica (Richard Routledge), 2026.
