Elementary outcome Created 2026-10-14 Updated 2026-10-25
An elementary outcome is one member of the sample space. For the ordered two-toss model, is one outcome; it contains both toss results. By contrast, “at least one head” is an event containing three outcomes. The outcome and the singleton set are different objects: when that singleton is measurable, the notation gives its probability. In the finite model below, every subset is measurable.
The word elementary refers to the chosen level of detail. An outcome can be an ordered pair, a sequence, or an entire realization of a point process. A random variable then extracts a numerical feature of that outcome; the window count of a point process is one example.
Define the head-count random variable by
The four elementary outcomes are inputs to this function; its three numerical values are outputs. Each fiber of a function collects all outcomes giving one value. Under the fair independent model, adding the masses in each fiber gives the probability mass function
Consequently the output values are not equally likely, although the inputs are. Using the reduced sample space with these masses gives the same head-count probability distribution; assigning to each value would describe a different model.
A question about a random variable's value becomes an event on the original sample space by taking an inverse image:
For a real-valued random variable, this is an event whenever is a Borel set, by measurability. In this finite example every subset of is allowed. In particular,
This is the same “at least one head” event counted above, expressed through an observable.[ref]
Figure 1.
Head count merges outcomes into fibers and adds their probabilities
. The random variable sends to zero, both and to one, and to two. The inverse image of is the highlighted event of at least one head. Two arrows meeting at one explain its probability . Details.
Every event determined by is a union of complete fibers. There are such events, whereas the full power set of has . In particular, the first-head event is not determined by : it contains but excludes , although both give . Choosing an observable makes calculations simpler precisely by forgetting distinctions; the useful choice is one that retains the distinctions the question needs.
Law of total probability Created 2026-09-24 Updated 2026-10-18
Let be a countable measurable partition of the sample space, with positive probabilities. For any event , the law of total probability gives
The pieces are disjoint events, so add their masses and use the definition of conditional probability. Zero-mass partition pieces can be omitted without changing the answer.
For the coin selection in probability, let mean the -head coin was selected and let mean the first toss was heads. Then . Each conditional answer describes one possible hidden situation; its weight describes how often that situation occurs under the model. This decomposition is useful whenever a simple conditional model sits behind a more complicated marginal probability distribution.
The law of total probability combines local conditional probabilities into one overall probability. The measurable partition must cover the sample space with pairwise disjoint events: every elementary outcome belongs to exactly one part. Its probabilities are the weights of a weighted mean, and they sum to one.[ref]
For an original constructed example, make a finite set of 1,000 items: 600 belong to and 400 to . Mark exactly 60 items in and 100 in , and let the event mean that the selected item is marked. Select an item using the uniform distribution on a finite set. These are prescribed counts, so the resulting probabilities are exact properties of this construction:
The conditional probability uses only the 600 items in as its denominator. The probability of the intersection uses all 1,000 items instead: . Similarly, . Adding the two disjoint events gives
Figure 1.
A partition turns within-group rates into whole-population areas
. An original constructed finite set with 1,000 items, represented by area rather than measured data. The two widths encode probabilities and ; the shaded heights encode conditional probabilities and . The shaded intersection areas encode 60 and 100 marked items, totaling 160. Details.
An unweighted arithmetic mean of the two conditional probabilities would give . That is the answer to a different selection rule: choose either group with probability , then select uniformly within that group. Here the first group contains more items, so selecting uniformly among all items gives it weight . In fact, if its weight were , the overall probability would be . Moving the weight from to lowers the result by , explaining exactly why is too large for the original model.
The same construction is a mixture distribution: first select a group with its mixture weight, then select an item within that group. Multiplying the weight by its conditional probability gives the probability of reaching through that group; adding the contributions gives the law of total probability. For example, an item in has selection probability , and an item in has selection probability , recovering the original uniform distribution on a finite set.
Figure 2.
Multiply along each route and add the routes ending in the event
. The original constructed model expressed through group selection and a marked-or-unmarked result. First-stage weights are probabilities; second-stage weights are conditional probabilities. The four final probabilities sum to one. The two routes to the event contribute . Details.
No assumption of independent events is needed. In this construction differs from , so and are not independent events. Also and are disjoint events with positive probabilities, so they cannot be independent events: their intersection has probability zero, whereas . The measurable partition supplies exclusive alternatives, not an independence assumption.
For a short proof, the intersection pieces have union and are pairwise disjoint events. Apply countable additivity, then substitute the definition of conditional probability on every positive-mass part:
A zero-probability event has . Omit it: writing would divide by zero. Countability ensures that the union of the omitted zero-probability events also has probability zero. Overlapping parts would double-count their intersections, and incomplete coverage would omit the probability of in the uncovered region.[ref]
Reversing the question gives one compact application of Bayes' theorem. Among the 160 marked items, 100 belong to , so its conditional probability after observing is
The law of total probability supplied the denominator by collecting every way that can occur. Its usefulness lies in choosing a measurable partition where the conditional probabilities are simple, then combining them without losing the relative sizes of the alternatives.
Sample space Created 2026-10-14 Updated 2026-10-14
The sample space is the set of outcomes represented by a probability model. One elementary outcome specifies a complete result at the level of detail the model keeps. An event is a subset belonging to the model's sigma-algebra ; it occurs when the actual outcome lies in that subset. Together with a probability measure , these form a probability space , with .[ref]
Choosing a sample space means deciding which distinctions matter. For two tosses, recording the ordered head-or-tail sequence distinguishes from ; recording only the number of heads merges them. Neither representation is automatically wrong, but the second cannot answer a question about which toss was heads. Keeping a detailed sample space and defining a random variable for the desired observation lets several questions share one model.
A sample space alone assigns no probabilities. Even writing as a Cartesian product does not establish independence: that requires a condition on the probability measure. On a finite sample space with all subsets admitted as events,
Only when all elementary probabilities are equal does this become , where the bars denote cardinality. This is the uniform distribution on a finite set, an additional modelling choice.
Sample spaces can also be infinite. For example, take , its Borel sigma-algebra, and the continuous uniform distribution. Then for , so each singleton has probability zero while . Thus an elementary outcome need not carry positive probability, and a continuous model cannot be understood by counting equally likely points. The distinction is developed in zero-probability event and countable additivity.