Last time I left you with some puzzles. One was to use the laws of electrical circuits to work out what this one does:

If we do this puzzle, and keep our eyes open, we’ll see an analogy between electrical circuits and classical mechanics! And this is the first of a *huge* 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.

This simple circuit is very famous: it’s called a series RLC circuit, because it has a resistor of resistance an inductor of inductance and a capacitor of capacitance all hooked up ‘in series’, meaning one after another. But understand this circuit, it’s good to start with an even simpler one, where we leave out the voltage source:

This has three edges, so reading from top to bottom there are 3 voltages and 3 currents one for each edge. The white and black dots are called ‘nodes’, and the white ones are called ‘terminals': current can flow in or out of those.

The voltages and currents obey a bunch of equations:

• Kirchhoff’s current law says the current flowing into each node that’s not a terminal equals the current flowing out:

• Kirchhoff’s voltage law says there are potentials , one for each node, such that:

In this particular problem, Kirchhoff’s voltage law doesn’t say much, since we can *always* find potentials obeying this, given the voltages. But in other problems it can be important. And even here it suggests that the sum will be important; this is the ‘total voltage across the circuit’.

Next, we get one equation for each circuit element:

• The law for a resistor says:

The law for a inductor says:

The law for a capacitor says:

These are all our equations. What should we do with them? Since it makes sense to call all these currents simply and solve for each voltage in terms of this. Here’s what we get:

So, if we know the current flowing through the circuit we can work out the voltage across each circuit element!

Well, not quite: in the case of the capacitor we only know it up to a constant, since there’s a constant of integration. This may seem like a minor objection, but it’s worth taking seriously. The point is that the **charge** on the capacitor’s plate is proportional to the voltage across the capacitor:

When electrons move on or off the plate, this charge changes, and we get a current:

So, we can work out the time derivative of from the current , but to work out itself we need the charge

Treat these as definitions if you like, but they’re physical facts too! And they let us rewrite our trio of equations:

in terms of the charge, as follows:

Then if we add these three equations, we get

So, if we define the total voltage by

we get

And this is great!

Why? Because this equation is famous! If you’re a mathematician, you know it as the most general second-order linear ordinary differential equation with constant coefficients. But if you’re a physicist, you know it as the **damped driven oscillator**.

### The analogy between electronics and mechanics

Here’s an example of a damped driven oscillator:

We’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’s constant in time, but we can imagine fancier situations where it’s not. So in a general damped driven oscillator:

• the object has mass (and the spring is massless),

• the spring constant is (this says how strong the spring force is),

• the damping coefficient is (this says how much friction there is),

• the external force is (in general a function of time).

Then Newton’s law says

And apart from the use of different letters, this is exactly like the equation for our circuit! Remember, that was

So, we get a wonderful analogy relating electronics and mechanics! It goes like this:

Electronics |
Mechanics |

charge: | position: |

current: | velocity: |

voltage: | force: |

inductance: | mass: |

resistance: | damping coefficient: |

inverse capacitance: | spring constant: |

If you understand mechanics, you can use this to get intuition about electronics… or vice versa. I’m more comfortable with mechanics, so when I see this circuit:

I imagine a current of electrons whizzing along, ‘forced’ by the voltage across the circuit, getting slowed by the ‘friction’ of the resistor, wanting to continue their motion thanks to the inertia or ‘mass’ of the inductor, and getting stuck on the plate of the capacitor, where their mutual repulsion pushes back against the flow of current—just like a *spring* fights back when you pull on it! This lets me know how the circuit will behave: I can use my mechanical intuition.

The only mildly annoying thing is that the *inverse* of the capacitance is like the spring constant But this makes perfect sense. A capacitor is like a spring: you ‘pull’ on it with voltage and it ‘stretches’ by building up electric charge on its plate. If its capacitance is *high*, it’s like a easily stretchable spring. But this means the corresponding spring constant is *low*.

Besides letting us transfer intuition and techniques, the other great thing about analogies is that they suggest ways of extending themselves. For example, we’ve seen that current is the time derivative of charge. But if we hadn’t, we could still have guessed it, because current is like velocity, which is the time derivative of something important.

Similarly, force is analogous to voltage. But force is the time derivative of momentum! We don’t have momentum on our chart. Our chart is also missing the thing whose time derivative is voltage. This thing is called **flux linkage**, and sometimes denotes So we should add this, and momentum, to our chart:

