---
title: Identical particles, the Pauli principle and the periodic table
heading: Why no two electrons share a state, and what that builds
eyebrow: B10 · Lesson 29 · Identical particles, the Pauli principle and the periodic table
xp: 50
---

::: hook
Two electrons aren't just similar; they're identical in a way no two classical objects are. Swapping them can't change anything measurable, and that one requirement splits all particles into two kinds. **Bosons** (photons, helium-4 atoms) are happy to crowd into the same state, which is how a laser works. **Fermions** (electrons, protons, neutrons) obey the **Pauli exclusion principle**: no two can occupy the same state. Pauli exclusion is why atoms have shells and chemistry has a periodic table, why metals have a Fermi energy of several eV even at absolute zero, and why the electrons in a semiconductor fill bands up to a sharp edge.
:::

::: play
- The shading is the joint probability density of two particles in a unit-width well, one in state 1 and one in state 2, plotted over their positions $x_1$ and $x_2$. The diagonal line is $x_1 = x_2$.
- s = 0: distinguishable particles. s = −1: the antisymmetric combination (fermions with parallel spins). s = +1: the symmetric one (bosons).
- For s = −1 the density vanishes all along the diagonal: two such fermions are never found at the same place, and they keep farther apart on average (readout). For s = +1 they bunch along it. No force is involved; this is the **exchange** effect.
:::
:::

```sim plot
view: flow
x: x1 = 0..1
y: x2 = 0..1
aspect: equal
slider: s = -1..1 step 1 = -1
shade: 4/(1 + s^2)*(sin(pi*x1)*sin(2*pi*x2) + s*sin(2*pi*x1)*sin(pi*x2))^2 | contours: 10
path: u, u | over: u = 0..1 | color: ch3
readout: RMS separation, units of the well width = sqrt(0.103341 - 0.0648911*s)
```

::: predict
## Three electrons occupy a 1D infinite well (and nothing else). The lowest total energy, in units of $E_1$, is

- [ ] 3, all in the ground state
- [x] 6: two in level 1 (opposite spins) and one in level 2
- [ ] 14: one each in levels 1, 2 and 3
- [ ] 9

::: reveal
Each spatial level holds two electrons, spin up and spin down. So the ground state is $E_1 + E_1 + 4E_1 = 6E_1$. Bosons could all sit in level 1 for $3E_1$; spinless fermions would need levels 1, 2 and 3, $14E_1$.
:::
:::

::: nameit
## Exchange symmetry

For two identical particles, $\lvert\psi(\mathbf r_1, \mathbf r_2)\rvert^2$ can't change when they're swapped, so ψ itself is either symmetric or antisymmetric:

$$\psi(\mathbf r_2, \mathbf r_1) = \pm\psi(\mathbf r_1, \mathbf r_2)$$

Particles with integer spin are **bosons** (+); half-integer spin, **fermions** (−). For one particle in state a and one in b,

$$\psi_\pm = \frac{1}{\sqrt2}\left[\psi_a(\mathbf r_1)\psi_b(\mathbf r_2) \pm \psi_b(\mathbf r_1)\psi_a(\mathbf r_2)\right]$$

If a = b, $\psi_-$ is zero: two fermions can't share a state. That's the **Pauli exclusion principle**. With spin included, the total wave function (space times spin) must be antisymmetric, so two electrons can share a spatial state if their spins form the antisymmetric singlet.

## The exchange effect

$$\langle(x_1 - x_2)^2\rangle_\pm = \langle(x_1 - x_2)^2\rangle_{dist} \mp 2\lvert\langle x\rangle_{ab}\rvert^2, \qquad \langle x\rangle_{ab} = \int x\psi_a^*\psi_b\,dx$$

Bosons draw together, spatially antisymmetric fermions push apart, when their wave functions overlap. This "exchange force" is behind chemical bonds and ferromagnetism.

## Filling levels

For N noninteracting electrons, fill levels from the bottom, two per spatial state. In a 1D infinite well with N even, the highest filled level is n = N/2, and the lowest empty one N/2 + 1. In an atom, subshell l holds $2(2l + 1)$ electrons and shell n holds $2n^2$; the order of filling (1s, 2s, 2p, 3s, 3p, 4s, 3d, ...) comes from electrons screening each other, which raises higher-l states.

## A molecule as a box

The π electrons of a conjugated dye molecule move along its chain almost freely. Modeling the chain as a 1D box of length L with N π electrons, the lowest absorption lifts one electron from level N/2 to N/2 + 1: $\Delta E = \frac{h^2}{8mL^2}(N + 1) = \frac{0.376(N + 1)}{L^2}$ eV. Longer chains absorb redder light.
:::

::: example
## A dye molecule has 10 π electrons on a chain 1.39 nm long. Estimate the wavelength it absorbs.

