Master equation (source code)

= Master equation
{wiki}

For transition rate $w_{ij}$ from state $i$ to state $j$, the master equation is
$$
\dot P_i=\sum_j(w_{ji}P_j-w_{ij}P_i).
$$