Skip to content
← All questions

What is the mathematical formula for the detailed balance condition?

The detailed balance condition requires that for any two states xx and yy, the probability flow from xx to yy exactly equals the flow from yy to xx. This bidirectional equilibrium guarantees that the target distribution is stationary for the Markov chain.

Conditions

  • Must hold for all pairs of states xx and yy in the state space.
  • P(x)P(x) and P(y)P(y) are probabilities under the target distribution.
  • T(y∣x)T(y|x) and T(x∣y)T(x|y) are transition probabilities.

Reasoning, step by step

  1. Identify any two states xx and yy.
  2. Calculate the probability flow from xx to yy as P(x)T(y∣x)P(x)T(y|x).
  3. Calculate the reverse probability flow from yy to xx as P(y)T(x∣y)P(y)T(x|y).
  4. Set the two flows equal to each other.
  5. Verify that this equality holds for all state pairs.

Example

The video displays the equation P(x)T(y∣x)=P(y)T(x∣y)P(x)T(y|x) = P(y)T(x|y) alongside a diagram of two circles labeled xx and yy connected by bidirectional yellow arrows representing probability flows.

Common misconceptions

  • Believing that detailed balance only requires the total flow into a state to equal the total flow out (global balance), rather than pairwise equality.
  • Assuming the condition applies only to adjacent states in a specific network topology, rather than all pairs of states.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.