A Gibbs sampler updates one coordinate by drawing from its full conditional distribution, leaving the others unchanged and using their current values. Each coordinate kernel preserves the target joint law : integrate first over the unchanged coordinates, then over the old coordinate, and finally draw the new coordinate from the same conditional distribution. The resulting joint law is again . In the discrete notation, if two states share the remaining coordinates,
which is symmetric in . Thus a coordinate update satisfies detailed balance. A systematic full sweep has kernel and remains invariant because each factor preserves . A fixed-probability random-scan mixture also preserves ; the mixture is reversible, whereas a systematic composition need not be.
In the autologistic binary-image model, count each neighboring pair once. Changing one pixel from zero to one raises by one and by the number of neighboring ones. The ratio of its two conditional weights is . Therefore
For single-site Gibbs sampling, select a pixel, compute its current neighbor sum and replace it by a draw from a Bernoulli distribution with this probability. One may use random scans or complete ordered sweeps. The normalizing constant is not needed. For finite , every conditional probability lies strictly between zero and one; the finite chain is irreducible and has self-transitions, so its stationary law is unique and iterating converges to it.
For checkerboard Gibbs sampling, no edge joins two black pixels or two white pixels. Conditional on the whites, the black-pixel law factorizes:
Draw all black pixels independently with these probabilities, then draw all white pixels independently conditional on the newly drawn blacks. Each color block is a full conditional update, so the two-block sweep preserves the joint target. Pixels of the same color can be updated together because their conditional distribution factorizes.
For the noisy image, the log likelihood contributes . Since , dropping terms independent of gives
The Gaussian-noise posterior for an autologistic image therefore has conditional probabilities
Use this probability in both single-pixel and sequential color-block schemes. The independent observation factors change only the local field, so conditional independence within each color is retained. The same invariance proof then targets the posterior distribution rather than the prior.
Let be the rate of each individual flow on route , so its aggregate rate is . The feasible allocations satisfy . An allocation has proportional fairness if, for every feasible ,
Equivalently it maximizes over positive active-route rates. This is the first-order optimality condition for a concave objective on a convex set. Rates for absent flows can be set to zero.
For the linear flow network, put and . If , unused capacity on link could increase , so
When , write . For active local routes their aggregate rates are , and the objective, up to constants independent of , is
For , differentiation gives , hence ; when the maximizing endpoint is , giving the same answer. Thus the proportionally fair allocation on a linear flow network is
If and , this gives on every active local route, as expected. No departure occurs at the empty state.
Independent Poisson processes of flow arrivals and independent exponential distributions of document sizes make the count vector a continuous-time Markov chain. By the memoryless property, a surviving residual size with exponential distribution still has rate per unit of transferred data, so each route- flow completes at instantaneous rate . The transition intensities are
Hence the through-route departure rate is and each active local route's rate is .
To obtain the stationary law of a linear flow network, define
For a through departure ; for an active local departure . These are exactly the aggregate service rates, so the detailed balance identities hold. This also shows why the binomial coefficient is essential; a factor would not have the required ratios.
For fixed local counts with total , the negative binomial series gives
Sum the remaining independent geometric series to find
The given load conditions make every series converge. Setting proves
The chain has bounded total departure rate, finite arrival rate and no explosion. With positive arrival rates it is irreducible, and this normalized invariant law gives the positive recurrent Markov chain property; zero arrival rates restrict the stationary support to the corresponding reachable class.
Summing out shows local-count independence in a linear flow network: the local counts have independent geometric distributions on with ratios . Therefore
They are independent of one another under the stationary marginal, despite sharing the random through-flow population. The through count is generally dependent on them.
At each transition, choose a coordinate uniformly and independently of the previous coordinate choices. Draw a fresh value from that coordinate's full conditional distribution given the current remaining coordinates, and keep all other coordinates fixed. This supplies the random-selection and conditional-draw operations lost in the TeX transcription. The update depends only on the current vector and fresh randomness, which proves the Markov property. The printed mathematical requests are the kernel and its detailed balance, answered in the following two subsections.
Let be the normalized target and its marginal distribution. A coordinate- kernel leaves and has the joint old-new measure
This is symmetric in the old and new state: the common remaining coordinates are fixed and the two conditional factors exchange places. Thus each coordinate kernel satisfies detailed balance. Averaging them with the fixed weights proves
Integrating out the old state proves invariance of . The common normalization cancels, so detailed balance can also be written with the unnormalized target. This establishes detailed balance of a random-scan Gibbs sampler and a reversible Markov chain. Fresh independent random choices make the update a Markov chain, as explained above; invariance is not an assertion that an arbitrarily initialized chain starts in stationarity.
First consider an M-M-K queue with servers, arrival rate , and service rate at each server. Assume so that a stationary distribution exists. Its population is a birth-death process with rates and . The equilibrium probabilities satisfy detailed balance
Thus the population process is a reversible Markov chain. In its time reversal of a continuous-time Markov chain, forward departures become upward jumps whose rate is the constant , independent of the state. They can be generated by a rate- Poisson process independent of the initial reversed state. Reversing time preserves the Poisson process law, proving the equilibrium departure process is Poisson with rate , the Burke theorem for a multi-server queue.
The same argument gives the departure component of quasireversibility needed for the tandem calculation: the present upstream population is independent of its entire past departure process. Indeed, these departures become future arrivals in the reversed chain, independent of its initial population. First check this on finite time windows, then extend to the full past. A Poisson output alone, without this independence, would not justify multiplying queue-empty probabilities.
Now let , where denotes the mean service time at passport control, so the service rate at each of its two servers is . The stationary distribution of the M-M-s queue with has normalizing sum
Hence its empty probability is . Its output feeds a stable M-D-1 queue with rate and deterministic service time . In a stationary work-conserving single-server queue, the busy fraction is the rate of completed work, , so the empty probability is .
The downstream stationary workload is a causal function of past upstream departures. For example, it is the limit of workloads constructed from arrivals in increasingly long finite past intervals; stability makes this stationary construction well defined. The backward independence just proved therefore makes the two present queue populations independent. Consequently
With walking time , the downstream arrival stream is the upstream departure stream shifted by . Its present workload depends only on departures up to time . The number walking at time zero is the number of departures in , which has Poisson distribution of mean and is independent of the earlier departures. The upstream present population is independent of both parts of its past departure stream. Thus the three empty events factor, giving
The factor is the empty probability of the deterministic-travel infinite-server stage. Both printed stability inequalities ensure the stationary calculations apply.
For the Erlang loss formula, assume a Poisson process of arrivals with rate , independent holding times with exponential distribution of mean , unit capacity usage per accepted call, and rejection without waiting when all units are occupied. Here is a positive integer and the offered load is . The call population on is a birth-death process; detailed balance gives
By Poisson arrivals see time averages, the fraction of arrivals rejected is the time probability of full occupancy. Therefore
The paper's is the offered load, rather than necessarily an arrival rate. Exponential holding times suffice for this derivation; no unproved insensitivity of loss networks assumption is needed.
A loss network with fixed routing has capacities , call types , and a link-route incidence matrix with exactly when a type- call requires link . An accepted call holds one unit on every link of its route for its holding time; if any required link is full, the call is rejected everywhere. Take independent Poisson processes of calls, independent holding times, and route offered loads . For the finite-variable formulation below, take ; a zero-capacity link and all routes using it may be removed first.
The Erlang fixed point approximation treats blocking at different links as independent and thins the traffic offered to link by acceptance at the other links. Its reduced offered load is
The equality uses : only routes with contribute. Treating this reduced stream as Poisson leads to . Independence and Poisson thinning here are the approximation, not exact properties of a general loss network.
To construct the convex potential for the Erlang fixed point, write and , the carried load of an Erlang loss resource, equivalently the mean occupancy in the single-link stationary distribution. Differentiating its finite sums gives, for ,
The variance is positive because the finite occupancy law is nondegenerate for . Furthermore maps increasingly onto , while increases from zero to . Set
In particular , is continuous and strictly increasing, and as .
For
the first sum is convex, and each integrated strictly increasing function is strictly convex. Thus is a strictly convex function on . Since tends to a positive limit on every coordinate, is a coercive function there; it has a unique minimizer. Its coordinate derivative is
The Erlang fixed point equation is exactly . For an unused link, and the optimum is ; for a used link with positive offered load, the derivative at zero is negative and the optimum is positive. Hence every fixed point gives the unique minimizer, and the minimizer gives a fixed point. The Erlang fixed point is unique under these fixed-routing assumptions.
A convergent cyclic substitution for the Erlang fixed point updates one coordinate at a time, repeatedly cycling through all links:
Always use the most recently available values of the other coordinates. Start, for example, with . In coordinates this is exact coordinate descent for : with other coordinates fixed, the displayed update is the unique coordinate minimizer.
Here is a convergence proof. All iterates stay in the initial compact sublevel set of the coercive function , and their potential values decrease to a limit. Each single-coordinate update is continuous, since its reduced load is continuous and finite and . Thus a whole-sweep map is continuous. If a full-sweep subsequence converges to , continuity gives , because both consecutive potential values converge to the same limit. Strict coordinate convexity means equality can occur only when no coordinate changes during that sweep. Thus minimizes every coordinate, satisfies the nonnegative-orthant first-order conditions, and is the unique global minimizer of . Every subsequential limit is therefore the same point, proving convergence of the full-sweep iterates and, by continuity of the updates, all intermediate iterates. This argument applies to sequential substitution; it does not assume simultaneous updates converge.
A feasible per-flow allocation satisfies for each active route and . It has proportional fairness if every feasible competitor obeys
By the first-order inequality for the strictly concave logarithm, this is equivalent to maximizing weighted logarithmic utility over the feasible allocations. Inactive-route rates are immaterial; set them to zero as a convention.
Write , , , and . The capacity constraints are and . For , put . Each active local route uses its remaining capacity . Omitting constants, the utility is
Its maximum has ; when , the maximum is the endpoint . Hence for active routes
These formulas also give and when . When there is no allocated service. Equivalently, the aggregate route rates for are
This is the proportionally fair allocation on a two-resource linear network for a two-resource linear flow network.
For independent Poisson processes of documents and independent document sizes with exponential distribution of rate , the memorylessness of the exponential distribution makes the population a continuous-time Markov chain. Its transition intensities are
The departure intensity sums the independent completion hazards . There is no departure on an inactive route. Set , with .
To prove the proposed stationary distribution, define the balance function of a flow-level network
For an active local route, , while for the through route this ratio is . Thus . The weights
satisfy detailed balance on every arrival-departure pair:
Each total jump rate is bounded by , so the chain is a nonexplosive Markov chain; normalized detailed-balance weights therefore give its stationary distribution, the stationary law of a two-resource linear flow network.
Use the negative binomial series to sum first over :
The remaining two geometric series give
All summands are nonnegative. Consequently the sum is finite exactly under the stability conditions for a two-resource linear flow network
These say that the offered load on each unit-capacity resource is strictly below one. Equality is insufficient: at least one geometric series then diverges. If all arrival rates are positive, the chain is irreducible and the normalizable law is its unique equilibrium law.
Finally put , . Summing over yields
Thus the two local-route counts are independent, each with geometric distribution on the nonnegative integers. The conditional through-route count has negative binomial distribution
For positive traffic rates this depends on the local counts, so all three route counts are not independent. More quantitatively, , and likewise for . If zero arrival rates are allowed, the exceptional independent cases are , or , when the relevant counts are deterministic zero. This distinction is local-count independence with through-flow dependence.
The terms in the Boltzmann equation respectively describe dilution by expansion, pair annihilation, and pair production from the thermal bath. The annihilation rate per volume is ; is the corresponding production rate. Antiparticles satisfy the same equation with replaced by . Subtracting gives
Initial particle-antiparticle symmetry therefore persists. Detailed balance in the thermal bath gives , so
During radiation domination, with fixed effective relativistic degrees of freedom, and . Thus and the dilution terms cancel in :
After cosmological particle freeze-out, neglect . For constant the exact reduced solution is
For the post-freeze-out relic abundance, the familiar answer additionally neglects compared with . It is an approximation, not an exact consequence of the post-freeze-out equation without initial data. A smaller annihilation cross-section means smaller , earlier decoupling and less depletion, so weakly interacting particles normally have a larger relic abundance.
If there are balls in box A, a ball currently in B is selected with probability , increasing the count, and a ball in A is selected with probability , decreasing it. For ,
with every other transition zero. This is the Ehrenfest urn model.
The stationary distribution is
It is normalized by the binomial theorem, and it obeys the detailed balance:
All other pairs have zero flux in both directions. These identities prove stationarity and show that this is a reversible Markov chain in equilibrium. The finite chain is irreducible and has period two; reversibility does not require aperiodicity.
Let be a nonnegative target kernel and a proposal distribution. At state , propose , draw an independent uniform , and move to if
Otherwise keep . This is the Metropolis–Hastings algorithm. Start on the positive target support, with the usual zero-ratio conventions. The unknown normalizing constant cancels.
An unnormalized kernel is sufficient, provided . A genuinely improper target with infinite integral is not a probability density and cannot supply a stationary target probability distribution. The acceptance formula can still be written formally, but cannot be said to generate samples from that nonexistent probability law.
Because rejected proposals leave the state unchanged, the Markov kernel includes an atom:
Detailed balance with a probability measure means the measure identity
Where both sides have ordinary densities, this reads . The measure formulation also includes the rejection atom. Integrating it shows that is invariant.
For the off-diagonal moves, the Metropolis–Hastings acceptance probability gives
This expression is unchanged by interchanging and . The rejected-move measure is supported on the diagonal and is also symmetric. Therefore the whole transition measure satisfies
which proves detailed balance, including the atom that an off-diagonal density alone would omit. Consequently the Metropolis–Hastings algorithm kernel preserves the normalized target measure.
An open migration process is a continuous-time Markov chain recording the populations of finitely many colonies. Independent external Poisson processes bring individuals to colony at rate . When that colony contains individuals, a departure opportunity occurs at total rate , with . The departing individual moves to colony with probability , or leaves the system with probability . Routing choices and the clocks are independent. A return to the same colony does not change the state.
The word open means that the routing matrix is transient: every individual eventually leaves, or equivalently the spectral radius of is less than one. The traffic equations of an open migration process, with row-vector convention, give the total arrival rates:
These rates include migrations as well as external arrivals. On the active colonies assume and the usual irreducible Markov chain condition. Put
The product form and its normalization condition are
To establish the product-form stationary distribution of an open migration process, first use its unnormalized weight . Its ratios satisfy . The incoming external arrivals into , divided by , contribute . Incoming exits contribute . Incoming migrations from to contribute . Terms involving an empty destination are zero. Thus the full incoming rate divided by is
Here the traffic equations of an open migration process give the second equality, including . The right side is precisely the total outgoing rate. This proves global balance for a continuous-time Markov chain; pairwise detailed balance is not required for general routing.
For finite rates at each finite population, the continuous-time Markov chain is nonexplosive Markov chain: its total population is bounded over a finite time interval by the initial population plus the finitely many external arrivals, so it visits a finite set on which all jump rates are bounded. Consequently finite normalize the invariant weight to a stationary distribution. Under the stated irreducible Markov chain assumptions, this is the unique stationary distribution, and it is a positive recurrent Markov chain. Conversely, the unique invariant measure of an irreducible recurrent chain is proportional to , so a positive recurrent Markov chain requires its normalization to be finite. A sufficient condition is ; the series criterion itself is the exact condition. Colonies with have zero stationary population and can be removed from the active class.
For the single-server M-M-1 queue specialization, for , each stationary colony has the geometric distribution of an M-M-1 queue:
The traffic equations of an open migration process do not involve the service rates, so the remain fixed during this service-capacity allocation in an open migration process. Write , and . A stationary allocation requires , with and . The Cauchy-Schwarz inequality gives
Equality holds exactly when is proportional to . Hence, for positive arrival rates, the unique optimal service allocation and the minimum expected value of the total population are
If and some arrival rate is positive, no stable service allocation exists. Zero-arrival colonies need no service in their stationary empty class: allowing zero service there gives the same formula restricted to active colonies. If strictly positive service is demanded even at inactive colonies, the displayed minimum is an infimum approached as that unused allocation tends to zero. If all arrivals vanish, the stationary mean population is zero for every allocation that drains the initial population.
A reversible Markov chain has a stationary law for which every finite path has the same distribution as its time-reversed path:
For a transition matrix , the equivalent detailed balance condition is for all . It implies by summing over . Multiplying the balance identities along a path shows equality of its forward and reverse probabilities when ; conversely, taking paths of length one gives those identities.
For the usual undirected graph with at least two vertices, a simple random walk chooses a neighbor uniformly at each step, so when and are adjacent and zero otherwise, where is the degree of a vertex. The handshaking lemma gives . Thus the stationary distribution of a graph random walk is
For adjacent , , and for nonadjacent pairs both sides vanish. By detailed balance, this is an invariant distribution and the walk started from it is a reversible Markov chain. Connectedness makes the finite walk an irreducible Markov chain, giving uniqueness of its invariant distribution. No aperiodicity assumption is needed for uniqueness, so a bipartite graph is allowed.
If the connected graph has a single isolated vertex, the usual neighbor-choice formula is undefined. With the natural absorbing convention , its unique invariant distribution is and it is reversible. The degree-normalization formula presupposes at least one edge.
Take the real inner product
The stationary distribution is strictly positive for an irreducible Markov chain. Detailed balance gives , so is a self-adjoint operator. Choose a real orthonormal eigenbasis , where , , , , and for .
For fixed , apply the spectral decomposition to . Its coefficient against is , whereas . Thus the spectral kernel expansion of a reversible chain is
This holds for all integers ; at each multiplier is one, including when . Negative eigenvalues are allowed, and retain their signs for odd .
For a finite irreducible Markov chain satisfying detailed balance, define the directed-edge capacity . For every ordered pair choose a path from to using only positive-capacity edges; take the empty path for . Let count occurrences of the directed edge . The canonical paths Poincare bound says that
is a valid Poincare inequality for a reversible Markov chain constant. Simple paths give ; allowing repetitions requires the multiplicities shown.
To prove the theorem, expand the variance using two independent samples from :
Telescoping along and applying the Cauchy-Schwarz inequality gives
Interchange the finite sums, then use the definition of :
Consequently . All edges here are directed, so the in the Dirichlet form of a Markov chain is retained consistently.
Use . The Dirichlet form of a Markov chain is
The equality follows by expanding the square and using row sums one and the stationary distribution identity. For the reversible Markov chain, detailed balance makes a self-adjoint operator, with real orthonormal eigenbasis and ordered eigenvalues .
Adding a constant changes neither the variance nor the Dirichlet form of a Markov chain. Expand the centered function as . Then
For every nonconstant the quotient is at least , and equality is attained at . This proves
Equivalently minimize the Dirichlet form of a Markov chain over centered unit-norm functions. This is the variational characterization underlying the Poincare inequality for a reversible Markov chain, and does not require the transition matrix to have nonnegative eigenvalues. For a one-state chain there is no nonconstant test function; the displayed minimization concerns .