<?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 xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Discrete-Time Markov Chains:  State Classifications</name>
  <metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2.3</md:version>
  <md:created xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2002/09/16</md:created>
  <md:revised xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2002/12/02</md:revised>
  <md:authorlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="bs">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Bart</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Sinclair</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">bs@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="charlet">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Charlet</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Reedstrom</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">charlet@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="bs">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Bart</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Sinclair</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">bs@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">aperiodic</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">first passage time</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Markov chain</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">periodic</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">recurrent</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">recurrent nonnull</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">recurrent null</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">state classification</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">transient</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">(Blank Abstract)</md:abstract>
</metadata>


  <content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    <para 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="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 xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">first passage times</term>.  The <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">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 xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">transient</term> or <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">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 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="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 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="p3">
      If a state is recurrent, it can be <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">recurrent
	nonnull</term> or <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">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 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="fig1">
      <media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Markov_states_1.png"/>
    </figure>

    <para 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="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 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="p5">
      Recurrent nonnull states can be <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">periodic</term> or
      <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">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 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="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 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="fig2">
      <media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Markov_states_2.png"/>
    </figure>

    <para 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="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 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="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>
