Exercise 1 (Multiplying on the right) Let \(P\) be an irreducible transition matrix on a finite state space \(S\) of size \(n\). Let \(h :S \to \mathbb{R}\) be a function on \(S\), and regard \(h\) as a column vector. Call a function \(h\) harmonic if \(Ph = h\).


Exercise 2 Consider the Markov chain \(X\) on five states \(\{1,2,3,4,5\}\) started at \(1\) with transition matrix given by
P <- matrix(c(1/4, 1/4, 1/2, 0,0, 
              1/4, 1/8,1/8,0,1/2, 
              1/4,0,0, 1/2, 1/4, 
              0,0,0,1/2, 1/2, 1/3, 1/3, 0, 0, 1/3), nrow =5)
P <-t(P)
P
##           [,1]      [,2]  [,3] [,4]      [,5]
## [1,] 0.2500000 0.2500000 0.500  0.0 0.0000000
## [2,] 0.2500000 0.1250000 0.125  0.0 0.5000000
## [3,] 0.2500000 0.0000000 0.000  0.5 0.2500000
## [4,] 0.0000000 0.0000000 0.000  0.5 0.5000000
## [5,] 0.3333333 0.3333333 0.000  0.0 0.3333333

For each \(s \in \{1,2,3,4,5\}\), let \(T^s = \inf \{ n \geq 1: X(n)=s | X(0)=s\}\).

Exercise 3 By running simulations, verify the central limit theorem for renewal processes, in the case where the inter-arrival times are given by a gamma distribution with shape \(n=2\) and rate \(\lambda=3\).


Exercise 4 Check (by pen and paper), the law of large numbers and the central limit theorem for renewal processes, for the special case where the renewal process is a Poisson process.


Exercise 5 Prove that if \(s\) is a recurrent state of a Markov chain that is started at \(s\), then with probability one, it must return to that state for infinitely many \(n \in \mathbb{Z}^{+}\)


Exercise 6 Prove that if an irreducible Markov chain has a recurrent state, then all the states must also be recurrent.