Electronics |
Mechanics |

charge: | position: |

current: | velocity: |

flux linkage: | momentum: |

voltage: | force: |

inductance: | mass: |

resistance: | damping coefficient: |

inverse capacitance: | spring constant: |

### Fourier transforms

But before I get carried away talking about analogies, let’s try to solve the equation for our circuit:

This instantly tells us the voltage as a function of time if we know the charge as a function of time. So, ‘solving’ it means figuring out if we know You may not care about —it’s the charge of the electrons stuck on the capacitor—but you should certainly care about the current and figuring out will get you that.

Besides, we’ll learn something good from solving this equation.

We could solve it using either the Laplace transform or the Fourier transform. They’re very similar. For some reason electrical engineers prefer the Laplace transform—does anyone know why? But I think the Fourier transform is conceptually preferable, slightly, so I’ll use that.

The idea is to write any function of time as a linear combination of oscillating functions with different frequencies More precisely, we write our function as an integral

Here the function is called the **Fourier transform** of , and it’s given by

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 To see this, we simply take the Fourier transform of :

where in the second step we integrate by parts. So,

The Fourier transform is linear, too, so we can start with our differential equation:

and take the Fourier transform of each term, getting

We can now solve for the charge in a completely painless way:

Well, we actually solved for in terms of But if we’re good at taking Fourier transforms, this is good enough. And it has a deep inner meaning.

To see its inner meaning, note that the Fourier transform of an oscillating function is a delta function at the frequency This says that this oscillating function is purely of frequency like a laser beam of one pure color, or a sound of one pure pitch.

Actually there’s a little fudge factor due to how I defined the Fourier transform: if

then

But it’s no big deal. (You can define your Fourier transform so the doesn’t show up here, but it’s bound to show up somewhere.)

Also, you may wonder how the complex numbers got into the game. What would it mean to say the voltage is The answer is: don’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.

Anyway, what does our relation

mean? It means that if we put an oscillating voltage of frequency across our circuit, like this:

then we’ll get an oscillating charge at the same frequency, like this:

To see this, just use the fact that the Fourier transform of is essentially a delta function at and juggle the equations appropriately!

But the *magnitude* and *phase* of this oscillating charge depends on the function

For example, will be big when is near a pole of this function! We can use this to study the resonant frequency of our circuit.

The same idea works for many more complicated circuits, and other things too. The function up there is an example of a **transfer function**: it describes the response of a linear, time-invariant system to an input of a given frequency. Here the ‘input’ is the voltage and the ‘response’ is the charge.

### Impedance

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 ‘impedance. Let’s see how it works.

Suppose we have an electrical circuit. Consider any edge of this circuit:

• If our edge is labelled by a resistor of resistance :

then

Taking Fourier transforms, we get

so nothing interesting here: our resistor acts like a resistor of resistance no matter what the frequency of the voltage and current are!

• If our edge is labelled by an inductor of inductance :

then

Taking Fourier transforms, we get

This is interesting: our inductor acts like a resistor of resistance when the frequency of the current and voltage is So, we say the ‘impedance’ of the inductor is

• If our edge is labelled by a capacitor of capacitance :

we have

Taking Fourier transforms, we get

or

So, our capacitor acts like a resistor of resistance when the frequency of the current and voltage is We say the ‘impedance’ of the capacitor is

It doesn’t make sense to talk about the impedance of a voltage source or current source, since these circuit elements don’t give a linear relation between voltage and current. But whenever an element is linear and its properties don’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 **impedance** of the element. The symbol for impedance is so we have

or

for short.

### The big picture

In case you’re getting lost in the details, here are the big lessons for today:

• There’s a detailed analogy between electronics and mechanics, which we’ll later extend to many other systems.

• The study of linear time-independent elements can be reduced to the study of resistors if we generalize resistance to *impedance* by letting it be a complex-valued function instead of a real number.

One thing we’re doing is preparing for a general study of linear time-independent open systems. We’ll use linear algebra, but the field—the number system in our linear algebra—will consist of complex-valued functions, rather than real numbers.

### Puzzle

Let’s not forget our original problem:

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’ll see the voltage source ensures that the voltage we’ve been calling is a constant. So, the current flowing around the wire obeys the same equation we got before:

where The only difference is that now is constant.

**Puzzle.** Solve this equation for

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.

Awesome post, John! :) I do know now how to solve the puzzles, but let me remark that (non-linear) network theory has striking points of “connections” with graph and hypergraph theory.

In fact, we can see electrical networks as hypergraphs, but I have not found (yet) a useful application of hypergraph techniquest to networks…I am not expert there, as a physicist I am completely ignorant about that despite the fact I feel it is important somehow!

The flux linkage stuff is important too, and well, I prefer non-linear network theory to appear at the end of this wonderful thread! ;)

Off-topic: how did you do those beautiful tables? Did you use html code+LaTeX instead the pure LaTeX that sometimes gives me problems when I want to “make” my own tables?

I’m glad you liked this post. I want to study nonlinear circuits, because when we study other kinds of networks we’ll need to allow nonlinearity. However, assuming linearity will let me develop certain new ideas without getting distracted by technicalities. So, I’ll do linear circuits first, and then nonlinear ones… just as you want.

Yes, I used the HTML method of making tables, and put some LaTeX math inside the tables. Here’s the idea:

<table border="1">

<tr>

<td><b>Electronics</b></td>

<td><b>Mechanics</b></td>

</tr>

<tr>

<td>charge: Q</td>

<td>position: q</td>

</tr>

<tr>

<td>current: I</td>

<td>velocity: v</td>

</tr>

</table>

gives:

ElectronicsMechanicsI haven’t included LaTeX in this example, to focus on how the table itself works. Changing the border width from “1” to “10” gives something a bit weird:

ElectronicsMechanicsYou can also have more columns, of course:

<table border="1">

<tr>

<td><b>Electronics</b></td>

<td><b>Mechanics</b></td>

<td><b>Hydraulics</b></td>

</tr>

<tr>

<td>charge</td>

<td>position</td>

<td>volume</td>

</tr>

<tr>

<td>current</td>

<td>velocity</td>

<td>flow</td>

</tr>

</table>

gives this:

ElectronicsMechanicsHydraulicsThe last three entries in your tables for the analogies between mechanics and electronics are transposed.

I mean the entries in the table in the posting, not the table in the comments.

Thanks! My student Jason Erbele pointed that out, but I forgot to fix it. It’s fixed now.

Electrical circuit theory turns up in a “new” (in the sense of only 3years old!) approach to the max-flow/min-cut problem that’s often a building block in various algorithms/techniques on general network graphs, as described in this paper, but it’s presented in a way as if electrical circuit theory is the obvious thing that should be used while it seems very mysterious to me. (This is one of the things that prompted my question in the previous part of the Network Theory posts.)

My colleague Larry Harper in the math department at UCR has been working on aspects of the max-flow/min-cut problem for decades, and he recently came out with a paper where he applies similar techniques to networks of resistors:

• Larry Harper, Morphisms for resistive networks.

I doubt this paper will instantly solve your problems, but I bet a conversation with him might help.

Does the mystery lie in the fact that in max-flow/min-cut problems we assume each ‘pipe’ has a maximum allowed flow through it, while we don’t assume this for the wires in electrical circuits?

I don’t entirely follow the paper yet, but it’s not the “electrical network” is actually used separately from the conventional “capacitated flow”. The idea is to repeatedly take an existing, probably suboptimal flow and use a function that, amongst other things, takes to the ratio of flow to capacity and maps them to a “resistance value”, then view the network as an electrical circuit and solve for the current along each edge and then uses these currents as multipliers to scale the original “capacitated flows” in the graph. Repeat this multiple times until you’ve figured out a very very tight approximation to the maximum flow.

What’s mysterious is the “big picture” of why the combination of the mapping into resistances and then using Kirchhoff’s rules gives a good set of scalings. I can work through individual assertions in the paper without getting a sense of why. It’s certainly an interesting example that might appeal to Amarashiki.

(Incidentally, this is one of those things that would only be worthwhile on much bigger graphs than I’m interested in directly; I came across this paper while researching and remain intrigued precisely because it’s seems so mysterious to me…)

In class it became clear that if we impose Kirchoff’s current law at

everynode in our graph, we get nonsense. For example, in this example:we’d get

since there’s just one edge coming out of the top node and into the bottom one!

The solution is to pick a subset of our nodes, called