::: solution
1. **Energy gap.**
   $$\begin{aligned} \Delta E &= \frac{0.376 \times 11}{1.39^2}\ \text{eV} \\ &= 2.14\ \text{eV} \end{aligned}$$
2. **Wavelength.**
   $$\begin{aligned} \lambda &= \frac{1240}{2.14}\ \text{nm} \\ &= 579\ \text{nm} \end{aligned}$$
   Yellow light is absorbed, so the dye looks blue-violet.
3. **How good the model is.** This free-electron model gets cyanine dyes' colors roughly right, and the trend with chain length very well.

**Answer:** the dye absorbs at about 579 nm.
:::
:::

::: example
## Two particles in a unit well, in states 1 and 2. How far apart are they, as distinguishable particles, as bosons, and as spatially antisymmetric fermions?

::: solution
1. **The ingredients.** $\langle x\rangle = \frac12$ in both states, and
   $$\begin{aligned} \langle x^2\rangle_n &= \frac13 - \frac{1}{2n^2\pi^2} \\ \langle x\rangle_{12} &= -\frac{16}{9\pi^2} \end{aligned}$$
2. **Distinguishable particles.**
   $$\begin{aligned} \langle(x_1 - x_2)^2\rangle &= 0.2827 + 0.3207 \\ &\quad - 2(0.25) \\ &= 0.1033 \end{aligned}$$
   an RMS separation of 0.321.
3. **The exchange term.**
   $$2\lvert\langle x\rangle_{12}\rvert^2 = 0.0649$$
4. **Bosons and fermions.** Subtracting or adding it gives 0.196 for bosons and 0.410 for fermions.

**Answer:** the RMS separation is 0.321 for distinguishable particles, 0.196 for bosons and 0.410 for fermions.
:::
:::

::: example
## Two noninteracting electrons share a 1 nm box. What is the lowest total energy, and what is the lowest energy with their spins parallel?

::: solution
1. **Lowest total energy.** Both can sit in level 1 with opposite spins (a spin singlet):
   $$2E_1 = 0.752\ \text{eV}$$
2. **Parallel spins.** With parallel spins (a triplet), the spatial state must be antisymmetric, so one electron has to go up to level 2:
   $$\begin{aligned} E_1 + E_2 &= 5E_1 \\ &= 1.88\ \text{eV} \end{aligned}$$
3. **The cost of aligning.** The spin alignment costs $3E_1 = 1.13$ eV, though no magnetic force is involved: it's the Pauli principle acting through the spatial wave function. Real exchange energies, once the electrons' repulsion is included, are what make materials magnetic.

**Answer:** the lowest total energy is 0.752 eV, and the lowest with parallel spins is 1.88 eV.
:::
:::

::: check
given: N = 4 | 6 | 10; L = 0.8 | 1.2 | 2
answer: 0.37603*(N/2)^2/L^2
unit: eV
tolerance: 0.5%

## N = {N} free electrons fill a 1D infinite well {L} nm wide. What's the energy of the highest filled level?

::: right
Right. Two per level fills up to n = N/2: $E = \frac{0.376(N/2)^2}{L^2}$ = {answer} eV.
:::

::: misses
- [0.37603*N^2/L^2] Two electrons share each level (opposite spins), so it fills only to N/2.
- [any] Not yet. $E_n = \frac{0.376n^2}{L^2}$ eV.
:::
:::

::: check
given: N = 6 | 8 | 12; L = 1 | 1.5
answer: 1239.84/(0.37603*(N + 1)/L^2)
unit: nm
tolerance: 0.5%

## A conjugated molecule's N = {N} π electrons move along a chain {L} nm long. What wavelength does the box model say it absorbs?

::: right
Right. $\Delta E = \frac{0.376(N + 1)}{L^2}$ eV gives λ = {answer} nm.
:::

::: misses
- [1239.84/(0.37603*N/L^2)] The gap from n = N/2 to N/2 + 1 is $(2\cdot\frac N2 + 1)E_1 = (N + 1)E_1$.
- [any] Not yet. $E_{N/2+1} - E_{N/2}$.
:::
:::

::: check
given: N = 4 | 6 | 8
answer: (N/2)*(N/2 + 1)*(N + 1)/3
tolerance: 0.1%

## What's the lowest total energy of N = {N} noninteracting electrons in a 1D infinite well, in units of $E_1$?

::: right
Right. $2\sum_{n=1}^{N/2}n^2$ = {answer}.
:::

::: misses
- [N] That's for bosons, all in level 1.
- [N*(N + 1)*(2*N + 1)/6] That's for spinless fermions, one per level; electrons fit two per level.
- [any] Not yet. Two electrons in each level up to N/2.
:::
:::

