<?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;16)]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>We&#8217;ve been comparing two theories: stochastic mechanics and quantum mechanics.   <a href="https://johncarlosbaez.wordpress.com/2011/10/26/network-theory-part-15/">Last time</a> we saw that any graph gives us an example of <i>both</i> theories!  It&#8217;s a bit peculiar, but today we&#8217;ll explore the intersection of these theories a little further, and see that it has another interpretation.  It&#8217;s also the theory of <i>electrical circuits made of resistors!</i>  </p>
<p>That&#8217;s nice, because I&#8217;m supposed to be talking about &#8216;network theory&#8217;, and electrical circuits are perhaps the most practical networks of all:</p>
<div align="center">
<img width="450" src="https://i1.wp.com/math.ucr.edu/home/baez/networks/electronics_circuit_diagram_10W_amplifier_with_bass_boost.gif" alt="" />
</div>
<p>I plan to talk a lot about electrical circuits.  I&#8217;m not quite ready to dive in, but I can&#8217;t resist dipping my toe in the water today.  Why don&#8217;t you join me?  It&#8217;s not too cold!</p>
<h4> Dirichlet operators </h4>
<p>Last time we saw that any graph gives us an operator called the &#8216;graph Laplacian&#8217; that&#8217;s both infinitesimal stochastic and self-adjoint.  That means we get both:</p>
<p>&bull; a <a href="http://en.wikipedia.org/wiki/Markov_process">Markov process</a> describing the random walk of a classical particle on the graph.</p>
<p>and</p>
<p>&bull; a <a href="http://en.wikipedia.org/wiki/Stone%27s_theorem_on_one-parameter_unitary_groups">1-parameter unitary group</a> describing the motion of a quantum particle on the graph.</p>
<p>That&#8217;s sort of neat, so it&#8217;s natural to wonder what are <i>all</i> the operators that are both infinitesimal stochastic and self-adjoint.  They&#8217;re called &#8216;Dirichlet operators&#8217;, and at least in the finite-dimensional case we&#8217;re considering, they&#8217;re easy to completely understand.  Even better, it turns out they describe electrical circuits made of resistors! </p>
<p>Today let&#8217;s take a lowbrow attitude and think of a linear operator <img src='https://s0.wp.com/latex.php?latex=H+%3A+%5Cmathbb%7BC%7D%5En+%5Cto+%5Cmathbb%7BC%7D%5En&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H : &#92;mathbb{C}^n &#92;to &#92;mathbb{C}^n' title='H : &#92;mathbb{C}^n &#92;to &#92;mathbb{C}^n' class='latex' /> as an <img src='https://s0.wp.com/latex.php?latex=n+%5Ctimes+n&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n &#92;times n' title='n &#92;times n' class='latex' /> matrix with entries <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j}' title='H_{i j}' class='latex' />.  Then:</p>
<p>&bull; <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 <b>self-adjoint</b> if it equals the conjugate of its transpose: </p>
<p><img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D+%3D+%5Coverline%7BH%7D_%7Bj+i%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j} = &#92;overline{H}_{j i}' title='H_{i j} = &#92;overline{H}_{j i}' class='latex' /></p>
<p>&bull; <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 <b>infinitesimal stochastic</b> if its columns sum to zero and its off-diagonal entries are real and nonnegative:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Csum_i+H_%7Bi+j%7D+%3D+0+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;sum_i H_{i j} = 0 }' title='&#92;displaystyle{ &#92;sum_i H_{i j} = 0 }' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=i+%5Cne+j+%5CRightarrow+H_%7Bi+j%7D+%5Cge+0+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i &#92;ne j &#92;Rightarrow H_{i j} &#92;ge 0 ' title='i &#92;ne j &#92;Rightarrow H_{i j} &#92;ge 0 ' class='latex' /></p>
<p>&bull; <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 a <b>Dirichlet operator</b> if it&#8217;s both self-adjoint and infinitesimal stochastic.</p>
<p>What are Dirichlet operators like?  Suppose <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 a Dirichlet operator.  Then its off-diagonal entries are <img src='https://s0.wp.com/latex.php?latex=%5Cge+0&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;ge 0' title='&#92;ge 0' class='latex' />, and since</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Csum_i+H_%7Bi+j%7D+%3D+0%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;sum_i H_{i j} = 0}' title='&#92;displaystyle{ &#92;sum_i H_{i j} = 0}' class='latex' /></p>
<p>its diagonal entries obey</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+H_%7Bi+i%7D+%3D+-+%5Csum_%7B+i+%5Cne+j%7D+H_%7Bi+j%7D+%5Cle+0+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ H_{i i} = - &#92;sum_{ i &#92;ne j} H_{i j} &#92;le 0 } ' title='&#92;displaystyle{ H_{i i} = - &#92;sum_{ i &#92;ne j} H_{i j} &#92;le 0 } ' class='latex' /></p>
<p>So all the entries of the matrix <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' /> are real, which in turn implies it&#8217;s symmetric:</p>
<p><img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D+%3D+%5Coverline%7BH%7D_%7Bj+i%7D+%3D+H_%7Bj+i%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j} = &#92;overline{H}_{j i} = H_{j i} ' title='H_{i j} = &#92;overline{H}_{j i} = H_{j i} ' class='latex' /></p>
<p>So, we can build any Dirichlet operator <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' /> as follows:</p>
<p>&bull; Choose the entries above the diagonal, <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j}' title='H_{i j}' class='latex' /> with <img src='https://s0.wp.com/latex.php?latex=i+%3C+j&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i &lt; j' title='i &lt; j' class='latex' />, to be arbitrary nonnegative real numbers.</p>
<p>&bull; The entries below the diagonal, <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j}' title='H_{i j}' class='latex' /> with <img src='https://s0.wp.com/latex.php?latex=i+%3E+j&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i &gt; j' title='i &gt; j' class='latex' />, are then forced on us by the requirement that <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' /> be symmetric: <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D+%3D+H_%7Bj+i%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j} = H_{j i}' title='H_{i j} = H_{j i}' class='latex' />.</p>
<p>&bull; The diagonal entries are then forced on us by the requirement that the columns sum to zero: <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+i%7D+%3D+-+%5Csum_%7B+i+%5Cne+j%7D+H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i i} = - &#92;sum_{ i &#92;ne j} H_{i j}' title='H_{i i} = - &#92;sum_{ i &#92;ne j} H_{i j}' class='latex' />.</p>
<p>Note that because the entries are real, we can think of a Dirichlet operator as a linear operator <img src='https://s0.wp.com/latex.php?latex=H+%3A+%5Cmathbb%7BR%7D%5En+%5Cto+%5Cmathbb%7BR%7D%5En&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H : &#92;mathbb{R}^n &#92;to &#92;mathbb{R}^n' title='H : &#92;mathbb{R}^n &#92;to &#92;mathbb{R}^n' class='latex' />.  We&#8217;ll do that for the rest of today.</p>
<h4> Circuits made of resistors </h4>
<p>Now for the fun part.  We can easily <i>draw</i> any Dirichlet operator!   To this we draw <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' /> dots, connect each pair of distinct dots with an edge, and label the edge connecting the <img src='https://s0.wp.com/latex.php?latex=i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i' title='i' class='latex' />th dot to the <img src='https://s0.wp.com/latex.php?latex=j&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='j' title='j' class='latex' />th with any number <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D+%5Cge+0%3A&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j} &#92;ge 0:' title='H_{i j} &#92;ge 0:' class='latex' /></p>
<div align="center"><img width="300" src="https://i1.wp.com/math.ucr.edu/home/baez/networks/complete-graph-5.png" alt="" /></div>
<p>This contains all the information we need to build our Dirichlet operator.  To make the picture prettier, we can leave out the edges labelled by 0:</p>
<div align="center"><img width="270" src="https://i0.wp.com/math.ucr.edu/home/baez/networks/complete-graph-5-zero.png" alt="" /></div>
<p>Like last time, the graphs I&#8217;m talking about are <a href="http://en.wikipedia.org/wiki/Simple_graph#Simple_graph"><b>simple</b></a>: undirected, with no edges from a vertex to itself, and at most one edge from one vertex to another.   So:</p>
<p><b>Theorem.</b> Any finite simple graph with edges labelled by positive numbers gives a Dirichlet operator, and conversely.</p>
<p>We already talked about a special case last time: if we label all the edges by the number 1, our operator <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 called the <b>graph Laplacian</b>.  So, now we&#8217;re generalizing that idea by letting the edges have more interesting labels.</p>
<p>What&#8217;s the meaning of this trick?  Well, we can think of our graph as an <i>electrical circuit</i> where the edges are <i>wires</i>.  What do the numbers labelling these wires mean?  One obvious possibility is to put a <a href="http://en.wikipedia.org/wiki/Resistor">resistor</a> on each wire, and let that number be its <a href="http://en.wikipedia.org/wiki/Electrical_resistance_and_conductance">resistance</a>.   But that doesn&#8217;t make sense, since we&#8217;re leaving out wires labelled by 0.  If we leave out a wire, that&#8217;s not like having a wire of zero resistance: it&#8217;s like having a wire of <i>infinite</i> resistance!  No current can go through when there&#8217;s no wire.  So the number labelling an edge should be the <i>conductance</i> of the resistor on that wire.  Conductance is the reciprocal of resistance.</p>
<p>So, our Dirichlet operator above gives a circuit like this:</p>
<div align="center"><img width="300" src="https://i1.wp.com/math.ucr.edu/home/baez/networks/complete-resistor-graph-5.png" alt="" /></div>
<p>Here &Omega; is the symbol for an <a href="http://en.wikipedia.org/wiki/Ohm">&#8216;ohm&#8217;</a>, a unit of resistance&#8230; but the upside-down version, namely &#x2127;, is the symbol for a <a href="http://en.wikipedia.org/wiki/Siemens_%28unit%29#Mho">&#8216;mho&#8217;</a>, a unit of conductance that&#8217;s the reciprocal of an ohm.  </p>
<p>Let&#8217;s see if this cute idea leads anywhere.  Think of a Dirichlet operator <img src='https://s0.wp.com/latex.php?latex=H+%3A+%5Cmathbb%7BR%7D%5En+%5Cto+%5Cmathbb%7BR%7D%5En&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H : &#92;mathbb{R}^n &#92;to &#92;mathbb{R}^n' title='H : &#92;mathbb{R}^n &#92;to &#92;mathbb{R}^n' class='latex' /> as a circuit made of resistors.   What could a vector <img src='https://s0.wp.com/latex.php?latex=%5Cpsi+%5Cin+%5Cmathbb%7BR%7D%5En&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi &#92;in &#92;mathbb{R}^n' title='&#92;psi &#92;in &#92;mathbb{R}^n' class='latex' /> mean?  It assigns a real number to each vertex of our graph.  The only sensible option is for this number to be the <a href="http://en.wikipedia.org/wiki/Electric_potential">electric potential</a> at that point in our circuit.  So let&#8217;s try that.</p>
<p>Now, what&#8217;s</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Clangle+%5Cpsi%2C+H+%5Cpsi+%5Crangle++%3F+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;langle &#92;psi, H &#92;psi &#92;rangle  ? ' title='&#92;langle &#92;psi, H &#92;psi &#92;rangle  ? ' class='latex' /></p>
<p>In quantum mechanics this would be a very sensible thing to look at: it would be gives us the expected value of the Hamiltonian <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' /> in a 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' />.  But what does it mean in the land of electrical circuits?</p>
<p>Up to a constant fudge factor, it turns out to be the <i>power</i> consumed by the electrical circuit!  </p>
<p>Let&#8217;s see why.  First, remember that when a current flows along a wire, power gets consumed.  In other words, electrostatic potential energy gets turned into heat.  The power consumed is </p>
<p><img src='https://s0.wp.com/latex.php?latex=P+%3D+V+I+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='P = V I ' title='P = V I ' class='latex' /></p>
<p>where <img src='https://s0.wp.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V' title='V' class='latex' /> is the voltage across the wire and <img src='https://s0.wp.com/latex.php?latex=I&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I' title='I' class='latex' /> is the current flowing along the wire.  If we assume our wire has resistance <img src='https://s0.wp.com/latex.php?latex=R&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='R' title='R' class='latex' /> we also have Ohm&#8217;s law:</p>
<p><img src='https://s0.wp.com/latex.php?latex=I+%3D+V+%2F+R+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I = V / R ' title='I = V / R ' class='latex' /></p>
<p>so </p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+P+%3D+%5Cfrac%7BV%5E2%7D%7BR%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ P = &#92;frac{V^2}{R} } ' title='&#92;displaystyle{ P = &#92;frac{V^2}{R} } ' class='latex' /></p>
<p>If we write this using the conductance instead of the resistance <img src='https://s0.wp.com/latex.php?latex=R&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='R' title='R' class='latex' />, we get</p>
<p><img src='https://s0.wp.com/latex.php?latex=P+%3D+%5Ctextrm%7Bconductance%7D+%5C%3B+V%5E2+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='P = &#92;textrm{conductance} &#92;; V^2 ' title='P = &#92;textrm{conductance} &#92;; V^2 ' class='latex' /></p>
<p>But our electrical circuit has <i>lots</i> of wires, so the power it consumes will be a sum of terms like this.   We&#8217;re assuming  <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j}' title='H_{i j}' class='latex' /> is the conductance of the wire from the <img src='https://s0.wp.com/latex.php?latex=i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i' title='i' class='latex' />th vertex to the <img src='https://s0.wp.com/latex.php?latex=j&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='j' title='j' class='latex' />th, or zero if there&#8217;s no wire connecting them.  And by definition, the voltage across this wire is the difference in electrostatic potentials at the two ends: <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_i+-+%5Cpsi_j&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_i - &#92;psi_j' title='&#92;psi_i - &#92;psi_j' class='latex' />.  So, the total power consumed is</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+P+%3D+%5Csum_%7Bi+%5Cne+j%7D++H_%7Bi+j%7D+%28%5Cpsi_i+-+%5Cpsi_j%29%5E2+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ P = &#92;sum_{i &#92;ne j}  H_{i j} (&#92;psi_i - &#92;psi_j)^2 }' title='&#92;displaystyle{ P = &#92;sum_{i &#92;ne j}  H_{i j} (&#92;psi_i - &#92;psi_j)^2 }' class='latex' /></p>
<p>This is nice, but what does it have to do with <img src='https://s0.wp.com/latex.php?latex=%5Clangle+%5Cpsi+%2C+H+%5Cpsi+%5Crangle&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;langle &#92;psi , H &#92;psi &#92;rangle' title='&#92;langle &#92;psi , H &#92;psi &#92;rangle' class='latex' />? </p>
<p>The answer is here:</p>
<p><b>Theorem.</b>   If <img src='https://s0.wp.com/latex.php?latex=H+%3A+%5Cmathbb%7BR%7D%5En+%5Cto+%5Cmathbb%7BR%7D%5En&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H : &#92;mathbb{R}^n &#92;to &#92;mathbb{R}^n' title='H : &#92;mathbb{R}^n &#92;to &#92;mathbb{R}^n' class='latex' /> is any Dirichlet operator, and <img src='https://s0.wp.com/latex.php?latex=%5Cpsi+%5Cin+%5Cmathbb%7BR%7D%5En&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi &#92;in &#92;mathbb{R}^n' title='&#92;psi &#92;in &#92;mathbb{R}^n' class='latex' /> is any vector, then</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Clangle+%5Cpsi+%2C+H+%5Cpsi+%5Crangle+%3D+-%5Cfrac%7B1%7D%7B2%7D+%5Csum_%7Bi+%5Cne+j%7D++H_%7Bi+j%7D+%28%5Cpsi_i+-+%5Cpsi_j%29%5E2+%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;langle &#92;psi , H &#92;psi &#92;rangle = -&#92;frac{1}{2} &#92;sum_{i &#92;ne j}  H_{i j} (&#92;psi_i - &#92;psi_j)^2 }  ' title='&#92;displaystyle{ &#92;langle &#92;psi , H &#92;psi &#92;rangle = -&#92;frac{1}{2} &#92;sum_{i &#92;ne j}  H_{i j} (&#92;psi_i - &#92;psi_j)^2 }  ' class='latex' /></p>
<p><b>Proof.</b>  Let&#8217;s start with the formula for power:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+P+%3D+%5Csum_%7Bi+%5Cne+j%7D++H_%7Bi+j%7D+%28%5Cpsi_i+-+%5Cpsi_j%29%5E2+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ P = &#92;sum_{i &#92;ne j}  H_{i j} (&#92;psi_i - &#92;psi_j)^2 } ' title='&#92;displaystyle{ P = &#92;sum_{i &#92;ne j}  H_{i j} (&#92;psi_i - &#92;psi_j)^2 } ' class='latex' /></p>
<p>Note that this sum includes the condition <img src='https://s0.wp.com/latex.php?latex=i+%5Cne+j&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i &#92;ne j' title='i &#92;ne j' class='latex' />, since we only have wires going between distinct vertices.  But the summand is zero if <img src='https://s0.wp.com/latex.php?latex=i+%3D+j&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i = j' title='i = j' class='latex' />, so we also have</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+P+%3D+%5Csum_%7Bi%2C+j%7D++H_%7Bi+j%7D+%28%5Cpsi_i+-+%5Cpsi_j%29%5E2+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ P = &#92;sum_{i, j}  H_{i j} (&#92;psi_i - &#92;psi_j)^2 } ' title='&#92;displaystyle{ P = &#92;sum_{i, j}  H_{i j} (&#92;psi_i - &#92;psi_j)^2 } ' class='latex' /></p>
<p>Expanding the square, we get</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+P+%3D+%5Csum_%7Bi%2C+j%7D++H_%7Bi+j%7D+%5Cpsi_i%5E2+-+2+H_%7Bi+j%7D+%5Cpsi_i+%5Cpsi_j+%2B+H_%7Bi+j%7D+%5Cpsi_j%5E2+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ P = &#92;sum_{i, j}  H_{i j} &#92;psi_i^2 - 2 H_{i j} &#92;psi_i &#92;psi_j + H_{i j} &#92;psi_j^2 } ' title='&#92;displaystyle{ P = &#92;sum_{i, j}  H_{i j} &#92;psi_i^2 - 2 H_{i j} &#92;psi_i &#92;psi_j + H_{i j} &#92;psi_j^2 } ' class='latex' /></p>
<p>The middle term looks promisingly similar to <img src='https://s0.wp.com/latex.php?latex=%5Clangle+%5Cpsi%2C+H+%5Cpsi+%5Crangle&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;langle &#92;psi, H &#92;psi &#92;rangle' title='&#92;langle &#92;psi, H &#92;psi &#92;rangle' class='latex' />, but what about the other two terms?  Because <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D+%3D+H_%7Bj+i%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j} = H_{j i}' title='H_{i j} = H_{j i}' class='latex' />, they&#8217;re equal:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+P+%3D+%5Csum_%7Bi%2C+j%7D+-+2+H_%7Bi+j%7D+%5Cpsi_i+%5Cpsi_j+%2B+2+H_%7Bi+j%7D+%5Cpsi_j%5E2++%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ P = &#92;sum_{i, j} - 2 H_{i j} &#92;psi_i &#92;psi_j + 2 H_{i j} &#92;psi_j^2  } ' title='&#92;displaystyle{ P = &#92;sum_{i, j} - 2 H_{i j} &#92;psi_i &#92;psi_j + 2 H_{i j} &#92;psi_j^2  } ' class='latex' /></p>
<p>And in fact they&#8217;re zero!  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 infinitesimal stochastic, we have</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Csum_i+H_%7Bi+j%7D+%3D+0+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;sum_i H_{i j} = 0 } ' title='&#92;displaystyle{ &#92;sum_i H_{i j} = 0 } ' class='latex' /></p>
<p>so </p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Csum_i+H_%7Bi+j%7D+%5Cpsi_j%5E2+%3D+0+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;sum_i H_{i j} &#92;psi_j^2 = 0 } ' title='&#92;displaystyle{ &#92;sum_i H_{i j} &#92;psi_j^2 = 0 } ' class='latex' /></p>
<p>and it&#8217;s still zero when we sum over <img src='https://s0.wp.com/latex.php?latex=j&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='j' title='j' class='latex' />.  We thus have</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+P+%3D+-+2+%5Csum_%7Bi%2C+j%7D+H_%7Bi+j%7D+%5Cpsi_i+%5Cpsi_j+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ P = - 2 &#92;sum_{i, j} H_{i j} &#92;psi_i &#92;psi_j } ' title='&#92;displaystyle{ P = - 2 &#92;sum_{i, j} H_{i j} &#92;psi_i &#92;psi_j } ' class='latex' /></p>
<p>But since <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_i' title='&#92;psi_i' class='latex' /> is real, this is -2 times</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Clangle+%5Cpsi%2C+H+%5Cpsi+%5Crangle++%3D+%5Csum_%7Bi%2C+j%7D++H_%7Bi+j%7D+%5Coverline%7B%5Cpsi%7D_i+%5Cpsi_j+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;langle &#92;psi, H &#92;psi &#92;rangle  = &#92;sum_{i, j}  H_{i j} &#92;overline{&#92;psi}_i &#92;psi_j } ' title='&#92;displaystyle{ &#92;langle &#92;psi, H &#92;psi &#92;rangle  = &#92;sum_{i, j}  H_{i j} &#92;overline{&#92;psi}_i &#92;psi_j } ' class='latex' /></p>
<p>So, we&#8217;re done.  &nbsp; &#9608;</p>
<p>An instant consequence of this theorem is that a Dirichlet operator has</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Clangle+%5Cpsi+%2C+H+%5Cpsi+%5Crangle+%5Cle+0+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;langle &#92;psi , H &#92;psi &#92;rangle &#92;le 0 ' title='&#92;langle &#92;psi , H &#92;psi &#92;rangle &#92;le 0 ' class='latex' /></p>
<p>for all <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' />.  Actually most people use the opposite sign convention in defining infinitesimal stochastic operators.  This makes <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D+%5Cle+0&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j} &#92;le 0' title='H_{i j} &#92;le 0' class='latex' />, which is mildly annoying, but it gives</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Clangle+%5Cpsi+%2C+H+%5Cpsi+%5Crangle+%5Cge+0+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;langle &#92;psi , H &#92;psi &#92;rangle &#92;ge 0 ' title='&#92;langle &#92;psi , H &#92;psi &#92;rangle &#92;ge 0 ' class='latex' /></p>
<p>which is nice.  When <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 a Dirichlet operator, defined with this opposite sign convention, <img src='https://s0.wp.com/latex.php?latex=%5Clangle+%5Cpsi+%2C+H+%5Cpsi+%5Crangle&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;langle &#92;psi , H &#92;psi &#92;rangle' title='&#92;langle &#92;psi , H &#92;psi &#92;rangle' class='latex' /> is called a <b>Dirichlet form</b>. </p>
<h4> The big picture </h4>
<p>Maybe it&#8217;s a good time to step back and see where we are.</p>
<p>So far we&#8217;ve been exploring the analogy between stochastic mechanics and quantum mechanics.  Where do networks come in?  Well, they&#8217;ve actually come in twice so far:</p>
<p>1)  First we saw that <a href="http://math.ucr.edu/home/baez/networks/networks_2.html">Petri nets</a> can be used to describe stochastic or quantum processes where things of different kinds randomly react and turn into other things.  A Petri net is a kind of network like this:</p>
<div align="center"><img width="450" src="https://i0.wp.com/math.ucr.edu/home/baez/networks/receptor_ligand_model_unlabelled.png" alt="" /></div>
<p>The different kinds of things are the yellow circles; we called them <b>states</b>, because sometimes we think of them as different states of a single kind of thing.  The reactions where things turn into other things are the blue squares: we called them <b>transitions</b>.  We label the transitions by numbers to say the rates at which they occur.  </p>
<p>2)  Then we looked at stochastic or quantum processes where in each transition a single thing turns into a single thing.  We can draw these as Petri nets where each transition has just one state as input and one state as output.  But we can also draw them as directed graphs with edges labelled by numbers:</p>
<div align="center"><img width="270" src="https://i0.wp.com/math.ucr.edu/home/baez/networks/markov_chain_noether_counterexample.png" alt="" /></div>
<p>Now the dark blue boxes are states and the <i>edges</i> are transitions!</p>
<p>Today we looked at a special case of the second kind of network: the Dirichlet operators.  For these the &#8216;forward&#8217; transition rate <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j}' title='H_{i j}' class='latex' /> equals the &#8216;reverse&#8217; rate <img src='https://s0.wp.com/latex.php?latex=H_%7Bj+i%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{j i}' title='H_{j i}' class='latex' />, so our graph can be undirected: no arrows on the edges.  And for these the rates <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+i%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i i}' title='H_{i i}' class='latex' /> are determined by the rest, so we can omit the edges from vertices to themselves:</p>
<div align="center"><img width="270" src="https://i0.wp.com/math.ucr.edu/home/baez/networks/complete-graph-5-zero.png" alt="" /></div>
<p>The result can be seen as an electrical circuit made of resistors!  So we&#8217;re building up a little dictionary:</p>
<p>&bull; Stochastic mechanics: <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_i' title='&#92;psi_i' class='latex' /> is a probability and <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j}' title='H_{i j}' class='latex' /> is a transition rate (probability per time).</p>
<p>&bull; Quantum mechanics: <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_i' title='&#92;psi_i' class='latex' /> is an amplitude and <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j}' title='H_{i j}' class='latex' /> is a transition rate (amplitude per time).</p>
<p>&bull; Circuits made of resistors: <img src='https://s0.wp.com/latex.php?latex=%5Cpsi_i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;psi_i' title='&#92;psi_i' class='latex' /> is a voltage and <img src='https://s0.wp.com/latex.php?latex=H_%7Bi+j%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H_{i j}' title='H_{i j}' class='latex' /> is a conductance.</p>
<p>This dictionary may seem rather odd&mdash;especially the third item, which looks completely different than the first two!  But that&#8217;s good: when things aren&#8217;t odd, we don&#8217;t get many new ideas.  The whole point of this &#8216;network theory&#8217; business is to think about networks from many different viewpoints and let the sparks fly! </p>
<p>Actually, this particular oddity is well-known in certain circles.  We&#8217;ve been looking at the <i>discrete</i> version, where we have a finite set of states.  But in the <i>continuum</i>, the classic example of a Dirichlet operator is the Laplacian <img src='https://s0.wp.com/latex.php?latex=H+%3D+%5Cnabla%5E2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='H = &#92;nabla^2' title='H = &#92;nabla^2' class='latex' />.  And then we have:</p>
<p>&bull; The <a href="http://en.wikipedia.org/wiki/Heat_equation"><b>heat equation</b></a>:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cfrac%7Bd%7D%7Bd+t%7D+%5Cpsi+%3D+%5Cnabla%5E2+%5Cpsi+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;frac{d}{d t} &#92;psi = &#92;nabla^2 &#92;psi ' title='&#92;frac{d}{d t} &#92;psi = &#92;nabla^2 &#92;psi ' class='latex' /></p>
<p>is fundamental to stochastic mechanics.</p>
<p>&bull; The <a href="http://en.wikipedia.org/wiki/Schr%C3%B6dinger_equation"><b>Schr&ouml;dinger equation</b></a>:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cfrac%7Bd%7D%7Bd+t%7D+%5Cpsi+%3D+-i+%5Cnabla%5E2+%5Cpsi+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;frac{d}{d t} &#92;psi = -i &#92;nabla^2 &#92;psi ' title='&#92;frac{d}{d t} &#92;psi = -i &#92;nabla^2 &#92;psi ' class='latex' /></p>
<p>is fundamental to quantum mechanics.</p>
<p>&bull; The <a href="http://en.wikipedia.org/wiki/Poisson%27s_equation"><b>Poisson equation</b></a>:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cnabla%5E2+%5Cpsi+%3D+-%5Crho+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;nabla^2 &#92;psi = -&#92;rho ' title='&#92;nabla^2 &#92;psi = -&#92;rho ' class='latex' /></p>
<p>is fundamental to electrostatics.</p>
<p>Briefly speaking, <a href="http://en.wikipedia.org/wiki/Electrostatics">electrostatics</a> is the study of how the electric potential <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' /> depends on the charge density <img src='https://s0.wp.com/latex.php?latex=%5Crho&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;rho' title='&#92;rho' class='latex' />.  The theory of electrical circuits made of resistors can be seen as a special case, at least when the current isn&#8217;t changing with time.</p>
<p>I&#8217;ll say a lot more about this&#8230; but not today!  If you want to learn more, this is a great place to start:</p>
<p>&bull; P. G. Doyle and J. L. Snell, <i><a href="http://www.math.dartmouth.edu/~doyle/">Random Walks and Electrical Circuits</a></i>, Mathematical Association of America, Washington DC, 1984. </p>
<p>This free online book explains, in a really fun informal way, how random walks on graphs, are related to electrical circuits made of resistors.  To dig deeper into the continuum case, try:</p>
<p>&bull; M. Fukushima, <i>Dirichlet Forms and Markov Processes</i>, North-Holland, Amsterdam, 1980.</p>
]]></html><thumbnail_url><![CDATA[https://i1.wp.com/math.ucr.edu/home/baez/networks/electronics_circuit_diagram_10W_amplifier_with_bass_boost.gif?fit=440%2C330]]></thumbnail_url><thumbnail_height><![CDATA[330]]></thumbnail_height><thumbnail_width><![CDATA[301]]></thumbnail_width></oembed>