terminals, and impose Kirchhoff’s law only at theothernodes. Then later, when we start building bigger circuits by gluing together smaller ones, we will glue them together at the terminals.Eventually we will get a category where the objects are collections of terminals, and the morphisms are circuits.

Oops — didn’t you just admonish someone about the spelling? :-)

If I always remembered to spell this right, I wouldn’t have gone on about it—I normally just

fixmisspellings. But I keep tripping over this one… as you can see.To get an analog of an non-driven oscillator, connect the circuit into a loop:

If we use the current=velocity analogy, then Kirchhoff’s current law now says that all velocities are equal, but can be any value. That makes sense, there is a single mass moving, and the oscillation can have any amplitude.

Kirchhoff’s voltage law says that:

Either or,we have an eigenmode, a special case of for which the impedances sum to zero. It is complex valued because of the damping. If then

Gerard

I inserted a picture, but it does not show up. The address is

Thanks for discussing this case! This was Puzzle 1 in Part 28, in this special case where the voltage of the voltage source is zero.

Unfortunately pictures from other people don’t appear in comments. So, the advice I keep telling people (whenever this happens) is to post a URL for the picture, and let me turn it into an actual picture. I’ve done that here.

I also turned your equations into LaTeX. It’s pretty easy: for example, to get

you just need to type

$latex I(j\omega L + 1/j\omega C + R) = 0$

A reminder appears right over the box where you input your comment!

Mathematicians will be interested to see that here we have a true engineer: someone who writes rather than for the square root of minus one, because reminds them too much of current.

Mathematicians use engineers to unify them Hamilton needed to invent the quaternions, which has both of these square roots of -1. It took him years to realize that to do this, we need a third square root of -1, After he realized this he was able to predict that someday another academic discipline will arise, which is the product of math and engineering.

One reason for liking the Laplace Transform approach may be the way it builds in the initial conditions.

Yes, good point. I guess this is more about how the Laplace transform involves an integral over a half-line than about the fact that it uses the kernel instead of . Formally I believe we could use either in the Laplace transform, but of course the integrals will converge better with

I think the Laplace transform is more general, because the added exponential in the transform causes the integral to converge for a wider class of signals. It might be a little harder to understand initially, but its additional expressive power comes handy later on.

For example if you used Laplace you could have solved the same example without having to use the Dirac’s delta function (which calls for Distribution’s theory and anyway it might be a little troublesome conceptually). In fact if you evaluate the Laplace transform along the imaginary axis you obtain exactly the “frequency response” of the circuit, that you wrote earlier as the relationship between

V(jw)andQ(jw).Even more to the point, if you have an unstable system, (e.g. the resistance in your RLC circuit is negative), you can still solve it and describe the solution in terms of Laplace transforms, but i don’t think you can use it Fourier. Can you ?

I don’t mind distributions at all: as a physicist I love the Dirac delta and its derivatives, and as a mathematician I spent happy years learning about Schwartz’s theory of distributions, Fréchet spaces and all that stuff. Admittedly, not everyone wants to learn this! But having learned it, I like it.

But you’re right that the Fourier transform of something like is rather scary… it’s not even a distribution! I guess it’s a hyperfunction. So, maybe this is enough reason for people to prefer Laplace transforms.

Interesting Article! What do you think about a second analogy, which I found in the net:

electronics – mechanics

charge – momentum

current – force

voltage – velocity

mass – capacitance

spring constant – inverse inductance

Is this a symmetry or a duality?

Very thought-provoking comment!

It becomes clear, if we compare the mechanics columns in the two analogies, that we’re seeing a duality where we switch position and momentum in classical mechanics. Concepts come in pairs like this:

This is evident in Hamilton’s equations:

and it’s the basic insight behind symplectic geometry. In quantum mechanics, the duality that switches position and momentum is the Fourier transform. We’ve seen that sneaking into our lectures already, but only subtly: I was using the Fourier transform to switch

timeandfrequency!There’s a minus sign built into this duality: when we perform the switch, we should replace by and by This seems weird, but it’s explained by symplectic geometry. In simple terms, we’re doing a 90° rotation in the plane.

For example, momentum is related to velocity by

but if we follow the chart and replace by , by and by we get

which is Hooke’s law for the force of a spring:

