Events turn Boolean operations into operations on sets. For a die with sample space , let be the event “even outcome” and the event “outcome at least four”. At outcome , use the indicator functions and . Then
Thus logical conjunction becomes set intersection, logical disjunction becomes set union, exclusive or becomes symmetric difference, and logical negation becomes the complement of a set within . Outcome four satisfies both events, so inclusive logical disjunction includes it and exclusive or excludes it. If the die is fair, these four events have probabilities , , , and , respectively. No assumption of independent events is needed for the set identities; indeed and here are not independent, since .
Borel-Cantelli lemmas Created 2026-09-24 Updated 2026-10-14
The Borel-Cantelli lemmas turn a series of event probabilities into a statement about an entire infinite sequence of observations. A summable sequence of probabilities forces only finitely many occurrences almost surely, regardless of independence. A divergent series forces infinitely many occurrences when the events are mutually independent events. The precise event being measured is the limsup of events.
Imagine alarms with probabilities or , starting at . Both individual probabilities tend to zero. Nevertheless, the first alarm sequence eventually stops almost surely, whereas the second keeps returning almost surely if its events are mutually independent events. Reusing one uniform random variable for every alarm instead produces the shared-uniform counterexample to the second Borel-Cantelli lemma. Thus the individual probabilities alone do not determine long-run recurrence.
If the events are mutually independent events and , then . For an infinite family, mutual independence means every finite subfamily satisfies the factorization defining independent events.[ref]
Proof outline: for , independent events and give
Continuity of probability makes each infinite tail union have probability one; their countable intersection has probability one as well.
Conditional probability Created 2026-09-24 Updated 2026-10-14
For events with , conditional probability is
Restrict attention to the outcomes in , then renormalize their probability measure so its total mass becomes one. The resulting rule is itself a probability measure. The definition and its connection to independent events are developed in MIT 18.05, Reading 3: Conditional Probability, Independence and Bayes' Theorem.
For the two-dice model, let mean the sum is at least nine and mean the first result is six. Of the six outcomes in , four belong to : the second die can be 3, 4, 5, or 6. Thus . Reversing the information gives a different answer: four of the ten outcomes in have first result six, so . Both ratios use the same overlap; their denominators describe different information.
Figure 1.
Conditioning selects a different denominator in the same dice outcome grid
. Details.
The definition requires positive conditioning mass. For a continuously distributed random variable , it cannot directly define when . A regular conditional distribution or conditional density supplies the appropriate extension, with the usual almost everywhere qualification. Nor does conditioning by itself justify causal inference: changing which outcomes are considered is different from physically changing how the experiment is generated.
Disjoint events 2026-10-06
Two events are disjoint when they cannot both occur. For a finite family of pairwise disjoint events, the probability of their union is the sum of their probabilities, so that sum is at most one. This condition differs from the condition defining independent events.
Equality in Boole's inequality Created 2026-10-14 Updated 2026-10-31
For finitely many events, or a countable family with finite sum of individual probabilities, equality in the uncapped union bound holds exactly when every pairwise intersection has probability zero. Equivalently, at most one event occurs almost surely. Pairwise disjoint events give equality, but literal disjointness is stronger than necessary: shared outcomes of probability zero do not change either side. For the capped bound, if the sum exceeds one, equality instead means that the union is an almost sure event; overlap can then have positive probability.
The cap and the disjoint case are both sharp. If the individual probabilities sum to at most one, put the events on separate pieces of a sample space to attain their sum. The twelve-outcome disjoint example does this with two events of probability . If the sum exceeds one, a covering union can attain the cap: on the same twelve-outcome sample space, and have sum and exact union probability one. These are sharpness examples, not an assertion that every overlapping family attains the bound. Positive-probability disjoint events are also not independent events, because their joint probability is zero while the product of their individual probabilities is positive.
For a finite family of events, the probability of their union is the alternating sum of their intersection probabilities, with the same pattern as the inclusion-exclusion principle. Expand the indicator function of the union and apply linearity of expectation; this does not require independent events.
Independent events Created 2026-09-24 Updated 2026-10-31
Events are mutually independent when
for every nonempty index subset . For two events and , this is equivalent to : learning whether occurred does not change the chance of .
For independent uniform dice, the events that the first result is an even integer and that the second result is an even integer each have probability ; their intersection has probability . In contrast, "first result is an even integer" and "first result is an odd integer" are disjoint events of positive probability, so they cannot be independent events. Learning one occurred completely rules out the other.
Pairwise independence is weaker than mutual independence. Take two independent fair bits . The three events , , and each have probability and every pair has intersection probability . Their triple intersection is the single outcome , of probability rather than . Checking pairs alone misses the joint constraint.
Independent permissive gates in an ion channel Created 2026-10-14 Updated 2026-10-25
A permissive gate allows conduction when it is open. Suppose an ion channel conducts only when all gates are open, where is a positive integer. If the gate-open events are mutually independent events and each has the same open probability at the time considered, then
This follows from the multiplication rule for independent events. Identical transition rates alone do not guarantee independence: the initial gate states must also be independently prepared, and the model must not couple their transitions. Gates sharing a fluctuating membrane potential can be correlated; the simple product requires an appropriate independence assumption, for example independent gates at an externally fixed voltage.
At , channels requiring permissive gates have open probabilities , and . For four independent gates there are possible open/closed configurations, equally probable at ; only the all-open configuration conducts. Thus is the gate-open probability, while is the whole-channel open probability. Neither is a fractional state of one observed channel. Among independently prepared identical four-gate channels, the expected value of the open count is , although an actual count fluctuates.
Figure 1. . Left: whole-channel open probability for one, two and four identical independent permissive gates. Right: all sixteen configurations of four gates at , each with probability ; filled circles are open gates and empty circles closed gates. Only the highlighted all-open configuration permits conduction. This is an illustrative model, not a molecular structure or an ionic electric current measurement. Details.
For unequal independent gate-open probabilities , use rather than . This is the distinction behind the Hodgkin-Huxley model's : and are different activation and inactivation-availability variables, rather than one common . Its uses four identical activation factors. Independence and the all-open requirement are model assumptions; correlated gates or alternative conducting configurations require a different calculation. The simple product is useful because a modest gate-open probability can produce sharply suppressed whole-channel availability without any additional gate interaction.
On , the event of infinitely many heads is
It says that after every index there is another head. For each , the same intersection can start at , so ; therefore is a tail event. This verifies measurability directly using countable unions and intersections.
Figure 1.
A finite prefix admits both infinitely many heads and only finitely many heads
. The two illustrated extensions have the same initial observations. An alternating continuation belongs to the tail event of infinitely many heads; an all-tails continuation does not. Changing the highlighted finite prefix cannot change that infinite property, but it can change the exact first-head time. Details.
Assume now that the coordinates are fair independent Bernoulli trials. For fixed , let be the event of at least one head among . Its complement requires tails, so
The last equality follows from continuity of probability. Now , a countable intersection of almost sure events, and hence . This determines which of the two possibilities in Kolmogorov's zero–one law occurs. Equivalently, the Borel-Cantelli second lemma applies to the independent events .
Nevertheless, no finite prefix certifies membership in : every finite record can be extended by all tails or by alternating heads and tails. Under the fair independent model, conditioning on any exact finite prefix leaves , since is independent of the initial sigma-algebra. The excluded all-tails continuation has probability zero, but remains a possible member of the sample space. Logical determination by a finite record and a conclusion holding almost surely are different statements.
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.
Limsup of events 2026-10-14
For events in a probability space, the infinitely-often event is
Its complement of an event is : after some outcome-dependent index, no more events occur.[ref]
Deleting finitely many events leaves the limsup of events unchanged. It is therefore a tail event of the sequence of indicator random variables , whether or not those random variables are independent. For independent events, the Kolmogorov zero-one law restricts its probability to zero or one; the Borel-Cantelli lemmas determine which alternative holds from the series of probabilities. Also precisely when only finitely many events occur, connecting the First Borel-Cantelli lemma to almost sure convergence and the existing complete convergence criterion.
Pairwise independent events describe a subtle kind of uncertainty: learning that one event occurred leaves each other event's probability unchanged, yet learning that two occurred can reveal a third completely. Checking every pair therefore answers a weaker question than checking the whole collection. The parity construction of pairwise independent bits makes this distinction visible with just four equally likely outcomes.
A family of events is pairwise independent when
If , this is equivalent to the conditional probability identity . The product definition also handles events of probability zero. Independent events, meaning mutually independent events, require the same product rule for every finite subfamily, including triples. For three events, the three pair equations and the triple equation are four separate requirements. [ref].
For a worked example, take independent fair bits : the sample space is with probability per outcome. Set , , and , using exclusive or, which is one precisely when its inputs differ. The events , , and each contain two outcomes. Their pair intersections are
Thus each event has probability and each pair intersection has probability : these are pairwise independent events. But forces , so
The three are not independent events. This is the complementary-third-event version of the two-toss example in Tsitsiklis and Jaillet, MIT Introduction to Probability, Lecture 3, slides 7–8.
Figure 1.
Four outcomes give three pairwise independent bits with a joint parity constraint
. Each row has probability . Each pair's joint probability mass function contains all four value combinations with probability , although only four of the eight triple combinations can occur. Details.
Another useful diagnostic preserves a special common-intersection case. Suppose three events have common probability and every pair and triple intersect in the same event, of probability . Pairwise independence requires , while mutual independence additionally requires . Both hold only for or . For a concrete nontrivial instance, assign probability to each of four outcomes, let all three events contain the first outcome, and give each event one different additional outcome. Then and : the pair equations hold, while the triple equation fails. Unlike the exclusive or example above, this triple intersection is nonempty.
For three pairwise independent events of common probability , write . Inclusion-exclusion principle gives avoidance probability , and gives the displayed lower bound. It is strictly positive for . For , a symmetric atomic law with no zero-success atom has mass on each singleton success pattern, on each doubleton, and on the tripleton. These masses sum to one, have marginal , and have pair intersections .
Normalize the total channel density to one. For independent permissive gates in an ion channel, the probability that the gate is open is , and the probability that the gate is open is . The joint probability is the product of the appropriate open or closed probabilities, giving
In particular
The original PDF really prints , rather than , on the final factor. That expression fails normalization of a probability distribution and does not give the closed- probability at ; the displayed correction is necessary. If are literal densities with conserved total density , multiply each expression by .
The product additionally assumes initially independent events and independent gate transitions. The transition scheme alone permits initially correlated gates and does not force this factorization at every time. The all-closed initial preparation used below satisfies the required product assumption.
Two independent events satisfy . If , this is equivalent to : learning that occurred does not change the probability of . The product definition also covers zero-probability events without dividing by zero.
The 36 ordered outcomes are equiprobable. For , let count outcomes with sum . Then and for . Their joint probability is if , and zero otherwise.
If the joint probability is zero, independence is impossible in these ranges because both marginal probabilities are positive. If it is , the independent events condition requires , or . This happens only for , and then all six values of allow the partner . Therefore within the possible sums and faces
If arbitrary integer labels outside these ranges are included, an impossible sum or face defines an empty event, which is trivially independent of every event.
Events are independent events if for every finite list of distinct indices , . Random variables are independent random variables if for every such list and Borel sets , . This is equivalent to independence of their generated sigma-algebras; pairwise independence alone is insufficient.
With a cyclically oriented independence digraph of events, each event is independent of one of the other two. Independence is symmetric, so all three pairs are independent events. This does not imply mutual independence. Put . The inclusion-exclusion principle gives
because . Thus the oriented case guarantees positive avoidance exactly when .
For sharpness, for any prescribe the law of the three event indicators by assigning mass to each of the three singleton success patterns, to each doubleton, to the tripleton, and zero to the zero-success pattern. All masses are nonnegative and their sum is one. Each marginal is
and each pair intersection has mass . These events satisfy the oriented independence conditions and have zero avoidance probability.
The unoriented triangle imposes no independence conditions at all: every vertex is adjacent to every other. The union bound gives positive avoidance if . To see that this is sharp for every , use uniform measure on the circle of circumference one and take three arcs of length starting at . They cover the circle. Hence the unoriented case guarantees positive avoidance exactly when .
Independence or another ergodicity hypothesis is necessary. Read literally for an arbitrary translation-invariant site percolation measure, the assertion is false: the mixture assigning probability to the all-open configuration and to the all-closed configuration is translation-invariant, but the invariant event of an infinite percolation cluster has probability . We prove the zero–one law for the invariant independent law used in part (ii); the proof also works for the stated finite-range independent alternative.
Let be the group of translations, or the specified group of graph automorphisms, and let be invariant under it, up to null sets. An event determined by the states in a finite vertex set is a cylinder set. For every , approximation in the product sigma-algebra provides a cylinder set , supported on a finite set , with . Choose so that and are disjoint. Then and are independent events, have equal probabilities, and . Hence
and
Letting proves the zero–one law . This is translation ergodicity of Bernoulli percolation.
For a quasi-transitive graph, the required displacement exists: put in a ball about a vertex ; its orbit is infinite, so an automorphism can move , and therefore that whole ball, beyond any prescribed finite neighborhood. A -independent site percolation law means that the sigma-algebras generated by vertex sets at graph distance greater than are independent. Move far enough that and the same proof applies. Thus finite-range independence does give the zero–one law, although it will not give uniqueness.