<?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;27)]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>This quarter my graduate seminar at UCR will be about network theory.  I have a few students starting work on this, so it seems like a good chance to think harder about the foundations of the subject.  I&#8217;ve decided that <i>bicategories of spans</i> play a basic role, so I want to talk about those.</p>
<p>If you haven&#8217;t read the series up to now, don&#8217;t worry!  Nothing I do for a while will rely on that earlier stuff.  I want a fresh start.  But just for a minute, I want to talk about the big picture: how the new stuff will relate to the old stuff.</p>
<p>So far this series has been talking about three closely related kinds of networks:</p>
<p>&bull; <a href="http://en.wikipedia.org/wiki/Markov_process">Markov processes</a><br />
&bull; <a href="http://math.ucr.edu/home/baez/networks/networks_2.html">stochastic Petri nets</a><br />
&bull; <a href="http://math.ucr.edu/home/baez/networks/networks_17.html">stochastic reaction networks</a></p>
<p>but there are many other kinds of networks, and I want to bring some more into play:</p>
<p>&bull; <a href="http://en.wikipedia.org/wiki/Circuit_diagram">circuit diagrams</a><br />
&bull; <a href="http://en.wikipedia.org/wiki/Bond_graph">bond graphs</a><br />
&bull; <a href="http://en.wikipedia.org/wiki/Signal-flow_graph">signal-flow graphs</a></p>
<p>These come from the world of control theory and engineering&#8212;especially electrical engineering, but also mechanical, hydraulic and other kinds of engineering.</p>
<p>My goal is not to tour different formalisms, but to integrate them into a single framework, so we can easily take ideas and theorems from one discipline and apply them to another.</p>
<p>For example, in <a href="http://math.ucr.edu/home/baez/networks/networks_16.html">Part 16</a> we saw that a special class of Markov processes can also be seen as a special class of circuit diagrams: namely, electrical circuits made of resistors.   Also, in <a href="http://math.ucr.edu/home/baez/networks/networks_17.html">Part 17</a> we saw that stochastic Petri nets and stochastic reaction networks are just two different ways of talking about the same thing.  This allows us to take results from chemistry&#8212;where they like stochastic reaction networks, which they call <a href="http://en.wikipedia.org/wiki/Chemical_reaction_network_theory">&#8216;chemical reaction networks&#8217;</a>&#8212;and apply them to epidemiology, where they like stochastic Petri nets, which they call <a>&#8216;compartmental models&#8217;</a>.</p>
<p>As you can see, fighting through the thicket of terminology is half the battle here!  The problem is that people in different applied subjects keep reinventing the same mathematics, using terminologies specific to their own interests&#8230; making it harder to see how <i>generally applicable</i> their work actually is.  But we can&#8217;t blame them for doing this.  It&#8217;s the job of mathematicians to step in, learn all this stuff, and extract the general ideas.</p>
<p>We can see a similar thing happening when writing was invented in ancient Mesopotamia, around 3000 BC.  Different trades invented their own numbering systems!  A base-60 system, the <b>S system</b>, was used to count most discrete objects, such as sheep or people. But for ‘rations’ such as cheese or fish, they used a base 120 system, the <b>B system</b>. Another system, the <b>ŠE system</b>, was used to measure quantities of grain. There were about a dozen such systems!  Only later did they get standardized.</p>
<h3> Circuit diagrams </h3>
<p>But enough chit-chat; let&#8217;s get to work.   I want to talk about circuit diagrams&#8212;diagrams of electrical circuits.  They can get really complicated:</p>
<div align="center"><a href="http://www.redcircuits.com/Page61.htm#gsc.tab=0"><img width="450" src="https://i1.wp.com/math.ucr.edu/home/baez/networks/electronics_circuit_diagram_10W_amplifier_with_bass_boost.gif" /></a></div>
<p>This is a 10-watt audio amplifier with bass boost.   It looks quite intimidating.  But I&#8217;ll start with a simple class of circuit diagrams, made of just a few kinds of parts:</p>
<p>&bull; resistors,<br />
&bull; inductors,<br />
&bull; capacitors,<br />
&bull; voltage sources</p>
<p>and maybe some others later on.  I&#8217;ll explain how you can translate any such diagram into a system of differential equations that describes how the voltages and currents along the wires change with time.</p>
<p>This is something you&#8217;d learn in a basic course on electrical engineering, at least back in the old days before analogue circuits had been largely replaced by digital ones.   But my goal is different.  I&#8217;m not mainly interested in electrical circuits per se: to me the important thing is how circuit diagrams provide a pictorial way of reasoning about differential equations&#8230; and how we can use the differential equations to describe <i>many</i> kinds of systems, not just electrical circuits.</p>
<p>So, I won&#8217;t spend much time explaining why electrical circuits do what they do&#8212;see the links for that.  I&#8217;ll focus on the math of circuit diagrams, and how they apply to <i>many</i> different subjects, not just electrical circuits.</p>
<p>Let&#8217;s start with an example:</p>
<div align="center"><a href="http://en.wikipedia.org/wiki/RLC_circuit#Series_RLC_circuit"><img src="https://i0.wp.com/math.ucr.edu/home/baez/networks/circuit_RLC_series.png" /></a></div>
<p>This describes a current flowing around a loop of wire with 4 <a href="http://en.wikipedia.org/wiki/Electrical_element"><b>elements</b></a> on it: a resistor, an inductor, a capacitor, and a voltage source&#8212;for example, a battery.  Each of these elements is designated by a cute symbol, and each has a real number associated to it:</p>
<p>&bull; This is a <a href="http://en.wikipedia.org/wiki/Resistor"><b>resistor</b></a>:</p>
<div align="center">
<img src="https://i1.wp.com/math.ucr.edu/home/baez/networks/electronics_resistor_symbol.png" />
</div>
<p>and it comes with a number <img src='https://s0.wp.com/latex.php?latex=R%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='R,' title='R,' class='latex' /> called its <a href="http://en.wikipedia.org/wiki/Electrical_resistance"><b>resistance</b></a>.</p>
<p>&bull; This is an <a href="http://en.wikipedia.org/wiki/Inductor"><b>inductor</b></a>:</p>
<div align="center">
<img src="https://i2.wp.com/math.ucr.edu/home/baez/networks/electronics_inductor_symbol.png" />
</div>
<p>and it comes with a number <img src='https://s0.wp.com/latex.php?latex=L%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='L,' title='L,' class='latex' /> called its <a href="http://en.wikipedia.org/wiki/Inductance"><b>inductance</b></a>.</p>
<p>&bull; This is a <a href="http://en.wikipedia.org/wiki/Capacitor"><b>capacitor</b></a>:</p>
<div align="center">
<img src="https://i2.wp.com/math.ucr.edu/home/baez/networks/electronics_capacitor_symbol.png" />
</div>
<p>and it comes with a number <img src='https://s0.wp.com/latex.php?latex=C%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='C,' title='C,' class='latex' /> called its <a href="http://en.wikipedia.org/wiki/Capacitance"><b>capacitance</b></a>.</p>
<p>&bull; This is a <a href="http://en.wikipedia.org/wiki/Voltage_source"><b>voltage source</b></a>:</p>
<div align="center"><img src="https://i2.wp.com/math.ucr.edu/home/baez/networks/electronics_voltage_source_symbol.jpg" />
</div>
<p>and it comes with a number <img src='https://s0.wp.com/latex.php?latex=V%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V,' title='V,' class='latex' /> called its <a href="http://en.wikipedia.org/wiki/Voltage"><b>voltage</b></a>.</p>
<p>You may wonder why inductance got called <img src='https://s0.wp.com/latex.php?latex=L&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='L' title='L' class='latex' /> instead of <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' /> Well, it&#8217;s probably because <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' /> stands for &#8216;current&#8217;.  And then you&#8217;ll ask why current is called <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' /> instead of <img src='https://s0.wp.com/latex.php?latex=C.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='C.' title='C.' class='latex' />  I don&#8217;t know: maybe because <img src='https://s0.wp.com/latex.php?latex=C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='C' title='C' class='latex' /> stands for &#8216;capacitance&#8217;.  If every word started with its own unique letter, we wouldn&#8217;t have these problems.  But then we wouldn&#8217;t need words.</p>
<p>Here&#8217;s another example:</p>
<div align="center"><a href="http://en.wikipedia.org/wiki/RLC_circuit#Series_RLC_circuit"><img src="https://i1.wp.com/math.ucr.edu/home/baez/networks/circuit_RL_series_C_parallel.jpg" /></a></div>
<p>This example has two new features.  First, it has places where wires meet, drawn as black dots.  These dots are often called <b>nodes</b>, or sometimes <b>vertices</b>.  Since &#8216;vertex&#8217; starts with V and so does &#8216;voltage&#8217;, let&#8217;s call the dots &#8216;nodes&#8217;.  Roughly speaking, a graph is a thing with nodes and edges, like this:</p>
<div align="center"><a href="http://en.wikipedia.org/wiki/Graph_theory"><img width="300" src="https://i0.wp.com/math.ucr.edu/home/baez/networks/graph.png" /></a></div>
<p>This suggests that in our circuit, the wires with elements on them should be seen as edges of a graph.  Or perhaps just the wires should be seen as edges, and the elements should be seen as nodes!  This is an example of a &#8216;design decision&#8217; we have to make when formalizing the theory of circuit diagrams.  There are also various different precise definitions of &#8216;graph&#8217;, and we need to try to choose the best one.</p>
<p>A second new feature of this example is that it has some white dots called <b>terminals</b>, where wires end.   Mathematically these terminals are also nodes in our graph, but they play a special role: they are places where we are allowed to connect this circuit to another circuit.  You&#8217;ll notice this circuit doesn&#8217;t have a voltage source.  So, it&#8217;s like piece of electrical equipment without its own battery.  We need to <i>plug it in</i> for it to do anything interesting!</p>
<p>This is very important.  Big complicated electrical circuits are often made by hooking together smaller ones.  The pieces are best thought of as <a href="http://en.wikipedia.org/wiki/Open_system_%28systems_theory%29">&#8216;open systems&#8217;</a>: that is, physical systems that interact with the outside world.  Traditionally, a lot of physics focuses on <a href="http://en.wikipedia.org/wiki/Closed_system">&#8216;closed systems&#8217;</a>, which don&#8217;t interact with the outside the world&#8212;the part of the world we aren&#8217;t modeling.  But network theory is all about how we can connect open systems together to form larger open systems (or closed systems).  And this is one place where category shows up.  As we&#8217;ll see, we can think of an open system as a &#8216;morphism&#8217; going from some inputs to some outputs, and we can &#8216;compose&#8217; morphisms to get new morphisms by hooking them together.</p>
<h3> Differential equations from circuit diagrams </h3>
<p>Let me sketch how to get a bunch of ordinary differential equations from a circuit diagram.   These equations will say what the circuit does.</p>
<p>We start with a graph having some set <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' /> of <b>nodes</b> and some set <img src='https://s0.wp.com/latex.php?latex=E&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='E' title='E' class='latex' /> of <b>edges</b>.   To say how much current is flowing along each edge it will be helpful to give each edge a direction, like this:</p>
<div align="center"><a href="http://en.wikipedia.org/wiki/Graph_theory"><img width="300" src="https://i2.wp.com/math.ucr.edu/home/baez/networks/graph_directed.png" /></a></div>
<p>So, define a <b>graph</b> to consist of two functions</p>
<p><img src='https://s0.wp.com/latex.php?latex=s%2Ct+%3A+E+%5Cto+N&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='s,t : E &#92;to N' title='s,t : E &#92;to N' class='latex' /></p>
<p>Then each edge <img src='https://s0.wp.com/latex.php?latex=e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e' title='e' class='latex' /> will have some node <img src='https://s0.wp.com/latex.php?latex=s%28e%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='s(e)' title='s(e)' class='latex' /> as its <b>source</b>, or starting-point, and some node <img src='https://s0.wp.com/latex.php?latex=t%28e%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='t(e)' title='t(e)' class='latex' /> as its <b>target</b>, or endpoint:</p>
<div align="center"><a href="http://en.wikipedia.org/wiki/Graph_theory"><img width="300" src="https://i1.wp.com/math.ucr.edu/home/baez/networks/graph_directed_with_labels.png" /></a></div>
<p>(This kind of graph is often called a <b><a href="http://en.wikipedia.org/wiki/Multigraph#Directed_multigraph_.28edges_with_own_identity.29">directed multigraph</a></b> or <b><a href="http://en.wikipedia.org/wiki/Quiver_%28mathematics%29">quiver</a></b>, to distinguish it from other kinds, but I&#8217;ll just say &#8216;graph&#8217;.)</p>
<p>Next, each edge is labelled by one of four <b>elements</b>: resistor, capacitor, inductor or voltage source.  It&#8217;s also labelled by a real number, which we call the resistance, capacitance, inductance or voltage of that element.  We will make this part prettier later on, so we can easily introduce more kinds of elements without any trouble.</p>
<p>Finally, we specify a subset <img src='https://s0.wp.com/latex.php?latex=T+%5Csubseteq+N&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='T &#92;subseteq N' title='T &#92;subseteq N' class='latex' /> and call these nodes <b>terminals</b>.</p>
<p>Our goal now is to write down some ordinary differential equations that say how a bunch of variables change with time.  These variables come in two kinds:</p>
<p>&bull; Each edge <img src='https://s0.wp.com/latex.php?latex=e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e' title='e' class='latex' /> has a <a href="http://en.wikipedia.org/wiki/Electric_current"><b>current</b></a> running along it, which is a function of time denoted <img src='https://s0.wp.com/latex.php?latex=I_e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I_e' title='I_e' class='latex' />.  So, for each <img src='https://s0.wp.com/latex.php?latex=e+%5Cin+E&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e &#92;in E' title='e &#92;in E' class='latex' /> we have a function</p>
<p><img src='https://s0.wp.com/latex.php?latex=I_e+%3A+%5Cmathbb%7BR%7D+%5Cto+%5Cmathbb%7BR%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I_e : &#92;mathbb{R} &#92;to &#92;mathbb{R} ' title='I_e : &#92;mathbb{R} &#92;to &#92;mathbb{R} ' class='latex' /></p>
<p>&bull; Each edge <img src='https://s0.wp.com/latex.php?latex=e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e' title='e' class='latex' /> also has a <a href="http://en.wikipedia.org/wiki/Voltage"><b>voltage</b></a> across it, which is a function of time denoted <img src='https://s0.wp.com/latex.php?latex=V_e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_e' title='V_e' class='latex' />.  So, for each <img src='https://s0.wp.com/latex.php?latex=e+%5Cin+E&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e &#92;in E' title='e &#92;in E' class='latex' /> we have a function</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_e+%3A+%5Cmathbb%7BR%7D+%5Cto+%5Cmathbb%7BR%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_e : &#92;mathbb{R} &#92;to &#92;mathbb{R} ' title='V_e : &#92;mathbb{R} &#92;to &#92;mathbb{R} ' class='latex' /></p>
<p>We now write down a bunch of equations obeyed by these currents and voltages.  First there are some equations called <b><a href="http://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws">Kirchhoff&#8217;s laws</a></b>:</p>
<p>&bull; <a href="http://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws#Kirchhoff.27s_current_law_.28KCL.29"><b>Kirchhoff&#8217;s current law</b></a> says that for each node that is not a terminal, the total current flowing into that node equals the total current flowing out.  In other words:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Csum_%7Be%3A+t%28e%29+%3D+n%7D+I_e+%3D+%5Csum_%7Be%3A+s%28e%29+%3D+n%7D+I_e+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;sum_{e: t(e) = n} I_e = &#92;sum_{e: s(e) = n} I_e }' title='&#92;displaystyle{ &#92;sum_{e: t(e) = n} I_e = &#92;sum_{e: s(e) = n} I_e }' class='latex' /></p>
<p>for each node <img src='https://s0.wp.com/latex.php?latex=n+%5Cin+N+-+T.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n &#92;in N - T.' title='n &#92;in N - T.' class='latex' />  We don&#8217;t impose Kirchhoff&#8217;s current law at terminals, because we want to allow current to flow in or out there!</p>
<p>&bull; <a href="http://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws#Kirchhoff.27s_voltage_law_.28KVL.29"><b>Kirchhoff&#8217;s voltage law</b></a> says that we can choose for each node a <a href="http://en.wikipedia.org/wiki/Electric_potential"><b>potential</b></a> <img src='https://s0.wp.com/latex.php?latex=%5Cphi_n%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;phi_n,' title='&#92;phi_n,' class='latex' /> which is a function of time:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cphi_n+%3A+%5Cmathbb%7BR%7D+%5Cto+%5Cmathbb%7BR%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;phi_n : &#92;mathbb{R} &#92;to &#92;mathbb{R} ' title='&#92;phi_n : &#92;mathbb{R} &#92;to &#92;mathbb{R} ' class='latex' /></p>
<p>such that</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_e+%3D+%5Cphi_%7Bs%28e%29%7D+-+%5Cphi_%7Bt%28e%29%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_e = &#92;phi_{s(e)} - &#92;phi_{t(e)}' title='V_e = &#92;phi_{s(e)} - &#92;phi_{t(e)}' class='latex' /></p>
<p>for each <img src='https://s0.wp.com/latex.php?latex=e+%5Cin+E.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e &#92;in E.' title='e &#92;in E.' class='latex' />  In other words, the voltage across each edge is the difference of potentials at the two ends of this edge.  This is a slightly nonstandard way to state Kirchhoff&#8217;s voltage law, but it&#8217;s equivalent to the usual one.</p>
<p>In addition to Kirchhoff&#8217;s laws, there&#8217;s an equation for each edge, relating the current and voltage on that edge.  The details of this equation depends on the element labelling that edge, so we consider the four cases in turn:</p>
<p>&bull; If our edge <img src='https://s0.wp.com/latex.php?latex=e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e' title='e' class='latex' /> is labelled by a resistor of 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' />:</p>
<div align="center">
<img src="https://i1.wp.com/math.ucr.edu/home/baez/networks/electronics_resistor_symbol.png" />
</div>
<p>we write the equation</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_e+%3D+R+I_e+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_e = R I_e ' title='V_e = R I_e ' class='latex' /></p>
<p>This is called <a href="http://en.wikipedia.org/wiki/Ohm%27s_law"><b>Ohm&#8217;s law</b></a>.</p>
<p>&bull; If our edge <img src='https://s0.wp.com/latex.php?latex=e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e' title='e' class='latex' /> is labelled by an inductor of inductance <img src='https://s0.wp.com/latex.php?latex=L&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='L' title='L' class='latex' />:</p>
<div align="center">
<img src="https://i2.wp.com/math.ucr.edu/home/baez/networks/electronics_inductor_symbol.png" />
</div>
<p>we write the equation</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+V_e+%3D+L+%5Cfrac%7Bd+I_e%7D%7Bd+t%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ V_e = L &#92;frac{d I_e}{d t} } ' title='&#92;displaystyle{ V_e = L &#92;frac{d I_e}{d t} } ' class='latex' /></p>
<p>I don&#8217;t know a name for this equation, but you can read about it <a href="http://en.wikipedia.org/wiki/Inductor#In_electric_circuits">here</a>.</p>
<p>&bull; If our edge <img src='https://s0.wp.com/latex.php?latex=e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e' title='e' class='latex' /> is labelled by a capacitor of capacitance <img src='https://s0.wp.com/latex.php?latex=C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='C' title='C' class='latex' />:</p>
<div align="center">
<img src="https://i2.wp.com/math.ucr.edu/home/baez/networks/electronics_capacitor_symbol.png" />
</div>
<p>we write the equation</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+I_e+%3D+C+%5Cfrac%7Bd+V_e%7D%7Bd+t%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ I_e = C &#92;frac{d V_e}{d t} } ' title='&#92;displaystyle{ I_e = C &#92;frac{d V_e}{d t} } ' class='latex' /></p>
<p>I don&#8217;t know a name for this equation, but you can read about it <a href="http://en.wikipedia.org/wiki/Capacitor#Current-voltage_relation">here</a>.</p>
<p>&bull; If our edge <img src='https://s0.wp.com/latex.php?latex=e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='e' title='e' class='latex' /> is labelled by a voltage source of voltage <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' />:</p>
<div align="center"><img src="https://i2.wp.com/math.ucr.edu/home/baez/networks/electronics_voltage_source_symbol.jpg" />
</div>
<p>we write the equation</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_e+%3D+V&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_e = V' title='V_e = V' class='latex' /></p>
<p>This explains the term &#8216;voltage source&#8217;.</p>
<h3> Puzzles </h3>
<p>Next time we&#8217;ll look at some examples and see how we can start polishing up this formalism into something more pretty.  But you can get to work now:</p>
<p><b>Puzzle 1.</b> Starting from the rules above, write down and simplify the equations for this circuit:</p>
<div align="center"><a href="http://en.wikipedia.org/wiki/RLC_circuit#Series_RLC_circuit"><img src="https://i1.wp.com/math.ucr.edu/home/baez/networks/circuit_RLC_series_with_nodes.png" /></a></div>
<p><b>Puzzle 2.</b> Do the same for this circuit:</p>
<div align="center"><a href="http://en.wikipedia.org/wiki/RLC_circuit#Series_RLC_circuit"><img src="https://i0.wp.com/math.ucr.edu/home/baez/networks/circuit_RL_series_C_parallel_with_nodes.png" /></a></div>
<p><b>Puzzle 3.</b>  If we added a fifth kind of element, our rules for getting equations from circuit diagrams would have more symmetry between voltages and currents.  What is this extra element?</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>