I hinted at this duality in Puzzle 3 last time, where it showed up as a symmetry that switched capacitors and inductors. We needed to reinvent the idea of ‘current source’ to make our formalism symmetrical, since that’s the symmetrical partner of ‘voltage source’.

So, I partially understand this stuff. There is, however, plenty left to think about! For example, friction is not normally included in Hamiltonian mechanics, except at a fundamental level where we keep track of the motion of all the atoms. There’s no Hamiltonian that gives the equations of motion for a damped oscillator. That’s why I left out the damping coefficient in my duality chart above. However, damping, and resistors, play an important role in the analogy between mechanics and electronics. I need to understand this better.

And comparing the electronics columns for the same mechanical system makes it clearer to me what you were hinting at in that Puzzle 3. The DE for Voltage across a parallel circuit in terms of applied Current is the same as for Current through a series circuit in terms of applied Voltage if the C and L values are swapped and the R is inverted.

For the corresponding symmetry between force and velocity (or position and momentum) we also need to swap compliance and mass and switch from series to parallel linkages – which ties together the physical geometry of the network with the symplectic geometry of the mechanics. But the need to reciprocate the resistance seems to make this fail in exactly the conservative case of Hamiltonian systems. I’m puzzled!

Actually the reciprocal R business is fine. Removing the resistance from a series circuit is basically changing the R value to 0 and removing a resistance in parallel is equivalent to making it infinite, so the non dissipative LC circuits should both model the undamped mechanical oscillator. Still have to think about the difference between series and parallel connection for a simple mass and spring system though!

Some comments on force force=current versus force=voltage:

In hydraulics and acoustics, pressure is a scalar quantity, like voltage. It makes sense to put this at vertices. At each vertex, you can connect hydraulic hoses or acoustic pipes. The sum of the volume velocities (velocity times area) is either zero, or if the node is compressible, proportional to the time derivative of pressure. It is intuitive to connect edges, as if they were hoses. It is possible to see velocities as vectors, because you can lay them out in directions as if they were geometrical dimensions. However, I am still trying to figure out if there is something like conservation of momentum related to this, I am not sure. You can fold hydraulic hoses in other directions without changing any dynamics.

In mechanics however, force is a vector, just like velocity. It is no longer obvious which should intuitively be the vertex and which the edge. It is often useful to do force=current, because you add forces connected to a ´node´ of mass, as if the mass were a vertex.

But note that we can only model 1-dimensional systems using ordinary circuits in this way, since we cannot distinguish between forces in 2 different dimensions. We would like both force and velocity to be located on edges, so they are vector-like, but we need to stick one of them onto vertices.

One way forward I to use a generalisation a of circuit called an n-complex. [This is my own work, not necessarily mainstream.] A 1 complex is like a circuit, it has vertices (0-cells) and edges (1-cells). But a 2-complex also contains loops (2-cells). Of course, a circuit always contains loops. But the loop gets physical meaning when we put a mesh impedance in it. This modifies Kirchhoff’s voltage law, in the sense that the sum of voltage differences across the impedances enclosing a loop is not necessarily zero, but the mesh current times the mesh impedance.

An example is the Maxwell analogy on my website

http://westy31.home.xs4all.nl/Electric.html#Maxwell

The mechanical analog of the Maxwell equations in vacuum is waves in an incompressible elastic medium. The electric field can be related to the force vectors. The velocity field is not so directly a vector, it is a bit hidden in the mesh velocities. This stuff probably drove the aether people of the 19th century like Kelvin and Heaviside crazy.

A full model for mechanical vibrations in >1 dimensions is not so simple…

Gerard

What you’re calling ‘loops’ are actually quite mainstream in electrical circuit theory. As you hint, they’re also called ‘meshes':

• Mesh analysis, Wikipedia.

though here they want to restrict the term ‘mesh’ to circuits that can be drawn on a plane. (I wouldn’t restrict it that way, and the word ‘loop’ means something else in math, so I actually prefer ‘mesh’ or ‘face’ for a 2d thing.)

The theory of

n-complexes is pretty important in topology, where people use several different kinds: CW complexes and piecewise-linear CW complexes and cubical complexes and simplicial complexes and simplicial sets… all of which give rise to chain complexes, which are the purely algebraic structures that we really need to write down Maxwell’s equations and some of their generalizations.If I had time I would talk about all these things, but I clearly don’t. I’m mostly trying to keep this ‘network theory’ series focused on 1-dimensional entities, like graphs. I may however bring 2-dimensional complexes into the game for a little bit, because the current/voltage duality is nicely discussed this way.

