Box Model for Conjugated Molecules
A dye molecule absorbs a photon and turns from colorless to brilliantly colored. The wavelength of that absorption can be predicted from a formula you could write on an index card. The particle-in-a-box model was first met as an abstract exercise in Energy Levels and Quantization in the 1D Box. It turns out to be a strikingly effective cartoon of the π-electron system running along a conjugated polyene chain. Treat the alternating single and double bonds as a wire of finite length. Pour in the π electrons two at a time, obeying the Pauli principle. The gap between the highest filled and lowest empty level lands remarkably close to the real ultraviolet-visible absorption energy. This holds for molecules like hexatriene, octatetraene, and the cyanine dyes. This matters because it is one of the few places where a genuinely quantum mechanical model connects directly to something visible. The model is exactly solvable, yet it links straight to a color you can see. It also links to a spectrum you can measure with an undergraduate UV-Vis instrument. The box model requires no computer, no variational parameters fit after the fact, and no Slater determinants. It needs only a chain length, a bond count, and arithmetic. Yet it captures the central qualitative trend of conjugated chemistry. Longer conjugation shifts absorption to the red. This is exactly what chemists have known empirically for a century of dye synthesis. The big picture is that delocalization lowers kinetic energy. A π electron confined to a single double bond is confined to a short box. It pays a steep quantization penalty for that confinement. The same electron delocalized over ten conjugated bonds sits in a long box. There it finds tightly packed, low-lying levels. This is the same physics that makes aromatic stabilization energetically favorable. It is also the same physics behind the general concept of conjugation. Here we view it through a solvable Schrödinger equation rather than resonance structures alone. This article builds the free-electron model (FEMO) step by step. It covers how to count π electrons. It covers how to choose an effective box length, using bond lengths and an end correction. It shows how to build the HOMO–LUMO gap into a predicted absorption wavelength. It also explains where the model succeeds, where it quietly fails, and why. Three worked examples move from a textbook-clean case, to a real dye, to a search for a semi-quantitative trend across a whole series. Every number is traceable back to the underlying quantization used in Normalization and Probability Densities in the 1D Box.
- Model π electrons of a conjugated chain as independent particles in a 1D box of length ≈ chain length plus one bond-length end correction.
- Electrons fill levels two-at-a-time (Pauli principle) from upward; for π electrons the HOMO is .
- The HOMO–LUMO gap converts directly to a predicted absorption wavelength via .
- Longer conjugated chains → longer box → smaller level spacing → red-shifted absorption, matching the classic polyene/cyanine dye trend.
- The model is a zeroth-order picture: it ignores electron–electron repulsion, bond-length alternation, and the true potential shape, so quantitative accuracy is modest but the trend is right.
- Key idea: confining π electrons to a finite conjugated chain turns quantization itself into a working predictor of molecular color.
Where this lives today
The free-electron box model is far from a historical curiosity confined to textbooks; its core logic — count the delocalized electrons, estimate the delocalization length, predict the gap — remains the fastest back-of-envelope tool for thinking about any new conjugated chromophore. Photographic and textile dye chemists use the qualitative trend daily: extending a polymethine or polyene chromophore by one more vinylene unit reliably red-shifts absorption, a design principle that long predates and now sits comfortably alongside modern time-dependent density functional theory (TD-DFT) calculations used for precise quantitative prediction. Cyanine dyes of the kind analyzed in Example 2 are the workhorse fluorophores in modern biological imaging — Cy3, Cy5, and related near-infrared cyanine dyes used to label antibodies, oligonucleotides, and proteins in fluorescence microscopy and DNA sequencing owe their tunable absorption windows directly to the chain-length dependence this model predicts. Conducting polymers such as polyacetylene and polythiophene, central to organic electronics and organic photovoltaics, are conceptually the "" limit explored in Example 3: understanding why their band gaps saturate rather than closing entirely connects directly to the bond-alternation caveat in the traps table, and motivates the more sophisticated Su–Schrieffer–Heeger and Hückel-with-alternating-bonds treatments used in solid-state and polymer chemistry. In photoreceptor biochemistry, the extended conjugated polyene chain of retinal — the chromophore of rhodopsin responsible for vision — is a textbook case where the box-model gap estimate, refined with realistic bond lengths and a proper account of the protonated Schiff base terminus, gives a first quantitative handle on why the visual pigment absorbs where it does, before more accurate multireference quantum chemical methods are brought to bear. Even in a modern computational chemistry course built around Hückel Molecular Orbital Theory or full ab initio methods, the free-electron box model earns its keep as the fastest sanity check: if a proposed new chromophore's conjugation length changes, the box model instantly predicts which direction the color should shift, a first-pass filter before committing to expensive calculations or synthesis.
Ask the tutor: How would the HOMO–LUMO gap formula change for a cyclic conjugated system like benzene, where the box has periodic boundary conditions instead of hard walls?
The physical picture
Picture a linear polyene such as octatetraene, CH₂=CH–CH=CH–CH=CH–CH=CH₂. Draw the carbon backbone as a nearly straight line of eight sp² carbons connected by alternating formal single and double bonds. In reality, because of conjugation, the bonds are not cleanly "single" and "double" — the actual bond lengths are intermediate and roughly equalized, and the π system is a continuous cloud of electron density lying above and below the plane of the carbons, spanning the whole chain. This continuous π cloud is the physical object the box model replaces with a one-dimensional infinite square well: a region where the potential energy is zero, bounded by infinitely high walls just beyond the ends of the chain. Each carbon contributes one 2p orbital and, in the neutral hydrocarbon, one electron to the π system (each double bond of the Lewis structure supplies two π electrons total, and the whole conjugated backbone pools them). These π electrons are treated as free particles confined to the 1D box; they do not interact directly with each other in this crude but useful approximation, and they experience zero potential energy anywhere inside the box and infinite potential energy at and beyond the ends. Because the electrons are indistinguishable fermions, the Pauli exclusion principle allows at most two electrons (spin ↑ and spin ↓) in each of the box's quantized energy levels, so the electrons fill the ladder of levels from the bottom up, exactly as electrons fill atomic orbitals in the aufbau principle. The length of the box, , is not simply the distance between the terminal carbon nuclei. Because the π wavefunction physically extends somewhat beyond the last carbon (into the region of the terminal C–H σ bonds and beyond), a standard refinement adds one extra bond length as an "end correction," half a bond length of overhang on each side. With conjugated bonds (both formal single and double) of average length , the working formula for the effective box length is
This is the same that enters the box energy formula from the particle-in-a-box result; nothing about the quantization itself changes — only the identification of what "" means physically for a real molecule.
For octatetraene, eight π electrons fill levels through (two electrons each), so the HOMO is and the LUMO is . The transition drawn as the purple arrow in the figure is exactly the excitation whose energy is computed in the worked examples below. A second useful picture is how the level spacing itself changes as the box lengthens. Because the particle-in-a-box energies go as , both stretching and increasing push levels closer together in absolute spacing between adjacent- neighbors, and the HOMO–LUMO gap shrinks smoothly and monotonically as conjugation length grows — the quantum mechanical root of the empirical rule "longer conjugation, redder color."
The core ideas
The starting point is the ordinary particle-in-a-box energy formula, unchanged from its abstract derivation:
where: is the quantum number of a π-electron level, is Planck's constant, is the electron mass, and is the effective box length of the conjugated chain. Reading it: energy rises as the square of the quantum number and falls as the square of the box length, so both "how high up the ladder" and "how long the wire" control the spacing between levels. The electron count sets which levels are filled. For a chain with π electrons (an even number, since π bonds always come in pairs of electrons for closed-shell neutral polyenes), the levels through are doubly occupied and the level is the lowest unoccupied one:
where: is the total number of π electrons in the conjugated system (one per contributing 2p orbital, i.e. one per sp²/sp carbon in the chain). Reading it: doubling the electron count does not simply double the HOMO level — the HOMO index scales linearly with electron number while, crucially, also grows with chain length, and the two effects together give the overall gap-narrowing trend. The absorption energy is the gap between these two levels:
where: the bracketed difference of squares collapses algebraically to (shown in the derivation below), so the whole gap depends on just two structural facts about the molecule — its electron count and its box length . Reading it: this is the master formula of the free-electron molecular orbital (FEMO) model; every quantitative prediction in this article traces back to it. Finally, converting the gap into an observable wavelength uses the ordinary photon relation:
where: is the speed of light and is the predicted wavelength of the lowest-energy π→π* absorption band. Reading it: grows as but shrinks only as , and because itself grows with (adding a bond adds both an electron and a length increment), the net effect of chain growth is still a strong, monotonic red-shift — visible directly in the trend from Figure 2.
Goal. Starting only from and the aufbau filling rule, derive the closed-form gap used to predict polyene absorption.
Step 1 — Identify the occupied levels. A conjugated chain with π electrons is built by placing two electrons (spin-paired) into each level starting from , exactly as orbitals fill in the aufbau principle for atoms. Since each level holds exactly two electrons, the number of filled levels equals , and the highest filled level is . The next available empty level is . This requires to be even, which is automatically true for any neutral, closed-shell conjugated hydrocarbon because π electrons enter as pairs from π bonds.
Step 2 — Write the gap as a difference of two box energies. The lowest-energy allowed electronic excitation promotes one electron from to , so
Both terms share the same prefactor , so they can be factored out before expanding.
Step 3 — Expand the difference of squares. Let for brevity. Then
Substituting back ,
This is an exact algebraic identity, not an approximation — it holds for any integer , however large.
Step 4 — Assemble the gap formula. Combining the prefactor from Step 2 with the simplified bracket from Step 3,
This says the HOMO–LUMO gap depends on the electron count only through the simple linear factor , while all the quantum-number bookkeeping of Step 1 has vanished into that one number. Longer chains have both larger (which alone would raise ) and larger (which lowers quadratically) — and because growth dominates the linear growth in , the net gap shrinks as chains lengthen, which is exactly the empirical polyene red-shift.
Step 5 — Convert to wavelength. Using and solving for ,
The cancels one power, leaving the final working formula used throughout the worked examples.
Go deeper · Derivation B · 2 minSetting the effective box length from bond count and end correction
Goal. Justify the working rule used to turn a Lewis structure into a definite number for , and show why the "+1" matters quantitatively.
Step 1 — Count the conjugated bonds, not the carbons. For a chain of π electrons arising from a fully conjugated polyene with alternating single and double bonds, the number of carbons in the chain is (one 2p orbital per electron-contributing carbon) and the number of bonds linking them is . For octatetraene, π electrons, so there are bonds linking the 8 carbons — 4 formal double bonds and 3 formal single bonds.
Step 2 — Estimate the bare internuclear span. If every bond had exactly the same length (a simplification, since real conjugated bonds alternate roughly between 1.34 Å and 1.46 Å, averaging near 1.40 Å), the span from the first to the last carbon nucleus would be
This bare span systematically underestimates the box, because the π electron density does not terminate abruptly at the terminal carbon nucleus — it extends smoothly into the region of the terminal C–H bonds, similar to how a particle-in-a-box wavefunction has a node structure but the "walls" of a real molecule are not truly infinite or located exactly at the last atom.
Step 3 — Add the end correction. The standard empirical fix, attributed to the free-electron model literature developed by Kuhn and others, is to extend the box by one half bond-length on each end, i.e., one whole bond length total:
This single adjustable-looking addition is not fit separately for each molecule; it is fixed once (typically Å, the average conjugated C–C bond length) and then applied uniformly across a whole series of polyenes, which is what makes the model predictive rather than merely descriptive.
Step 4 — Consistency check. Note that with the end correction, exactly — the effective box length equals the electron count times the average bond length, a clean relationship worth memorizing: each π electron effectively "owns" one bond-length's worth of box, including the electrons at the very ends of the chain, which is physically sensible because delocalization is not a purely internal phenomenon confined between the two terminal nuclei.
Worked examples
Example 1 — Foundational: hexatriene, done by hand from first principles. 1,3,5-hexatriene, CH₂=CH–CH=CH–CH=CH₂, has π electrons (three double bonds, six contributing carbons) and conjugated bonds linking them. Using the average bond length Å = m and the end-corrected box length,
With electrons, the HOMO is and the LUMO is (three levels doubly filled: ). The gap formula from the derivation gives
Compute the numerator: , times 7 gives . Compute the denominator: ; ; their product is . Dividing,
Converting to a wavelength via , with ,
The experimental for 1,3,5-hexatriene in solution is close to 258 nm for the strong π→π* band (with vibronic structure spreading it further), so the naive box model overshoots here, predicting a redder absorption than observed — a known systematic feature discussed in the traps section, driven mainly by the fixed uniform bond-length assumption and the neglect of electron repulsion. Even so, the order of magnitude (near-UV) and the qualitative existence of a single dominant transition are both captured correctly.
Example 2 — Applied: a cyanine dye, showing the model's real strength. The box model's best quantitative performance is historically for symmetric cyanine dyes, , because the positive charge is delocalized over the whole conjugated chain including both nitrogen lone pairs, giving a cleaner "wire with electrons at both ends" than a neutral polyene whose π system is not quite uniform. Consider a cyanine with (two vinylene units between the nitrogens), giving a conjugated chain of the two nitrogens plus the intervening carbons. Such a dye has a conjugated system contributing π electrons (including the nitrogen lone pair electrons entering the π system, following the standard cyanine electron count of ) delocalized over bonds. Using the same Å,
The HOMO is , LUMO is . The gap:
Numerator: . Denominator: . So
Then
This lands squarely in the blue-absorbing region of the visible spectrum — cyanine dyes of this chain length are indeed vivid orange-to-red dyes in real formulations, because absorbing blue light around 450–460 nm leaves the complementary orange/red light transmitted. Historically, this class of dye is exactly where Kuhn's free-electron model achieved its most celebrated quantitative agreement with experiment, often to within a few percent for the longer cyanines, better than for neutral polyenes, precisely because the delocalized positive charge makes the "flat, zero-potential wire" approximation more realistic.
Example 3 — Competition-level: extracting a general scaling law and testing self-consistency across a homologous series. Consider a general linear polyene series (so is ethylene, is butadiene, is hexatriene, is octatetraene, and so on), with π electrons and bonds, so
Substitute into the general gap formula:
As a check on the algebra, examine the large- limiting behavior. For large , to leading order, so
This shows the box model predicts the HOMO–LUMO gap ultimately decays as for very long polyenes — not as one might naively guess from the dependence alone, because the electron count also grows linearly with and partially cancels one power of the length-squared decay. This asymptotic law is a genuine, checkable prediction: plotting against for a real polyene series should be closer to linear than plotting against , and this is indeed the qualitative shape seen in tabulated polyene UV data, even though the absolute gap values from the crude model are systematically too small compared to experiment for long chains (the model over-predicts the red-shift once bond-length alternation becomes chemically important, since real long polyenes do not achieve full bond equalization). As an explicit self-consistency check at finite , compare (hexatriene, from Example 1: J) against the general formula directly:
Using m, ; . Then J, and multiplying by gives J — matching Example 1 exactly, confirming the general formula reduces correctly to the specific hexatriene case.
Limiting cases, scope & common traps
| Limit or regime | What the model predicts | What actually happens / caveat |
|---|---|---|
| Single isolated double bond (, ethylene) | Å, gap in the vacuum-UV | Ethylene's π→π* transition is at ~165 nm, genuinely far-UV; qualitative match is reasonable here since there is no real "chain" to misrepresent |
| (infinitely long polyene) | as ; absorption redshifts without bound, eventually into the infrared | Real long polyenes (e.g., long carotenoids) show gap saturation — the redshift levels off because bond-length alternation (Peierls-type distortion) never fully vanishes, opening a residual gap the uniform-box model cannot capture |
| Symmetric cyanine dyes | Best quantitative agreement of any subclass, often within a few percent of measured | Delocalized cationic charge over equivalent nitrogen termini makes the flat-potential, equal-bond-length assumption most realistic |
| Neutral polyenes (hexatriene, octatetraene) | Systematic overshoot: predicted too long (too red) compared to experiment | Neglect of electron–electron repulsion (the true many-electron excited state is stabilized less than the model implies) and neglect of bond alternation both push real gaps larger than predicted |
| Very short chains () | End correction is a large fraction of , so the choice of matters a lot | Model is least reliable here; the "extra bond length" approximation was calibrated for chains long enough that end effects are a modest correction, not the dominant term |
| Branched or cross-conjugated systems | Model as stated does not apply; needs a genuine 2D or 3D box or graph-theoretic treatment | The strictly 1D box assumes a single linear conjugation path with no branching, foreshadowing the generalization treated in The 2D and 3D Box |
The chemist behind it
Origins · 1 minHans Kuhn and how this was discovered
Hans Kuhn spent much of his career at the Max Planck Institute in Göttingen developing the idea that delocalized π electrons in dye molecules behave, to a very good first approximation, like free particles confined to a one-dimensional potential well shaped by the molecular skeleton itself. Rather than building up molecular orbitals from linear combinations of atomic orbitals — the route Hückel Molecular Orbital Theory would later formalize with an explicit resonance-integral parameter — Kuhn asked what would happen if the electrons were simply released to move freely along the conjugated backbone, confined only by the finite extent of the π system and, in more refined versions of his model, by an approximate potential shaped by the positions of the nuclei rather than a hard box. His work through the 1940s and 1950s on cyanine dyes showed that this radically simple free-electron picture reproduced measured absorption maxima for long symmetric cyanines with an accuracy rivaling or exceeding contemporary quantum chemical calculations that required vastly more computation, and it remains, decades later, one of the cleanest illustrations that quantization alone — independent of the details of the interatomic potential — governs the qualitative and often semi-quantitative behavior of conjugated π systems. Kuhn's broader scientific legacy extends into molecular self-assembly and Langmuir–Blodgett monolayer films, but the free-electron box model for dyes remains his most widely taught contribution in the undergraduate quantum chemistry curriculum.
Why does the particle-in-a-box model work at all for a real molecule with nuclei and interelectron repulsion?
It works because the qualitative shape of the potential matters less than its overall confinement. Inside a conjugated chain the π electrons see a roughly flat, low potential created by the delocalized nuclear framework, and sharply rising potential once they try to leave the conjugated backbone. The infinite square well is a caricature of exactly that confinement, and quantization of energy versus box length is a robust feature of any confining potential, not a special property of the idealized flat-bottomed well. Electron–electron repulsion and the true curvature of the potential are real effects, but they shift the absolute energies without destroying the qualitative -type scaling that drives the whole polyene red-shift trend, which is why the model gets the trend right even when it misses the absolute number by tens of percent.
How is the effective box length L different for polyenes versus cyanine dyes?
For neutral polyenes, is estimated purely from the carbon backbone: bond count times average bond length, plus one bond length of end correction, as in Examples 1 and 3. For cyanine dyes, the conjugated system additionally includes the two terminal nitrogen atoms and their lone pairs, which participate directly in the π system carrying the delocalized positive charge. The bond count therefore includes the C–N bonds at both ends, and the electron count includes the nitrogen lone-pair electrons, following the standard cyanine convention of electrons for a chain with vinylene units. The mechanics of the formula are identical; only the bookkeeping of what counts as "in the box" changes.
Does the model predict the intensity of absorption, or only its wavelength?
Only the wavelength (equivalently, the energy) of the transition comes directly from the energy-level formula used here. Absorption intensity depends on the transition dipole moment, which requires evaluating an integral of the particle-in-a-box wavefunctions against the position operator between the HOMO and LUMO states — a calculation that is doable in closed form for the box but goes beyond the scope of the simple gap formula. In practice, HOMO→LUMO transitions in linear polyenes and cyanines are strongly allowed (large transition dipole, high molar absorptivity), which is part of why these molecules make such intensely colored dyes, but that allowedness is a separate calculation from the one presented here.
Why does the HOMO-LUMO gap decay as 1/m rather than 1/m² for long polyenes, given that the box formula has L² in the denominator?
The dependence is only half the story. As the chain lengthens by adding vinylene units, both the box length and the electron count grow together — specifically and in the linear polyene series. Substituting into the gap formula, the numerator carries a factor of that partially cancels one power of the growth sitting in in the denominator, leaving a net decay rather than . This is a clean example of how growing both the confinement length and the particle number simultaneously changes the naive scaling law you would guess from the box formula alone.
Is the box model ever used for anything beyond predicting a single absorption wavelength?
Yes. Beyond the lowest HOMO→LUMO transition, the same set of quantized levels predicts higher-energy transitions (HOMO→LUMO+1, HOMO−1→LUMO, and so on), which can be compared against the full absorption spectrum of a polyene or cyanine dye, not just its lowest band. The same level structure also gives a rough estimate of ionization energy (via the energy needed to remove the HOMO electron entirely) and electron affinity (via the LUMO energy), both useful zeroth-order estimates in photoelectrochemistry and organic semiconductor design, long before a full quantum chemical calculation is performed.
How does this model relate to Hückel molecular orbital theory for the same molecules?
Both models describe the same physical π system and both predict a shrinking HOMO–LUMO gap with increasing conjugation length, but they build the orbitals differently. Hückel Molecular Orbital Theory constructs molecular orbitals as linear combinations of individual carbon 2p atomic orbitals, with energies expressed in terms of the empirical Coulomb integral α and resonance integral β, and it explicitly encodes the discrete, atom-by-atom connectivity of the molecule. The free-electron box model instead treats the electrons as continuous free particles in a smoothed-out potential and ignores the discreteness of individual atomic sites entirely. For long chains the two approaches converge to similar qualitative predictions, but Hückel theory handles branched, cyclic, and heteroatom-substituted systems that the strictly one-dimensional box model cannot represent at all.
What happens to the box model's predictions for a charged or radical conjugated system, like a polyene radical cation?
Removing one electron from a neutral polyene (forming a radical cation) drops by one, making it odd, which breaks the clean doubly-filled-level bookkeeping used throughout this derivation. The formerly doubly-occupied HOMO now holds only one electron, and the lowest-energy transition is no longer simply HOMO→LUMO but instead involves the singly occupied level, requiring a modified accounting of which levels are singly versus doubly filled. The underlying box quantization is unchanged, but the electron-filling logic in Step 1 of the first derivation must be redone for the odd-electron case, and the clean closed-form result no longer applies without modification.