Skip to Main Content
In this work, we provide a computable expression for the Kullback-Leibler divergence rate limn→∞1/nD(p(n)||q(n)) between two time-invariant finite-alphabet Markov sources of arbitrary order and arbitrary initial distributions described by the probability distributions p(n) and q(n), respectively. We illustrate it numerically and examine its rate of convergence. The main tools used to obtain the Kullback-Leibler divergence rate and its rate of convergence are the theory of nonnegative matrices and Perron-Frobenius theory. Similarly, we provide a formula for the Shannon entropy rate limn→∞1/nH(p(n)) of Markov sources and examine its rate of convergence.