I’m also fond of 2-dimensional complexes because I used them as part of the definition of ‘spin foam’ in my work on quantum gravity.

The mesh analysis as in the Wikipedia article is a technique for solving conventional circuits. But I want to add a ‘mesh impedance’, which modifies Kirchhoff’s voltage law, making our 2-complex something inequivalent to a 1-complex.

According to the Wikipedia article on mesh analyses, the word ‘loop’ is also in use:

“A more general technique, called loop analysis (with the corresponding network variables called loop currents) can be applied to any circuit, planar or not.”

Maybe 2-cell?

Gerard

Mathematicians would say ‘2-cell’.

This is Firestone’s analogy:

• F.A. Firestone, A new analogy between mechanical and electrical systems,

Journal of the Acoustical Society of America4(1933), 24–267.Prof. Baez, I’m much eager to read more about the duality that you mention!

Thanks, that reference is really helpful! I added links to both a free version of the paper and the official journal version. (As usual here, the first is gotten by clicking the paper’s title, the second by clicking the journal name.)

To clarify for people who don’t look at the paper: Firestone’s ‘new analogy’ is the one that treats velocity as analogous to voltage and force as analogous to current. The ‘old analogy’ is the one discussed in my blog article, which goes the other way around: it treats velocity as analogous to current and force as analogous to voltage.

These two analogies are related by the duality I mentioned in my comment above.

What’s exciting to me is this remark by Firestone, which points out a nuisance I’d noticed but hadn’t fully grappled with yet. In the old analogy:

You can see that in my blog article! I studied a circuit with three elements in

series, but using the old analogy it was analogous to three forces acting inparallelon an object.So here’s the point: the duality I mentioned also switches the concepts of ‘series’ and ‘parallel’!

As we’ll see later, this switch between series and parallel corresponds in graph theory to something called Poincaré duality.

So, the overall picture keeps getting bigger and more unified.

That’s a very interesting connection! I’ve found a comparison of the two analogies on the net: http://lpsa.swarthmore.edu/Analogs/ElectricalMechanicalAnalogs.html which collect some details.

Thanks for that link, Joerg Paul.

Apparently Firestone was more interested in using electronics to model mechanics rather than vice versa – and even seems to accept less generality going the other way since he says (at the bottom of p254) that masses can only be connected in parallel (what looks like a rigid series connector actually keeps the velocities=voltages equal and each mass absorbs a proportional amount of force=current) and so the corresponding capacitors must all be grounded.

Am I right in guessing that in order to mechanically model a series connection of capacitors he would need the corresponding masses to be connected by something like a hydraulic system with piston areas inversely proportional to masses?

I am thinking to the approximation of the Milankovitch cycle with a electric network (it is only a mathematical game, with no applications).

If the Earth temperature is a function of the insolation, then I think can be write an electric network that connect insolation to temperature:

then it is ever possible to write an approximation of Z:

so with a right number of component, it is possible to built a electric network that make an approximation of the Milankovitch cycle.

This impedance is a differential equation (that have a mechanical analogy) that connect insolation and temperature, and it is an analog computer to evaluate the trajectories of Milankovitch cycle.

I am thinking (I am not an electronic expert) that a Milankovitch cycle can be made using an overlap of four parallel direct digital synthesizer (if it is possible the synchronization of the signals to obtain the Fourier series approximation of the insolation) then the admittance can be evaluated to obtain an output current equal to the mean temperature (using the Laplace transform of the Fourier series that approximate the Milankovitch cycle).

The circuit is symmetric, then from the Milankovitch cycle current (the temperature) it is possible to obtain the insolation voltage: the difference between the geological temperature measures and the circuit measure can be the increase of the temperature due to the C02 accumulation in the atmosphere.

The idea of modelling how climate cycles are influence by Milankovitch cycles using a linear circuit is interesting… but I believe it’s interesting because we can use it to show that the climate is inherently

nonlinear.The reason I believe this is that Giampiero Campa did a ‘best linear fit’ to the climate data and saw that it doesn’t fit the temperature peaks very well. In a reply to Blake Pollard’s post he wrote:

I think using this type of idea to quantify the amount of nonlinearity in a system could be interesting. Probably it’s already been done: I’m just starting to learn control theory and ‘system identification’.

