“Know how to solve every problem that has been solved.” “What I cannot create, I do not understand.” — Richard Feynman

The Particle in a Box by Hand — A dye molecule's color from one formula

Exercises

Introductory Quantum MechanicsUnit 2 · Bound states in one dimensionThe Particle in a Box by Handall problems

Worked example Problem 1 of 10

A dye molecule's color from one formula

Problem
Model the six electrons of hexatriene as free particles in a 1D box of length nm (the length of the conjugated chain). Fill the levels per the Pauli principle, find the lowest-energy absorption, and compare the predicted wavelength with the measured 268 nm.

Solution

The box energies are — everything below is this one formula plus counting. First the energy scale of THIS box:

Predict before reading on. Six electrons, two per level (spin up + spin down). Before reading on: which level is the highest occupied, and which transition is the lowest-energy absorption?

Electrons fill (two each). The lowest absorption promotes one electron from to :

Predict before reading on. Before converting to wavelength, predict the direction of the model’s error: a real chain lets the electron leak slightly past the end carbons. Does that make the true box longer or shorter, and the predicted too big or too small?

Convert with :

13% short — because the box is effectively longer than the bare C–C skeleton (the electron leaks past the ends), which lowers and lengthens . A crude model with zero adjustable chemistry lands within 15% of a real UV spectrum, and predicts the right trend: every added conjugated bond stretches , shrinks , and pushes absorption toward the red — exactly how dye chemists tune color.

Predict before reading on. Articulate in one sentence: what two ingredients did the entire calculation consist of?

Result