Saturday, April 2, 2011

How to handle two electrons at once

Yesterday I sketched out the form of the wave function for two electrons in a potential well. It's over a year since I started this blog and I've actually solved a problem or two in that time. It's just hard to believe that I've never really worked out the correct form for this basic problem until now. It's a pretty significant problem for me, because it generalized to a whole list of other problems. Where do we begin? A very good problem to look at is the case of two isolated hydrogen atoms. We can solve each of these individually as single-electron problems, but we really ought to be able to get the same solution by treating it as one big two-electron problem. In fact, I got myself in a lot of trouble last year when I tried to do this and kept coming up with a form of "mini-helium" as a solution. You can go back to my blogs from last winter to see how I got out of that mess. Anyhow, let's begin with the solution we got for two electrons in a box and see how it would be applied to two hydrogen atoms. We can take the diagram from the last blog and just change shape of the function to come up with something like this: This would appear to be the correct representation for the ground state of two hydrogen atoms, taken together. It is interesting that we're not allowed to say that "electron A is here, and electron B is there". We have to allow that each electron can somehow be either here or there. Another interesting aspect is that the electrons must have opposite spin. This is similar to what happens in the ground state of the helium atom. It seems strange to require that the spins be opposite for two separate hydrogen atoms, and in fact we will find that we can get out of this difficulty rather easily. It will turn out that there are three more nearly degenerate states which the electrons can fill, and this gives us the flexibility to specify their spins independently. The most puzzling aspect of this representation, however, turns out to be that the electrons are in a spin singlet state. It's not just that the spin at A is opposite the spin at B. It's that the spin everywhere is identically zero. This is baffling because it's not something we are able to get if we just write down the wave equations of two separate atoms. It's as though by taking them as a complete system we expose new, unexpected behavior.

Friday, April 1, 2011

The Two-Electron Well Revisited

Last year I posted some stuff about the two-electron potential well. It ought to be a pretty standard problem but it turns out you won't find it hardly anywhere. It's true that there is a standard textbook problem with two particles in a potential well, but they almost always stipulate that they are two "non-interacting" particles, so you simply get the product combinations of the standard single-electron solutions. I wanted to see what happens with actual electrons that repel each other. I was pretty surprised to find out that the shape of the solution depends on the size of the box. I delve more deeply into this when I take up the subject of the isoelectonic series of helium. But for the two-electron box, it turns out that for the very small box, the solution tends towards the simple product function. For the very large box, the two electrons tend to stay away from each other at opposite ends of the box. And for the medium box, which is to say, for a box on the scale of typical atomic dimensions, it's a compromise, as shown for a typical case in the drawing below: You construct this drawing (or I constructed it) by assuming A and B are each the familar sine wave solutions for the box, and just distort them a bit so they tend to keep away from each other. Then you symmetrize the wave function by reversing A and B, so that your final solution doesn't distinguish between the two electons. Because, of course, the electrons are supposed to be indistinguishable. It's basically what I show in the sketch below:

