Visual walkthrough — Pauli exclusion principle
Step 1 — Two electrons, and a picture of "state"
WHAT. Before any physics, let's agree on a picture. An electron doesn't sit at a point; it lives in a state — a fuzzy cloud that tells you where it's likely to be found. We label a full state by its address, the four quantum numbers from Quantum numbers. Call one whole address a state , another state .
WHY. To ask "can two electrons be identical?" we first need a symbol for "the state one electron is in". We write = the cloud for an electron in state . The symbol (Greek "psi") is just a name for that cloud; nothing more yet.
PICTURE. Two clouds side by side — a blue one () and a yellow one (). Two electrons, labelled 1 and 2, are little dots we drop into them.

Step 2 — The naive guess, and why it lies
WHAT. The obvious way to describe "electron 1 in , electron 2 in " is the plain product:
WHY it lies. This writing claims to know that electron 1 is the one in . But electrons are indistinguishable — there is no paint, no name tag, no way to tell which is "1". If we labelled it the other way we'd get , an equally valid description. The naive guess secretly picked a favourite. Nature has no favourite.
PICTURE. Two boxes: the left box paints electron 1 blue (in ); the right box swaps them. If reality can't distinguish the boxes, neither can point at "the true one".

Step 3 — The swap test: what "identical" forces
WHAT. Define the swap operation: exchange the labels everywhere. Since swapping two truly identical things changes no measurable thing, the cloud can only change by an overall sign (a or a ). Squaring the cloud gives probability, and , so a sign is invisible to measurement — that's the only freedom allowed.
- ::: symmetric — used by bosons (see Fermions and bosons).
- ::: antisymmetric — used by fermions.
WHY the minus for electrons. Electrons are spin- fermions (that's the origin of the from Electron spin). A deep theorem of quantum theory pins spin- particles to the minus sign. We take that as our one imported fact.
PICTURE. A mirror labelled "SWAP". A symmetric cloud reflects to itself unchanged (green, ). An antisymmetric cloud reflects to its own negative (red, sign flipped) — same shape, opposite sign.

Step 4 — Building a cloud that passes the swap test
WHAT. Neither naive product passes Step 3's rule alone. So we subtract them:
Term by term:
- ::: labelling A (1-in-, 2-in-).
- ::: labelling B (2-in-, 1-in-) — the swapped version.
- the minus between them ::: the ingredient that will flip sign on swap.
- ::: a bookkeeping scale so total probability stays (normalisation). It never affects whether the cloud is zero.
WHY this exact form. Why subtract, not add? Because we need the minus sign under swap. Watch: relabel inside the bracket — the two terms trade places, and trading places across a minus sign multiplies the whole thing by . Adding would give (that's the boson recipe). Subtracting is the fermion recipe.
PICTURE. A balance scale: labelling A on the left pan, labelling B on the right, minus sign in the middle. Swapping the pans tips the sign — the machine that guarantees antisymmetry.

Step 5 — The forbidden case: set
WHAT. Now ask the Pauli question directly: what if the two electrons want the same address? Set state equal to state everywhere (: same ). Substitute into Step 4:
The two products are now the same thing (multiplication doesn't care about order), so they cancel:
WHY this is the whole point. The cloud squared is the probability of finding the electrons. If everywhere, the probability is everywhere — this configuration describes nothing that can happen. We never invoked a force or a rule; the exclusion fell straight out of "subtract, then set equal".
PICTURE. The blue and yellow clouds slide together until they overlap perfectly; the balance's two pans become identical and the difference collapses to a flat zero line — the state vanishes.

Step 6 — Edge case: only three numbers match
WHAT. What if are identical but the spins differ, vs ? Then (they disagree in the 4th slot), so Step 5's cancellation does not happen — the cloud survives, . This is allowed and normal.
WHY it matters. This is exactly two electrons in one orbital (a fixed ) with opposite spins. Since has only two values, once both are used a third electron in the same orbital would have to reuse one spin → all four numbers match → back to . Hence the ceiling: 2 electrons per orbital.
PICTURE. One orbital box holding an up-arrow () and a down-arrow (): allowed. A third arrow would have to copy one of them — struck out in red.

Step 7 — From the ceiling to
WHAT. Count states allowed under Step 6. A subshell of azimuthal number has orientations (that's ), each holding 2 electrons. Summing over all in shell :
Term by term:
- ::: number of orbitals in that subshell.
- the ::: two spins per orbital (Step 6).
- ::: add up every subshell in the shell.
WHY it simplifies. The odd numbers sum to (a classic square-of-dots fact). Doubling gives:
PICTURE. A staircase of odd-length rows () assembling into a perfect square, then each cell doubled for the two spins — the made visible. This is the engine behind Periodic table periodicity.

The one-picture summary
WHAT. The entire derivation as one flow: indistinguishable → sign-flip on swap → subtract the two labellings → set states equal → → 2 per orbital → .

Recall Feynman retelling — the whole walk in plain words
Two electrons are so alike you literally can't tag them "1" and "2". So any honest description has to look the same after you secretly swap them — except for a hidden sign we're allowed to have. Electrons happen to be the "minus-sign" kind, so we build their combined cloud by taking one labelling minus the other. That subtraction is a booby trap: the moment you force both electrons into the exact same address, the two halves become identical and cancel to a flat zero. A zero cloud means zero chance — that arrangement simply can't be. So two electrons must differ in at least one of their four address numbers. Since the "spin" slot has only two settings, one orbital fits at most two electrons, opposite spins. Count the orbitals per shell, double for spin, and the odd numbers stack into a square: electrons per shell — the shape of the whole periodic table.
Recall Self-test
Why does the minus sign (not plus) force Pauli? ::: Under swap it multiplies the state by ; setting the two states equal makes the two terms identical, and equal-minus-equal is zero. What does physically mean? ::: Zero probability everywhere — the configuration cannot exist. Why exactly 2 electrons per orbital? ::: The three orbital numbers are fixed, leaving only — two choices before all four match.
Connections
- Quantum numbers — the four-part address every step uses
- Electron spin — where the two values (Step 6) come from
- Fermions and bosons — the fork in Step 3
- Aufbau principle — turns the per-orbital ceiling into filling order
- Hund's rule — arranges electrons within the ceiling
- Periodic table periodicity — reads out as period lengths