From short-time transition probabilities to a generator
Take discrete states \(i\) resolved by an instrument. In a short time \(dt\), conditional on current state \(i\), let the probability of one transition \(i\to j\) be \(w_{ij}dt+o(dt)\). The probability of remaining in \(i\) is one minus the sum of departures to this order. Assume time-independent rates and the Markov property, meaning the conditional law of future transitions is determined by the current state. Sum gains and losses to derive
Each gain in one state is a loss in another, so total probability is conserved. In a column-vector convention \(\dot{\mathbf p}=L\mathbf p\), off-diagonal entry \(L_{ij}=w_{ji}\) and columns sum to zero. In a row-vector convention transpose the matrix. This is not cosmetic in a numerical calculation: using a matrix assembled for column probabilities while evolving rows can lose normalisation or give an incorrect stationary distribution.
For a given state the exit rate is
Its survival probability obeys \(\dot S_i=-r_iS_i\), so \(S_i(t)=e^{-r_it}\). Conditional on exiting, the destination has probability \(w_{ij}/r_i\). This permits direct event-driven simulation: draw an exponential waiting time, choose a destination with these probabilities, advance the clock and repeat. Sampling one transition per arbitrary fixed time step generally distorts waiting-time statistics unless a controlled approximation or exact finite-time propagator is used.
Determine two rates from one occupancy and one time
For a two-state system name the rates \(a=w_{01}\), \(b=w_{10}\). Eliminating \(p_0=1-p_1\) gives
Its stationary value \(p_* =a/(a+b)\) is independent of the common rate scale, and deviations decay with time constant \(\tau=1/(a+b)\). Thus one stationary fraction gives a ratio, one relaxation time gives a sum, and the two together identify both rates.
A location sensor records an upper-state fraction 0.30 and relaxation time 0.20 seconds. Then \(a=1.50\) and \(b=3.50\) per second. Mean waiting times are \(1/a=0.667\) s in the lower state and \(1/b=0.286\) s in the upper one. Neither equals the population relaxation time of 0.20 s. A transition rate inferred by taking the reciprocal of the average of these two waiting times estimates a different quantity.
Define the indicator \(X=1\) in state one and zero otherwise. Conditional probabilities from the same linear solution give
Consequently a normalised equilibrium autocorrelation determines \(\tau\) without needing a deliberate preparation away from stationarity. A bandlimited detector may miss short visits, reducing counts and distorting waiting-time distributions even if the mean occupation looks plausible. Compare time sampling with both exit times as well as the relaxation time, or model the measured signal with an explicit observation process.
Detailed balance is stronger than stationarity
Let \(\pi_i\) denote a stationary distribution. The net probability current on an oriented edge is \(J_{ij}=p_iw_{ij}-p_jw_{ji}\). Stationarity requires only that currents sum to zero at each vertex. Detailed balance requires \(\pi_iw_{ij}=\pi_jw_{ji}\) on every edge individually. For a system in equilibrium with one heat bath, with states even under time reversal and energies \(E_i\), thermal rates satisfy \(w_{ij}/w_{ji}=e^{-\beta(E_j-E_i)}\) for nondegenerate states. If states collect multiple microstates, degeneracies or coarse-grained free energies enter their equilibrium weights.
For the previous two-state process at equilibrium with equal state degeneracies, \(p_*/(1-p_*)=3/7\) implies
Multiplying both rates by ten preserves the energy inference and speeds relaxation tenfold. Thermodynamic weights therefore do not determine the kinetic barrier. A physical sample may change its rate scale with solvent viscosity or transition geometry without changing the equilibrium ratio.
A convenient test on a connected graph with reciprocal edges is the product of rate ratios around each closed cycle. With detailed balance all stationary factors telescope to one. Conversely, if the product is one on every independent loop, consistent state weights can be reconstructed from any reference state by integrating ratios along a path. Path independence makes these weights a detailed-balance stationary distribution after normalisation. A missing reverse edge or unobserved channel requires additional care; a detector that cannot resolve two routes can hide directed currents.
A steady nonequilibrium system with the same state histogram
Consider three equally named sites arranged in a ring, with clockwise rate \(k_+\) and anticlockwise rate \(k_-\) on every link. Symmetry gives stationary occupation \(1/3\) at each site for all positive rates. Each oriented clockwise edge carries current \(J=(k_+-k_-)/3\). The cycle affinity in dimensionless units is \(\mathcal A=\log[(k_+/k_-)^3]\). For \(k_+=4\), \(k_-=1\) per second, each edge transports net probability one per second, and \(\mathcal A=3\log4=4.159\). A perfectly flat histogram conceals the directed operation.
For Markov jumps with resolved reversible edges and their conventional time reversals, the total stochastic entropy production rate is
Each term is nonnegative under the product \((x-y)\log(x/y)\); the factor of one half prevents counting both directions separately. For the stationary ring this gives \(k_B J\mathcal A=4.159 k_B\) per second. An actual heat dissipation rate needs a physical local detailed-balance model identifying environments, work and entropy flows. A collection of counted transitions without that calibration can still yield evidence for broken time-reversal symmetry at its level of resolution.
Stationary Shannon entropy \(-k_B\sum p_i\log p_i\) is constant in this ring. The positive total entropy production is compatible with that constancy because an environment sustains the directed current and carries compensating entropy. Equating production with just the derivative of stationary state entropy would predict zero for every driven stationary process.
Why a distribution relaxes toward a stationary law
For a finite irreducible time-independent chain let \(\pi_i>0\) be its unique stationary distribution. The relative entropy \(D(p\Vert\pi)=\sum p_i\log(p_i/\pi_i)\) is nonnegative. To see its contraction over a finite observation interval, write the propagated probability as a stochastic mixture of earlier probabilities and apply the log-sum inequality to each output state. Summing gives
Since \(P\pi=\pi\), the relative entropy to stationarity cannot grow.
For a detailed-balance chain, substituting the master equation into this derivative gives \(-k_BdD/dt=\dot S_{\rm tot}\) in the simple closed heat-bath model. For a driven chain the system may remain at \(\pi\) with constant relative entropy while producing positive steady entropy. Relaxation toward stationarity and dissipation required to maintain that stationary state are distinct measurable quantities.
Compare relaxation inferred from a time trace with the thermodynamic irreversibility experiment
Infer generator entries from residence times
An ideal continuously observed Markov record contains successive states and dwell lengths. Let \(T_i\) be accumulated time in state \(i\) and \(N_{ij}\) the number of resolved \(i\to j\) jumps. Its log likelihood contains \(\sum_{ij}N_{ij}\log w_{ij}-\sum_i T_i\sum_{j\ne i}w_{ij}\). Differentiation gives
Dividing by total experiment time instead estimates the gross stationary flux \(\pi_iw_{ij}\), not a conditional transition rate.
For a nearly stationary two-state record with \(T_0=70\) s, \(T_1=30\) s and 105 transitions in each direction the estimates are 1.50 and 3.50 per second. Counting uncertainty for each reasonably large Poisson-like count is roughly the inverse square root of the count in relative terms; precise interval estimates condition correctly on exposures and the observation process. Equality of opposite transition counts in a long two-state record is essentially forced by alternation. It cannot by itself establish a thermal energy gap or exclude multiple hidden driven pathways.
Turn a barrier diagram into two independently measurable rates
A thermally activated transition between two metastable configurations often has a forward rate \(a=\nu_A e^{-(G^\ddagger-G_A)/(k_BT)}\) and reverse rate \(b=\nu_Be^{-(G^\ddagger-G_B)/(k_BT)}\), where \(G^\ddagger\) denotes a dividing-surface barrier under a chosen model. If the same transition-state construction applies in both directions with consistent partition factors, their ratio reproduces the equilibrium free-energy difference. The overall barrier controls how rapidly equilibrium is approached. Changing a barrier while leaving both wells unchanged can alter both kinetics by many orders of magnitude without changing stationary occupancy.
As an illustration let the higher-energy state cost \(2k_BT\), and put a transition configuration \(10k_BT\) above the lower state. With a common attempt rate of \(10^6\) per second, the upward rate is 45.4 per second and the downward rate 335 per second. The stationary upper fraction is approximately 0.119 and the relaxation time 2.63 ms. Lower the barrier by \(2k_BT\) without changing the two state energies. Both rates increase by \(e^2=7.39\), while occupancy is unchanged. A detector recording only the equilibrium level histogram could miss the intervention entirely.
For a temperature scan, a straight line in the log rate against inverse temperature is evidence for an approximately constant activation energy and prefactor over that interval. A free-energy barrier includes entropic as well as enthalpic contributions; its numerical value can vary with temperature even if the microscopic potential does not. A change of dominant pathway can bend the apparent Arrhenius plot. Measure forward and reverse rates independently, then compare their ratio with an independently determined equilibrium population. A barrier fit explaining one rate but violating the equilibrium ratio usually indicates inconsistent state definitions, missed short visits or an unmodelled pathway.
A useful control is a weak static bias that lowers one well relative to the other. The equilibrium log-odds shift measures the difference between the state couplings to the bias. The individual log-rate shifts additionally report the related dividing-surface response. If the state-occupation ratio moves as expected but only one rate changes appreciably, the effective transition configuration may be much closer in bias response to the other state. Such statements depend on the activated single-path interpretation; the response slopes themselves are more directly observed than an inferred barrier shape.
Use uniformisation to propagate a generator without negative probabilities
The formal finite-time propagator of a time-independent jump process is \(P(t)=e^{Lt}\). A forward Euler update \(p(t+\Delta t)=(I+L\Delta t)p(t)\) conserves total probability if the generator is assembled correctly, but a large step can yield negative diagonal probabilities. An exact algebraic representation starts with a rate \(q\) at least as large as every total exit rate. Then \(K=I+L/q\) is a stochastic matrix in the same column convention. Write \(L=q(K-I)\); since \(K\) and the identity commute,
This can be read as drawing a Poisson number of opportunities at rate \(q\), followed by \(n\) transitions of \(K\). At a lightly connected state some opportunities become self transitions. The construction leaves real waiting-time statistics correct while eliminating negative transition probabilities. Its truncation error in total probability is bounded by the omitted Poisson tail because every matrix power is stochastic.
For a two-state model with rates two and six per second choose \(q=6\) per second. Starting in the lower state, the first opportunity after some waiting time moves upward with probability one third and otherwise does nothing. In the upper state the next opportunity moves downward with probability one. At 0.25 s the Poisson mean is 1.5. Retaining terms through order eight leaves a tail below \(3\times10^{-5}\). Compare the resulting upper probability against \((2/8)[1-e^{-8(0.25)}]=0.2162\). A small discrepancy due solely to truncation should shrink with the computable tail probability.
The representation also suggests a measured-data sanity check. A fitted generator with negative off-diagonal rates cannot yield a valid \(K\) at any positive \(q\). A snapshot transition matrix can itself be nonnegative and stochastic but need not arise from a time-homogeneous continuous-time generator. In the two-state case its nontrivial eigenvalue must be \(e^{-(a+b)t}>0\). A measured negative eigenvalue rules out that simple generator model under perfect sampling, though finite counts and hidden periodic driving can distort empirical estimates. Taking a matrix logarithm blindly may return complex or negative rates rather than a physical kinetic explanation.
Population relaxation and a first-arrival experiment answer different questions
A first-passage measurement stops its clock when a target is first reached, even if that target would subsequently be left many times. To calculate its mean, treat the target as absorbing. For any other state \(i\), wait on average \(1/r_i\), then add the mean remaining time from the next state weighted by its conditional transition probability. The backward equations are
with \(t_{\rm target}=0\). Their solution depends on possible returns before the first successful passage. It generally differs from an inverse equilibrium occupation or from a slowest relaxation time.
Consider a three-site linear chain \(0\leftrightarrow1\leftrightarrow2\) with equal rate \(k\) on each adjacent directed edge, starting at zero and stopping at two. From zero one must reach one after mean \(1/k\). From one the mean wait is \(1/(2k)\), then there is probability one half of returning to zero and one half of finishing. Solving \(t_0=1/k+t_1\), \(t_1=1/(2k)+t_0/2\) gives
Ignoring returns would yield \(1.5/k\), exactly half the correct first-passage mean.
The unmodified closed chain has equal stationary weights, but that fact alone says nothing about the numerical value of \(3/k\). Speeding every link by ten leaves occupancies unchanged and reduces passage times tenfold. A detector that registers only visits longer than a threshold makes a brief first arrival invisible and can report even longer apparent passage times. Calibrate detector dead time and distinguish entrance to the target from persistence within it.
For a larger network, solve the sparse backward linear system and compare against many event-driven paths. Check boundary initial conditions by starting simulations exactly at the absorbing target: the first-passage time must then be zero under that convention. Some experiments instead ask for a first return after leaving, which requires a different initial condition. A zero-lag event in one definition is a physically different measurement in the other.
Estimate a cycle affinity with finite counting statistics
A clockwise ring trajectory contains gross counts in both directions on each edge. Estimating each conditional rate as count divided by origin-state exposure, the product of clockwise-to-anticlockwise rates around a complete closed loop cancels the exposures. The estimated cycle affinity is the sum of log forward counts minus log reverse counts, assuming every required count is nonzero and rates were stationary during the record. This is a useful cross-check independent of how the total time was partitioned among states.
If all three edges register roughly 120 clockwise and 80 anticlockwise events, the estimated affinity is
For large independent Poisson-like gross counts the approximate variance of this log product is \(3(1/120+1/80)=0.0625\), giving standard error 0.25 as a first estimate. Actual path constraints couple counts; uncertainty can be assessed from independent records or a complete stochastic likelihood. The point estimate alone does not tell whether an observed directionality is statistically distinguishable from zero.
One missing reverse event makes the unregularised logarithm infinite, but a finite record cannot establish an infinite physical affinity. Report a confidence bound based on the exposure and upper limit on the unseen reverse rate. Extend the acquisition or change sampling speed to exclude missed short-lived reverse states. Numerical addition of an arbitrary count can help regularise a plotting routine but is not a substitute for a specified prior or measurement model when claiming physical entropy production.
A driven occupation loop can carry charge without changing concentrations
Place three sites in a cycle and drive their transition rates by two controls, for example energies and barriers. Even if each instantaneous frozen generator satisfies detailed balance with a well-defined equilibrium distribution, the physical occupations need not equal that moving equilibrium distribution at each moment. A slow lag can produce a small edge current at every instant and a finite integrated current over a cycle. The current through an edge is time-integrated transfer; it can be nonzero while all occupations return to their initial values after a complete drive period.
A simple piecewise illustration avoids subtleties of adiabatic geometric pumping. In stage one, connect only sites zero and one while strongly favouring one. In stage two connect only one and two while favouring two. In stage three connect only two and zero while favouring zero. Begin with nearly all probability at zero and wait long enough for each enabled pair to relax. Almost the entire population travels once around the loop per cycle. No site accumulates probability over repeated complete cycles, but each edge registers about one forward crossing net per cycle. External control changes the energy and barrier landscape and supplies the required work.
If each programmed transfer succeeds with probability 0.95, it is tempting to announce a current of \(0.95^3\) per cycle. This is the probability of one fully successful trajectory starting on the prescribed site in a simplified no-return preparation, not generally the long-run edge current of a periodically driven ensemble. Failed transfers leave probability on other sites in later stages. The correct periodic distribution is the unit-eigenvalue vector of the product of the three finite-time propagators. Compute edge currents during each stage using its evolving occupations and integrate, then compare a complete cycle after transients have decayed.
This construction supplies a statistical check on experimental counting. Over a complete cycle the integrated net inflow at a site equals its change in occupancy probability. In a periodically stationary state that change is zero, so all three consistently oriented integrated edge currents must agree. A disagreement between measured edges can reveal a missed transition channel, a start-up transient or incorrect gating. Agreement does not prove absence of drive or detailed balance. A torque-free stationary ring and a three-stage external pump can share nearly the same time-averaged site histogram yet differ clearly in time-resolved edge currents.
Finally compare the work and heat bookkeeping with the master-equation entropy-production expression. During an external change of a site's energy without a transition, the state's energy changes by work. During a transition at frozen controls, assigning heat requires the energy difference and the relevant bath. Lumping an entire driven cycle into a single time-averaged generator can conceal those distinctions and underestimate dissipation.
The ordered protocol can also be run backwards. If the three stages are reversed while preparations are equilibrated in each corresponding periodic state, the preferential current direction should reverse in the ideal transfer picture. A fixed instrumental preference for counting neighbouring sites in one direction would not generally reverse. This distinguishes controlled transport from a direction-dependent detection efficiency. Do not confuse this observed current reversal with exact microscopic time reversal of each individual stochastic trajectory: the reversed experiment has its own ensemble of random jumps. Comparing path probabilities, rather than pairing individual paths as though their noise histories were reproducible, is the appropriate starting point for entropy-production and fluctuation-relation tests. The distinction becomes particularly visible when a stage transfers almost all the probability in one direction while a few rare trajectories travel against the applied protocol.
Distinguish stationarity from detailed balance
Keep the three populations identical while varying the directed transition rates. Identify the observable that reveals time-reversal asymmetry.
Tutorial · Recover a generator from snapshots rather than full events
At sampling interval 0.10 s, a two-state record yields \(P_{01}=0.12\) and \(P_{10}=0.28\). Infer the continuous-time rates, and compare with directly dividing each transition probability by 0.10 s.
Use the exact finite-interval propagator
The exact transition probabilities are \(P_{01}=p_*[1-e^{-(a+b)\Delta t}]\) and \(P_{10}=(1-p_*)[1-e^{-(a+b)\Delta t}]\). Their sum is 0.40, so \(a+b=-\log(0.60)/0.10=5.108\) per second. The stationary upper fraction is
Thus \(a=1.532\) and \(b=3.576\) per second. Dividing by the interval gives only 1.2 and 2.8 because return transitions inside a sampling interval can erase evidence of the intermediate visit.
Tutorial · Can measured rates arise from one equilibrium potential?
For a three-state triangle suppose clockwise to counterclockwise conditional rate ratios are 2, 3 and 0.25 around the three distinct edges. Could these be equilibrium weights in a common bath? If a single uncertain ratio were corrected, what would it have to be on the third link?
Apply the closed-loop consistency condition
The product is \(2\cdot3\cdot0.25=1.5\), giving nonzero loop affinity \(\log1.5=0.405\). No consistent detailed-balance set of three state weights exists for these exact ratios. The third ratio would have to be \(1/6\), giving a telescoping unit product. If counts are noisy, propagate uncertainty in the log ratios or compare a constrained detailed-balance likelihood against an unconstrained model. A value barely inconsistent with unity within one sparse record is not enough to establish driving.
Tutorial · Detect a hidden state with the same observed level
A detector reports two visible levels, but its lower level combines two unresolved substates. The measured lower-state survival probability is \(0.5e^{-t}+0.5e^{-9t}\) with time in seconds. Calculate the initial hazard and its long-time limit. Can a two-state Markov fit reproduce both?
Differentiate survival before interpreting the tail
The hazard is minus the derivative of \(\log S\). At zero time it is the initial weighted mean of rates, 5 per second. At long times the rapidly departing component has almost disappeared and the hazard tends to 1 per second. A single Markov exit rate would give a constant hazard for all dwell ages. The observed model cannot reproduce both limits with one rate.
A changing apparent hazard may also result from limited detector temporal resolution or variable preparation of the substates. Repeat with shorter acquisition intervals and condition the dwell distribution on the preceding visible transition or an independent preparation marker. A fitted sum of exponentials identifies a need for a richer observation or state model; it does not uniquely identify microscopic structures absent in the measurements.
Cambridge Kinetic Theory · stochastic processes and approach to equilibrium