Let be the Markov kernel of the Metropolis–Hastings algorithm. Away from the possibility of remaining at , its transition density is
Multiplication by the target density gives
This is detailed balance for every pair of distinct states.
Write
for the rejection probability, so
For every measurable , detailed balance and the Tonelli theorem give
Hence is an invariant distribution of the chain.
A distribution is an invariant distribution when
for every state . The pair satisfies detailed balance when
for every . Summing this identity over gives
so detailed balance implies invariance.
For an irreducible positive recurrent Markov chain, Kac's lemma relates the invariant mass to the mean recurrence time:
The posterior is
A random-walk Metropolis–Hastings algorithm proposes from a symmetric density about the current and accepts with probability
For distinct states, multiplying the transition density by the target density gives
which is symmetric and proves detailed balance. Run multiple dispersed chains, tune proposals during warm-up, inspect traces, effective sample sizes and convergence diagnostics, then estimate the period mean by averaging over retained draws.
In equilibrium the chain is reversible by detailed balance. Reverse time. Forward departures become reverse accepted arrivals; reversibility identifies the reversed chain with the original one, whose attempted arrivals form a Poisson process. The accepted points are exactly those occurring while the state is below . The standard quasi-reversibility argument therefore makes the equilibrium departure process Poisson, with rate equal to the mean departure rate
The chain is an irreducible birth-death process. The detailed balance equations are
so . Normalization gives the stationary distribution
An irreducible countable-state Markov chain that possesses a stationary probability distribution is positive recurrent. Hence is positive recurrent.
Expand according to the hitting time and use detailed balance to reverse each finite path:
The event in the final probability is . The tail-sum formula for a nonnegative integer-valued random variable gives
Therefore
Detailed balance says that each equilibrium transition is balanced by its time reverse:
With the Boltzmann distribution and , this requires
Parts a and b instead give . Equality for every pair of endpoints yields the fluctuation-dissipation relation for a Langevin particle
At stationarity,
Thus every edge current vanishes and the two-state system satisfies detailed balance. A network containing only one undirected edge cannot sustain a stationary cycle current.
Write for the degree of in and for the number of its neighbours lying in . Each trial succeeds with probability
. The stated geometric-sum fact shows that the total holding time at is exponential with rate . Conditional on success, each neighbour in is chosen uniformly. Hence
Let
For every edge of ,
Thus detailed balance holds, so is invariant. Connectedness of makes the chain irreducible and this invariant distribution unique.
Yes. The three nontrivial detailed balance identities are
and
Thus the chain is a reversible Markov chain.
For , detailed balance says that the measure is invariant under exchanging and . Therefore
This is precisely the defining identity for a self-adjoint operator.
For , the forward and reverse rates are
At thermochemical equilibrium, by detailed balance, while
after the appropriate standard-concentration factors are included. The standard reaction Gibbs free energy is
Consequently
For other stoichiometries, the same argument uses the corresponding activity product and its standard-state factors.
Subtracting the two quadratic actions gives
The functional chain rule identifies the last integral as , so
Microscopic time-reversal invariance implies detailed balance. The equilibrium probability density of a configuration with free energy obeys
Therefore
Comparison for arbitrary endpoint free energies yields the Model A fluctuation-dissipation relation
Take flat priors on and scale priors on the positive variances. The posterior distribution is then
A random-walk Metropolis–Hastings algorithm can update with a symmetric proposal and accept a proposed state from with probability , including the Jacobian if the target is represented in transformed coordinates. Its transition kernel satisfies
which is detailed balance; hence the posterior is stationary.
If distinct states communicate in one step, they differ by a unique removed vertex and a unique inserted vertex. Consequently
Thus the transition matrix is symmetric, so detailed balance holds for the uniform distribution on . Irreducibility makes this invariant distribution unique.
Let denote the posterior and let the proposal density satisfy . For distinct states, the Metropolis transition density is
Consequently
The rejection mass on the diagonal also satisfies detailed balance, so the posterior is invariant.
For a finite irreducible Markov chain with at least two states satisfying detailed balance, its Dirichlet form of a Markov chain obeys
Expand in an orthonormal eigenbasis. The denominator is , and the numerator is . Their ratio is at least and equality holds for the second eigenfunction. Thus the optimal Poincare inequality for a reversible Markov chain constant is , for the ordinary rather than absolute spectral gap.
Quasireversibility Created 2026-10-06 Updated 2026-10-07
In equilibrium, a queue is quasireversible when its present state is independent of subsequent arrival times and preceding departure times, for each customer class. For an M-M-s queue, detailed balance and time reversal of a continuous-time Markov chain show that past departures become future arrivals generated independently of the present state. This backward independence is useful in tandem calculations where downstream occupancy is determined by earlier departures.
Reversible density-ratio propagation Created 2026-10-06 Updated 2026-10-07
For a reversible Markov chain with stationary distribution and , detailed balance gives
To prove this, integrate either side against a bounded test function and exchange the two endpoints using detailed balance. If , the output probability density function is . A reverse simulation can therefore estimate this density ratio without evaluating a transition probability density function.