<?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;28)]]></title><type><![CDATA[link]]></type><html><![CDATA[<p><a href="https://johncarlosbaez.wordpress.com/2013/04/03/network-theory-part-27/">Last time</a> I left you with some puzzles.  One was to use the laws of electrical circuits to work out what this one does:</p>
<div align="center">
<img src="https://i1.wp.com/math.ucr.edu/home/baez/networks/circuit_RLC_series_with_nodes.png" /></div>
<p>If we do this puzzle, and keep our eyes open, we&#8217;ll see an analogy between electrical circuits and classical mechanics!  And this is the first of a <i>huge</i> set of analogies.  The same math shows up in many different subjects, whenever we study complex systems made of interacting parts.  So, it should become part of any general theory of networks.</p>
<p>This simple circuit is very famous: it&#8217;s called a <a href="http://en.wikipedia.org/wiki/RLC_circuit#Series_RLC_circuit">series RLC circuit</a>, because it has a resistor of resistance <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' /> an inductor of inductance <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' /> and a capacitor of capacitance <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' /> all hooked up &#8216;in series&#8217;, meaning one after another.  But understand this circuit, it&#8217;s good to start with an even simpler one, where we leave out the voltage source:</p>
<div align="center">
<img src="https://i0.wp.com/math.ucr.edu/home/baez/networks/circuit_open_RLC_series.png" /></div>
<p>This has three edges, so reading from top to bottom there are 3 voltages <img src='https://s0.wp.com/latex.php?latex=V_1%2C+V_2%2C+V_3%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_1, V_2, V_3,' title='V_1, V_2, V_3,' class='latex' /> and 3 currents <img src='https://s0.wp.com/latex.php?latex=I_1%2C+I_2%2C+I_3%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I_1, I_2, I_3,' title='I_1, I_2, I_3,' class='latex' /> one for each edge.  The white and black dots are called &#8216;nodes&#8217;, and the white ones are called &#8216;terminals&#8217;: current can flow in or out of those.</p>
<p>The voltages and currents obey a bunch of equations:</p>
<p>&bull; Kirchhoff&#8217;s current law says the current flowing into each node that&#8217;s not a terminal equals the current flowing out:</p>
<p><img src='https://s0.wp.com/latex.php?latex=I_1+%3D+I_2+%3D+I_3+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I_1 = I_2 = I_3 ' title='I_1 = I_2 = I_3 ' class='latex' /></p>
<p>&bull; Kirchhoff&#8217;s voltage law says there are potentials <img src='https://s0.wp.com/latex.php?latex=%5Cphi_0%2C+%5Cphi_1%2C+%5Cphi_2%2C+%5Cphi_3&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;phi_0, &#92;phi_1, &#92;phi_2, &#92;phi_3' title='&#92;phi_0, &#92;phi_1, &#92;phi_2, &#92;phi_3' class='latex' />, one for each node, such that:</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_1+%3D+%5Cphi_0+-+%5Cphi_1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_1 = &#92;phi_0 - &#92;phi_1' title='V_1 = &#92;phi_0 - &#92;phi_1' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=V_2+%3D+%5Cphi_1+-+%5Cphi_2&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_2 = &#92;phi_1 - &#92;phi_2' title='V_2 = &#92;phi_1 - &#92;phi_2' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=V_3+%3D+%5Cphi_2+-+%5Cphi_3&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_3 = &#92;phi_2 - &#92;phi_3' title='V_3 = &#92;phi_2 - &#92;phi_3' class='latex' /></p>
<p>In this particular problem, Kirchhoff&#8217;s voltage law doesn&#8217;t say much, since we can <i>always</i> find potentials obeying this, given the voltages.   But in other problems it can be important.  And even here it suggests that the sum <img src='https://s0.wp.com/latex.php?latex=V_1+%2B+V_2+%2B+V_3&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_1 + V_2 + V_3' title='V_1 + V_2 + V_3' class='latex' /> will be important; this is the &#8216;total voltage across the circuit&#8217;.</p>
<p>Next, we get one equation for each circuit element:</p>
<p>&bull; The law for a resistor says:</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_1+%3D+R+I_1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_1 = R I_1' title='V_1 = R I_1' class='latex' /></p>
<p>The law for a inductor says:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+V_2+%3D+L+%5Cfrac%7Bd+I_2%7D%7Bd+t%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ V_2 = L &#92;frac{d I_2}{d t} } ' title='&#92;displaystyle{ V_2 = L &#92;frac{d I_2}{d t} } ' class='latex' /></p>
<p>The law for a capacitor says:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+I_3+%3D+C+%5Cfrac%7Bd+V_3%7D%7Bd+t%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ I_3 = C &#92;frac{d V_3}{d t} } ' title='&#92;displaystyle{ I_3 = C &#92;frac{d V_3}{d t} } ' class='latex' /></p>
<p>These are all our equations.  What should we do with them?  Since <img src='https://s0.wp.com/latex.php?latex=I_1+%3D+I_2+%3D+I_3%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I_1 = I_2 = I_3,' title='I_1 = I_2 = I_3,' class='latex' /> it makes sense to call all these currents simply <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' /> and solve for each voltage in terms of this.  Here&#8217;s what we get:</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_1+%3D+R+I+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_1 = R I ' title='V_1 = R I ' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+V_2+%3D+L+%5Cfrac%7Bd+I%7D%7Bd+t%7D+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ V_2 = L &#92;frac{d I}{d t} }' title='&#92;displaystyle{ V_2 = L &#92;frac{d I}{d t} }' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%7BV_3+%3D+C%5E%7B-1%7D+%5Cint+I+%5C%2C+dt+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle {V_3 = C^{-1} &#92;int I &#92;, dt }' title='&#92;displaystyle {V_3 = C^{-1} &#92;int I &#92;, dt }' class='latex' /></p>
<p>So, if we know the current flowing through the circuit we can work out the voltage across each circuit element!  </p>
<p>Well, not quite: in the case of the capacitor we only know it up to a constant, since there&#8217;s a constant of integration.  This may seem like a minor objection, but it&#8217;s worth taking seriously.  The point is that the <b>charge</b> on the capacitor&#8217;s plate is proportional to the voltage across the capacitor:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7BV_3+%3D+C%5E%7B-1%7D+Q+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{V_3 = C^{-1} Q }' title='&#92;displaystyle{V_3 = C^{-1} Q }' class='latex' /></p>
<p>When electrons move on or off the plate, this charge changes, and we get a current:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7BI+%3D+%5Cfrac%7Bd+Q%7D%7Bd+t%7D+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{I = &#92;frac{d Q}{d t} }' title='&#92;displaystyle{I = &#92;frac{d Q}{d t} }' class='latex' /></p>
<p>So, we can work out the time derivative of <img src='https://s0.wp.com/latex.php?latex=V_3&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_3' title='V_3' class='latex' /> from the current <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' />, but to work out <img src='https://s0.wp.com/latex.php?latex=V_3&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_3' title='V_3' class='latex' /> itself we need the charge <img src='https://s0.wp.com/latex.php?latex=Q.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q.' title='Q.' class='latex' /></p>
<p>Treat these as definitions if you like, but they&#8217;re physical facts too!  And they let us rewrite our trio of equations:</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_1+%3D+R+I+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_1 = R I ' title='V_1 = R I ' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+V_2+%3D+L+%5Cfrac%7Bd+I%7D%7Bd+t%7D+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ V_2 = L &#92;frac{d I}{d t} }' title='&#92;displaystyle{ V_2 = L &#92;frac{d I}{d t} }' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7BV_3+%3D+C%5E%7B-1%7D+%5Cint+I+%5C%2C+dt+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{V_3 = C^{-1} &#92;int I &#92;, dt }' title='&#92;displaystyle{V_3 = C^{-1} &#92;int I &#92;, dt }' class='latex' /></p>
<p>in terms of the charge, as follows:</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_1+%3D+R+%5Cdot%7BQ%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_1 = R &#92;dot{Q} ' title='V_1 = R &#92;dot{Q} ' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=V_2+%3D+L+%5Cddot%7BQ%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_2 = L &#92;ddot{Q}' title='V_2 = L &#92;ddot{Q}' class='latex' /></p>
<p><img src='https://s0.wp.com/latex.php?latex=V_3+%3D+C%5E%7B-1%7D+Q+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_3 = C^{-1} Q ' title='V_3 = C^{-1} Q ' class='latex' /></p>
<p>Then if we add these three equations, we get</p>
<p><img src='https://s0.wp.com/latex.php?latex=V_1+%2B+V_2+%2B+V_3+%3D+L+%5Cddot+Q+%2B+R+%5Cdot+Q+%2B+C%5E%7B-1%7D+Q+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V_1 + V_2 + V_3 = L &#92;ddot Q + R &#92;dot Q + C^{-1} Q ' title='V_1 + V_2 + V_3 = L &#92;ddot Q + R &#92;dot Q + C^{-1} Q ' class='latex' /></p>
<p>So, if we define the total voltage by</p>
<p><img src='https://s0.wp.com/latex.php?latex=V+%3D+V_1+%2B+V_2+%2B+V_3+%3D+%5Cphi_0+-+%5Cphi_3&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V = V_1 + V_2 + V_3 = &#92;phi_0 - &#92;phi_3' title='V = V_1 + V_2 + V_3 = &#92;phi_0 - &#92;phi_3' class='latex' /></p>
<p>we get</p>
<p><img src='https://s0.wp.com/latex.php?latex=L+%5Cddot+Q+%2B+R+%5Cdot+Q+%2B+C%5E%7B-1%7D+Q+%3D+V+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' title='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' class='latex' /></p>
<p>And this is great!  </p>
<p>Why?  Because this equation is famous!  If you&#8217;re a mathematician, you know it as the most general second-order linear ordinary differential equation with constant coefficients.  But if you&#8217;re a physicist, you know it as the <b><a href="http://en.wikipedia.org/wiki/Harmonic_oscillator#Driven_harmonic_oscillators">damped driven oscillator</a></b>.  </p>
<h3> The analogy between electronics and mechanics </h3>
<p>Here&#8217;s an example of a damped driven oscillator: </p>
<div align="center">
<img src="https://i1.wp.com/math.ucr.edu/home/baez/networks/damped_spring.gif" /></div>
<p>We&#8217;ve got an object hanging from a spring with some friction, and an external force pulling it down.  Here the external force is gravity, so it&#8217;s constant in time, but we can imagine fancier situations where it&#8217;s not.  So in a general damped driven oscillator:</p>
<p>&bull; the object has mass <img src='https://s0.wp.com/latex.php?latex=m&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='m' title='m' class='latex' /> (and the spring is massless), </p>
<p>&bull; the spring constant is <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' /> (this says how strong the spring force is),</p>
<p>&bull; the damping coefficient is <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' /> (this says how much friction there is),</p>
<p>&bull; the external force is <img src='https://s0.wp.com/latex.php?latex=F&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='F' title='F' class='latex' /> (in general a function of time).</p>
<p>Then Newton&#8217;s law says</p>
<p><img src='https://s0.wp.com/latex.php?latex=m+%5Cddot%7Bq%7D+%2B+r+%5Cdot%7Bq%7D+%2B+k+q+%3D+F&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='m &#92;ddot{q} + r &#92;dot{q} + k q = F' title='m &#92;ddot{q} + r &#92;dot{q} + k q = F' class='latex' /></p>
<p>And apart from the use of different letters, this is exactly like the equation for our circuit!  Remember, that was</p>
<p><img src='https://s0.wp.com/latex.php?latex=L+%5Cddot+Q+%2B+R+%5Cdot+Q+%2B+C%5E%7B-1%7D+Q+%3D+V+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' title='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' class='latex' /></p>
<p>So, we get a wonderful analogy relating electronics and mechanics!  It goes like this:</p>
<table border="1">
<tr>
<td><b>Electronics</b></td>
<td><b>Mechanics</b></td>
</tr>
<tr>
<td>charge: <img src='https://s0.wp.com/latex.php?latex=Q&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q' title='Q' class='latex' /></td>
<td>position: <img src='https://s0.wp.com/latex.php?latex=q&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='q' title='q' class='latex' /></td>
</tr>
<tr>
<td>current: <img src='https://s0.wp.com/latex.php?latex=I+%3D+%5Cdot%7BQ%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I = &#92;dot{Q}' title='I = &#92;dot{Q}' class='latex' /></td>
<td>velocity: <img src='https://s0.wp.com/latex.php?latex=v+%3D+%5Cdot%7Bq%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='v = &#92;dot{q} ' title='v = &#92;dot{q} ' class='latex' /></td>
</tr>
<tr>
<td>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' /></td>
<td>force: <img src='https://s0.wp.com/latex.php?latex=F&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='F' title='F' class='latex' /> </td>
</tr>
<tr>
<td>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' /></td>
<td>mass: <img src='https://s0.wp.com/latex.php?latex=m&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='m' title='m' class='latex' /></td>
</tr>
<tr>
<td>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' /></td>
<td>damping coefficient: <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' /> &nbsp;</td>
</tr>
<tr>
<td>inverse capacitance: <img src='https://s0.wp.com/latex.php?latex=1%2FC&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='1/C' title='1/C' class='latex' /> &nbsp;</td>
<td>spring constant: <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' /></td>
</tr>
</table>
<p>If you understand mechanics, you can use this to get intuition about electronics&#8230; or vice versa.   I&#8217;m more comfortable with mechanics, so when I see this circuit:</p>
<div align="center">
<img src="https://i0.wp.com/math.ucr.edu/home/baez/networks/circuit_open_RLC_series_with_nodes.png" /></div>
<p>I imagine a current of electrons whizzing along, &#8216;forced&#8217; by the voltage across the circuit, getting slowed by the &#8216;friction&#8217; of the resistor, wanting to continue their motion thanks to the inertia or &#8216;mass&#8217; of the inductor, and getting stuck on the plate of the capacitor, where their mutual repulsion pushes back against the flow of current&mdash;just like a <i>spring</i> fights back when you pull on it!  This lets me know how the circuit will behave: I can use my mechanical intuition.</p>
<p>The only mildly annoying thing is that the <i>inverse</i> of the 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' /> is like the spring constant <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' />  But this makes perfect sense.  A capacitor is like a spring: you &#8216;pull&#8217; on it with voltage and it &#8216;stretches&#8217; by building up electric charge on its plate.   If its capacitance is <i>high</i>, it&#8217;s like a easily stretchable spring.  But this means the corresponding spring constant is <i>low</i>.</p>
<p>Besides letting us transfer intuition and techniques, the other great thing about analogies is that they suggest ways of extending themselves.  For example, we&#8217;ve seen that current is the time derivative of charge.  But if we hadn&#8217;t, we could still have guessed it, because current is like velocity, which is the time derivative of something important.</p>
<p>Similarly, force is analogous to voltage.  But force is the time derivative of momentum!  We don&#8217;t have momentum on our chart.  Our chart is also missing the thing whose time derivative is voltage.  This thing is called <b><a href="http://en.wikipedia.org/wiki/Flux_linkage">flux linkage</a></b>, and sometimes denotes <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' />   So we should add this, and momentum, to our chart:</p>
<table border="1">
<tr>
<td><b>Electronics</b></td>
<td><b>Mechanics</b></td>
</tr>
<tr>
<td>charge: <img src='https://s0.wp.com/latex.php?latex=Q&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q' title='Q' class='latex' /></td>
<td>position: <img src='https://s0.wp.com/latex.php?latex=q&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='q' title='q' class='latex' /></td>
</tr>
<tr>
<td>current: <img src='https://s0.wp.com/latex.php?latex=I+%3D+%5Cdot%7BQ%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I = &#92;dot{Q}' title='I = &#92;dot{Q}' class='latex' /></td>
<td>velocity: <img src='https://s0.wp.com/latex.php?latex=v+%3D+%5Cdot%7Bq%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='v = &#92;dot{q} ' title='v = &#92;dot{q} ' class='latex' /></td>
</tr>
<tr>
<td>flux linkage: <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' /></td>
<td>momentum: <img src='https://s0.wp.com/latex.php?latex=p&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='p' title='p' class='latex' /> </td>
</tr>
<tr>
<td>voltage: <img src='https://s0.wp.com/latex.php?latex=V+%3D+%5Cdot%7B%5Clambda%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V = &#92;dot{&#92;lambda}' title='V = &#92;dot{&#92;lambda}' class='latex' /></td>
<td>force: <img src='https://s0.wp.com/latex.php?latex=F+%3D+%5Cdot%7Bp%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='F = &#92;dot{p}' title='F = &#92;dot{p}' class='latex' /> </td>
</tr>
<tr>
<td>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' /></td>
<td>mass: <img src='https://s0.wp.com/latex.php?latex=m&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='m' title='m' class='latex' /></td>
</tr>
<tr>
<td>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' /></td>
<td>damping coefficient: <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' /> &nbsp;</td>
</tr>
<tr>
<td>inverse capacitance: <img src='https://s0.wp.com/latex.php?latex=1%2FC&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='1/C' title='1/C' class='latex' /> &nbsp;</td>
<td>spring constant: <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' /></td>
</tr>
</table>
<h3> Fourier transforms </h3>
<p>But before I get carried away talking about analogies, let&#8217;s try to solve the equation for our circuit:</p>
<p><img src='https://s0.wp.com/latex.php?latex=L+%5Cddot+Q+%2B+R+%5Cdot+Q+%2B+C%5E%7B-1%7D+Q+%3D+V+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' title='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' class='latex' /></p>
<p>This instantly tells us the 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' /> as a function of time if we know the charge <img src='https://s0.wp.com/latex.php?latex=Q&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q' title='Q' class='latex' /> as a function of time.  So, &#8216;solving&#8217; it means figuring out <img src='https://s0.wp.com/latex.php?latex=Q&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q' title='Q' class='latex' /> if we know <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' />  You may not care about <img src='https://s0.wp.com/latex.php?latex=Q&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q' title='Q' class='latex' />&#8212;it&#8217;s the charge of the electrons stuck on the capacitor&#8212;but you should certainly care about the current <img src='https://s0.wp.com/latex.php?latex=I+%3D+%5Cdot%7BQ%7D%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='I = &#92;dot{Q},' title='I = &#92;dot{Q},' class='latex' /> and figuring out <img src='https://s0.wp.com/latex.php?latex=Q&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q' title='Q' class='latex' /> will get you that.   </p>
<p>Besides, we&#8217;ll learn something good from solving this equation.</p>
<p>We could solve it using either the <a href="http://en.wikipedia.org/wiki/Laplace_transform">Laplace transform</a> or the <a href="http://en.wikipedia.org/wiki/Fourier_transform">Fourier transform</a>. They&#8217;re very similar.  For some reason electrical engineers prefer the Laplace transform&mdash;does anyone know why?  But I think the Fourier transform is conceptually preferable, slightly, so I&#8217;ll use that.</p>
<p>The idea is to write any function of time as a linear combination of oscillating functions <img src='https://s0.wp.com/latex.php?latex=%5Cexp%28i%5Comega+t%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;exp(i&#92;omega t)' title='&#92;exp(i&#92;omega t)' class='latex' /> with different frequencies <img src='https://s0.wp.com/latex.php?latex=%5Comega.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;omega.' title='&#92;omega.' class='latex' />  More precisely, we write our function <img src='https://s0.wp.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='f' title='f' class='latex' /> as an integral</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+f%28t%29+%3D+%5Cfrac%7B1%7D%7B%5Csqrt%7B2+%5Cpi%7D%7D+%5Cint_%7B-%5Cinfty%7D%5E%5Cinfty+%5Chat%7Bf%7D%28%5Comega%29+e%5E%7Bi%5Comega+t%7D+%5C%2C+d%5Comega+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ f(t) = &#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty &#92;hat{f}(&#92;omega) e^{i&#92;omega t} &#92;, d&#92;omega } ' title='&#92;displaystyle{ f(t) = &#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty &#92;hat{f}(&#92;omega) e^{i&#92;omega t} &#92;, d&#92;omega } ' class='latex' /></p>
<p>Here the function <img src='https://s0.wp.com/latex.php?latex=%5Chat%7Bf%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{f}' title='&#92;hat{f}' class='latex' /> is called the <a href="http://en.wikipedia.org/wiki/Fourier_transform"><b>Fourier transform</b></a> of <img src='https://s0.wp.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='f' title='f' class='latex' />, and it&#8217;s given by</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Chat%7Bf%7D%28%5Comega%29+%3D+%5Cfrac%7B1%7D%7B%5Csqrt%7B2+%5Cpi%7D%7D+%5Cint_%7B-%5Cinfty%7D%5E%5Cinfty+f%28t%29+e%5E%7B-i%5Comega+t%7D+%5C%2C+dt+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;hat{f}(&#92;omega) = &#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty f(t) e^{-i&#92;omega t} &#92;, dt } ' title='&#92;displaystyle{ &#92;hat{f}(&#92;omega) = &#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty f(t) e^{-i&#92;omega t} &#92;, dt } ' class='latex' /></p>
<p>There is a lot one could say about this, but all I need right now is that differentiating a function has the effect of multiplying its Fourier transform by <img src='https://s0.wp.com/latex.php?latex=i%5Comega.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i&#92;omega.' title='i&#92;omega.' class='latex' />  To see this, we simply take the Fourier transform of <img src='https://s0.wp.com/latex.php?latex=%5Cdot%7Bf%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;dot{f}' title='&#92;dot{f}' class='latex' />:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cbegin%7Barray%7D%7Bccl%7D++%5Chat%7B%5Cdot%7Bf%7D%7D%28%5Comega%29+%26%3D%26+%5Cdisplaystyle%7B++%5Cfrac%7B1%7D%7B%5Csqrt%7B2+%5Cpi%7D%7D+%5Cint_%7B-%5Cinfty%7D%5E%5Cinfty+%5Cfrac%7Bdf%28t%29%7D%7Bdt%7D+%5C%2C+e%5E%7B-i%5Comega+t%7D+%5C%2C+dt+%7D+%5C%5C++%5C%5C++%26%3D%26+%5Cdisplaystyle%7B+-%5Cfrac%7B1%7D%7B%5Csqrt%7B2+%5Cpi%7D%7D+%5Cint_%7B-%5Cinfty%7D%5E%5Cinfty+f%28t%29+%5Cfrac%7Bd%7D%7Bdt%7D+e%5E%7B-i%5Comega+t%7D+%5C%2C+dt+%7D+%5C%5C++%5C%5C++%26%3D%26+%5Cdisplaystyle%7B+i%5Comega+%5C%3B+%5Cfrac%7B1%7D%7B%5Csqrt%7B2+%5Cpi%7D%7D+%5Cint_%7B-%5Cinfty%7D%5E%5Cinfty+f%28t%29+e%5E%7B-i%5Comega+t%7D+%5C%2C+dt+%7D+%5C%5C++%5C%5C++%26%3D%26+i%5Comega+%5Chat%7Bf%7D%28%5Comega%29+%5Cend%7Barray%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;begin{array}{ccl}  &#92;hat{&#92;dot{f}}(&#92;omega) &amp;=&amp; &#92;displaystyle{  &#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty &#92;frac{df(t)}{dt} &#92;, e^{-i&#92;omega t} &#92;, dt } &#92;&#92;  &#92;&#92;  &amp;=&amp; &#92;displaystyle{ -&#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty f(t) &#92;frac{d}{dt} e^{-i&#92;omega t} &#92;, dt } &#92;&#92;  &#92;&#92;  &amp;=&amp; &#92;displaystyle{ i&#92;omega &#92;; &#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty f(t) e^{-i&#92;omega t} &#92;, dt } &#92;&#92;  &#92;&#92;  &amp;=&amp; i&#92;omega &#92;hat{f}(&#92;omega) &#92;end{array}  ' title='&#92;begin{array}{ccl}  &#92;hat{&#92;dot{f}}(&#92;omega) &amp;=&amp; &#92;displaystyle{  &#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty &#92;frac{df(t)}{dt} &#92;, e^{-i&#92;omega t} &#92;, dt } &#92;&#92;  &#92;&#92;  &amp;=&amp; &#92;displaystyle{ -&#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty f(t) &#92;frac{d}{dt} e^{-i&#92;omega t} &#92;, dt } &#92;&#92;  &#92;&#92;  &amp;=&amp; &#92;displaystyle{ i&#92;omega &#92;; &#92;frac{1}{&#92;sqrt{2 &#92;pi}} &#92;int_{-&#92;infty}^&#92;infty f(t) e^{-i&#92;omega t} &#92;, dt } &#92;&#92;  &#92;&#92;  &amp;=&amp; i&#92;omega &#92;hat{f}(&#92;omega) &#92;end{array}  ' class='latex' /></p>
<p>where in the second step we integrate by parts.   So,</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Chat%7B%5Cdot%7Bf%7D%7D%28%5Comega%29+%3D+i%5Comega+%5Chat%7Bf%7D%28%5Comega%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{&#92;dot{f}}(&#92;omega) = i&#92;omega &#92;hat{f}(&#92;omega)' title='&#92;hat{&#92;dot{f}}(&#92;omega) = i&#92;omega &#92;hat{f}(&#92;omega)' class='latex' /></p>
<p>The Fourier transform is linear, too, so we can start with our differential equation:</p>
<p><img src='https://s0.wp.com/latex.php?latex=L+%5Cddot+Q+%2B+R+%5Cdot+Q+%2B+C%5E%7B-1%7D+Q+%3D+V+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' title='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' class='latex' /></p>
<p>and take the Fourier transform of each term, getting</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Cleft%28%28i%5Comega%29%5E2+L+%2B+%28i%5Comega%29+R+%2B+C%5E%7B-1%7D%5Cright%29+%5Chat%7BQ%7D%28%5Comega%29+%3D+%5Chat%7BV%7D%28%5Comega%29+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;left((i&#92;omega)^2 L + (i&#92;omega) R + C^{-1}&#92;right) &#92;hat{Q}(&#92;omega) = &#92;hat{V}(&#92;omega) } ' title='&#92;displaystyle{ &#92;left((i&#92;omega)^2 L + (i&#92;omega) R + C^{-1}&#92;right) &#92;hat{Q}(&#92;omega) = &#92;hat{V}(&#92;omega) } ' class='latex' /></p>
<p>We can now solve for the charge in a completely painless way:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B++%5Chat%7BQ%7D%28%5Comega%29+%3D++%5Cfrac%7B1%7D%7B%28%28i%5Comega%29%5E2+L+%2B+%28i%5Comega%29+R+%2B+C%5E%7B-1%7D%29%7D+%5C%2C+%5Chat%7BV%7D%28%5Comega%29+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{  &#92;hat{Q}(&#92;omega) =  &#92;frac{1}{((i&#92;omega)^2 L + (i&#92;omega) R + C^{-1})} &#92;, &#92;hat{V}(&#92;omega) } ' title='&#92;displaystyle{  &#92;hat{Q}(&#92;omega) =  &#92;frac{1}{((i&#92;omega)^2 L + (i&#92;omega) R + C^{-1})} &#92;, &#92;hat{V}(&#92;omega) } ' class='latex' /></p>
<p>Well, we actually solved for <img src='https://s0.wp.com/latex.php?latex=%5Chat%7BQ%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{Q}' title='&#92;hat{Q}' class='latex' /> in terms of <img src='https://s0.wp.com/latex.php?latex=%5Chat%7BV%7D.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{V}.' title='&#92;hat{V}.' class='latex' />   But if we&#8217;re good at taking Fourier transforms, this is good enough.  And it has a deep inner meaning.</p>
<p>To see its inner meaning, note that the Fourier transform of an oscillating function <img src='https://s0.wp.com/latex.php?latex=%5Cexp%28i+%5Comega_0+t%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;exp(i &#92;omega_0 t)' title='&#92;exp(i &#92;omega_0 t)' class='latex' /> is a delta function at the frequency <img src='https://s0.wp.com/latex.php?latex=%5Comega+%3D+%5Comega_0.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;omega = &#92;omega_0.' title='&#92;omega = &#92;omega_0.' class='latex' />  This says that this oscillating function is purely of frequency <img src='https://s0.wp.com/latex.php?latex=%5Comega_0%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;omega_0,' title='&#92;omega_0,' class='latex' /> like a laser beam of one pure color, or a sound of one pure pitch.  </p>
<p>Actually there&#8217;s a little fudge factor due to how I defined the Fourier transform: if</p>
<p><img src='https://s0.wp.com/latex.php?latex=f%28t%29+%3D+e%5E%7Bi%5Comega_0+t%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='f(t) = e^{i&#92;omega_0 t}' title='f(t) = e^{i&#92;omega_0 t}' class='latex' /></p>
<p>then </p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Chat%7Bf%7D%28%5Comega%29+%3D+%5Csqrt%7B2+%5Cpi%7D+%5C%2C+%5Cdelta%28%5Comega+-+%5Comega_0%29+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;hat{f}(&#92;omega) = &#92;sqrt{2 &#92;pi} &#92;, &#92;delta(&#92;omega - &#92;omega_0) }' title='&#92;displaystyle{ &#92;hat{f}(&#92;omega) = &#92;sqrt{2 &#92;pi} &#92;, &#92;delta(&#92;omega - &#92;omega_0) }' class='latex' /></p>
<p>But it&#8217;s no big deal.  (You can define your Fourier transform so the <img src='https://s0.wp.com/latex.php?latex=2%5Cpi&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='2&#92;pi' title='2&#92;pi' class='latex' /> doesn&#8217;t show up here, but it&#8217;s bound to show up somewhere.)  </p>
<p>Also, you may wonder how the complex numbers got into the game.  What would it mean to say the voltage is <img src='https://s0.wp.com/latex.php?latex=%5Cexp%28i+%5Comega+t%29%3F&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;exp(i &#92;omega t)?' title='&#92;exp(i &#92;omega t)?' class='latex' />  The answer is: don&#8217;t worry, everything in sight is linear, so we can take the real or imaginary part of any equation and get one that makes physical sense.</p>
<p>Anyway, what does our relation</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B++%5Chat%7BQ%7D%28%5Comega%29+%3D++%5Cfrac%7B1%7D%7B%28%28i%5Comega%29%5E2+L+%2B+%28i%5Comega%29+R+%2B+C%5E%7B-1%7D%29%7D+%5Chat%7BV%7D%28%5Comega%29+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{  &#92;hat{Q}(&#92;omega) =  &#92;frac{1}{((i&#92;omega)^2 L + (i&#92;omega) R + C^{-1})} &#92;hat{V}(&#92;omega) } ' title='&#92;displaystyle{  &#92;hat{Q}(&#92;omega) =  &#92;frac{1}{((i&#92;omega)^2 L + (i&#92;omega) R + C^{-1})} &#92;hat{V}(&#92;omega) } ' class='latex' /></p>
<p>mean?  It means that if we put an oscillating voltage of frequency <img src='https://s0.wp.com/latex.php?latex=%5Comega_0&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;omega_0' title='&#92;omega_0' class='latex' /> across our circuit, like this:</p>
<p><img src='https://s0.wp.com/latex.php?latex=V%28t%29+%3D+e%5E%7Bi+%5Comega_0+t%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='V(t) = e^{i &#92;omega_0 t} ' title='V(t) = e^{i &#92;omega_0 t} ' class='latex' /></p>
<p>then we&#8217;ll get an oscillating charge at the same frequency, like this:</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B++Q%28t%29+%3D++%5Cfrac%7B1%7D%7B%28%28i%5Comega_0%29%5E2+L+%2B+%28i%5Comega_0%29+R+%2B+C%5E%7B-1%7D%29%7D++e%5E%7Bi+%5Comega_0+t%7D++%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{  Q(t) =  &#92;frac{1}{((i&#92;omega_0)^2 L + (i&#92;omega_0) R + C^{-1})}  e^{i &#92;omega_0 t}  } ' title='&#92;displaystyle{  Q(t) =  &#92;frac{1}{((i&#92;omega_0)^2 L + (i&#92;omega_0) R + C^{-1})}  e^{i &#92;omega_0 t}  } ' class='latex' /></p>
<p>To see this, just use the fact that the Fourier transform of <img src='https://s0.wp.com/latex.php?latex=%5Cexp%28i+%5Comega_0+t%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;exp(i &#92;omega_0 t)' title='&#92;exp(i &#92;omega_0 t)' class='latex' /> is essentially a delta function at <img src='https://s0.wp.com/latex.php?latex=%5Comega_0%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;omega_0,' title='&#92;omega_0,' class='latex' /> and juggle the equations appropriately!</p>
<p>But the <i>magnitude</i> and <i>phase</i> of this oscillating charge <img src='https://s0.wp.com/latex.php?latex=Q%28t%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q(t)' title='Q(t)' class='latex' /> depends on the function</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Cfrac%7B1%7D%7B%28%28i%5Comega_0%29%5E2+L+%2B+%28i%5Comega_0%29+R+%2B+C%5E%7B-1%7D%29%7D++%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;frac{1}{((i&#92;omega_0)^2 L + (i&#92;omega_0) R + C^{-1})}  } ' title='&#92;displaystyle{ &#92;frac{1}{((i&#92;omega_0)^2 L + (i&#92;omega_0) R + C^{-1})}  } ' class='latex' /></p>
<p>For example, <img src='https://s0.wp.com/latex.php?latex=Q%28t%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q(t)' title='Q(t)' class='latex' /> will be big when <img src='https://s0.wp.com/latex.php?latex=%5Comega_0&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;omega_0' title='&#92;omega_0' class='latex' /> is near a pole of this function!  We can use this to study the <a href="http://en.wikipedia.org/wiki/Resonant_frequency">resonant frequency</a> of our circuit.</p>
<p>The same idea works for many more complicated circuits, and other things too.  The function up there is an example of a <a href="http://en.wikipedia.org/wiki/Transfer_function"><b>transfer function</b></a>: it describes the response of a linear, time-invariant system to an input of a given frequency.  Here the &#8216;input&#8217; is the voltage and the &#8216;response&#8217; is the charge.</p>
<h3> Impedance </h3>
<p>Taking this idea to its logical conclusion, we can see inductors and capacitors as being resistors with a frequency-dependent, complex-valued resistance!  This generalized resistance is called <a href="http://en.wikipedia.org/wiki/Electrical_impedance">&#8216;impedance</a>.  Let&#8217;s see how it works.</p>
<p>Suppose we have an electrical circuit.  Consider any 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' /> of this circuit:</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>then</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>Taking Fourier transforms, we get</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Chat%7BV%7D_e+%3D+R+%5Chat%7BI%7D_e&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{V}_e = R &#92;hat{I}_e' title='&#92;hat{V}_e = R &#92;hat{I}_e' class='latex' /></p>
<p>so nothing interesting here: our resistor acts like 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' /> no matter what the frequency of the voltage and current are!</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>then</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>Taking Fourier transforms, we get</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Chat%7BV%7D_e+%3D+%28i%5Comega+L%29+%5Chat%7BI%7D_e+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{V}_e = (i&#92;omega L) &#92;hat{I}_e ' title='&#92;hat{V}_e = (i&#92;omega L) &#92;hat{I}_e ' class='latex' /></p>
<p>This is interesting: our inductor acts like a resistor of resistance <img src='https://s0.wp.com/latex.php?latex=i+%5Comega+L&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i &#92;omega L' title='i &#92;omega L' class='latex' /> when the frequency of the current and voltage is <img src='https://s0.wp.com/latex.php?latex=%5Comega.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;omega.' title='&#92;omega.' class='latex' />  So, we say the &#8216;impedance&#8217; of the inductor is <img src='https://s0.wp.com/latex.php?latex=i+%5Comega+L.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i &#92;omega L.' title='i &#92;omega L.' class='latex' /></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 have</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>Taking Fourier transforms, we get</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Chat%7BI%7D_e+%3D+%28i%5Comega+C%29+%5Chat%7BV%7D_e+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{I}_e = (i&#92;omega C) &#92;hat{V}_e ' title='&#92;hat{I}_e = (i&#92;omega C) &#92;hat{V}_e ' class='latex' /></p>
<p>or</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Chat%7BV%7D_e+%3D+%5Cfrac%7B1%7D%7Bi+%5Comega+C%7D+%5Chat%7BI_e%7D+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;hat{V}_e = &#92;frac{1}{i &#92;omega C} &#92;hat{I_e} }' title='&#92;displaystyle{ &#92;hat{V}_e = &#92;frac{1}{i &#92;omega C} &#92;hat{I_e} }' class='latex' /></p>
<p>So, our capacitor acts like a resistor of resistance <img src='https://s0.wp.com/latex.php?latex=1%2F%28i+%5Comega+C%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='1/(i &#92;omega C)' title='1/(i &#92;omega C)' class='latex' /> when the frequency of the current and voltage is <img src='https://s0.wp.com/latex.php?latex=%5Comega.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;omega.' title='&#92;omega.' class='latex' />   We say the &#8216;impedance&#8217; of the capacitor is <img src='https://s0.wp.com/latex.php?latex=1%2F%28i+%5Comega+L%29.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='1/(i &#92;omega L).' title='1/(i &#92;omega L).' class='latex' /></p>
<p>It doesn&#8217;t make sense to talk about the impedance of a voltage source or current source, since these circuit elements don&#8217;t give a linear relation between voltage and current.  But whenever an element is linear and its properties don&#8217;t change with time, the Fourier transformed voltage will be some function of frequency times the Fourier transformed current.  And in this case, we call that function the <b>impedance</b> of the element.  The symbol for impedance is <img src='https://s0.wp.com/latex.php?latex=Z%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Z,' title='Z,' class='latex' /> so we have</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Chat%7BV%7D_e%28%5Comega%29+%3D+Z%28%5Comega%29+%5Chat%7BI%7D_e%28%5Comega%29+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{V}_e(&#92;omega) = Z(&#92;omega) &#92;hat{I}_e(&#92;omega) ' title='&#92;hat{V}_e(&#92;omega) = Z(&#92;omega) &#92;hat{I}_e(&#92;omega) ' class='latex' /></p>
<p>or</p>
<p><img src='https://s0.wp.com/latex.php?latex=%5Chat%7BV%7D_e+%3D+Z+%5Chat%7BI%7D_e+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;hat{V}_e = Z &#92;hat{I}_e ' title='&#92;hat{V}_e = Z &#92;hat{I}_e ' class='latex' /></p>
<p>for short.  </p>
<h3> The big picture </h3>
<p>In case you&#8217;re getting lost in the details, here are the big lessons for today:</p>
<p>&bull; There&#8217;s a detailed analogy between electronics and mechanics, which we&#8217;ll later extend to many other systems.</p>
<p>&bull;  The study of linear time-independent elements can be reduced to the study of resistors if we generalize resistance to <i>impedance</i> by letting it be a complex-valued function instead of a real number.  </p>
<p>One thing we&#8217;re doing is preparing for a general study of linear time-independent open systems.  We&#8217;ll use linear algebra, but the field&#8212;the number system in our linear algebra&#8212;will consist of complex-valued functions, rather than real numbers.</p>
<h3> Puzzle </h3>
<p>Let&#8217;s not forget our original problem:</p>
<div align="center">
<img src="https://i1.wp.com/math.ucr.edu/home/baez/networks/circuit_RLC_series_with_nodes.png" /></div>
<p>This is closely related to the problem we just solved.  All the equations we derived still hold!  But if you do the math, or use some intuition, you&#8217;ll see the voltage source ensures that the voltage we&#8217;ve been calling <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 a constant.  So, the current <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' /> flowing around the wire obeys the same equation we got before:</p>
<p><img src='https://s0.wp.com/latex.php?latex=L+%5Cddot+Q+%2B+R+%5Cdot+Q+%2B+C%5E%7B-1%7D+Q+%3D+V+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' title='L &#92;ddot Q + R &#92;dot Q + C^{-1} Q = V ' class='latex' /></p>
<p>where <img src='https://s0.wp.com/latex.php?latex=%5Cdot+Q+%3D+I.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;dot Q = I.' title='&#92;dot Q = I.' class='latex' />  The only difference is that now <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 constant. </p>
<p><b>Puzzle.</b>  Solve this equation for <img src='https://s0.wp.com/latex.php?latex=Q%28t%29.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='Q(t).' title='Q(t).' class='latex' /></p>
<p>There are lots of ways to do this.  You could use a Fourier transform, which would give a satisfying sense of completion to this blog article.  Or, you could do it some other way.</p>
]]></html><thumbnail_url><![CDATA[https://i1.wp.com/math.ucr.edu/home/baez/networks/circuit_RLC_series_with_nodes.png?fit=440%2C330]]></thumbnail_url><thumbnail_height><![CDATA[159]]></thumbnail_height><thumbnail_width><![CDATA[135]]></thumbnail_width></oembed>