Of course you can only use this type of idea to quantify the amount of nonlinearity in a system if you assume there are no other input variables besides the ones you’re considering… or at least assume some bound on their ‘strength’.

These are only free thoughts in a walk (can be correct).

I think that exist ever a generalized impedence Z that transform each function I(t) in a function V(t) .

The generalized network Z contain the simbol of the Laplace transform of the element in the network: R for resistance, 1/s for capacitor and s for inductor, and other power symbols.

It is ever possible a I(t), and V(t), approximation with some optimal series in the time domain, then it is ever possible the Laplace transform of the I(t), and V(t), so exist Z(s)=V(s)/I(s).

It is possible the asymptotic expansion of Z(s), and so obtain the generalized impedence,

Only if the parameter number of the network is low, then there is a correlation between the signals.

I can make, in some weeks, the temperature and insolation approximation with Fourier series, with free frequencies, in time domain until the human presence on the Earth; then I can make the Z(s)=T(s)/I(s) evaluation, and I can make the evaluation of the temperature without the human presence:

this integral is simple, because can be evaluated using the inverse Laplace transform: there are programs that make this transformations.

I think that the difference between this temperature, and the measured temperature, can be an estimation of the human influence in the climate.

I obtain an approximation of the Earth temperature using a Fourier series, with free frequencies.

I init to obtain the least element of the error function.

There is a sea of relative minimun numerical values, and I init to obtain a quick program with L-BFGS that restart when there is a low error reduction, and a restart minimization of a single amplitude (minimization of a component of the gradient), and a restart in a shell neighbourhood.

The Fourier series is:

that is the solution of the differential equation

only when w_n=n w there is the usual Fourier series; when there is a free value then it is possible the forecasting of the temperature.

The free Fourier series is generally not periodic, because the angular frequencies have a irrational ratio.

The data set have a great gaussian noise, it seem me like a tide measure without stilling well, or a measure of local temperature with many local little temperature variations.

I think that can be possible a statistical mean from measure obtained in different earth places, to obtain a noiseless data set.

An analogy exist between tides (correlation with the sun position) and Milankovich cycles, and an other analogy in the measure of the data set, and an analogy in the forecasting.

My last result is (I leave the exponential notation to avoid any mistake in the transcription):

$$

T(t)=2.099191139045127e+05+2.099249038105574e+05*sin(1.164953392315472e-08*t-1.566140720103386e+00)+1.116007988528210e+00*sin(9.064747608422570e-06*t-8.959986469256902e-01)+7.754578008611679e-01*sin(2.873712764994707e-05*t-3.266007780723288e-01)+7.221259974203393e-01*sin(4.069445640197955e-05*t-6.454127975865922e-01)+4.753888139509399e+01*sin(6.005703874771750e-05*t-2.315250501098237e+00)+4.933845696193825e+01*sin(6.025121183483861e-05*t+9.150090656081382e-01)+8.851535098415111e+01*sin(7.985108823049814e-05*t+2.829017517510474e+00)+3.667553662157549e+02*sin(8.076626545516774e-05*t+6.822410238302597e-02)+2.809583376344545e+02*sin(8.105385369731186e-05*t-2.954828626960703e+00)+7.055229620573101e-01*sin(1.165965581933072e-04*t-1.815874437548951e+00)+7.019186730525050e-01*sin(1.237219351987185e-04*t-2.601845819504270e+00)+5.316781725505078e-01*sin(1.370173849863932e-04*t-2.989975152874657e+00)+1.708226369807596e+00*sin(1.548956788610667e-04*t+2.303622440814225e+00)+6.823193383445106e-01*sin(1.605838915565982e-04*t+2.477965212775418e+00)+4.966165946410211e-01*sin(2.072830247925594e-04*t+1.602643423661541e+00)+5.479294929745113e-01*sin(2.178163849748671e-04*t-2.438135638053271e+00)+7.370199085806037e-01*sin(2.680884331995166e-04*t-2.998711439306712e+00)+5.435983052457507e-01*sin(2.770240243989974e-04*t-1.052010026277807e+00)+3.408967729148522e-01*sin(4.315748228691518e-04*t+4.848673574961854e-01)+4.251840695528208e-01*sin(5.453686462715268e-04*t+2.656262240751874e+00)

