Quantum Harmonic Oscillator
Nearly everything we interact with in ordinary life is made of molecules. Molecules of any size can be thought of as nuclei held together by electrons in much the same way as masses would be connected by springs. As such, molecules vibrate just as masses attached by springs do.
One difference between macroscopic and microscopic oscillators is that we only tend to notice the quantization of energy levels in microscopic ones. Another difference as we'll see when we numerically calculate the wave functions for the QHO is that such molecular oscillators can extend to lengths that would be classically forbidden and lead to negative kinetic energies. This is much like the barrier tunneling in that there is an exponentially decaying tail on the wave function in such regions where U(x)>E.
The fact that the energy levels of the QHO are quantized should not be surprising since it was Max Planck that suggested it. He suggested that oscillators can not just vibrate at any amplitude, but must contain an integer multiple of quanta, or a total energy of , which we'll see was actually incorrect, but close enough to explain blackbody radiation.
Albert Einstein suggested that light itself must be seen as coming as packets of energy (or field quanta) of the same amount of energy, E=hf. I hope you see that these facts are all related. Molecules oscillate with quantized energies, and they give off photons as they transition from higher to lower quantized energy states.
Oscillation Frequency
A molecular oscillator is just like a mass/spring system from first semester. The big and important difference is that the mass/spring system had one fixed (and assumed unmovable) support on one end and a mass on the other. In such cases, as you probably recall, the angular frequency of the vibration is just where I use (kappa) for the elastic constant rather than k here so it doesn't get confused with the wave number.
The difference between that mass/spring system and a vibrating molecular oscillator is that all the atoms in a molecule are free to move. In the simplest case of a diatomic molecule we have to account for the fact that both atoms move. To do this, in the expression of angular frequency, we use what's called the reduced mass of the system. The reduced mass accounts for the fact that with a movable mass on either end, it will be twice as easy for a given spring to draw them together - since they both move rather than just one of them. It also allows us to find a value to use for mass when the two atoms are of different mass such as CO (carbon monoxide). The expression for reduced mass is
So in the case of CO, for instance, the value in grams per mole (which would need to be converted to kg) is just
Molecular Oscillations
As a general rule, molecules will oscillate at many different frequencies all at the same time. The bigger the molecule, the larger that number will be. For any polyatomic molecule that is non-linear in structure the number of frequencies (some may be redundant or degenerate due to symmetry) is 3N-6, where N is the number of atoms in the molecule. For linear molecules it is 3N-5.
Thus for a diatomic molecule like the diatomic nitrogen that makes up much of the air we breathe, we have 3(2)-5 = 1 vibration which occurs when the molecule stretches the "spring" between the two atoms. With a molecule like water, which is non-linear due to its bend, we have 3(3)-6 = 3 frequencies.
For caffeine, one of my favorite molecules, there are 24 atoms which contribute to 3(24)-6 = 66 frequencies of vibration. As you can see the number grows rapidly. Any chunk of bulk material has very, very many frequencies of vibration that may be essentially thought of as a continuum of values.
Whatever the case may be, those frequencies have quantized energies. If we know the frequency of the vibration, we know that the corresponding energy of such a QHO will be
These results come from solving Schrödinger's equation using the same potential energy that we derived in first semester for the mass on a spring, or While the addition of this potential energy term to Schrödinger's equation isn't hard to understand, the solution of the equation becomes very difficult. It requires sophisticated techniques and is usually written in terms of special functions called Hermite polynomials developed exactly for an equation of this type. We will not go into the analytic solution, but using GeoGebra we can rather easily solve Schrödinger's equation numerically.
Before doing that, however, I want to point out that this result should be contrasted with Max Planck's E=Nhf. We find that the QHO actually has a non-zero ground state energy of . This is called the zero point energy, and indicates that molecules can never stop moving such that they cease to contain vibrational energy, even at absolute zero. Notice that while this result is different from that of Max Planck, that the energy level steps are identical in both equations, and that's why his hypothesis still predicted correctly the blackbody spectrum of an object.
Absorption of Light by QHO
Light typically provides the energy to allow a molecular oscillator like the molecules of air to be excited to energy levels above their ground states. In such cases there is what's called a selection rule that limits the possibility of transitions. The rule is that the quantum number can only be raised or lowered by one, or Given the fact that for any oscillator all the energy levels are separated by the same amount (hf), this means only a single wavelength of light may be absorbed or emitted. To find that wavelength, simply set the energy of a photon equal to This gives:
I should mention here that when light is absorbed by a molecule to excite it to a more excited vibrational state, that the molecule can simultaneously transition to a different rotational state. Therefore the spectrum is more complicated than this one frequency in actual practice, but in a way that can be easily predicted. Such spectra are called, rather appropriately, vibrational/rotational spectra. To read more about such spectra, please see this link.
Numerical Solution to Schrödinger's Equation
Solving equations like Schrödinger's equation numerically is rather similar to other equations we've solved numerically. In the majority of cases we had second order differential equations to solve, which had to be written as a pair of first order equations. This will still be the case since Schrödinger's equation is also second order.
Solving such an equation numerically is conceptually a simple process. If we algebraically shuffle the differential equation such that we isolate the second derivative (curvature), we can think of that as a recipe. Given a starting value of the wave function and a starting slope, that second derivative recipe will find each successive point on the function such that the curvature recipe is satisfied. In tiny steps each additional point is found until what looks like a function is found. Keep in mind that this "function" obtained via numerical methods is really a series of discrete points rather than a true function.
The trouble with numerical solutions like this is that they will give us such a function for any choice of energy, and energy is what we want to find along with the wave function. If you look at the shape of the wave functions that arise from arbitrary choices of energy, however, they will always diverge in the forbidden energy regions where U(x)>E, which we know is non-physical, just as we found we had to throw away the growing exponential term in our solution to the barrier tunneling problem.
If the energy, however, is chosen carefully, the solution will lead to an exponentially decaying tail in such regions, and when we see that convergence we know we have a valid energy value and corresponding wave function. Due to numerical algorithms being very good, but not perfect solutions to equations, the convergence of that decaying tail may not be perfect, as any instability in the numerical solution will cause sudden divergence in the forbidden region even after the function looked like it was settling. You'll see this in our lab exercise, and need not be concerned about it.
Setting up a Numerical Solution
Schrödinger's equation for the QHO is written
We need to arrange this equation as a pair of first order differential equations. I will use funny looking names like P for psi, and dPdx as a variable name to contain the derivative of the wave function since it's easy to understand. Thus we have to enter these two equations into GeoGebra:
P'(x,P,dPdx)=dPdx
which simply defines the first derivative of the wave function, and dPdx'(x,P,dPdx)=-2*(E-1/2*x^2)*P
which defines the second derivative according to the equation we got above. In the second equation I assumed for simplicity that Doing this will give energies in units of So if you do this calculation and find an energy of 2.0 leads to a proper wave function, understand that
We will look into this solution further during your lab exercise. You'll see that it will be necessary to search for even and odd functions separately. This will be done by careful selection of boundary conditions. Below is an interactive graphic showing the even solutions to the QHO.
At least two things are instructive about the graphic. First you'll see that the wave function is wavy in the region where E>V, and decays in the region where E<V so long as you choose an energy that causes the solution to settle in that forbidden energy region. If not, the function will rapidly diverge in the forbidden region. The tendency to be wavy or oscillate where E>V is universal. Likewise, the decay of a wave function in forbidden energy regions is also universal.