At a glance
The sim sends neutral atoms through a magnet whose field changes with height, and records where each atom lands on a screen. The pattern shows which directions an atom's magnetic moment can take, which is how this experiment first tested whether those directions are quantised.
What you'll learn
- Why a magnet whose field varies in space can push an atom that has no charge.
- What the screen shows if the moment may point any way, and if only some directions are allowed.
- How the spin j and the field gradient each change the pattern.
- How to read the counts on the screen as probabilities.
What's on screen
- Atoms (green) leave the source. Inside the magnet each takes the colour of its Beam Legend row.
- Magnet: N pole above (pointed), S pole below. |B| max and |B| min mark the strongest and weakest field.
- Detection window: each atom that reaches the screen leaves a dot. Its title names the rule running.
- Orange dots: the classical prediction (section 04).
- Sidebar: the Total detected, and the Beam Legend with a count per row.
The controls
Press ⌖ on a row to see where that control sits in the sim.
| Control | What it changes | Range | |
|---|---|---|---|
| Total Spin (j) | The atom's spin quantum number. Changing it clears the screen and the counts. | j = 0, ½, 1, 3/2, 2 opens at 1/2 | |
| Magnetic Field Gradient | How fast the field strength changes with height, ∂B/∂z. Atoms already on the screen stay there when you move it. | 1–6 T/m opens at 3 | |
| Beam Intensity | How many atoms the source emits each second. | 1–20 atoms/s opens at 8 | |
| Beam: On / Off | Starts or stops the source. Atoms already in flight finish their trip. | button opens On | |
| Switch to Classical Prediction | Swaps the rule that gives each atom its moment, between the quantum one and the classical one. Switching clears the screen and the counts. | button opens in quantum | |
| Detection Statistics | The mode banner and the running Total of atoms that have reached the screen. | panel | |
| Beam Legend | One row per value of mJ, with its colour and its count. Rows run from the highest mJ at the top, but on the screen the highest mJ lands lowest. | panel | |
| Reset | Clears the screen, the counts and the atoms in flight. j, the gradient and the intensity keep their values. | top bar |
Fixed: the sim sets gJ = 1 (a real silver atom has gJ = 2) and draws the screen in pixels, so compare gaps as ratios, not as millimetres.
A field gradient pushes a neutral atom
The atoms carry no net charge, so the magnetic field exerts no Lorentz force on them. They do carry a magnetic moment μ, locked to their angular momentum J:
In a uniform field the energy U = −μ·B only twists the moment and gives no net force. A force needs the field to change with position, which is why one pole is pointed:
In the sim ∂B/∂z is positive, so an atom with positive mJ is pushed down and one with negative mJ up. The push acts only while the atom is between the poles. After that it drifts in a straight line to the screen.
Classical physics predicts a continuous smear
Suppose the moment could point in any direction with equal chance. Then μz would take every value from −μ to +μ with equal weight, and so would the force. The same 1/(2μ) applies everywhere between the two edges, so the screen would fill evenly.
In the sim, the classical mode gives each atom a random value anywhere between −j and +j, so its edges sit where the outermost quantum values would land. The orange dots then fill the space between with no gap.
The projection takes only 2j + 1 values
Quantum theory allows Jz only the values mJħ, with mJ = −j, −j + 1, …, +j. That is 2j + 1 values in steps of one. Each value gives its own force, so each gives its own place on the screen.
- Integer j includes mJ = 0, so one band sits on the centre line. Half-integer j does not.
- j = 0 allows only mJ = 0. Then μz = 0 and there is no force at any gradient.
- A larger j adds bands outward without moving the ones already there.
The gradient sets the spacing
An atom is pushed for the time L/v it spends in the magnet, then drifts a distance D. Adding the two stages gives its height on the screen:
These sliders move the sim too. Changing j clears the screen.
- Linear. ζ is proportional to ∂B/∂z, so doubling the gradient doubles every gap. It is not squared.
- Equal gaps. Band positions are −mJζ, so neighbours are always ζ apart.
- Slower atoms bend more. ζ goes as 1/v², so the sim's small spread of speeds blurs each band a little.
An unpolarised beam fills each band equally
The magnet ties each atom's height to its mJ, so where an atom lands tells you which mJ it had. Quantum theory gives only the probability of each outcome:
The sim's source has no preferred direction, so every mJ has the same probability, 1/(2j + 1). After N atoms each band holds about N/(2j + 1), give or take √(Np(1 − p)). At j = 1/2 and N = 100 that is 50 ± 5: close, but never forced to be equal.
The sim draws one mJ for each atom at the source and then moves the atom classically. That reproduces these counts. It cannot show an atom in a superposition, a precessing moment, or what a second magnet would do.
Where it matters
- The 1922 experiment. Stern and Gerlach sent silver atoms through a gradient of about 10 T/cm (1000 T/m) and found two bands where classical physics predicts one smear. The two bands are now explained by electron spin ½, proposed three years later.
- Cold-atom experiments. Gradient pulses still separate atoms by spin state so that each state can be counted.
- Beam experiments and clocks. Rabi's molecular-beam resonance method and caesium beam clocks use gradient magnets to select atoms in one state.
Go deeper: the size of the real split
- The sim's 1–6 T/m is a teaching range, hundreds of times weaker than a real magnet, and its gJ = 1 halves the force. Only the ratios are physical.
Summary
Key points
- The force is Fz = μz ∂B/∂z. No gradient, no force.
- Classically μz takes every value. Quantum mechanics allows only mJ = −j … +j.
- j sets how many bands there are. The gradient sets how far apart they are.
- An unpolarised beam gives each band probability 1/(2j + 1).
Common mix-ups
- "A stronger magnet splits the beam into more bands." The number of bands is fixed by j. The gradient only moves them apart.
- "The classical pattern is just the quantum one, blurred." The classical rule has no gaps, and no gradient creates any.
- "The field pushes the atoms because they are charged." The atoms are neutral. The force comes from the moment in a field gradient.
Things to try on your own
- Set j = 0 and drag the gradient from 1 to 6 T/m. Describe the screen.
- At j = 3/2, find which band sits closest to the centre line and note which mJ it is. Repeat at j = 1.
- Run the classical rule at j = 1 and again at j = 2, and compare each pattern's edges with the outermost bands in quantum mode.