$$

This is only a step, but if the forecast is optimal, then it is not necessary a Laplace transform

I am thinking that the low frequencies (~100 Kyears period) component of the Milankovich cycle (like thermal tides) cannot have Earth origin (geological or meteorological origin); this component (if all is true) can give an indirect measure of the change in the Sun emission for solar inner dynamics, so that can be possible to adjust the solar models to obtain the right oscillation.

The units don’t work out in the original table, but if you do add units you get equations that seem to be related to how charge density waves respond in a quantum electronic circuit. Charge density waves carry electric current. Adding the usual symbol for charge density “λ” gives the following table with the same physical units on both sides:

ElectronicsMechanicscharge: Q

position: q λ

current: I

velocity: v λ

flux linkage:

λλmomentum: p

voltage: V λ

force:

inductance: L

mass: m

resistance: R

damping coefficient: r

inverse capacitance:

spring constant: k

The fourth row is the Lorentz force equation.

Yes, this is interesting!

By the way, some of your LaTeX didn’t parse at first because you wrote things like

$latex \frac{λ^2}{C}$

instead of

$latex \frac{\lambda^2}{C}$

You can’t put fancy UNICODE characters in LaTeX here.

Another interesting aspect of this problem is the following one: given a transfer function find an electrical (or mechanical) grid that has the desired transfer function.

It is of special interest the case when the electrical system uses only passive components (i.e. resistors, capacitors and inductors). The response to this problem was provided by Roaul Bott (http://en.wikipedia.org/wiki/Raoul_Bott) in his Ph.D thesis “Electrical Network Theory” and latter published in the now classical paper “Impedance Synthesis without Use of Transforms”.

It is interesting quote his own words in a 2000 interview (see the wikipedia page ) that he sees “networks as discrete versions of harmonic theory”, so his experience with network synthesis and electronic filter topology introduced him to algebraic topology.

From this result it was possible to construct an electrical network with the desired transfer function. From the analogy of mechanical and electrical systems, one can imagine that a similar construction should be possible for mechanical system. In fact, this was not entirely the case: a new mechanical element was needed that was the analog of a capacitor without one terminal connected to ground. This motivated the construction of the so-called “inerter”, see the following reference:

http://web.hku.hk/~mzqchen/Sagarfest.pdf

In fact, the construction of the inerter was motivated for the design of better suspension in Formula-One racing cars:

http://ieeecss.org/sites/ieeecss.org/files/documents/IoCT-Part2-14FormulaOne-LR.pdf

A small typo: the three integrals following the sentence “To see this, we simply take the Fourier transform” should be with respect to time, not frequency.

Thanks – fixed!

I’ve been talking about electrical circuits, but I’m interested in them as models of more general physical systems. Last time we started seeing how this works. We developed an analogy between electrical circuits and physical […]

John, I’m a retired Electrical Engineer that reads your blogs and some of your Math ‘stuff’ as a hobby. On the topic of electrical mechanical analogies, I was wondering if you had any commments, thoughts, regarding ‘Memristance’ the relationship between charge and flux linkage, or momentum and position, by analogy. Leon Chu is cited as the ‘Father’ of the study, concept, popularization, etc. of ‘Memristance’ (or it’s inverse, Memductance’).

Sorry to take so long to reply. We discussed memristors starting here, in the comments to “week290″ of This Week’s Finds, which is when I first started talking about bond graphs and analogies between different systems that could be described in terms of

At that point I just reached the point of understanding memristors as one of the natural possibilities for circuit elements that impose a relation between two of those variables

I really should get back to them… but probably when I talk about bond graphs in this network theory series!

Thanks for your reply John; I know you are hyper-busy. Bond-Graphs versus Control-System Block diagram Algebra Transfer Functions was of great interest to me after someone gave me a ‘Mechatronics’ book 20 years ago. I’m not a fan of the name Mechatronics, but is a mainstream term and curriculum at some schools. Thanks again!

I hope to say a lot more about bond graphs and the ‘signal flow diagrams’ used in control theory in a while… so stay tuned!

I just finished working out a discrete time harmonic oscillator, that conserves energy.

Rather than use inductors and capacitors to encode time dependence, it uses resistors that are negative valued in the time direction.

The link:

http://westy31.home.xs4all.nl/Electric.html#Harmonic

Gerard