Bernoulli process 2026-10-14
A Bernoulli process is a sequence of independent and identically distributed random variables with a Bernoulli distribution: and . It models repeated Bernoulli trials with a fixed success probability and no dependence between trials. The count has a binomial distribution, expected value , and variance ; the first success time has a geometric distribution on . The observations and the accumulated count are different stochastic processes: the observations are independent, while consecutive counts share all earlier observations. [ref]
Use the zero-based geometric distribution, with for and . After binomial thinning with retention probability , the retained count is again zero-based geometrically distributed, with the displayed success probability. Indeed, writing , its probability generating function is
For this includes the degenerate success parameter and retained count zero.
Capped geometric waiting time Created 2026-10-07 Updated 2026-10-14
For a positive-integer geometric distribution with , the capped time has masses for and at . The last mass includes all later arrivals, not only . Its probability generating function and expected value are
The expectation follows either by differentiating the PGF or summing the tail probabilities up to .
Claim count 2026-10-14
The number of insurance claims in a specified exposure period. Its probability generating function combines with the moment-generating function of an independent claim size through the random-sum transform identity. A Poisson distribution, geometric distribution, or negative binomial distribution provides a possible count model, with different dispersion and zero-claim probabilities.
Take an independent geometric distribution count with , , and sum its independent positive claims. Its moment-generating function is the displayed composition wherever finite. With and severity moments , the third cumulant is , which is strictly positive for nonzero positive claims and . The law has an atom of mass at zero. Its positive-count convention would instead add a factor to the numerator, as in the geometric-sum moment-generating function.
Continuity of probability 2026-10-14
Continuity of probability says that nested events can be approximated by their finite stages without losing probability in the limit of a sequence. In a probability space , let . Then
The sigma-algebra ensures that both limiting events belong to . These are continuity from below of a measure and continuity from above of a measure. The first holds even for an infinite measure; the second requires finite measure of the first set, which is automatic for a probability measure because .[ref]
For a concrete model, toss a fair coin through a sequence of independent Bernoulli trials, and let be the event of at least one head in the first tosses. Its complement is the event of initial tails. On the sample space of infinite head-or-tail sequences,
Every finite waiting horizon has positive tail probability, yet the event of waiting forever has probability zero. That intersection is not empty: it contains the all-tails sequence. Thus a zero-probability event need not be impossible as an outcome, and eventual success almost surely does not supply a deterministic deadline. The waiting time for the first head has a geometric distribution with success probability . After ten tosses, the remaining tail probability is exactly ; nine tosses leave .
Figure 1.
Exact fair-coin model: success by toss n increases to probability one, while the all-tails prefix probability decreases to zero
. Details.
A proof outline exposes what makes countable additivity stronger than finite additivity of a set function. For increasing events, put and for . These set differences are pairwise disjoint events, their union is , and the first pieces have union . Consequently
For decreasing events, their complements increase to ; applying the increasing result and the complement rule of probability gives . The finite-total-mass condition is essential for this subtraction. For comparison, the counting measure of each set of natural numbers is infinite, although their intersection is empty and has measure zero.
Conversely, on a sigma-algebra, a nonnegative normalized set function satisfying finite additivity of a set function and satisfies countable additivity. For pairwise disjoint events with , the remainders decrease to the empty set, and
Taking the limit of a sequence recovers the infinite sum. This equivalence explains why continuity of probability is part of the foundations rather than a separate assumption about smooth curves.
One useful application controls infinitely many possible errors. If events satisfy , then the events decrease, and the union bound gives . Continuity of probability therefore makes : errors occur infinitely often with probability zero. This is the Borel-Cantelli first lemma, and it requires no independence. For the illustrative bounds , the probability of any error at index or later is at most , an explicit truncation guarantee.
The word continuity here concerns nested sets, not the absence of atoms in a probability distribution. For any real-valued random variable , the events decrease to . Hence its cumulative distribution function is right-continuous even when it has jumps, as for a geometric distribution. The nesting hypothesis matters: an arbitrary sequence of events need not admit either displayed interchange of limit and probability.
Consider a stipulated repeated-attempt model, with independent Bernoulli trials of success probability . An unsuccessful attempt costs three units of work, and a successful attempt costs one. Let be its success indicator function, its cost, and the first success. Observing reveals , so is a stopping time for the costs' natural filtration. The geometric distribution gives and , including the deterministic case . Thus
At , the average is four attempts and ten units of work. An independent check uses the pathwise identity : there are failures and one final success. No success probabilities or costs in this example are measured data.
Figure 1.
Cost and survival probabilities for stopping at the first success
. Original stipulated model with success probability , failure cost three, and success cost one. The top shows one illustrative stopped sequence; the lower panels show exact probabilities and the contributions to the expected value from each admitted step. Details.
Here is not independent of the observed costs. In particular, conditioning on forces every preceding cost to be three and the final cost to be one, so , generally different from at . Nevertheless the unconditional identity holds. This distinction explains why conditioning on the total count as though the original cost law remained unchanged is a faulty proof.
Coupon collector waiting-time variance Created 2026-10-07 Updated 2026-10-14
For uniform independent draws of coupon types, the waiting times with unseen types remaining are independent positive-support geometric distributions of parameter . Summing their means gives , and summing their variances gives the displayed formula. Independence follows from fresh draws after each discovery and the fact that the next stage's conditional distribution depends only on the count of remaining types.
Decimal digit decomposition of a geometric random variable Created 2026-10-25 Updated 2026-10-31
The same argument works for any integer base . Suppose has geometric distribution , , with . Its Euclidean division gives and . Their joint probability mass function is
The factors are normalized probability mass functions, so the final digit and quotient are independent. The quotient again has geometric distribution, with success probability . If is the integer part of an exponential random variable of rate , take .
Discrete probability distribution Created 2026-09-24 Updated 2026-10-14
A discrete probability distribution is a probability distribution concentrated on a finite or countable set of possible values : a random variable with this law satisfies . Its probability mass function assigns a probability to each value:
Thus the probability of an event is obtained by adding masses, rather than integrating a probability density function. The possible values need not be equally spaced, or even integers. When the relevant moments are finite, its expected value and variance are
For a constructed example, assign values masses . They sum to one; , , and . Hence the variance is . A mean can lie between possible values: no outcome here equals .
The useful organizing question is what an experiment records. One yes/no indicator random variable gives a Bernoulli distribution; a success count in a fixed number of independent attempts gives a binomial distribution; the attempt number of the first success gives a geometric distribution. A Poisson distribution describes an event count under different assumptions. Naming the quantity first helps prevent selecting a familiar formula for the wrong experiment.
A time-homogeneous Discrete-time Markov chain is a sequence of random variables indexed by nonnegative integers, with the displayed conditional probabilities. Here is its natural filtration and is a row-stochastic transition matrix. The Markov property removes dependence on earlier observations once is specified; the time-homogeneous Markov property makes independent of .
Consider states (sunny) and (rainy), with the constructed transition matrix
Rows give today's state and columns tomorrow's, in order . These numbers define an illustrative model, with one step interpreted as one day; they are not estimates of real weather. Let . The law of total probability gives the recurrence relation
Subtracting makes the deviation multiply by at each step. Thus
Starting sunny gives , , and ; starting rainy gives and . The two predictions approach the same stationary distribution while retaining a shrinking trace of the initial probability distribution.
Figure 1.
Constructed sunny/rainy transitions and the exact sunny probabilities from three initial distributions.
Details.
An expected hitting time answers a different question. Starting sunny, let . Every day before the first rain remains sunny, so
This geometric distribution has finite expected value. A first-step calculation gives , with , hence days. The same result follows from the geometric series . This is a mean waiting time, not a prediction that rain first occurs exactly five days later.
A probability row vector is a stationary distribution when . The Markov chain is reversible in that law when detailed balance holds: . Multiplying those equations along a finite path gives equal forward and reversed stationary path probabilities.
Precision comparisons using Fisher information must specify what one observation records. A Bernoulli distribution with success probability gives information per trial. A geometric distribution on records the number of trials until the first success. Its log-likelihood for one waiting time is , so
At equal numbers of observations, geometric waiting times therefore provide times as much information, and the asymptotic variance of their maximum-likelihood estimator is times the Bernoulli variance. But each waiting time uses an expected trials. Information per expected underlying trial is consequently . This separates an observation count from the cost of collecting the observations.
Geometric continuation after an initial tie Created 2026-10-20 Updated 2026-10-25
Suppose a contest uses trials initially and ends there with probability . Conditional on an initial tie, independent further rounds each use trials and resolve the contest with a fixed probability . The number of further rounds, conditional on that tie, has a geometric distribution: for . Thus the total number of trials has an atom at and the displayed probabilities thereafter. The geometric series sums to , so termination has probability one, and the expected value is . The displayed distribution requires independence of the future rounds from the initial tie.
Geometric count under Bernoulli thinning Created 2026-10-14 Updated 2026-10-25
Independently retain each event of a zero-based geometric distribution count with probability . Conditional on the original count, the retained count is binomial, so its probability generating function is . This is again a zero-based geometric distribution, with success parameter and mean . In excess of loss reinsurance, is the probability that a claim exceeds the retention.
Geometric distribution Created 2026-09-24 Updated 2026-10-31
Consider successive independent Bernoulli trials with the same success probability . A geometric distribution models waiting for their first success. Two conventions coexist, so always say what is counted. Let count all trials up to and including the successful trial, and let count preceding failures. Their probability mass functions are
The factors describe failures followed by one success; independence permits multiplication. Summing the geometric series verifies that each law has total mass one. Their expected values differ by one, while shifting by a constant leaves the variance unchanged:
The positive convention and these moments are also given by Penn State STAT 414.[ref]
For a constructed retry mechanism with independent attempts and , success on attempt four has probability . More than four attempts are needed precisely when the first four fail: . The expected values are and , and the common variance is . The large spread explains why the average waiting count is not a deadline.
Figure 1.
First-success trial versus preceding failures: the same probability masses shifted by one
. Details.
The two probability mass functions have identical heights with different labels: and describe the same event. For , consecutive masses have ratio , explaining the name geometric distribution. The support of a probability distribution is the positive integers for and the nonnegative integers for . At , it collapses to and , both with variance zero; interpret an empty product, including , as one. These counts concern attempts; converting them into elapsed time requires specifying the time spent per attempt.
The survival function makes the counting convention especially visible. Put . For nonnegative integers , and for ,
The event requires failures, whereas requires only when . For the constructed mechanism, differs from . The geometric success deadline uses the latter tail to control the chance of still waiting.
The striking memorylessness of the geometric distribution says that, for nonnegative integers with ,
After five failures, the conditional probability of requiring more than two additional attempts is still . The analogous zero-based identity uses ; keeping the inequalities straight avoids an off-by-one error. This property follows from fresh independent trials with unchanged ; learning or changing conditions can destroy it. At , success never occurs, so there is no proper finite waiting-count law.
Geometric maximum of an upward skip-free random walk Created 2026-10-14 Updated 2026-10-31
Let the increments define an upward skip-free random walk, and suppose is finite for all . If satisfies and , the exponential tilting at gives integrable increments of positive mean. The strong law of large numbers makes every nonnegative integer level attainable under this tilted law. Upward jumps are at most one, so the value at a first level hit is exactly that level. The stopped likelihood ratio under exponential tilting therefore gives hitting probability for integer . Subtracting consecutive tail probabilities yields the displayed geometric distribution on . For real thresholds use in place of .
Geometric minimum law 2026-10-31
For independent positive-support geometric random variables with success probabilities , all must exceed for their minimum to exceed . The resulting survival function is . This is the positive-support geometric distribution with the displayed success probability. Independence is needed for multiplying the survival probabilities.
Integrating the Poisson distribution probability generating function over the exponential distribution of the epoch length gives
Thus has a geometric distribution on , with expectation and variance . The support convention matters: the count includes zero mutations.
Geometric series Created 2026-09-24 Updated 2026-10-20
A geometric series adds the terms of a geometric progression:
Its ordinary infinite sum is the limit of a sequence of partial sums , rather than a new operation that adds infinitely many terms at once. For that are real numbers or complex numbers, if , the series is absolutely convergent and
When , this condition on the modulus of is also necessary: for the terms fail to tend to zero. The all-zero series converges for every . The finite geometric series identity and give the result with almost no extra algebra. [ref]
Figure 1.
Decaying terms, accumulating sums, and the failure of an undamped alternating series
. Details.
With and , the partial sums approach from below. Changing the common ratio to makes the partial sums approach from alternating sides: their increments still shrink. At , those increments never shrink, and the partial sums remain . Substituting into does not supply the ordinary sum of that divergent series.
The formula is useful because many apparently different problems share a fixed multiplier. A repeating decimal such as is
A geometric distribution counting failures before the first success normalizes by the same identity: for , the probabilities on add to one. The comparison test for series uses a bound by a decaying geometric progression to establish absolute convergence without an exact formula for the series being studied. The iterated contraction gives a summable orbit result uses precisely this idea for repeated applications of a map.
The remainder of a geometric series gives more than an eventual limit: it states exactly how much an approximation omits. A common ratio close to one still gives a convergent series, but can require many terms for a useful approximation.
How many attempts give at least a chosen success probability ? For a positive-integer geometric distribution with , completion by attempt means , so
The logarithm is negative, which reverses the inequality when dividing. The least integer meeting the target is therefore obtained with the ceiling function:
For our constructed independent retry mechanism with and ,
To verify minimality directly, eight attempts give , whereas nine give . Under the zero-based convention, the same completion event is , with failure to complete given by ; saying would allow ten attempts. A 95% deadline controls a tail probability, while the expected value describes an average.
At success occurs on the first attempt, so ; the logarithm formula is inapplicable. At no finite deadline achieves a positive target. For , no finite deadline guarantees success with probability one because . A retry cap at produces the capped geometric waiting time as the number of attempts actually spent; reaching the cap can mean either success on the last allowed attempt or failure of all attempts.