[guided]Reversibility means that the chain, when started in its invariant distribution, looks statistically identical run forwards and backwards. Formally, the reversed chain $Y_k = X_{N-k}$ must have the same transition matrix as the original chain.
By the [Reversed Chain is Markov](/theorems/2227), when $X_0 \sim \lambda$ (where $\lambda$ is invariant for $P$), the reversed process $Y$ is a Markov chain with transition matrix $\hat{P}$ defined by $\hat{p}_{i,j} = (\lambda_j / \lambda_i) p_{j,i}$. The theorem requires that $(X_n)$ be positive recurrent and irreducible with invariant distribution $\lambda$ -- we verified these conditions in the previous step.
We now check that $\hat{P} = P$. The detailed balance hypothesis gives $\lambda_i p_{i,j} = \lambda_j p_{j,i}$ for all $i, j \in S$. Since the chain is irreducible, $\lambda_i > 0$ for all $i$ (this follows from $\lambda_i = 1/\mu_i > 0$), so we may divide both sides by $\lambda_j$ to obtain $p_{j,i} = (\lambda_i / \lambda_j) p_{i,j}$. Substituting into the formula for $\hat{p}_{i,j}$:
\begin{align*}
\hat{p}_{i,j} = \frac{\lambda_j}{\lambda_i} \cdot p_{j,i} = \frac{\lambda_j}{\lambda_i} \cdot \frac{\lambda_i}{\lambda_j} \cdot p_{i,j} = p_{i,j}.
\end{align*}
This holds for every pair $(i, j)$, so $\hat{P} = P$. The chain is reversible.
The detailed balance equations are precisely the condition that makes $\hat{P} = P$. This is not a coincidence -- the definition of reversibility ($\hat{P} = P$) is equivalent to $(\lambda_j / \lambda_i) p_{j,i} = p_{i,j}$, which is exactly the detailed balance equation $\lambda_i p_{i,j} = \lambda_j p_{j,i}$ rearranged.[/guided]