Like I said, I was pretty happy when I figure this out. What has happened recently is I've come to realize that this solution is wrong; or, at least, it's incomplete. You can tell it's wrong because the wave function for two electrons must be anti-symmetric. And if I reverse the roles of A and B in the function I've sketched above, I get exactly the same function back. It's symmetric, and that has to be wrong. It's easy to correct this and make it anti-symmetric. You just put a minus sign in the middle instead of a plus sign. But that's not right either. Yes, you've made the function anti-symmetric. But now the energy of the modified (antisymmetric) system turns out to be higher than that of the original symmetric case. Why is the energy higher? Why indeed is the energy different at all? Remember how we constructed these cases. We took an electron in a box, and added a second electron. We then pushed the two electrons just slightly away from each other, to slightly reduce their coulombic interaction without distorting the wave function with too many "higher harmonics" with their inherently greater momentum content. The old compromise of kinetic and potential energy. It's a straightforward optimisation. Then, after we've optimised the energy, almost as an afterthough, we consider the symmetrization. Symmetrical or anti-symmetrical? The horrifying fact is, regardless of which one we choose, the energy after symmetrization is different from what we calculated when we optimized the individual electron wavefunctions. In fact, the symmetrical form (almost?) always has the lower energy in these situations. But from my point of view, the truly disturbing aspect is that we can't simply optimize first, symmetrize later: we have to do them both at the same time. It makes the calculation very difficult to visualize. And that's not even the reason I took up this question today. I said already that I came up with this solution last year and recently realized it was incomplete. And now I want to show what has to be done to fix it up. The problem is that I haven't taken into account the spin of the electrons. If I attempt to track the spin, and redraw my sketch of the function in terms of the sum of product functions, it ought to look like this: You see I've got electron A with spin up, and B with spin down. But now let's consider the symmetry of what I've written. If you reverse the roles of A and B, you don't get the same function back. You don't get it back with the same sign, and you don't get it back with the opposite sign. You get a different function altogether. You now have to symmetrize again. But this time I'm going to choose the antisymmetric option. I've written it out in full below: That is what the solution has to look like for two particles in a box. It looks awfully complicated but there is really no simpler way to indicate it so far as I can tell. By the way, if you're familiar with the traditional way of writing two electrons in the "singlet" state vs the "triplet" state, you may be able to figure out that I've got them in a singlet state here. Which is good. But right now it all seems very complicated.



Wednesday, March 2, 2011

Let's run the numbers

I've proposed that a mechanical oscillator will be in equilibrium with an external field when that field has the same energy per mode as the mechanical oscillator. Now I have to show how the numbers work. I'm going to sacrifice some accuracy and rigor in order to present the calculation in a way that is easy (?) to follow.

There was a stumbling block for me when I tried to count modes and ended up with a result different from the Rayleigh-Jeans formula by a factor of three. I couldn't resolve the discrepancy so I'm just going to use the number from Rayleigh Jeans. Here is that formula again:

I'm going to choose a frequency of 100 GHz and make a box 30 cm on a side. You can see that I have a wavelength of 3 mm so exactly one hundred waves fit into the box lengthwise.

I'm going to add up all the modes between 99 and 101 GHz, so I need to know how many modes there are. The formula given here is for wavelength, not frequency, so I'm going to let lamda range from 2.97 mm to 3.03 mm, which should come to just about the same thing. Letting pi=3 and using some shortcuts, I'm getting 240 000 modes, or about a quarter of a million. You can see if I space the waves out equally over the frequency interval they are about 8 kHz apart.

So we have a quarter million sine waves between 99 and 101 GHz and we want to add them up and see what they look like. Remember, I could have just as easily taken one tenth of that bandwidth and added up only the waves between 99.9 and 100.1 GHz. The beauty of this analysis is that the equilibrium would come out to the same point either way, as I explained in a previous post. So I am at liberty to choose any arbitrary numbers. There are people who would say "let's just work in symbols and let the formulas do the work" but I think it's easier to follow with the actual numbers.

I'm going to let each sine wave have an intensity of one millivolt per meter. There are two things we have to do next: add up a quarter of a million sine waves to get the composite waveform, and figure out the energy in each mode. Let's do the energy calculation first. It's the square of the field divided by the impedance of free space (377 ohms) and the speed of light. It comes to 10^-17 joules. I'm ignoring things like a factor of two somewhere.

EDIT: Oops. I actually ignored the size of the box, which matters a lot. What I got was energy per unit volume. The actual mode energy therefore comes to around 4 x 10^-19 joules.

Now let's add up the sine waves. I'm again ignoring details like the fact that they are all going in different random directions. These calculations are basically a Fourier series which becomes in the limiting case a Fourier transform. There are a quarter of a million waves all in phase at the exact center frequency. So the peak amplitude is 250 volts/meter. (Remember the mode amplitude was 1 mV/m). I have a total bandwidth of 2000 MHz with a space of just 8 kHz between waves. I explained how to add these things up in a previous post. You start by taking the middle three waves... in AM radio, that would be the carrier and the two sidebands. It's pretty well known that this gives you an 8 kHz signal modulated at 100 GHz. To simplify the math, we will think of this as a series of 100 GHz wave trains 62.5 microseconds in duration (let's just call it 60), spaced 125 microseconds apart (a 50% duty cycle.)

