For discrete space Stochastic processes
Discrete time master equation
For discrete time, probability to be in state n at time t+Δt is:
P(n,t+Δt)=∑n′W(n′→n)P(n′,t)
where the W(n′→n) are the transition probabilities (which can be expressed as a transition matrix).
Continuous time master equation
For continuous time, we can subtract P(n,t) from both sides of the discrete time equation, and divide by Δt→0. Then
dtdP(n,t)=∑n′w(n′→n)P(n′,t)−[∑n′w(n→n′)]P(n,t)
=∑n′≠nw(n′→n)P(n′,t)−[∑n′≠nw(n→n′)]P(n,t)
where w(n′→n)=limΔt→0ΔtW(n′→n), and where for the bracketed part we used that probability is conserved (i.e. the particle has to go somewhere), ∑n′w(n→n′)=1, and in the second line we cancelled the n′=n terms from both terms.
Solve using Fourier series, as if it is in a (discrete) lattice. For more general networks, Fouriers may not be appropriate.. You can then use eigenvector methods