<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Azimuth]]></provider_name><provider_url><![CDATA[https://johncarlosbaez.wordpress.com]]></provider_url><author_name><![CDATA[John Baez]]></author_name><author_url><![CDATA[https://johncarlosbaez.wordpress.com/author/johncarlosbaez/]]></author_url><title><![CDATA[Network Theory (Part&nbsp;10)]]></title><type><![CDATA[link]]></type><html><![CDATA[<p><a href="https://johncarlosbaez.wordpress.com/2011/09/13/network-theory-part-9/">Last time</a> Brendan showed us a proof of the Anderson-Craciun-Kurtz theorem on equilibrium states.  Today we&#8217;ll look at an example that illustrates this theorem.  This example brings up an interesting &#8216;paradox&#8217;&mdash;or at least a puzzle.  Resolving this will get us ready to think about a version of <i>Noether&#8217;s theorem</i> relating conserved quantities and symmetries.  Next time Brendan will state and prove a version of Noether&#8217;s theorem that applies to stochastic Petri nets.</p>
<h4> A reversible reaction </h4>
<p>In chemistry a type of atom, molecule, or ion is called a <b>chemical species</b>, or <b>species</b> for short.  Since we&#8217;re applying our ideas to both chemistry and biology, it&#8217;s nice that &#8216;species&#8217; is also used for a type of organism in biology.  This stochastic Petri net describes the simplest reversible reaction of all, involving two species:</p>
<div align="center">
<img width="350" src="https://i0.wp.com/math.ucr.edu/home/baez/networks/reversible.png" alt="" />
</div>
<p>We have species 1 turning into species 2 with rate constant <img src='https://s0.wp.com/latex.php?latex=%5Cbeta%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;beta,' title='&#92;beta,' class='latex' /> and species 2 turning back into species 1 with rate constant <img src='https://s0.wp.com/latex.php?latex=%5Cgamma.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;gamma.' title='&#92;gamma.' class='latex' />  So, the rate equation is:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cbegin%7Barray%7D%7Bccc%7D+%5Cdisplaystyle%7B+%5Cfrac%7Bd+x_1%7D%7Bd+t%7D+%7D+%26%3D%26+-%5Cbeta+x_1+%2B+%5Cgamma+x_2++%5C%5C++%5Cqquad+%5Cmathbf%7B%7D+%5C%5C+%5Cdisplaystyle%7B+%5Cfrac%7Bd+x_2%7D%7Bd+t%7D+%7D+%26%3D%26++%5Cbeta+x_1+-+%5Cgamma+x_2++%5Cend%7Barray%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;begin{array}{ccc} &#92;displaystyle{ &#92;frac{d x_1}{d t} } &amp;=&amp; -&#92;beta x_1 + &#92;gamma x_2  &#92;&#92;  &#92;qquad &#92;mathbf{} &#92;&#92; &#92;displaystyle{ &#92;frac{d x_2}{d t} } &amp;=&amp;  &#92;beta x_1 - &#92;gamma x_2  &#92;end{array} ' title='&#92;begin{array}{ccc} &#92;displaystyle{ &#92;frac{d x_1}{d t} } &amp;=&amp; -&#92;beta x_1 + &#92;gamma x_2  &#92;&#92;  &#92;qquad &#92;mathbf{} &#92;&#92; &#92;displaystyle{ &#92;frac{d x_2}{d t} } &amp;=&amp;  &#92;beta x_1 - &#92;gamma x_2  &#92;end{array} ' class='latex' /></p>
<p>where <img src='https://s0.wp.com/latex.php?latex=x_1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='x_1' title='x_1' class='latex' /> and <img src='https://s0.wp.com/latex.php?latex=x_2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='x_2' title='x_2' class='latex' /> are the amounts of species 1 and 2, respectively.</p>
<h4> Equilibrium solutions of the rate equation </h4>
<p>Let&#8217;s look for <i>equilibrium</i> solutions of the rate equation, meaning solutions where the amount of each species doesn&#8217;t change with time.  Equilibrium occurs when each species is getting created at the same rate at which it&#8217;s getting destroyed.</p>
<p>So, let&#8217;s see when</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Cfrac%7Bd+x_1%7D%7Bd+t%7D+%3D+%5Cfrac%7Bd+x_2%7D%7Bd+t%7D+%3D+0+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;frac{d x_1}{d t} = &#92;frac{d x_2}{d t} = 0 } ' title='&#92;displaystyle{ &#92;frac{d x_1}{d t} = &#92;frac{d x_2}{d t} = 0 } ' class='latex' /></p>
<p>Clearly this happens precisely when</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cbeta+x_1+%3D+%5Cgamma+x_2+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;beta x_1 = &#92;gamma x_2 ' title='&#92;beta x_1 = &#92;gamma x_2 ' class='latex' /></p>
<p>This says the rate at which 1&#8217;s are turning into 2&#8217;s equals the rate at which 2&#8217;s are turning back into 1&#8217;s.  That makes perfect sense.  </p>
<h4> Complex balanced equilibrium </h4>
<p>In general, a chemical reaction involves a <i>bunch</i> of species turning into a <i>bunch</i> of species.  Since &#8216;bunch&#8217; is not a very dignified term, a bunch of species is usually called a <b>complex</b>.  We saw <a href="https://johncarlosbaez.wordpress.com/2011/09/13/network-theory-part-9/">last time</a> that it&#8217;s very interesting to study a strong version of equilibrium: <b>complex balanced equilibrium</b>, in which each <i>complex</i> is being created at the same rate at which it&#8217;s getting destroyed.</p>
<p>However, in the Petri net we&#8217;re studying today, all the complexes being produced or destroyed consist of a single species.   In this situation, any equilibrium solution is automatically complex balanced.   This is great, because it means we can apply the Anderson-Craciun-Kurtz theorem from last time!  This says how to get from a complex balanced equilibrium solution of the <i>rate equation</i> to an equilibrium solution of the <i>master equation</i>.  </p>
<p>First remember what the master equation says.  Let <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_%7Bn_1%2C+n_2%7D%28t%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_{n_1, n_2}(t)' title='&#92;psi_{n_1, n_2}(t)' class='latex' /> be the probability that we have <img src='https://s0.wp.com/latex.php?latex=n_1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n_1' title='n_1' class='latex' /> things of species 1 and <img src='https://s0.wp.com/latex.php?latex=n_2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n_2' title='n_2' class='latex' /> things of species 2 at time <img src='https://s0.wp.com/latex.php?latex=t&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='t' title='t' class='latex' />.  We summarize all this information in a formal power series:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5CPsi%28t%29+%3D+%5Csum_%7Bn_1%2C+n_2+%3D+0%7D%5E%5Cinfty+%5Cpsi_%7Bn_1%2C+n_2%7D%28t%29+z_1%5E%7Bn_1%7D+z_2%5E%7Bn_2%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi(t) = &#92;sum_{n_1, n_2 = 0}^&#92;infty &#92;psi_{n_1, n_2}(t) z_1^{n_1} z_2^{n_2} ' title='&#92;Psi(t) = &#92;sum_{n_1, n_2 = 0}^&#92;infty &#92;psi_{n_1, n_2}(t) z_1^{n_1} z_2^{n_2} ' class='latex' /></p>
<p>Then the master equation says</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cfrac%7Bd%7D%7Bd+t%7D+%5CPsi%28t%29+%3D+H+%5CPsi+%28t%29+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;frac{d}{d t} &#92;Psi(t) = H &#92;Psi (t) ' title='&#92;frac{d}{d t} &#92;Psi(t) = H &#92;Psi (t) ' class='latex' /></p>
<p>where following the general rules laid down in <a href="https://johncarlosbaez.wordpress.com/2011/09/09/network-theory-part-8/">Part 8</a>, </p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cbegin%7Barray%7D%7Bccl%7D+H+%26%3D%26+%5Cbeta+%28a_2%5E%5Cdagger+-+a_1%5E%5Cdagger%29+a_1+%2B+%5Cgamma+%28a_1%5E%5Cdagger+-+a_2%5E%5Cdagger+%29a_2+%5Cend%7Barray%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;begin{array}{ccl} H &amp;=&amp; &#92;beta (a_2^&#92;dagger - a_1^&#92;dagger) a_1 + &#92;gamma (a_1^&#92;dagger - a_2^&#92;dagger )a_2 &#92;end{array} ' title='&#92;begin{array}{ccl} H &amp;=&amp; &#92;beta (a_2^&#92;dagger - a_1^&#92;dagger) a_1 + &#92;gamma (a_1^&#92;dagger - a_2^&#92;dagger )a_2 &#92;end{array} ' class='latex' /></p>
<p>This may look scary, but the <b>annihilation operator</b> <img src='https://s0.wp.com/latex.php?latex=a_i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='a_i' title='a_i' class='latex' /> and the <b>creation operator</b> <img src='https://s0.wp.com/latex.php?latex=a_i%5E%5Cdagger&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='a_i^&#92;dagger' title='a_i^&#92;dagger' class='latex' /> are just funny ways of writing the partial derivative <img src='https://s0.wp.com/latex.php?latex=%5Cpartial%2F%5Cpartial+z_i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;partial/&#92;partial z_i' title='&#92;partial/&#92;partial z_i' class='latex' /> and multiplication by <img src='https://s0.wp.com/latex.php?latex=z_i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='z_i' title='z_i' class='latex' />, so </p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cbegin%7Barray%7D%7Bccl%7D+H+%26%3D%26+%5Cdisplaystyle%7B+%5Cbeta+%28z_2+-+z_1%29+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+z_1%7D+%2B+%5Cgamma+%28z_1+-+z_2%29+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+z_2%7D+%7D+%5Cend%7Barray%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;begin{array}{ccl} H &amp;=&amp; &#92;displaystyle{ &#92;beta (z_2 - z_1) &#92;frac{&#92;partial}{&#92;partial z_1} + &#92;gamma (z_1 - z_2) &#92;frac{&#92;partial}{&#92;partial z_2} } &#92;end{array} ' title='&#92;begin{array}{ccl} H &amp;=&amp; &#92;displaystyle{ &#92;beta (z_2 - z_1) &#92;frac{&#92;partial}{&#92;partial z_1} + &#92;gamma (z_1 - z_2) &#92;frac{&#92;partial}{&#92;partial z_2} } &#92;end{array} ' class='latex' /></p>
<p>or if you prefer,</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cbegin%7Barray%7D%7Bccl%7D+H+%26%3D%26+%5Cdisplaystyle%7B+%28z_2+-+z_1%29+%5C%2C+%28%5Cbeta+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+z_1%7D+-+%5Cgamma+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+z_2%7D%29+%7D+%5Cend%7Barray%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;begin{array}{ccl} H &amp;=&amp; &#92;displaystyle{ (z_2 - z_1) &#92;, (&#92;beta &#92;frac{&#92;partial}{&#92;partial z_1} - &#92;gamma &#92;frac{&#92;partial}{&#92;partial z_2}) } &#92;end{array} ' title='&#92;begin{array}{ccl} H &amp;=&amp; &#92;displaystyle{ (z_2 - z_1) &#92;, (&#92;beta &#92;frac{&#92;partial}{&#92;partial z_1} - &#92;gamma &#92;frac{&#92;partial}{&#92;partial z_2}) } &#92;end{array} ' class='latex' /></p>
<p>The first term describes species 1 turning into species 2.  The second describes species 2 turning back into species 1.</p>
<p>Now, the Anderson-Cranciun-Kurtz theorem says that whenever <img src='https://s0.wp.com/latex.php?latex=%28x_1%2Cx_2%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='(x_1,x_2)' title='(x_1,x_2)' class='latex' /> is a complex balanced solution of the rate equation, this recipe gives an equilibrium solution of the master equation:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5CPsi+%3D+%5Cfrac%7Be%5E%7Bx_1+z_1+%2B+x_2+z_2%7D%7D%7Be%5E%7Bx_1+%2B+x_2%7D%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;Psi = &#92;frac{e^{x_1 z_1 + x_2 z_2}}{e^{x_1 + x_2}} } ' title='&#92;displaystyle{ &#92;Psi = &#92;frac{e^{x_1 z_1 + x_2 z_2}}{e^{x_1 + x_2}} } ' class='latex' /></p>
<p>In other words: whenever <img src='https://s0.wp.com/latex.php?latex=%5Cbeta+x_1+%3D+%5Cgamma+x_2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;beta x_1 = &#92;gamma x_2' title='&#92;beta x_1 = &#92;gamma x_2' class='latex' />, we have</p>
<p>we have </p>
<p><img src='https://s0.wp.com/latex.php?latex=H%5CPsi+%3D+0+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H&#92;Psi = 0 ' title='H&#92;Psi = 0 ' class='latex' /></p>
<p>Let&#8217;s check this!  For starters, the constant in the denominator of <img src='https://s0.wp.com/latex.php?latex=%5CPsi&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi' title='&#92;Psi' class='latex' /> doesn&#8217;t matter here, since <img src='https://s0.wp.com/latex.php?latex=H&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H' title='H' class='latex' /> is linear.  It&#8217;s just a normalizing constant, put in to make sure that our probabilities <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_%7Bn_1%2C+n_2%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_{n_1, n_2}' title='&#92;psi_{n_1, n_2}' class='latex' /> sum to 1.  So, we just need to check that</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%28z_2+-+z_1%29+%28%5Cbeta+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+z_1%7D+-+%5Cgamma+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+z_2%7D%29+e%5E%7Bx_1+z_1+%2B+x_2+z_2%7D+%3D+0+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ (z_2 - z_1) (&#92;beta &#92;frac{&#92;partial}{&#92;partial z_1} - &#92;gamma &#92;frac{&#92;partial}{&#92;partial z_2}) e^{x_1 z_1 + x_2 z_2} = 0 } ' title='&#92;displaystyle{ (z_2 - z_1) (&#92;beta &#92;frac{&#92;partial}{&#92;partial z_1} - &#92;gamma &#92;frac{&#92;partial}{&#92;partial z_2}) e^{x_1 z_1 + x_2 z_2} = 0 } ' class='latex' /></p>
<p>If we do the derivatives on the left hand side, it&#8217;s clear we want</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%28z_2+-+z_1%29+%28%5Cbeta+x_1+-+%5Cgamma+x_2%29+e%5E%7Bx_1+z_1+%2B+x_2+z_2%7D+%3D+0+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ (z_2 - z_1) (&#92;beta x_1 - &#92;gamma x_2) e^{x_1 z_1 + x_2 z_2} = 0 } ' title='&#92;displaystyle{ (z_2 - z_1) (&#92;beta x_1 - &#92;gamma x_2) e^{x_1 z_1 + x_2 z_2} = 0 } ' class='latex' /></p>
<p>And this is indeed true when <img src='https://s0.wp.com/latex.php?latex=%5Cbeta+x_1+%3D+%5Cgamma+x_2+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;beta x_1 = &#92;gamma x_2 ' title='&#92;beta x_1 = &#92;gamma x_2 ' class='latex' />.</p>
<p>So, the theorem works as advertised.  And now we can work out the probability <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_%7Bn_1%2Cn_2%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_{n_1,n_2}' title='&#92;psi_{n_1,n_2}' class='latex' /> of having <img src='https://s0.wp.com/latex.php?latex=n_1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n_1' title='n_1' class='latex' /> things of species 1 and <img src='https://s0.wp.com/latex.php?latex=n_2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n_2' title='n_2' class='latex' /> of species 2 in our equilibrium state <img src='https://s0.wp.com/latex.php?latex=%5CPsi&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi' title='&#92;Psi' class='latex' />.  To do this, we just expand the function <img src='https://s0.wp.com/latex.php?latex=%5CPsi&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi' title='&#92;Psi' class='latex' /> as a power series and look at the coefficient of <img src='https://s0.wp.com/latex.php?latex=z_1%5E%7Bn_1%7D+z_2%5E%7Bn_2%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='z_1^{n_1} z_2^{n_2}' title='z_1^{n_1} z_2^{n_2}' class='latex' />.  We have</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5CPsi+%3D+%5Cdisplaystyle%7B+%5Cfrac%7Be%5E%7Bx_1+z_1+%2B+x_2+z_2%7D%7D%7Be%5E%7Bx_1+%2B+x_2%7D%7D+%7D+%3D+%5Cdisplaystyle%7B+%5Cfrac%7B1%7D%7Be%5E%7Bx_1%7D+e%5E%7Bx_2%7D%7D+%5Csum_%7Bn_1%2Cn_2%7D%5E%5Cinfty+%5Cfrac%7B%28x_1+z_1%29%5E%7Bn_1%7D%7D%7Bn_1%21%7D+%5Cfrac%7B%28x_2+z_2%29%5E%7Bn_2%7D%7D%7Bn_2%21%7D+%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi = &#92;displaystyle{ &#92;frac{e^{x_1 z_1 + x_2 z_2}}{e^{x_1 + x_2}} } = &#92;displaystyle{ &#92;frac{1}{e^{x_1} e^{x_2}} &#92;sum_{n_1,n_2}^&#92;infty &#92;frac{(x_1 z_1)^{n_1}}{n_1!} &#92;frac{(x_2 z_2)^{n_2}}{n_2!} }  ' title='&#92;Psi = &#92;displaystyle{ &#92;frac{e^{x_1 z_1 + x_2 z_2}}{e^{x_1 + x_2}} } = &#92;displaystyle{ &#92;frac{1}{e^{x_1} e^{x_2}} &#92;sum_{n_1,n_2}^&#92;infty &#92;frac{(x_1 z_1)^{n_1}}{n_1!} &#92;frac{(x_2 z_2)^{n_2}}{n_2!} }  ' class='latex' /></p>
<p>so we get</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cpsi_%7Bn_1%2Cn_2%7D+%3D+%5Cdisplaystyle%7B+%5Cfrac%7B1%7D%7Be%5E%7Bx_1%7D%7D+%5Cfrac%7Bx_1%5E%7Bn_1%7D%7D%7Bn_1%21%7D+%5C%3B+%5Ccdot+%5C%3B+%5Cfrac%7B1%7D%7Be%5E%7Bx_2%7D%7D+%5Cfrac%7Bx_1%5E%7Bn_2%7D%7D%7Bn_2%21%7D+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_{n_1,n_2} = &#92;displaystyle{ &#92;frac{1}{e^{x_1}} &#92;frac{x_1^{n_1}}{n_1!} &#92;; &#92;cdot &#92;; &#92;frac{1}{e^{x_2}} &#92;frac{x_1^{n_2}}{n_2!} }' title='&#92;psi_{n_1,n_2} = &#92;displaystyle{ &#92;frac{1}{e^{x_1}} &#92;frac{x_1^{n_1}}{n_1!} &#92;; &#92;cdot &#92;; &#92;frac{1}{e^{x_2}} &#92;frac{x_1^{n_2}}{n_2!} }' class='latex' /></p>
<p>This is just a product of two independent Poisson distributions! </p>
<p>In case you forget, a <a href="http://en.wikipedia.org/wiki/Poisson_distribution">Poisson distribution</a> says the probability of <img src='https://s0.wp.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='k' title='k' class='latex' /> events occurring in some interval of time if they occur with a fixed average rate and independently of the time since the last event.  If the expected number of events is <img src='https://s0.wp.com/latex.php?latex=%5Clambda&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;lambda' title='&#92;lambda' class='latex' />, the Poisson distribution is </p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Cfrac%7B1%7D%7Be%5E%5Clambda%7D+%5Cfrac%7B%5Clambda%5Ek%7D%7Bk%21%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;frac{1}{e^&#92;lambda} &#92;frac{&#92;lambda^k}{k!} } ' title='&#92;displaystyle{ &#92;frac{1}{e^&#92;lambda} &#92;frac{&#92;lambda^k}{k!} } ' class='latex' /></p>
<p>and it looks like this for various values of <img src='https://s0.wp.com/latex.php?latex=%5Clambda&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;lambda' title='&#92;lambda' class='latex' />:</p>
<div align="center"><a href="http://en.wikipedia.org/wiki/Poisson_distribution"><img src="https://i2.wp.com/upload.wikimedia.org/wikipedia/commons/thumb/1/16/Poisson_pmf.svg/325px-Poisson_pmf.svg.png" /></a></div>
<p>It looks almost like a Gaussian when <img src='https://s0.wp.com/latex.php?latex=%5Clambda&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;lambda' title='&#92;lambda' class='latex' /> is large, but when <img src='https://s0.wp.com/latex.php?latex=%5Clambda&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;lambda' title='&#92;lambda' class='latex' /> is small it becomes very lopsided.</p>
<p>Anyway: we&#8217;ve seen that in our equilibrium state, the number of things of species <img src='https://s0.wp.com/latex.php?latex=i+%3D+1%2C2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i = 1,2' title='i = 1,2' class='latex' /> is given by a Poisson distribution with mean <img src='https://s0.wp.com/latex.php?latex=x_i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='x_i' title='x_i' class='latex' />.   That&#8217;s very nice and simple&#8230; but the amazing thing is that these distributions are <i>independent</i>. </p>
<p>Mathematically, this means we just <i>multiply</i> them to get the probability of finding <img src='https://s0.wp.com/latex.php?latex=n_1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n_1' title='n_1' class='latex' /> things of species 1 and <img src='https://s0.wp.com/latex.php?latex=n_2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n_2' title='n_2' class='latex' /> of species 2.  But it also means that knowing how many things there are of one species says nothing about the number of the other.</p>
<p>But something seems odd here.  One transition in our Petri net consumes a 1 and produces a 2, while the other consumes a 2 and produces a 1.  The total number of particles in the system never changes.  The more 1&#8217;s there are, the fewer 2&#8217;s there should be.   But we just said knowing how many 1&#8217;s we have tells us nothing about how many 2&#8217;s we have!  </p>
<p>At first this seems like a paradox.  Have we made a mistake?  Not exactly.   But we&#8217;re neglecting something.</p>
<h4> Conserved quantities </h4>
<p>Namely: the equilibrium solutions of the master equation we&#8217;ve found so far are not the only ones!  There are other solutions that fit our intuitions better.</p>
<p>Suppose we take any of our equilibrium solutions <img src='https://s0.wp.com/latex.php?latex=%5CPsi&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi' title='&#92;Psi' class='latex' /> and change it like this: set the probability <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_%7Bn_1%2Cn_2%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_{n_1,n_2}' title='&#92;psi_{n_1,n_2}' class='latex' /> equal to 0 unless</p>
<p><img src='https://s0.wp.com/latex.php?latex=n_1+%2B+n_2+%3D+n+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n_1 + n_2 = n ' title='n_1 + n_2 = n ' class='latex' /></p>
<p>but otherwise leave it unchanged.  Of course the probabilities no longer sum to 1, but we can rescale them so they do.  </p>
<p>The result is a new equilibrium solution, say <img src='https://s0.wp.com/latex.php?latex=%5CPsi_n.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi_n.' title='&#92;Psi_n.' class='latex' /> Why?  Because, as we&#8217;ve already seen, no transitions will carry us from one value of <img src='https://s0.wp.com/latex.php?latex=n_1+%2B+n_2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n_1 + n_2' title='n_1 + n_2' class='latex' /> to another.  And in this new solution, the number of 1&#8217;s is clearly <i>not</i> independent from the number of 2&#8217;s.  The bigger one is, the smaller the other is.  </p>
<p><b>Puzzle 1.</b>  Show that this new solution <img src='https://s0.wp.com/latex.php?latex=%5CPsi_n&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi_n' title='&#92;Psi_n' class='latex' /> depends only on <img src='https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n' title='n' class='latex' /> and the ratio <img src='https://s0.wp.com/latex.php?latex=x_1%2Fx_2+%3D+%5Cgamma%2F%5Cbeta&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='x_1/x_2 = &#92;gamma/&#92;beta' title='x_1/x_2 = &#92;gamma/&#92;beta' class='latex' />, not on anything more about the values of <img src='https://s0.wp.com/latex.php?latex=x_1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='x_1' title='x_1' class='latex' /> and <img src='https://s0.wp.com/latex.php?latex=x_2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='x_2' title='x_2' class='latex' /> in the original solution</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5CPsi+%3D+%5Cdisplaystyle%7B+%5Cfrac%7Be%5E%7Bx_1+z_1+%2B+x_2+z_2%7D%7D%7Be%5E%7Bx_1+%2B+x_2%7D%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;Psi = &#92;displaystyle{ &#92;frac{e^{x_1 z_1 + x_2 z_2}}{e^{x_1 + x_2}} } ' title='&#92;Psi = &#92;displaystyle{ &#92;frac{e^{x_1 z_1 + x_2 z_2}}{e^{x_1 + x_2}} } ' class='latex' /></p>
<p><b>Puzzle 2.</b>  What is this new solution like when <img src='https://s0.wp.com/latex.php?latex=%5Cbeta+%3D+%5Cgamma&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;beta = &#92;gamma' title='&#92;beta = &#92;gamma' class='latex' />?  (This particular choice makes the problem symmetrical when we interchange species 1 and 2.)</p>
<p>What&#8217;s happening here is that this particular stochastic Petri net has a &#8216;conserved quantity&#8217;: the total number of things never changes with time.  So, we can take any equilibrium solution of the master equation and&mdash;in the language of quantum mechanics&mdash;`project down to the subspace&#8217; where this conserved quantity takes a definite value, and get a new equilibrium solution.  In the language of probability theory, we say it a bit differently: we&#8217;re &#8216;conditioning on&#8217; the conserved quantity taking a definite value.  But the idea is the same.</p>
<p>This important feature of conserved quantities suggests that we should try to invent a new version of <a href="http://en.wikipedia.org/wiki/Noether%27s_theorem">Noether&#8217;s theorem</a>.   This theorem links conserved quantities and <i>symmetries</i> of the Hamiltonian.   </p>
<p>There are already a couple versions of Noether&#8217;s theorem for classical mechanics, and for quantum mechanics&#8230; but now we want a version for <i>stochastic</i> mechanics.  And indeed one exists, and it&#8217;s relevant to what we&#8217;re doing here.  We&#8217;ll show it to you next time.</p>
]]></html><thumbnail_url><![CDATA[https://i0.wp.com/math.ucr.edu/home/baez/networks/reversible.png?fit=440%2C330]]></thumbnail_url><thumbnail_height><![CDATA[279]]></thumbnail_height><thumbnail_width><![CDATA[440]]></thumbnail_width></oembed>