Now we will start adding more side bands. When we add a second pair of sidebands, the pulse train gets shorter ... 30 microseconds instead of 60 ... but the "window" of 125 microseconds stays the same. We get a 25% duty cycle. The repetition rate stays the same but the duty cycle gets shorter.

This is how it works each time we add a pair of sidebands, and we must add 120,000 such pairs. The end result is a series of pulse trains 500 picoseconds long, separated by an interval of 125 microseconds. With a repetition rate of 8 kHz.

Let's apply this pulse to an atomic oscillator with a reasonable mass and charge: let's say, 10^-27 kg and 10^-20 coulombs. It's of course a sinusoidal force and there is a spring to consider but I'm going to ignore all that and just calculate the effect of a straight force applied to an inertial mass. I'm going to be out by a factor of 2 or 4 or something, but that's OK. The final velocity of the particle will be (force) x (time) / (mass). The force is just (field) x (charge). So the calculation gives me

(250 V/m) x (10^-20 Coulombs) x (500 x 10^-12 sec) / (10^-27 kg) = 1.25 m/sec

So the energy of oscillation, from 1/2 mv^2, is close to 10^-27 joules. That's from a single impulse.

Let's now remember how the drunkard's walk works. The distance increases as the square root of the number of steps; so the square of the distance is linear in the number of steps. Likewise with the harmonic oscillator. Each impulse adds to the amplitude in a randomly oriented phase, but the square of the amplitude (the energy) increases linearly. There are, we may recall, 8000 impulses per second; so the energy starting from rest increasees at a rate of 8 x 10^-24 joules per second. The question is: what will limit this buildup of energy?

Answer: the radiative losses. We simply need to calculate what size of antenna will radiate with a power of 8 x 10^-24 watts. At the point where the atomic oscillations build up to that amplitude, the system will be in equilibrium.

We will use the classical formula for the radiation resistance of a half-wave dipole: it is

200 (L/Lamda)^2

where lamda is the wavelength and L is the antenna length. You can see this gives the result of 50 ohms for the half-wave dipole; it is well known to radio amatures that the correct value is 73 ohms, but this diverges somewhat in the limiting case. From the assumed values of charge and frequency, and recalling the nursery rhyme "twinkle, twinkle little star, power equals I-squared-R", we get the following condition:

{(10^11 Hz) x (10^-20 Coulombs)} ^2 x (resistance) = 8 x 10^-24 Watts

We therefore require a radiation resistance of 8 x 10^-6 ohms, which from the formula gives us an antenna length of 6 x 10^-7 meters. We must now ask the question: what is the mechanical energy of this oscillator?

It's not hard to figure out a velocity of close to 10^5 m/sec for the oscillator; squaring this and multiplying by 1/2 times the mass, we get an energy of 5 x 10^-18 joules.

We're out by a factor of ten from what we set out to show: that the electromagnetic mode energy is equal to the mechanical energy. It should be realized that we took an awful lot of short-cuts and neglected a whole bunch of things, so it's not surprising that we might be out by an order of magnitude. I may be biased, but I'm going to judge this result to be "close enough".

The proper thing would be to redo the whole calculation with symbols instead of arbitrary values and show that no matter what parameters you choose, the result is that the energy of the mechanical oscillator comes out equal to the energy of a single mode of the electromagnetic field. I can hardly doubt that the result must come out correctly, but I'm not about to do the work to prove it. What I find hardest to understand is that there are people who would prefer to do it symbolically from the get-go, rather than run a numerical example first to make sure everything is lined up right.

There's one last thing that still bothers me. I have almost no doubt that the identity must hold, and the calculation strongly suggests that this is so. What I don't have is a simple way of understanding why it must be so. I think there ought to be a way of seeing that it has to work without actually grinding through the numbers.

