First suppose . Run the RP algorithm for and the RP algorithm for its complement with fresh random bits. If the first accepts, output one; if the second accepts, output zero; otherwise repeat. Neither output can be wrong, and on every input the appropriate algorithm accepts in each round with probability at least . The number of rounds is dominated by a geometric distribution of mean two, so this is an always-correct algorithm with polynomial expected running time.
Conversely, let be always correct when it halts and have expected running time at most . Run it for steps. Markov inequality gives
Accept exactly when halts and outputs one; this is an RP algorithm for . Accepting exactly when it halts and outputs zero is an RP algorithm for the complement. Therefore
is equivalent to zero-error expected polynomial time.
Each completed visit to radius begins a new radial excursion. By part (a), the conditional probability that the following excursion reaches radius before radius is
The Strong Markov property at the successive stopping times makes these trials independent with the same success probability. Consequently has a geometric distribution on with parameter :
As , and
Slutsky theorem now gives
For , let be the geometric distribution
If is the law of , Gibbs inequality gives
Therefore
For , the nonnegative random variable is zero almost surely and both sides vanish. This proves that the maximum entropy distribution on the nonnegative integers with fixed expected value is geometric.
Put . Since takes positive integer values, . Taking differences of the given tail probabilities therefore yields, also for ,
This is the probability mass function of the geometric distribution on .
For the geometric distribution, , so the probability generating function of the size-biased distribution is
If are independent and identically distributed with geometric distribution of parameter , the probability generating function of an independent sum gives
At zero, interpret the expression by its continuous extension. The probability generating functions agree, hence
One can also check the probability mass functions directly: for , there are positive integer pairs with sum , each having probability . Thus both sides assign probability to .
With independent Bernoulli trials of success probability , counts the failures before the first success. There are failures followed by one success with probability , giving the stated geometric distribution on . It counts failures, rather than the total number of trials including the success.
Summing the joint probability mass function over with the geometric series gives the marginal probability mass function
Divide the joint probability mass function by this positive marginal probability mass function to obtain the conditional distribution:
It is the geometric distribution counting failures before the first success, with success probability . For the other nonnegative integers , ; the elementary conditional probability given is undefined and supplies no additional case.
For a geometric distribution on positive integers, the probability generating function is . Conditional averaging over the red die yields
As a power series, its exact domain of absolute convergence is
Indeed the slowest decaying component has failure probability , so . At , the terms of the power series fail to tend to zero; outside that disk they grow. All six component series converge inside it. In particular, the probability generating function is defined on the usual real interval , with . The rational expression beyond the convergence disk is only an algebraic continuation, not the defining expected value.
Let denote the red die. Conditional on , each white roll succeeds independently with probability . Consequently has the geometric distribution on and expected value . The law of total expectation gives
This is rolls; the averaging must be over conditional expected values, not over success probabilities before taking a reciprocal.
With replacement, successive draws are independent, with red probability and green probability . The first red on draw requires greens followed by one red. Hence
This is a geometric distribution. Its total probability is one because the geometric series sums to .
Let count tests up to and including the first failure. By independence of random variables, the event requires passes and then a failure. With pass probability and failure probability , this is the geometric distribution
Using part (iii), its expected value is
This counts the test that discovers the fault. The expected number of earlier passing tests alone would be one.
State can be reached from state only at an even time. In the two-step sampled chain, each step while still at state reaches state with probability , and otherwise stays at state with probability . Thus, if is the original hitting time,
Equivalently where has the geometric distribution on positive integers with parameter .
For the stated geometric distribution, write . Then
Since , we have . Taking expectation gives the sample Fisher information
The support begins at one, so this expectation uses the trials-until-first-success convention of the geometric law.
For the same sample size , the geometric distribution provides more Fisher information:
The corresponding asymptotic variances of the maximum-likelihood estimators are
Hence choose the geometric sample for more precise inference at equal numbers of observations. Its asymptotic variance is times as large, and its standard error is times as large. This illustrates Fisher information per observation and per trial. It is a per-observation comparison: one geometric observation records a waiting time containing, on average, Bernoulli trials. A constraint on the total number of underlying trials would be a different sampling-budget comparison.
For sufficiently large , lies in . The waiting time has the geometric distribution on , so summing its geometric series gives
whenever . Fix . The expansions show that the numerator is and the denominator is . Therefore
The convergence theorem for moment-generating functions says that pointwise convergence of finite moment-generating functions on a fixed open interval about zero to the moment-generating function of a probability distribution implies convergence in distribution to that distribution. For example take ; all large satisfy the convergence condition throughout that interval. The limit is the moment-generating function from part (a), proving
At a fixed index, independence and uniformity give
The match indicators are independent Bernoulli trials. Thus the waiting times between successive matches are independent geometric variables on with success probability . Their moment-generating function is
provided . Since is the sum of such waiting times,
For , the finite domain is . For , every index is a match, so deterministically and the moment-generating function is for every real .
For , the geometric distribution tail gives
For , . The limiting cumulative distribution function is therefore for negative and for nonnegative , and it is continuous everywhere. This proves
with rate parameter and mean .
Each electromagnetic normal mode is a quantum harmonic oscillator with . For its canonical partition function and occupation probabilities are
The geometric distribution is normalized and gives thermal mode energy . The zero-point term is not part of the thermally emitted black-body intensity. The equilibrium photon chemical potential is zero because photon number is not conserved.
Counting two transverse polarizations gives modes per volume per frequency interval. Thus the spectral energy density is . In an isotropic radiation field, spectral radiance is . Transforming the spectral measure, , gives
Here intensity means radiance per wavelength and solid angle; the hemispheric spectral exitance of a black surface is . The extra Jacobian is essential: the wavelength peak is not found by simply converting the frequency peak using .
At short wavelength the exponential suppresses radiation. At long wavelength the Rayleigh-Jeans limit is ; using classical equipartition at every frequency instead would produce the ultraviolet catastrophe. The wavelength maximum solves , with nonzero root , yielding Wien's displacement law. For the specified temperature,
Integrating the hemispheric flux gives the Stefan-Boltzmann law, . The plot uses the specified ideal temperature, rather than substituting a later measured value. The physical black-body description of the cosmic microwave background is tested by comparing the sky spectrum with an absolute reference blackbody and separating instrumental and Galactic contributions.[ref]
Figure 1.
Original ideal spectral radiance per wavelength at 2.7 K, with the wavelength peak near 1.07 mm
. Details.
Since almost surely, only finitely many early values can attain the global minimum; it is a finite integer. Also . For every nonnegative integer , the unit-step property and translation invariance of the increments give
Subtracting consecutive tails yields the probability mass function
Thus has the geometric distribution counting failures before the first success, with success parameter
This support convention is essential: the minimum of an upward-biased random walk can equal its starting position, so has positive probability.
Starting at one, state two can first be reached only after an even number of steps. At every even time before that hit, the chain is again at one. By the Markov property and part (i), each successive two-step block hits two with probability , while a failure returns to one with probability . Therefore, for the first hitting time ,
Equivalently has the geometric distribution on the positive integers with success probability .