The Exercise
Three random variables , and take values in finite sets , and and have a joint distribution . Suppose they form a Markov chain , as when is the output of a noisy channel fed with and is produced from alone. The exercise is to show that the same variables, taken in the opposite order, also form a Markov chain .
In the library the Markov condition is an identity between and three of its marginals, and the reversed chain is the triple with the reversed distribution.
Marginals and the Markov Condition
The second marginal of a joint distribution of two random variables and is the distribution of alone, obtained by summing out : (1)✦ With as the first variable and the pair as the second, the second marginal of is the marginal of , .
The middle marginal of is the distribution of alone, obtained from by summing out : (2)✦ Summing out of itself gives the marginal of the pair , their joint distribution: (3)✦
Three random variables , , with joint distribution form a Markov chain when and are conditionally independent given , that is, when (4)✦
The reversed distribution of is the joint distribution of the triple on that gives each reversed triple of values the weight of the original one: (5)✦ Its marginals , and are formed as in (1) to (3), with in the first place and in the last.
The Claim
Theorem 1. Let , , be random variables with joint distribution on . If is a Markov chain, then so is : the reversed distribution satisfies (6)✦
What Is Checked
The claim is stated over the Markov condition (4), built from the marginals (1) to (3), and over the reversed distribution (5). What the library proves about these constructions is the theorem above, for every real function on and not only for probability distributions.