::: check
given: n = 2 | 3 | 4
answer: 2*n^2
tolerance: 0

## How many electrons can shell n = {n} hold?

::: right
Right. $2n^2$ = {answer}.
:::

::: misses
- [n^2] Each orbital state holds two electrons, spin up and down.
- [any] Not yet. Sum $2(2l + 1)$ for l = 0 to n − 1.
:::
:::

::: check
given: L = 1 | 2 | 5; s = -1 | 1
answer: L*sqrt(0.103341 - 0.0648911*s)
unit: nm
tolerance: 0.5%

## Two identical particles occupy states 1 and 2 of an infinite well {L} nm wide, in the spatial combination with sign s = {s}. What's their RMS separation?

::: right
Right. $L\sqrt{0.1033 - s \times 0.0649}$ = {answer} nm.
:::

::: misses
- [L*sqrt(0.103341)] That's for distinguishable particles; the exchange term shifts it.
- [L*sqrt(0.103341 + 0.0648911*s)] Symmetric (s = +1) brings them closer: subtract.
- [any] Not yet. $\langle(x_1 - x_2)^2\rangle = 0.1033L^2 - 2s\lvert\langle x\rangle_{12}\rvert^2$.
:::
:::

::: check
kind: choice

## Two electrons are in the same spatial state of a well. What must their spin state be?

- [ ] Both up
- [ ] Both down
- [x] The antisymmetric singlet, $\frac{1}{\sqrt2}(\uparrow\downarrow - \downarrow\uparrow)$
- [ ] The symmetric $\frac{1}{\sqrt2}(\uparrow\downarrow + \downarrow\uparrow)$

::: misses
- [1] A symmetric spatial part times a symmetric spin part is symmetric overall, which fermions can't be.
- [2] Same problem: the spin state must be antisymmetric.
- [4] That's a symmetric (triplet) spin state.
:::
:::

::: check
kind: parts
given: k = 2 | 3 | 5

## Electrons fill the lowest {k} levels of a 1D box, two per level.

::: part
answer: k*(k + 1)*(2*k + 1)/3
unit: E₁
tolerance: 0.5%

### What is their total energy, in units of $E_1$?

::: misses
- [k*(k + 1)*(2*k + 1)/6] Each level holds two electrons.
- [any] $2\sum_{n=1}^{\given{k}}n^2$.
:::
:::

::: part
answer: k^2
unit: E₁
tolerance: 0.5%

### What is the highest filled level's energy?

::: misses
- [any] $k^2E_1$.
:::
:::
:::

::: check
kind: derivation
vars: k = 1..20

## 2k electrons fill a 1D box, two per level.

::: step
answer: k*(k + 1)*(2*k + 1)/3

### What is the total energy in units of $E_1$?
:::

::: step
answer: (k*(k + 1)*(2*k + 1)/3)/(2*k)

### What is the average energy per electron?
:::

::: right
Right. For large k the average is about a third of the highest level's energy, as in a metal's Fermi sea in one dimension.
:::
:::

::: explain
## Why does a metal's highest-energy electron have several electron-volts of kinetic energy even at absolute zero?

::: model
At absolute zero every electron is in the lowest state available to it, but by the Pauli principle no two electrons can share a state, and each spatial state holds just two (spin up and down). So the electrons fill the levels one pair at a time from the bottom, and with about 10²³ conduction electrons per cubic centimeter, the filling has to reach far up. The highest filled level, the Fermi energy, ends up several eV above the bottom of the band. Those electrons can't lose that energy, because every lower state is already taken; it's a quantum effect with no classical counterpart, and it sets the scale of a metal's work function, its compressibility and its contact potentials.
:::
:::

::: practice

::: check
given: N = 8 | 14; L = 1 | 3
answer: 0.37603*(N/2)^2/L^2
unit: eV
tolerance: 0.5%

## Highest filled level for {N} electrons in a {L} nm well?

::: misses
- [any] $\frac{0.376(N/2)^2}{L^2}$ eV.
:::
:::

::: check
given: N = 4 | 22; L = 0.7 | 2.8
answer: 1239.84/(0.37603*(N + 1)/L^2)
unit: nm
tolerance: 0.5%

## Box-model absorption for {N} π electrons on {L} nm?

::: misses
- [any] $\Delta E = \frac{0.376(N + 1)}{L^2}$ eV.
:::
:::

::: check
given: N = 2 | 4 | 6 | 8 | 10 | 12 | 20
answer: (N/2)*(N/2 + 1)*(N + 1)/3
tolerance: 0.1%

## Ground energy of {N} electrons in a 1D well, units of $E_1$?

::: misses
- [any] $2\sum_{n=1}^{N/2}n^2$.
:::
:::
:::
