<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="m10852">
  <name>Discrete-Time Markov Chains:  State Classifications</name>
  <metadata>
  <md:version>2.3</md:version>
  <md:created>2002/09/16</md:created>
  <md:revised>2002/12/02</md:revised>
  <md:authorlist>
      <md:author id="bs">
      <md:firstname>Bart</md:firstname>
      
      <md:surname>Sinclair</md:surname>
      <md:email>bs@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="charlet">
      <md:firstname>Charlet</md:firstname>
      
      <md:surname>Reedstrom</md:surname>
      <md:email>charlet@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="bs">
      <md:firstname>Bart</md:firstname>
      
      <md:surname>Sinclair</md:surname>
      <md:email>bs@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>aperiodic</md:keyword>
    <md:keyword>first passage time</md:keyword>
    <md:keyword>Markov chain</md:keyword>
    <md:keyword>periodic</md:keyword>
    <md:keyword>recurrent</md:keyword>
    <md:keyword>recurrent nonnull</md:keyword>
    <md:keyword>recurrent null</md:keyword>
    <md:keyword>state classification</md:keyword>
    <md:keyword>transient</md:keyword>
  </md:keywordlist>

  <md:abstract>(Blank Abstract)</md:abstract>
</metadata>


  <content>
    <para id="p1">
      We classify states in Markov chains according to several key
      state properties, and then classify Markov chains according to
      properties that are shared by all states in the chain.  Several
      of the classification properties are based of the idea of
      <term>first passage times</term>.  The <term>first passage
	time</term> from state <m:math><m:ci>i</m:ci></m:math> to state
      <m:math><m:ci>j</m:ci></m:math> is the number of transitions to
      reach state <m:math><m:ci>j</m:ci></m:math> the first time from
      state <m:math><m:ci>i</m:ci></m:math>.
      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mi>i</m:mi>
		<m:mi>j</m:mi>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mi>n</m:mi>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:apply>
	    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	    <m:mtext>first passage time i → j is n</m:mtext>
	  </m:apply>
	</m:apply>
      </m:math>

      Using this definition, we can identify states as
      <term>transient</term> or <term>recurrent</term>.
      <m:math display="block">
	<m:apply>
	  <m:mo>⇔</m:mo>
	  <m:mtext>state i is recurrent</m:mtext>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:sum/>
	      <m:bvar><m:ci>n</m:ci></m:bvar>
	      <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	      <m:uplimit>
		<m:infinity/>
	      </m:uplimit>
	      <m:ci><m:msubsup>
		  <m:mi>f</m:mi>
		  <m:mrow>
		    <m:mi>i</m:mi>
		    <m:mi>j</m:mi>
		  </m:mrow>
		  <m:mrow>
		    <m:mo>(</m:mo>
		    <m:mi>n</m:mi>
		    <m:mo>)</m:mo>
		  </m:mrow>
		</m:msubsup></m:ci>
	    </m:apply>
	    <m:cn>1</m:cn>
	  </m:apply>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:mo>⇔</m:mo>
	  <m:mtext>state i is transient</m:mtext>
	  <m:apply>
	    <m:lt/>
	    <m:apply>
	      <m:sum/>
	      <m:bvar><m:ci>n</m:ci></m:bvar>
	      <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	      <m:uplimit>
		<m:infinity/>
	      </m:uplimit>
	      <m:ci><m:msubsup>
		  <m:mi>f</m:mi>
		  <m:mrow>
		    <m:mi>i</m:mi>
		    <m:mi>j</m:mi>
		  </m:mrow>
		  <m:mrow>
		    <m:mo>(</m:mo>
		    <m:mi>n</m:mi>
		    <m:mo>)</m:mo>
		  </m:mrow>
		</m:msubsup></m:ci>
	    </m:apply>
	    <m:cn>1</m:cn>
	  </m:apply>
	</m:apply>
      </m:math>
      A state is transient if there is a non-zero probability that
      once the chain leaves that state, it will not return.
    </para>

    <para id="p2">
      The mean time to return to recurrent state
      <m:math><m:ci>i</m:ci></m:math> is
      <m:math>
	<m:apply>
	  <m:sum/>
	  <m:bvar><m:ci>n</m:ci></m:bvar>
	  <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	  <m:uplimit>
	    <m:infinity/>
	  </m:uplimit>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mi>i</m:mi>
		<m:mi>j</m:mi>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mi>n</m:mi>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	</m:apply>
      </m:math>.
    </para>

    <para id="p3">
      If a state is recurrent, it can be <term>recurrent
	nonnull</term> or <term>recurrent null</term>.
      <m:math display="block">
	<m:apply>
	  <m:mo>⇔</m:mo>
	  <m:mtext>recurrent state i is recurrent nonnull</m:mtext>
	  <m:apply>
	    <m:lt/>
	    <m:apply>
	      <m:sum/>
	      <m:bvar><m:ci>n</m:ci></m:bvar>
	      <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	      <m:uplimit>
		<m:infinity/>
	      </m:uplimit>
	      <m:apply>
		<m:times/>
		<m:ci>n</m:ci>
		<m:ci><m:msubsup>
		    <m:mi>f</m:mi>
		    <m:mrow>
		      <m:mi>i</m:mi>
		      <m:mi>j</m:mi>
		    </m:mrow>
		    <m:mrow>
		      <m:mo>(</m:mo>
		      <m:mi>n</m:mi>
		      <m:mo>)</m:mo>
		    </m:mrow>
		  </m:msubsup></m:ci>
	      </m:apply>
	    </m:apply>
	    <m:infinity/>
	  </m:apply>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:mo>⇔</m:mo>
	  <m:mtext>recurrent state i is recurrent null</m:mtext>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:sum/>
	      <m:bvar><m:ci>n</m:ci></m:bvar>
	      <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	      <m:uplimit>
		<m:infinity/>
	      </m:uplimit>
	      <m:apply>
		<m:times/>
		<m:ci>n</m:ci>
		<m:ci><m:msubsup>
		    <m:mi>f</m:mi>
		    <m:mrow>
		      <m:mi>i</m:mi>
		      <m:mi>j</m:mi>
		    </m:mrow>
		    <m:mrow>
		      <m:mo>(</m:mo>
		      <m:mi>n</m:mi>
		      <m:mo>)</m:mo>
		    </m:mrow>
		  </m:msubsup></m:ci>
	      </m:apply>
	    </m:apply>
	    <m:infinity/>
	  </m:apply>
	</m:apply>
      </m:math>
      The following is an example of a Markov chain with states that
      are recurrent null.
    </para>

    <figure id="fig1">
      <media type="image/png" src="Markov_states_1.png"/>
    </figure>

    <para id="p4">
      Consider state 0.  It is easy to see that
      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>1</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:cn>0</m:cn>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>2</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:apply>
	    <m:divide/>
	    <m:cn>1</m:cn>
	    <m:cn>2</m:cn>
	  </m:apply>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>3</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:apply>
	    <m:times/>
	    <m:apply>
	      <m:divide/>
	      <m:cn>1</m:cn>
	      <m:cn>2</m:cn>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:cn>1</m:cn>
	      <m:cn>3</m:cn>
	    </m:apply>
	  </m:apply>
	  <m:apply>
	    <m:divide/>
	    <m:cn>1</m:cn>
	    <m:cn>6</m:cn>
	  </m:apply>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>4</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:apply>
	    <m:times/>
	    <m:apply>
	      <m:divide/>
	      <m:cn>1</m:cn>
	      <m:cn>2</m:cn>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:cn>2</m:cn>
	      <m:cn>3</m:cn>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:cn>1</m:cn>
	      <m:cn>4</m:cn>
	    </m:apply>
	  </m:apply>
	  <m:apply>
	    <m:times/>
	    <m:apply>
	      <m:divide/>
	      <m:cn>1</m:cn>
	      <m:cn>3</m:cn>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:cn>1</m:cn>
	      <m:cn>4</m:cn>
	    </m:apply>
	  </m:apply>
	  <m:apply>
	    <m:divide/>
	    <m:cn>1</m:cn>
	    <m:cn>12</m:cn>
	  </m:apply>
	</m:apply>
      </m:math>
      and in general
      <m:equation id="eqn1">
	<m:math>
	  <m:apply>
	    <m:forall/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:condition>
	      <m:apply>
		<m:gt/>
		<m:ci>n</m:ci>
		<m:cn>1</m:cn>
	      </m:apply>
	    </m:condition>
	    <m:apply>
	      <m:eq/>
	      <m:ci><m:msubsup>
		  <m:mi>f</m:mi>
		  <m:mrow>
		    <m:mn>0</m:mn>
		    <m:mn>0</m:mn>
		  </m:mrow>
		  <m:mrow>
		    <m:mo>(</m:mo>
		    <m:mi>n</m:mi>
		    <m:mo>)</m:mo>
		  </m:mrow>
		</m:msubsup></m:ci>
	      <m:apply>
		<m:times/>
		<m:apply>
		  <m:divide/>
		  <m:cn>1</m:cn>
		  <m:apply>
		    <m:minus/>
		    <m:ci>n</m:ci>
		    <m:cn>1</m:cn>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:divide/>
		  <m:cn>1</m:cn>
		  <m:ci>n</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </m:equation>

      The probability of eventually returning to state 0 is
      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:apply>
	    <m:sum/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	    <m:uplimit>
	      <m:infinity/>
	    </m:uplimit>
	    <m:ci><m:msubsup>
		<m:mi>f</m:mi>
		<m:mrow>
		  <m:mn>0</m:mn>
		  <m:mn>0</m:mn>
		</m:mrow>
		<m:mrow>
		  <m:mo>(</m:mo>
		  <m:mi>n</m:mi>
		  <m:mo>)</m:mo>
		</m:mrow>
	      </m:msubsup></m:ci>
	  </m:apply>
	  <m:apply>
	    <m:sum/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:lowlimit><m:cn>2</m:cn></m:lowlimit>
	    <m:uplimit>
	      <m:infinity/>
	    </m:uplimit>
	    <m:apply>
	      <m:times/>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:apply>
		  <m:minus/>
		  <m:ci>n</m:ci>
		  <m:cn>1</m:cn>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:ci>n</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	  <m:apply>
	    <m:sum/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	    <m:uplimit>
	      <m:infinity/>
	    </m:uplimit>
	    <m:apply>
	      <m:times/>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:ci>n</m:ci>
	      </m:apply>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:apply>
		  <m:plus/>
		  <m:ci>n</m:ci>
		  <m:cn>1</m:cn>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:apply>
      </m:math>
      Using induction, we can verify that
      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:apply>
	    <m:sum/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	    <m:uplimit>
	      <m:infinity/>
	    </m:uplimit>
	    <m:apply>
	      <m:times/>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:ci>n</m:ci>
	      </m:apply>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:apply>
		  <m:plus/>
		  <m:ci>n</m:ci>
		  <m:cn>1</m:cn>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	  <m:apply>
	    <m:divide/>
	    <m:apply>
	      <m:minus/>
	      <m:ci>k</m:ci>
	      <m:cn>1</m:cn>
	    </m:apply>
	    <m:ci>k</m:ci>
	  </m:apply>
	</m:apply>
      </m:math>
      and hence
      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:apply>
	    <m:sum/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	    <m:uplimit>
	      <m:infinity/>
	    </m:uplimit>
	    <m:ci><m:msubsup>
		<m:mi>f</m:mi>
		<m:mrow>
		  <m:mn>0</m:mn>
		  <m:mn>0</m:mn>
		</m:mrow>
		<m:mrow>
		  <m:mo>(</m:mo>
		  <m:mi>n</m:mi>
		  <m:mo>)</m:mo>
		</m:mrow>
	      </m:msubsup></m:ci>
	  </m:apply>
	  <m:apply>
	    <m:limit/>
	    <m:bvar><m:ci>k</m:ci></m:bvar>
	    <m:lowlimit>
	      <m:infinity/>
	    </m:lowlimit>
	    <m:apply>
	      <m:divide/>
	      <m:apply>
		<m:minus/>
		<m:ci>k</m:ci>
		<m:cn>1</m:cn>
	      </m:apply>
	      <m:ci>k</m:ci>
	    </m:apply>
	  </m:apply>
	  <m:cn>1</m:cn>
	</m:apply>
      </m:math>
      Thus, state 0 is recurrent.  To determine if it is recurrent
      nonnull or recurrent null, compute the expected time to return:
      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:apply>
	    <m:sum/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	    <m:uplimit>
	      <m:infinity/>
	    </m:uplimit>
	    <m:apply>
	      <m:times/>
	      <m:ci>n</m:ci>
	      <m:ci><m:msubsup>
		  <m:mi>f</m:mi>
		  <m:mrow>
		    <m:mn>0</m:mn>
		    <m:mn>0</m:mn>
		  </m:mrow>
		  <m:mrow>
		    <m:mo>(</m:mo>
		    <m:mi>n</m:mi>
		    <m:mo>)</m:mo>
		  </m:mrow>
		</m:msubsup></m:ci>
	    </m:apply>
	  </m:apply>
	  <m:apply>
	    <m:sum/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:lowlimit><m:cn>2</m:cn></m:lowlimit>
	    <m:uplimit>
	      <m:infinity/>
	    </m:uplimit>
	    <m:apply>
	      <m:times/>
	      <m:ci>n</m:ci>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:apply>
		  <m:minus/>
		  <m:ci>n</m:ci>
		  <m:cn>1</m:cn>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:ci>n</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	  <m:apply>
	    <m:sum/>
	    <m:bvar><m:ci>n</m:ci></m:bvar>
	    <m:lowlimit><m:cn>1</m:cn></m:lowlimit>
	    <m:uplimit>
	      <m:infinity/>
	    </m:uplimit>
	    <m:apply>
	      <m:divide/>
	      <m:cn>1</m:cn>
	      <m:ci>n</m:ci>
	    </m:apply>
	  </m:apply>
	  <m:infinity/>
	</m:apply>
      </m:math>
      Since the expected time to return to state 0 is infinite, the
      state must be recurrent null.
    </para>

    <para id="p5">
      Recurrent nonnull states can be <term>periodic</term> or
      <term>aperiodic</term>. 

      <m:math display="block">
	<m:apply>
	  <m:mo>⇔</m:mo>
	  <m:mtext>recurrent state i is periodic with period k&gt;1</m:mtext>
	  <m:apply>
	    <m:mo>⇔</m:mo>
	    <m:apply>
	      <m:neq/>
	      <m:ci><m:msubsup>
		  <m:mi>f</m:mi>
		  <m:mrow>
		    <m:mi>i</m:mi>
		    <m:mi>j</m:mi>
		  </m:mrow>
		  <m:mrow>
		    <m:mo>(</m:mo>
		    <m:mi>n</m:mi>
		    <m:mo>)</m:mo>
		  </m:mrow>
		</m:msubsup></m:ci>
	      <m:cn>0</m:cn>
	    </m:apply>
	    <m:apply>
	      <m:forall/>
	      <m:bvar><m:ci>m</m:ci></m:bvar>
	      <m:condition>
		<m:apply>
		  <m:in/>
		  <m:ci>m</m:ci>
		  <m:set>
		    <m:cn>1</m:cn>
		    <m:cn>2</m:cn>
		    <m:cn>3</m:cn>
		    <m:ci>…</m:ci>
		  </m:set>
		</m:apply>
	      </m:condition>
	      <m:apply>
		<m:eq/>
		<m:ci>n</m:ci>
		<m:apply>
		  <m:times/>
		  <m:ci>k</m:ci>
		  <m:ci>m</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:apply>
      </m:math>
      Otherwise, <m:math><m:ci>i</m:ci></m:math> is aperiodic.
    </para>

    <para id="p6">
      In other words, a state is periodic if the probability of
      returning to the state is zero except at regular intervals.  An
      example of a Markov chain with states that are periodic is the
      following:
    </para>

    <figure id="fig2">
      <media type="image/png" src="Markov_states_2.png"/>
    </figure>

    <para id="p7">
      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>1</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:cn>0</m:cn>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>2</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:apply>
	    <m:minus/>
	    <m:cn>1</m:cn>
	    <m:ci>p</m:ci>
	  </m:apply>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>3</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:cn>0</m:cn>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>4</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:apply>
	    <m:times/>
	    <m:ci>p</m:ci>
	    <m:apply>
	      <m:minus/>
	      <m:cn>1</m:cn>
	      <m:ci>p</m:ci>
	    </m:apply>
	  </m:apply>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>5</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:cn>0</m:cn>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>6</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:apply>
	    <m:times/>
	    <m:apply>
	      <m:power/>
	      <m:ci>p</m:ci>
	      <m:cn>2</m:cn>
	    </m:apply>
	    <m:apply>
	      <m:minus/>
	      <m:cn>1</m:cn>
	      <m:ci>p</m:ci>
	    </m:apply>
	  </m:apply>
	</m:apply>
      </m:math>
      <m:math display="block">
	<m:ci>⋮</m:ci>
      </m:math>
      In general, for 
      <m:math>
	<m:apply>
	  <m:in/>
	  <m:ci>j</m:ci>
	  <m:set>
	    <m:cn>1</m:cn>
	    <m:cn>2</m:cn>
	    <m:cn>3</m:cn>
	    <m:ci>…</m:ci>
	  </m:set>
	</m:apply>
      </m:math>,

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>2</m:mn>
		<m:mi>j</m:mi>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:apply>
	    <m:times/>
	    <m:apply>
	      <m:power/>
	      <m:ci>p</m:ci>
	      <m:apply>
		<m:minus/>
		<m:ci>j</m:ci>
		<m:cn>1</m:cn>
	      </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:minus/>
	      <m:cn>1</m:cn>
	      <m:ci>p</m:ci>
	    </m:apply>
	  </m:apply>
	</m:apply>
      </m:math>

      <m:math display="block">
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msubsup>
	      <m:mi>f</m:mi>
	      <m:mrow>
		<m:mn>0</m:mn>
		<m:mn>0</m:mn>
	      </m:mrow>
	      <m:mrow>
		<m:mo>(</m:mo>
		<m:mn>2</m:mn>
		<m:mi>j</m:mi>
		<m:mo>-</m:mo>
		<m:mn>1</m:mn>
		<m:mo>)</m:mo>
	      </m:mrow>
	    </m:msubsup></m:ci>
	  <m:cn>0</m:cn>
	</m:apply>
      </m:math>
      Hence state 0 is periodic with period 2.
    </para>

    <para id="p8">
      If all of the states of a Markov chain are recurrent nonnull, we
      say that the chain is recurrent nonnull.  If all states are
      periodic (aperiodic), the chain is periodic (aperiodic).
    </para>
  </content>
  
</document>