Where does the equilibrium come from?

In my very first blogpost just over a year ago, I talked about how I really felt I understood classical physics even if I wasn't capable of every single calculation. The example I took was Maxwell's calculation of the equilibrium distribution of velocities in a gas. I said that even if I didn't know how to calculate the distribution, I could "see" how it more or less had to come about.

The irony in this example is that over the last two weeks, I've been agonizing over how to work out the exact same equilibrium, except as applied to the classical radiation field. And my problem was not merely one of how to do the calculation. It was the basic physics that had me baffled. Just why and how does an equilibrium come about in the first place? I know that an oscillating atom can either absorb or emit radiation. But I had no definite way of seeing why the tendency to absorb or radiate should depend on the magnitude of the ambient field. Rather than saying that there had to be an equilibrium point, I could have just as well argued, for example, that the amount of outward radiation would always excede the amount of absorption.

I went down a number of dead end roads before solving the problem. Mostly I was trying to analyze the ambient field as the sum of an in-phase and and out-of-phase component to the atomic vibration. To the extent that the fields are in quadrature (out-of-phase) there is no interaction, so the atomic oscillator is always emitting. Where does the absorption come into effect, to counterbalance the emission? As the fields go in and out of phase, they are either in a leading or lagging relationship. One is absorbing, the other is emitting. But if the phases are basically random, the quantities should apparently just cancel out. So there is no equilibrium between absorption and emission.

So then I looked for mechanisms whereby the ambient field would "drive" the atomic oscillator slightly off frequency, pulling the two fields into synchronism just like a motor when it is connected to a 60-Hz power line. I tried in vain to make this model work and simply gave up.

Then I had two essential inspirations that gave me the solution of the problem. The first was the drunkard's walk. I realized that even when the impulse is in completely random directions, there is still a net tendency for outward progress. This was the first part of the puzzle. Then I came up with a way of analyzing random fields whereby I could convert a power spectrum into a time-varying electric field. (See most "Harmonic Oscillator: The problem is solved" ). The amazing thing about this analysis is that no matter what I chose for an arbitrary frequency cutoff or discrete resolution, I ended up with waveforms, all of them different from each other, but all of which gave the same result when used in a "random walk" analysis of the harmonic oscillator.

At last I could say I understood the essential physics of the equilibrium process. Now, when you really understand something, you ought to be able to do some calculations with it; and that's what I'm going to do next. It's not the kind of thing where the numbers are going to come out exact, because I've made some approximations along the way; and to some extent, I'm allowing myself to be a little sloppy. The point of this kind of calculation is to see if you are at least in the ballpark, and I think I've been able to do that much.

Sunday, February 27, 2011

Counting Modes

How many ways can you set up a standing mode of electromagnetic waves in a rectangular cavity? This question has been holding me up for a week now. There is a formula which I found on the hyperphysics webpage; it is basically the Rayleigh-Jeans analysis which gives the low-frequency limit of the black-body law. The formula must be right because it agrees with experimental results, assuming each mode gets its alloted energy of 1/2kT. My problem is I have my own way of counting modes which disagrees by a factor of 3, and I can't for the life of me see where.

There are a lot of ways you can be out by a factor of 2 or 4, but it is very hard to be out by a factor of three. Furthermore, I understand the basic concept of counting modes. I know how to do it in two dimensions for electromagnetics, and know how to do it in three dimensions for a gas. I thought I knew how to do it in three dimensions for solids, but now I'm not so sure. At first I thought it was the same as a gas, but now I realize that a solid, unlike a gas, can support shear waves as well as compressional waves.

The electromagnetic case in two dimensions is not so bad because you can start by taking waves in the xy plane and letting the polarization be all in the z direction. That lets you separate out the vector portion and leaves you with nothing but scalar waves to add up in the plane. It doesn't take much more than high-school trig identities to show that four sets of plane waves criss-crossing each other can be added up to equal a checkerboard pattern of standing waves.

That's how the hyperphysics explanation starts out, except it's in three dimensions. Here is what they say:


