At a glance
This sim draws the spherical harmonics Yℓm(θ, φ), the angular wavefunctions of a particle with definite orbital angular momentum. Two integers, ℓ and m, choose the state, and the 3-D picture shows how the wavefunction varies with direction.
What you'll learn
- How a function of direction becomes a 3-D surface, and what the radius and the colours stand for.
- How ℓ and m together fix a state and what each says about the angular momentum.
- How the node counts relate to the shape you see.
- How the Real and Complex forms of one state differ.
What's on screen
- Blue: Y > 0 in Real mode. Pale grey is Y ≈ 0.
- Red: Y < 0 in Real mode.
- Grey axes: x, y and z. The vertical z axis is the polar axis that θ is measured from.
- Legend (on the canvas): the colour scale for the current mode.
- Quantum Numbers: the label Yℓm and the two sliders.
- Nodal Structure: three node counts for the current state. The Guided Inquiry reveals it at card 4.
The controls
Press ⌖ on a row to see where that control sits in the sim.
| Control | What it changes | Range | |
|---|---|---|---|
| ℓ slider | Chooses the quantum number ℓ. | 0–6, steps of 1 opens at 2 | |
| m slider | Chooses the quantum number m. | steps of 1 opens at 0 | |
| Real / Complex | Draws the same ℓ and m in its Real or its Complex form (section 07). | 2 buttons opens on Real | |
| Visualization Mode | Point Cloud, Polar Surface or Projection: three ways to draw Y (section 03). | 3 buttons opens on Polar Surface | |
| Point Count | How many dots Point Cloud draws. It appears only in Point Cloud mode, and the ⌖ switches to that mode. | 2,000–60,000 opens at 15,000 | |
| Surface Cutoff | Fades the parts of the surface closer to the origin than this fraction of its largest radius. It changes the drawing only. It appears only in Polar Surface mode. | 0.05–0.90 opens at 0.10 | |
| Nodal Structure | Three node counts for the current state (section 05). | panel | |
| Note under Harmonic Type | A short note about the current form, with a link that switches between Real and Complex. | panel | |
| Legend | The colour key. Real: sign and size of Y. Complex: phase of Y as hue, darker where |Y| is small. | on the canvas | |
| Mouse on the 3-D view | Left-drag rotates, scroll or pinch zooms, right-drag pans. The harmonic does not change. | canvas | |
| Reset | Returns ℓ = 2, m = 0, Real, Polar Surface, Cutoff 0.10, Point Count 15,000 and the camera. | top bar |
Fixed: only the angular factor Y is drawn. There is no radial part and no time dependence.
The surface plots |Y|, not a position
A hydrogen-like orbital factors as ψ = R(r) Yℓm(θ, φ). The sim draws only Y, which depends on direction alone, so no distance from a nucleus appears anywhere in the picture.
- Polar Surface. In each direction the surface sits at radius 1.2 |Y| / max|Y|. Where Y = 0 it pinches to the origin. In Real mode blue is Y > 0 and red is Y < 0.
- Projection. A sphere of fixed radius 1.5, coloured by Y. The nodes are where the colour crosses zero. There are no lobes.
- Point Cloud. Each direction is kept with probability proportional to |Y|², so the dots crowd where |Y|² is large. Each dot is still placed at a radius proportional to |Y|.
|Y|² is a probability density per unit solid angle, and the length you see is |Y|. The lobes are a plotting choice: Projection shows the same Y without them.
Two integers label every state
Yℓm is a simultaneous eigenfunction of L² (the squared magnitude of the orbital angular momentum) and Lz (its component along the grey z axis):
- ℓ sets the magnitude: |L| = √(ℓ(ℓ+1)) ħ.
- m sets the z component, Lz = mħ. One full turn round z must return eimφ to itself, so m is an integer.
- The angular-momentum algebra allows only |m| ≤ ℓ. That leaves 2ℓ+1 states for each ℓ, the values the m slider steps through.
- ℓ = 0 has no preferred direction. Y00 = 1/√(4π) ≈ 0.282 is the same in every direction.
Nodes split into planes and cones
A node is a direction where Y = 0. Two factors of Y can vanish, and they give two families of node:
- Planes. In Real mode the azimuthal factor cos(mφ) or sin(|m|φ) gives |m| planes through the z axis.
- Cones. Pℓ|m|(cos θ) has ℓ−|m| zeros, each a cone about z. A cone at θ = 90° is the flat equatorial plane.
- Sign changes. In Real mode, going once round a circle of latitude that is not itself a node, the sign changes 2|m| times. The equator is a node when ℓ−|m| is odd.
These sliders move the sim too.
L is always longer than Lz
A Complex harmonic is an Lz eigenstate, so Lz = mħ is sharp. But √(ℓ(ℓ+1)) > ℓ ≥ |m|, so Lz is always shorter than |L|. In the vector-model picture, L makes an angle θL with z, where cos θL = m/√(ℓ(ℓ+1)).
- Even at m = ℓ = 2 the best case is 2ħ out of 2.449ħ, a tilt of 35.3°.
- The missing length has no direction. ⟨Lx⟩ and ⟨Ly⟩ are zero, but their squares are not.
- This is forced by [Lx, Ly] = iħLz: L² and one component can be sharp together, never all three components.
Real and Complex harmonics differ in Lz
Both forms have the same ℓ and the same L². They differ in what they say about Lz.
- Complex is the Lz eigenstate. |Y| has no φ dependence, so the surface is symmetric about z, and the φ structure appears as hue: the phase winds |m| times round each circle of latitude.
- Real mixes +|m| and −|m| equally. It has lobes and sign changes, and ⟨Lz⟩ = 0.
- At m = 0 the two forms are identical, because there is no eimφ factor.
- The sim plots Y(θ, φ) only. A stationary state's time factor e−iEt/ħ is the same in every direction, so it would change no shape.
Where it matters
- Atomic orbitals. The angular part of every hydrogen-like orbital is a Yℓm. The letters s, p, d, f stand for ℓ = 0, 1, 2, 3, and the chemist's px, py, pz are the Real forms. The radial part, which this sim does not draw, sets the size.
- Rotating molecules. The rotational states of a rigid diatomic molecule are YJm, with energy ħ²J(J+1)/(2I) and 2J+1 states at each level.
- The cosmic microwave background. The temperature pattern over the whole sky is expanded in spherical harmonics. A multipole ℓ corresponds roughly to an angular scale of 180°/ℓ, and the first acoustic peak sits near ℓ ≈ 220.
Go deeper: the Zeeman shift
- A magnetic field B along z adds an orbital energy μBBm, so it picks out the Complex harmonics. With μB = 57.9 μeV/T, ℓ = 2 splits into five levels spanning 4μBB = 0.23 meV at 1 T (orbital motion only; spin adds its own shift).
- In a crystal field, which has lower symmetry than a sphere, the energy eigenstates are usually Real combinations such as dxy and dz².
Summary
Key points
- ℓ sets |L|, m sets Lz, and each ℓ has 2ℓ+1 values of m.
- The angular nodes are |m| planes plus ℓ−|m| cones.
- Lz is always shorter than |L|; the difference is spread over Lx and Ly.
- Complex harmonics are Lz eigenstates. Real harmonics mix +|m| and −|m|.
Common mix-ups
- "The lobes show how far the electron is from the nucleus." The radius is |Y| in that direction. Distance from the nucleus belongs to R(r), which is not drawn.
- "Red means negative probability." Red is Y < 0 in Real mode. The probability density |Y|² is never negative.
- "m is the angular momentum." m gives only the z component, Lz = mħ. The magnitude √(ℓ(ℓ+1)) ħ is always larger.
Things to try on your own
- Set ℓ = 4, m = −2 in Real mode. Work out the numbers of planes and cones, then check them against the Nodal Structure panel.
- At ℓ = 3, step m from 0 to 3 and note which values make the equator a node.
- Switch ℓ = 3, m = 1 to Complex and count how many times the hue cycles round a circle of latitude.