I was afraid while this week’s episode was taped. I feared everyone on set would ask me how a theremin works. And I had not done my homework. In case this ever happens to you, read on, and I will spare you the embarrassment.
This week, Sheldon played his theremin, the eerie sounding electronic instrument favored by avant-guard musicians: from the Beach Boys to Vladimir Illyich Lenin. The theremin came to Lenin shortly after Soviet scientists developed a proximity sensor.
The key to a Theremin is a so-called “tank circuit”. In a classical theremin you will find a coil of wire connected to two metal plates. The coil of wire is sometimes called a “choke”. That’s because it does not allow fast-changing signals (“high frequencies”) to pass through. The two metal plates are called together a capacitor, because of their capacity to hold opposite electric charges on each plate. Their reservoirs of charge allows fast signals to pass through, but are quickly depleted by slow-changing signals (“low frequencies”). The parallel plates work in exactly the opposite sense as the coil. One element blocks low frequencies, and the other blocks high frequencies. Putting the two together allows only a narrow range of frequencies pass through. Energy in the circuit sloshes around, between the charge on the capacitor and the current in the coil at a well calculable rate.
The specific frequency passed by the tank circuit depends sensitively on the values of the capacity of the parallel plates to hold charge (its “capacitance”) and the inability of the coil to change its current (somewhat opaquely called its “inductance”). Every body and everybody has inductance and capacitance. If we connect our tank circuit to an antenna you can change the resonant frequency by simply moving your hand near it, adding your own capacitance and inductance to the circuit and changing its tune.
When you play a classical theremin, you don’t control the audio frequencies directly. Our ears can only hear thousands of vibrations per second. That’s fairly slow for electronics, and the size of the coils and parallel plates would have to be enormous. It is much easier to build electronics working at higher frequencies. So, theremin designers make use of a mathematical trick. It turns out to be easy to find the differences between frequencies. So by comparing two “tank circuits”, one you are modifying with your hand, and one without your intervention. The frequency difference is sent to the theremin speaker.
Working off the difference is a common trick. Your AM radio (if you still have one) has a tuner, but you are not tuning the tank circuit. Rather, you are tuning another circuit, close to the frequency you want to receive. Your radio uses the difference to find the signal. Scrabble players take note; this fancy trick is called superheterodyning.
The key here is the changing signals. When physicists want to talk about the changes of values, rather than the values themselves, they need to work with differences, also called “differentials”. The equations describing them are called “differential equations”. Differential equations are key to understanding the flow of currents in the tank circuit of a theremin. And the solving of differential equations was of course the main point of tonight’s story.
Unlike many other types of equations, there is no definite method to solve a differential equation. Often physicists are led to try a few tricks, look them up in dusty old tomes, or ultimately to guess. In modern times, we can enter the equation into a computer and hope it can find the answer. Leonard had the brilliant idea this week to skip that step, and have the iPhone app recognize the handwritten equation and solve it directly.
Common differential equations have names. The solution to the tank circuit is a “sine” function. The “spherical Hankel function” mentioned tonight comes up when solving vibrations of spheres. The laws of population growth give a differential equation solved by “exponential functions” which is, unfortunately for us, the fastest growing of all the elementary functions.
I’m no iPhone designer, and the white boards were a salient part of the story this week. Luckily we found a friend-of-a-friend of mine, Robert McNally who designs iPhone apps for a major online dating company. Everything you see in this weeks show is 100% real, quality, iPhone development @%^#!. Click on his name above, and you will learn a little of the inside story of the dueling app software.
Anyway, nobody liked my other iPhone app idea. I want to make a Geiger counter with an iPhone. I think it could work. Just look for single bit errors in the iPhone memory due to ionizing radiation. The error rate is proportional to the radiation.
So now they are out there. Two good ideas for iPhone apps. Elves, the shoemaker is waiting.





