I really don't see that this can be correct. They call for the electric field to go to zero at the cavity walls, which is of course the correct condition for acoustic vibration amplitude in a gas. But electromagnetics? It's certainly not the condition for a waveguide. We need the electric field to have no tangential component, and we need the magnetic field to have no perpendicular component at the walls. Those are very different conditions than what they've described here. But never mind, let's go on.
We now have the rectangular cavity divided up into unit cells, and we want to count the modes up to a given wavelength. They do the thing of working in k-vector space and counting the lattice points within a spherical volume. I haven't explained it in detail but it's the same thing I do and they end up with the following formula:
It's essentially the number of unit cells, with an extra factor of two for what they say is polarization. I think that's also wrong; I would say the factor of two is necessary for the time displacement of one-quarter cycle; but that's a technical point. In any case I said I wouldn't be arguing about factors of two. It's the factor of three that's getting me.

What exactly does the electromagnetic field look like?? I first thought that it could be polarized in either the x, y, or z directions, giving me an extra factor of three. But then I realized that didn't make sense. In two dimensions you can add up all kinds of waves in the xy plane, keeping the polarization in the z plane. But there's no way you can take plane waves in three dimensions and add them up with all the same polarization. The polarizations is going to vary in different places... in other words, the field lines are going to curve.

How can you picture field lines curving through space and still meeting the required boundary conditions? Not the simplistic, incorrect boundary conditions described in the hyperphysics, link, but the correct e-m cavity conditions: perfectly conducting walls with the electric field perpendicular and the magnetic field tangential? After some hours staring at a box of Rice Krispies (as my typical rectangular cell) and drawing ellipses on different faces, this is what I came up with:
The green lines are the electric fields and the red ellipses are the magnetic fields. I am a bit troubled by a certain assymetry .... the unit cell has two "ellipsoids" of magnetic lines and one of electrical lines. (I've drawn the green electrical lines as though they form a torus, but that's bad artwork: the ellipses should be parallel.) Still, I think this is the correct configuration. It seems to work: as the magnetic loops collapse, the generate electric loops in generally the right places.

It's the count that bothers me. Of the six cell walls, four have magnetic loops on them and two are empty... in this case the side walls (the walls where they list the ingredients on the Rice Krispies box.) But I could have just as easily taken the front/back or the top/bottom faces to be the null faces. So there are three field configurations that fit this geometry. I can't think of any physical reason that shouldn't work.

So my mode count disagrees with Rayleigh-Jeans by a factor of three. And yet the Rayleigh-Jeans formula gives the correct energy for the field (at low frequencies), assuming each mode gets its alloted energy. It's a problem and I can't get around it.

For now I think I'm going to make use of the Rayleigh-Jeans formula and go ahead with my equilibrium calculations.

JAN 24 2013: It's taken me almost two years, but I found the flaw in my counting method. You can see what I did wrong if you click here.

Monday, February 21, 2011

What's the connection?

In my last posting, I showed that you could get a convert the formula for electromagnetic power density into a real-time picture of actual sine waves, but you got different results depending on how you chopped up the spectrum and how wide you chose the bandwidth. Here are three pictures of typical waveforms you can get from a given spectrum. The pictures are highly simplified to illustrate the most essential features of the waves. The single cycle of a sine wave is really intended to suggest hundreds or millions of cycles in general:


It's not completely arbitrary. I've written in a formula at the bottom of the picture to show that the three waveforms must have a certain property in common. I've expressed this property as a mathematical formula because that's what people do, but the physical significance of this common property is what really matters. And it relates to ... the drunkard's walk!

If any of these wave trains are applied to a harmonic oscillator, they will tend to build up the vibration; but because the applied wave and the mechanical oscillator are in general out of phase with each other, the amplitude of oscillation will build up not steadily, but randomly. Like the drunkards walk.

What these three wave forms have in common is that if you apply them to a given oscillator over a period of time, they will cause the oscillation to grow at equal rates!

