Discrete random variable 2026-10-06
A random variable supported on a finite or countable subset of the real line. Its law is specified by a probability mass function. Countable support need not consist of integers: a variable constantly equal to is discrete. Integer-indexed tail-sum formulas therefore require a separate integer-valued hypothesis.
For a nonnegative integer-valued variable, and the tail-sum formula gives . For arbitrary positive real values, that integer-indexed sum equals instead. Two independent constants equal to demonstrate that the product of such tail sums need not equal the tail sum of their product: the two sides are four and three.
Assume , or use nonnegative with extended expectations. Let and . For , the discrete conditional expectation is . Therefore Fubini's theorem, or Tonelli theorem in the nonnegative case, gives the tower property of conditional expectation:
Values of a conditional expectation on zero-probability conditioning events do not affect the sum. An unrestricted signed whose expectation is undefined is outside this assertion.
Write . The waiting time for two increments larger than dominates for and has mean , so is finite. Conditioning on the first increment, one step is always consumed; if that increment is below , the remaining independent sequence has the original law. Thus first-step analysis and the tower property of conditional expectation give
This first makes continuous and then gives , with . Hence the uniform-sum crossing time below one has
An independent explanation uses the tail-sum formula: for , since this region is an -dimensional simplex inside the unit cube. Summing from gives . In particular the strict-crossing convention gives almost surely and .
Write the countable supports as and the marginal masses as . Independence gives joint mass . Assuming finite expected values, absolute integrability is justified by Tonelli theorem:
Consequently Fubini's theorem permits factorization of the signed sum, proving the expectation of a product of independent random variables:
The second claim holds as a general assertion with the additional hypothesis that the positive variables are integer-valued. For a nonnegative integer-valued , the pointwise identity and Tonelli theorem give the tail-sum formula
If each is integer-valued, their product is too. Apply this identity to each factor and to the product, then use independence:
Under the literal broader meaning of a discrete random variable, the second claim is false. Two independent constants are positive and discrete, but the left side is and the right side is . More generally the integer-indexed tail sum of a positive real-valued variable is , not . This is the integer-valued hypothesis in the tail-sum formula.
Let be the natural filtration. An integer-valued random variable is a stopping time with respect to when
Thus whether one has stopped by time can be decided from the first observations, without seeing future variables. Equivalently, .
Write the stopped sum as
The event depends only on , so its indicator and are independent random variables. Since and , Tonelli theorem gives
We may consequently exchange expectation and summation. Using the tail-sum formula for proves Wald's equation:
For the renewal process, put and . The random variable is a stopping time. Since , Wald's equation gives
and hence
For , set and . Wald's equation still applies to the stopping time and the independent variables . Because ,
Therefore
By the monotone convergence theorem, as . Combining the bounds proves the elementary renewal theorem
For a fixed word over equally likely symbols, the waiting time for a word in independent uniform symbols has mean , where runs through the lengths of the borders of a word, including the full word. The word lava' has no proper nonempty border, so $$ \boxed{\mathbb E\tau_{\mathtt{lava}}=100^4=100\,000\,000}. $$ The word aa' has borders of lengths and , so
For a direct check, let be the expected remaining time with no trailing a' and $E_1$ with one trailing a'. Then
which gives .
A renewal-reward process consists of i.i.d. regenerative cycles , where is the th cycle length and is the reward accumulated during that cycle. If and , the renewal-reward theorem states that the cumulative reward satisfies
almost surely, with the usual negligible-remainder condition for an unfinished cycle.
For the machine, let be its working lifetime after a repair. The next repair occurs at the first inspection following failure, so one repair-to-repair cycle has length
while its working-time reward is . Since an exponential distribution of rate has mean ,
By the tail-sum formula for the positive integer-valued variable ,
Therefore
and the long-run proportion of time for which the machine is working is
Expanding the square and using the independence of the percolation edges gives
The ratio equals , where is the number of common edges in the two truncated paths. It is at most for , under the convention in the hypothesis; in particular because both paths contain . For every integer ,
The tail-sum formula and the assumed exponential intersection tail therefore yield
Put and . If , the claim follows from . Otherwise, for , part (c) gives
The tail-sum formula then yields
For independent uniform distribution increments on and , let be the first index at which their partial sum exceeds . First-step analysis gives , hence . Equivalently, is a simplex-volume probability and the tail-sum formula sums to . The strict inequality gives almost surely.