<?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="m10861">
  <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/">Markov Chains</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.2</md:version>
  <md:created xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2002/09/22</md:created>
  <md:revised xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2002/11/08</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="jgrab">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Jacob</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Grabczewski</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">jgrab@owlnet.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: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: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/">continuous-state</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">continuous-time</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">discrete-state</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">discrete-time</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">exponential distribution</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/">Markov process</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Markov property</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">memory-less distribution</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">random process</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">stochastic process</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Introduction to continuous and discrete Markov chains, including the "birth and death" process.</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="para01">
      Several of the most powerful analytic techniques for evaluating
      computer system performance (and many other systems) are based
      on the theory 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/">Markov chains</term>.  A Markov chain is
      a special case of a <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/">Markov process</term>, which itself is
      a special case of a <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/">random</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/">stochastic
      process</term>.
    </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="para02">
      In the most general terms, a random process is a family, or
      ordered set of related random variables
      <m:math>
	<m:apply>
	  <m:ci type="fn">X</m:ci>
	  <m:ci>t</m:ci>
	</m:apply>
      </m:math>
      where <m:math><m:ci>t</m:ci></m:math> is an indexing parameter
      (usually time when we are talking about performance evaluation).
    </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="para03">
      There are many kinds of random processes.  Two of the most
      important distinguishing characteristics of a random process are
      (1) its <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/">state space</term>, or the set of values that the
      random variables of the process can have, and (2) the nature of
      the indexing parameter.  We can classify random processes along
      each dimension.
      
      <list 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="random_char" type="enumerated">
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	  State Space:
	  <list 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="state_space" type="bulleted">
	    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	      continuous-state: 
	      <m:math>
		<m:apply>
		  <m:ci type="fn">X</m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:math>
	      can take on any value over a finite or infinite
	      continuous interval or set of such intervals
	    </item>
	    <item 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-state: 
	      <m:math>
		<m:apply>
		  <m:ci type="fn">X</m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:math>
	      has only a finite or countable number of possible values
	      <m:math>
		<m:set>
		  <m:ci><m:msub>
		      <m:mi>s</m:mi>
		      <m:mn>0</m:mn>
		    </m:msub></m:ci>
		  <m:ci><m:msub>
		      <m:mi>s</m:mi>
		      <m:mn>1</m:mn>
		    </m:msub></m:ci>
		  <m:ci><m:msub>
		      <m:mi>s</m:mi>
		      <m:mn>2</m:mn>
		    </m:msub></m:ci>
		  <m:ci>…</m:ci>
		  <m:ci><m:msub>
		      <m:mi>s</m:mi>
		      <m:mi>i</m:mi>
		    </m:msub></m:ci>
		  <m:ci>…</m:ci>
		</m:set>
	      </m:math>
	    </item>
	  </list>
	  A discrete-state random process is also often called a
	  <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/">chain</term>.
	</item>
	
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	  index parameter (time):
	  <list 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="index" type="bulleted">
	    <item 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:  permitted times at which changes in value
	      may occur are finite or countable (
	      <m:math>
		<m:apply>
		  <m:ci type="fn">X</m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:math>
	      may be represented as a set 
	      
	      <m:math>
		<m:set>
		  <m:ci><m:msub>
		      <m:mi>X</m:mi>
		      <m:mi>i</m:mi>
		    </m:msub></m:ci>
		</m:set>
	      </m:math>)
	    </item>
	    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	      continuous-state: changes may occur anywhere within a
	      finite or infinite interval or set of such intervals
	    </item>
	  </list>
	</item>
      </list>
      
      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/">state</term> of a continuous-time random process at a
      time <m:math><m:ci>t</m:ci></m:math> is the value of
      <m:math>
	<m:apply>
	  <m:ci type="fn">X</m:ci>
	  <m:ci>t</m:ci>
	</m:apply>
      </m:math>; 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/">state</term> of a discrete-time process at
      time <m:math><m:ci>n</m:ci></m:math> is the value of
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mi>n</m:mi>
	  </m:msub></m:ci>
      </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="para04">
      A <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/">Markov chain</term> is a discrete-state random process
      in which the evolution of the state of the process beginning at
      a time <m:math><m:ci>t</m:ci></m:math> (continuous-time chain)
      or <m:math><m:ci>n</m:ci></m:math> (discrete-time chain) depends
      only on the current state
      <m:math>
	<m:apply>
	  <m:ci type="fn">X</m:ci>
	  <m:ci>t</m:ci>
	</m:apply>
      </m:math> 
      or 
      
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mi>n</m:mi>
	  </m:msub></m:ci>
      </m:math>
      , and not how the chain reached its current state or how long it
      has been in that state.  To be more precise, let's begin with
      discrete-time chains.
    </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="para05">
      In a discrete-time Markov chain, 
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mrow>
	      <m:mi>n</m:mi>
	      <m:mo>+</m:mo>
	      <m:mn>1</m:mn>
	    </m:mrow>
	  </m:msub></m:ci>
      </m:math>
      depends only on 
      
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mi>n</m:mi>
	  </m:msub></m:ci>
      </m:math>
      , and not on any
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mi>i</m:mi>
	  </m:msub></m:ci>
      </m:math>, 
      
      <m:math>
	<m:apply>
	  <m:leq/>
	  <m:cn>1</m:cn>
	  <m:apply>
	    <m:lt/>
	    <m:ci>i</m:ci>
	    <m:ci>n</m:ci>
	  </m:apply>
	</m:apply>
      </m:math>
      
      <equation 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="eq01">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:condition>
		<m:apply>
		  <m:and/>
		  <m:apply>
		    <m:eq/>
		    <m:ci><m:msub>
			<m:mi>X</m:mi>
			<m:mi>n</m:mi>
		      </m:msub></m:ci>
		    <m:ci><m:msub>
			<m:mi>s</m:mi>
			<m:mi>j</m:mi>
		      </m:msub></m:ci>
		  </m:apply>
		  <m:apply>
		    <m:eq/>
		    <m:ci><m:msub>
			<m:mi>X</m:mi>
			<m:mrow>
			  <m:mi>n</m:mi>
			  <m:mo>−</m:mo>
			  <m:mn>1</m:mn>
			</m:mrow>
		      </m:msub></m:ci>
		    <m:ci><m:msub>
			<m:mi>s</m:mi>
			<m:mi>k</m:mi>
		      </m:msub></m:ci>
		  </m:apply>
		  <m:ci>…</m:ci>
		  <m:apply>
		    <m:eq/>
		    <m:ci><m:msub>
			<m:mi>X</m:mi>
			<m:mn>1</m:mn>
		      </m:msub></m:ci>
		    <m:ci><m:msub>
			<m:mi>s</m:mi>
			<m:mi>l</m:mi>
		      </m:msub></m:ci>
		  </m:apply>
		</m:apply>
	      </m:condition>
	      <m:apply>
		<m:eq/>
		<m:ci><m:msub>
		    <m:mi>X</m:mi>
		    <m:mrow>
		      <m:mi>n</m:mi>
		      <m:mo>+</m:mo>
		      <m:mn>1</m:mn>
		    </m:mrow>
		  </m:msub></m:ci>
		<m:ci><m:msub>
		    <m:mi>s</m:mi>
		    <m:mi>i</m:mi>
		  </m:msub></m:ci>
	      </m:apply>
	    </m:apply>
	      <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:condition>
		<m:apply>
		  <m:eq/>
		  <m:ci><m:msub>
		      <m:mi>X</m:mi>
		      <m:mi>n</m:mi>
		    </m:msub></m:ci>
		  <m:ci><m:msub>
		      <m:mi>s</m:mi>
		      <m:mi>j</m:mi>
		    </m:msub></m:ci>
		</m:apply>
	      </m:condition>
	      <m:apply>
		<m:eq/>
		<m:ci><m:msub>
		    <m:mi>X</m:mi>
		    <m:mrow>
		      <m:mi>n</m:mi>
		      <m:mo>+</m:mo>
		      <m:mn>1</m:mn>
		    </m:mrow>
		  </m:msub></m:ci>
		<m:ci><m:msub>
		    <m:mi>s</m:mi>
		    <m:mi>i</m:mi>
		  </m:msub></m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      
      This is referred to as 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/">Markov property</term>.
    </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="para06">
      Now consider a continuous-time random process in which the random 
      variables 
      <m:math>
	<m:apply>
	  <m:ci type="fn">X</m:ci>
	  <m:ci>t</m:ci>
	</m:apply>
      </m:math> 
      change value (the process changes state) at times
      
      <m:math>
	<m:set>
	  <m:ci><m:msub><m:mi>t</m:mi><m:mn>1</m:mn></m:msub></m:ci>
	  <m:ci><m:msub><m:mi>t</m:mi><m:mn>2</m:mn></m:msub></m:ci>
	  <m:ci><m:msub><m:mi>t</m:mi><m:mn>3</m:mn></m:msub></m:ci>
	  <m:ci>…</m:ci>
	</m:set>
      </m:math>.  If we ignore how long the random process remains in
      a given state, we can view the sequence
      
      <m:math>
	<m:set>
	  <m:ci><m:msub>
	      <m:mi>X</m:mi>
	      <m:msub>
		<m:mi>t</m:mi>
		<m:mn>1</m:mn>
	      </m:msub>
	    </m:msub></m:ci>
	  <m:ci><m:msub>
	      <m:mi>X</m:mi>
	      <m:msub>
		<m:mi>t</m:mi>
		<m:mn>2</m:mn>
	      </m:msub>
	    </m:msub></m:ci>
	  <m:ci><m:msub>
	      <m:mi>X</m:mi>
	      <m:msub>
		<m:mi>t</m:mi>
		<m:mn>3</m:mn>
	      </m:msub>
	    </m:msub></m:ci>
	  <m:ci>…</m:ci>
	</m:set>
      </m:math>
      as a discrete-time process embedded in the continuous-time
      process.
    </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="para07">
      A continuous-time Markov chain is a continuous-time,
      discrete-state random process such that
      
      <list 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="list02" type="enumerated">
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	  the embedded discrete-time process is a discrete-time Markov
	  chain, and
	</item>
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	  the time between state changes is a random variable with a
	  memory-less distribution.
	</item>
      </list>
      
      A distribution function       
      <m:math>
	<m:apply>
	  <m:ci type="fn"><m:msub>
	      <m:mi>F</m:mi>
	      <m:mi>T</m:mi>
	    </m:msub></m:ci>
	  <m:ci>·</m:ci>
	</m:apply>
      </m:math>
      is memory-less if and only if
      
      <equation 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="eq02">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:ci type="fn"><m:msub>
		  <m:mi>F</m:mi>
		  <m:mi>T</m:mi>
		</m:msub></m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:ci type="fn"><m:msub>
		  <m:mi>F</m:mi>
		  <m:mi>T</m:mi>
		</m:msub></m:ci>
	      <m:apply>
		<m:mo>|</m:mo>
		<m:apply>
		  <m:plus/>
		  <m:ci>t</m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
		<m:apply>
		  <m:gt/>
		  <m:ci>T</m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      
      This says that the distribution of the time until the next state
      change is not a function of the time since the last change.
    </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="para08">
      We can restate this as
      
      <equation 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="eq03">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:ci type="fn"><m:msub>
		  <m:mi>F</m:mi>
		  <m:mi>T</m:mi>
		</m:msub></m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:condition>
		<m:apply>
		  <m:gt/>
		  <m:ci>T</m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
	      </m:condition>
	      <m:apply>
		<m:leq/>
		<m:ci>T</m:ci>
		<m:apply>
		  <m:plus/>
		  <m:ci>t</m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      
      Using the definition of conditional probability, 
      
      <equation 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="eq04">
	<m:math>
          <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:ci type="fn"><m:msub>
		  <m:mi>F</m:mi>
		  <m:mi>T</m:mi>
		</m:msub></m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:apply>
		  <m:and/>
		  <m:apply>
		    <m:leq/>
		    <m:ci>T</m:ci>
		    <m:apply>
		      <m:plus/>
		      <m:ci>t</m:ci>
		      <m:ci>τ</m:ci>
		    </m:apply>
		  </m:apply>
		  <m:apply>
		    <m:gt/>
		    <m:ci>T</m:ci>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:condition>
		  <m:apply>
		    <m:gt/>
		    <m:ci>T</m:ci>
		    <m:ci>τ</m:ci>
		  </m:apply>
		</m:condition>
	      </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:apply>
		<m:minus/>
		<m:apply>
		  <m:ci type="fn"><m:msub>
		      <m:mi>F</m:mi>
		      <m:mi>T</m:mi>
		    </m:msub></m:ci>
		  <m:apply>
		    <m:plus/>
		    <m:ci>t</m:ci>
		    <m:ci>τ</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:ci type="fn"><m:msub>
		      <m:mi>F</m:mi>
		      <m:mi>T</m:mi>
		    </m:msub> </m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:minus/>
		<m:cn>1</m:cn>
		<m:apply>
		  <m:ci type="fn"><m:msub>
		      <m:mi>F</m:mi>
		      <m:mi>T</m:mi>
		    </m:msub></m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      
      Dividing both sides by <m:math><m:ci>t</m:ci></m:math> and
      taking the limit as
      <m:math>
	<m:apply>	
	  <m:tendsto/>
	  <m:ci>t</m:ci>
	  <m:cn>0</m:cn>
	</m:apply>
      </m:math>,
      
      <equation 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="eq05">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:limit/>
	      <m:bvar><m:ci>t</m:ci></m:bvar>
	      <m:lowlimit><m:cn>0</m:cn></m:lowlimit>
	      <m:apply>
		<m:divide/>
		<m:apply>
		  <m:ci type="fn"><m:msub>
		      <m:mi>F</m:mi>
		      <m:mi>T</m:mi>
		    </m:msub></m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
		<m:ci>t</m:ci>
	      </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:limit/>
	      <m:bvar><m:ci>t</m:ci></m:bvar>
	      <m:lowlimit><m:cn>0</m:cn></m:lowlimit>
	      <m:apply>
		<m:divide/>
		<m:apply>
		  <m:minus/>
		  <m:apply>
		    <m:ci type="fn"><m:msub>
			<m:mi>F</m:mi>
			<m:mi>T</m:mi>
		      </m:msub></m:ci>
		    <m:apply>
		      <m:plus/>
		      <m:ci>t</m:ci>
		      <m:ci>τ</m:ci>
		    </m:apply>
		  </m:apply>                           
		  <m:apply>
		    <m:ci type="fn"><m:msub>
			<m:mi>F</m:mi>
			<m:mi>T</m:mi>
		      </m:msub></m:ci>
		    <m:ci>τ</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:times/>
		  <m:ci>t</m:ci>
		  <m:apply>
		    <m:minus/>
		    <m:cn>1</m:cn>
		    <m:apply>
		      <m:ci type="fn"><m:msub>
			  <m:mi>F</m:mi>
			  <m:mi>T</m:mi>
			</m:msub></m:ci>
		      <m:ci>τ</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      
      <equation 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="eq05b">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:diff/>
	      <m:apply>
		<m:ci type="fn"><m:msub>
		    <m:mi>F</m:mi>
		    <m:mi>T</m:mi>
		  </m:msub></m:ci>
		<m:cn>0</m:cn>
	      </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:apply>
		<m:diff/>
		<m:apply>
		  <m:ci type="fn"><m:msub>
		      <m:mi>F</m:mi>
		      <m:mi>T</m:mi>
		    </m:msub></m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:minus/>
		<m:cn>1</m:cn>
		<m:apply>
		  <m:ci type="fn"><m:msub>
		      <m:mi>F</m:mi>
		      <m:mi>T</m:mi>
		    </m:msub></m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      
      <equation 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="eq05c">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:minus/>
	      <m:apply>
		<m:plus/>
		<m:apply>
		  <m:diff/>
		  <m:apply>
		    <m:ci type="fn"><m:msub>
			<m:mi>F</m:mi>
			<m:mi>T</m:mi>
		      </m:msub></m:ci>
		    <m:ci>τ</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:times/>
		  <m:apply>
		    <m:diff/>
		    <m:apply>
		      <m:ci type="fn"><m:msub>
			  <m:mi>F</m:mi>
			  <m:mi>T</m:mi>
			</m:msub></m:ci>
		      <m:cn>0</m:cn>
		    </m:apply>
		  </m:apply>
		  <m:apply>
		    <m:ci type="fn"><m:msub>
			<m:mi>F</m:mi>
			<m:mi>T</m:mi>
		      </m:msub></m:ci>
		    <m:ci>τ</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:diff/>
		<m:apply>
		  <m:ci type="fn"><m:msub>
		      <m:mi>F</m:mi>
		      <m:mi>T</m:mi>
		    </m:msub></m:ci>
		  <m:cn>0</m:cn>
		</m:apply>
	      </m:apply>
	    </m:apply>
	    <m:cn>0</m:cn>
	  </m:apply>
	</m:math>
      </equation>
      
      The solution to this linear, first-order differential equation is
      
      <equation 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="eq06">
	<m:math>
          <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:ci type="fn"><m:msub>
		  <m:mi>F</m:mi>
		  <m:mi>T</m:mi>
		</m:msub></m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:minus/>
	      <m:cn>1</m:cn>
	      <m:apply>
		<m:exp/>
		<m:apply>
		  <m:minus/>
		  <m:apply>
		    <m:times/>
		    <m:apply>
		      <m:diff/>
		      <m:apply>
			<m:ci type="fn"><m:msub>
			    <m:mi>F</m:mi>
			    <m:mi>T</m:mi>
			  </m:msub></m:ci>
			<m:cn>0</m:cn>
		      </m:apply>
		    </m:apply>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      
      Hence, the only continuous-time, memory-less distribution is the
      exponential distribution, and the time between state changes in
      a continuous-time Markov chain is exponentially distributed.
    </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="para09">
      For discrete-time Markov chains, the next state may be the same
      as the current state:
      <m:math>
	<m:apply>
	  <m:eq/>
	  <m:ci><m:msub>
	      <m:mi>X</m:mi>
	      <m:mrow>
		<m:mi>n</m:mi>
		<m:mo>+</m:mo>
		<m:mn>1</m:mn>
	      </m:mrow>
	    </m:msub></m:ci>
	  <m:ci><m:msub>
	      <m:mi>X</m:mi>
	      <m:mi>n</m:mi>
	    </m:msub></m:ci>
	</m:apply>
      </m:math>
      
      Let 
      <m:math>
	<m:apply>
	  <m:eq/>
	  <m:ci>p</m:ci>
	  <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	    <m:condition>
	      <m:apply>
		<m:eq/>
		<m:ci><m:msub>
		    <m:mi>X</m:mi>
		    <m:mi>n</m:mi>
		  </m:msub></m:ci>
		<m:ci><m:msub>
		    <m:mi>s</m:mi>
		    <m:mi>k</m:mi>
		  </m:msub></m:ci>
	      </m:apply>
	    </m:condition>
	    <m:apply>
	      <m:eq/>
	      <m:ci><m:msub>
		  <m:mi>X</m:mi>
		  <m:mrow>
		    <m:mi>n</m:mi>
		    <m:mo>+</m:mo>
		    <m:mn>1</m:mn>
		  </m:mrow>
		</m:msub></m:ci>
	      <m:ci><m:msub>
		  <m:mi>X</m:mi>
		  <m:mi>n</m:mi>
		</m:msub></m:ci>
	    </m:apply>
	  </m:apply>
	</m:apply>
      </m:math>
      
      for some state 
      <m:math>
	<m:ci><m:msub>
	    <m:mi>s</m:mi>
	    <m:mi>k</m:mi>
	  </m:msub></m:ci>
      </m:math>
      .  The probability that
      
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mrow>
	      <m:mi>n</m:mi>
	      <m:mo>+</m:mo>
	      <m:mn>1</m:mn>
	    </m:mrow>
	  </m:msub></m:ci>
      </m:math>
      
      is different than 
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mi>n</m:mi>
	  </m:msub></m:ci>
      </m:math> is 
      
      <m:math>
	<m:apply>
	  <m:minus/>
	  <m:cn>1</m:cn>
	  <m:ci>p</m:ci>
	</m:apply>
      </m:math>.  The probability that
      
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mrow>
	      <m:mi>n</m:mi>
	      <m:mo>+</m:mo>
	      <m:mn>1</m:mn>
	    </m:mrow>
	  </m:msub></m:ci>
      </m:math>
      
      is the same as 
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mi>n</m:mi>
	  </m:msub></m:ci>
      </m:math> and  
      
      <m:math>
	<m:ci><m:msub>
	    <m:mi>X</m:mi>
	    <m:mrow>
	      <m:mi>n</m:mi>
	      <m:mo>+</m:mo>
	      <m:mn>2</m:mn>
	    </m:mrow>
	  </m:msub></m:ci>
      </m:math>
      
      is different, is 
      <m:math>
	<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:math>.  In general,
      
      <equation 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="eq07">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:condition>
		<m:apply>
		  <m:eq/>
		  <m:ci><m:msub>
		      <m:mi>X</m:mi>
		      <m:mi>n</m:mi>
		    </m:msub></m:ci>
		  <m:ci><m:msub>
		      <m:mi>s</m:mi>
		      <m:mi>k</m:mi>
		    </m:msub></m:ci>
		</m:apply>
	      </m:condition>
	      <m:apply>
		<m:and/>
		<m:apply>
		  <m:neq/>
		  <m:ci><m:msub>
		      <m:mi>X</m:mi>
		      <m:mrow>
			<m:mi>n</m:mi>
			<m:mo>+</m:mo>
			<m:mi>i</m:mi>
		      </m:mrow>
		    </m:msub></m:ci>
		    <m:ci><m:msub>
		      <m:mi>s</m:mi>
		      <m:mi>k</m:mi>
		    </m:msub></m:ci>
		</m:apply>

		<m:apply>
		  <m:eq/>
		  <m:ci><m:msub>
		      <m:mi>X</m:mi>
		      <m:mrow>
			<m:mi>n</m:mi>
			<m:mo>+</m:mo>
			<m:mi>i</m:mi>
			<m:mo>−</m:mo>
			<m:mn>1</m:mn>
		      </m:mrow>
		    </m:msub></m:ci>
		  <m:ci><m:msub>
		      <m:mi>X</m:mi>
		      <m:mrow>
			<m:mi>n</m:mi>
			<m:mo>+</m:mo>
			<m:mi>i</m:mi>
			<m:mo>−</m:mo>
			<m:mn>2</m:mn>
		      </m:mrow>
		    </m:msub></m:ci>
		  <m:ci>…</m:ci>
		  <m:ci><m:msub>
		      <m:mi>X</m:mi>
		      <m:mrow>
			<m:mi>n</m:mi>
			<m:mo>+</m:mo>
			<m:mn>1</m:mn>
		      </m:mrow>
		    </m:msub></m:ci>
		  <m:ci><m:msub>
		      <m:mi>s</m:mi>
		      <m:mi>k</m:mi>
		    </m:msub></m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	    
	    <m:apply>
	      <m:times/>
	      <m:apply>
		<m:power/>
		<m:ci>p</m:ci>
		<m:apply>
		  <m:minus/>
		  <m:ci>i</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>
      </equation>
      
      Therefore, the number of state transitions between state changes
      is geometrically distributed.
    </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="para10">
      One special type of Markov chain is a <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/">birth and
      death</term> process, in which the states take on all
      non-negative integer values on a (possibly infinite) range; that
      is
      <m:math>
	<m:apply>
	  <m:eq/>
	  <m:set>
	    <m:ci><m:msub><m:mi>s</m:mi><m:mn>0</m:mn></m:msub></m:ci>
	    <m:ci><m:msub><m:mi>s</m:mi><m:mn>1</m:mn></m:msub></m:ci>
	    <m:ci><m:msub><m:mi>s</m:mi><m:mn>2</m:mn></m:msub></m:ci>
	    <m:ci>…</m:ci>
	    <m:ci><m:msub><m:mi>s</m:mi><m:mi>i</m:mi></m:msub></m:ci>
	    <m:ci>…</m:ci>
	  </m:set>
	  <m:set>
	    <m:cn>0</m:cn>
	    <m:cn>1</m:cn>
	    <m:cn>2</m:cn>
	    <m:ci>…</m:ci>
	    <m:ci>i</m:ci>
	    <m:ci>…</m:ci>
	  </m:set>
	</m:apply>
      </m:math>.  In this case, we can just refer to
      <m:math>
	<m:ci><m:msub>
	    <m:mi>s</m:mi>
	    <m:mi>i</m:mi>
	  </m:msub></m:ci>
      </m:math>
      as <m:math><m:ci>i</m:ci></m:math>, and define a birth and death
      process as:
      
      <definition 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="bandd">
	<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/">Birth and Death process</term>
	<meaning xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	  If 
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:ci><m:msub>
		  <m:mi>X</m:mi>
		  <m:mi>n</m:mi>
		</m:msub></m:ci>
	      <m:ci>i</m:ci>
	    </m:apply>
	  </m:math>, then
	  
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:ci><m:msub>
		  <m:mi>X</m:mi>
		  <m:mrow>
		    <m:mi>n</m:mi>
		    <m:mo>+</m:mo>
		    <m:mn>1</m:mn>
		  </m:mrow>
		</m:msub></m:ci>
	      <m:apply>
		<m:plus/>
		<m:ci>i</m:ci>
		<m:cn>1</m:cn>
	      </m:apply>
	    </m:apply>
	  </m:math>, or
	  
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:ci><m:msub>
		  <m:mi>X</m:mi>
		  <m:mrow>
		    <m:mi>n</m:mi>
		    <m:mo>+</m:mo>
		    <m:mn>1</m:mn>
		  </m:mrow>
		</m:msub></m:ci>
	      <m:ci>i</m:ci>
	    </m:apply>
	  </m:math>, or
	  
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:ci><m:msub>
		  <m:mi>X</m:mi>
		  <m:mrow>
		    <m:mi>n</m:mi>
		    <m:mo>+</m:mo>
		    <m:mn>1</m:mn>
		  </m:mrow>
		</m:msub></m:ci>
	      <m:apply>
		<m:minus/>
		<m:ci>i</m:ci>
		<m:cn>1</m:cn>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</meaning>
      </definition>
      
      That is, state transitions are always between neighboring
    states.
    </para>
  </content>
  
</document>