You don't even need to know much about the dynamics of a driven oscillator to see why this ought to be so. It goes back to the drunkard's walk. Let's compare the first two wave forms. The driving force in the second case is four times as great, applied over one quarter the time. That's why those two waveforms both give the same rate of growth.

The third case is interesting. Compared to the first waveform, it's the twice the impulse applied one quarter as often. It's like the drunkard who takes a giant two-meter step, but only once every four seconds. Figure it out ... he has the same rate of progress as the drunkard who takes regular one-meter steps every second.

So you can take your pick. Any one of these waveforms applied to a harmonic oscillator will cause it to grow at the same rate. What is the rate of growth? It appears to get slower and slower as the amplitude of oscillation builds up. But notice something funny. If we measure the size of the oscillation not by its amplitude, but by its total energy ... the growth rate becomes a constant. The energy of oscillation grows at a constant rate.

So why doesn't it build up without limit? Because as it oscillates, it becomes a transmitting antenna, and radiates outwards in all directions. There are formulas from antenna theory that will give us an exact number for this, but it's enough for now to undertand that the radiated power is proportional to the square of the amplitude. In other words, its proportional to the total power of the mechanical oscillator.

As the oscillator builds up, it emits power at a faster and faster rate. At some moment this becomes equal to the rate at which it is absorbing power. That is the point of equilibrium, and we can now calculate it.


The Drunkard's Walk

Yesterday I showed how you could take a piece of the energy spectrum and convert it into an actual waveform. You just approximate the energy distribution by a series of sine waves, pick an arbitrary bandwidth, and add up the waves. The picture you end up with depends on how finely you chop up the distribution into discrete waves, and how many of those waves you choose to add up.

In each case you get series of wave trains of a certain duration, amplitude, repetition rate. Some examples of what you might get from a given distribution are:

10 mV/m pulses 4 microsecond duration 100 kHz repetition rate
40 mV/m pulses 1 microsecond duration 100 kHz repetition rate
20 mV/m pulses 4 microsecond duration 25 kHz repetition rate

(These aren't the exact values I worked out yesterday, but they illustrate the general pattern: multiply column A by column B and the square root of column C to get a constant value.)

I then claimed that no matter what choices you make, you will get the exact same result when you apply the resulting waveform the the problem of finding the equilibrium of a mechanical resonator in that field. Now I'm going to show why it works. To understand the reason we must first consider a famous math problem known as the Drunkard's Walk.

The premise of the problem is that you have a drunk standing under a lamppost and he begins to wander aimlessly. Every second he takes one step, and each step is one meter long. The question is, how far from the lamppost will he be found after a given time?

It's not such an easy question, but the answer turns out to be simple: in this example it's just the square root of the number of steps. So after 100 seconds the drunk is expected to be found (on average) ten meters from the lamppost.

Why should this be? Since his steps are totally random, shouldn't he make absolutely no progress on average?

That's also true. His most likely progress in any given direction is zero, and is most likely endpoint is...right where he started. But his average distance away from the lamppost is still ten meters. Go figure.

It's actually not hard to see why he must, on average, continue to get farther and farther away. Suppose at some time he happens to be five meters away from the lamppost. His next step will place him somewhere on an imaginary circle exactly one meter from his present location.

If you look at that circle, you will see that most of it (more than half of it, at least) lies outside a five-meter radius from the lamp!

If you look at the small circle you see that the segment of arc (in green) outside the five-meter radius is longer than the segment (in purple) inside five meters. This is true wherever he starts from; and so, on average, the drunk keeps getting farther from the lamppost.
How much farther? That's a tough one. But there is a little trick that will let us guess the answer. The most "neutral" thing the drunk can do is, arguably, to take a step perpendicular to the radius of the big circle. We can then use the Law of Pythagoras to see where he ends up. 5^2 plus 1^2 equals 26, so his distance from the lamppost is the square root of 26. Since his previous location at a distance of 5 represented the square root of 25, we see that this little trick gives us exactly the answer that we wanted...the distance goes as the square root of the number of steps.
We're going to need this trick when we go back to the harmonic oscillator.