Wavefunctions and Nodes in the 1D Box

A guitar string clamped at both ends can only vibrate in certain shapes. These include one hump, two humps, three humps. Each shape has a characteristic pitch. An electron trapped in a one-dimensional box obeys the same geometric law. The difference is that the "shapes" are wavefunctions. The "pitch" becomes energy. This article is about the shapes themselves. It covers the sine-form eigenfunctions ψn(x)\psi_n(x) and the nodes that punctuate them. It also covers the precise, countable relationship between wiggliness and energy. This matters because the particle-in-a-box is the cleanest possible laboratory for an idea. That idea recurs everywhere in quantum chemistry: nodes cost energy. Every bonding-to-antibonding progression in molecular orbital theory is a variation on this theme. So is every jump from a 1s to a 2s to a 3s atomic orbital. So is every vibrational overtone in a Morse-like potential. All of these are first made completely transparent in the infinite square well. If you understand why ψ2\psi_2 has one node and ψ3\psi_3 has two, you understand something more. You understand why that costs energy. That insight generalizes far past this toy problem. The big picture is a marriage of boundary conditions and trigonometry. Requiring ψ(0)=0\psi(0) = 0 and ψ(L)=0\psi(L) = 0 forces the spatial part of the wavefunction into a discrete family. This family consists of sine functions, indexed by a positive integer nn. The mathematics is elementary — no series solutions, no special functions, just sin⁡\sin and cos⁡\cos. This simplicity is exactly why the box is the first exactly solvable model every student meets. But the payoff is not elementary. It delivers, in closed form, the complete map from quantum number to shape. That map extends to symmetry and energy as well. This article builds that map explicitly. It derives the normalized eigenfunctions from the boundary conditions. It counts their interior nodes as a function of nn. It connects the node count to the curvature via the Schrödinger equation itself. This curvature link leads directly to kinetic energy. It also catalogues the even/odd symmetry of each state about the box's center. Three worked examples show the ideas in use. One is a bookkeeping check on nodes. Another is an estimate of an electron's most probable positions in an applied "molecular wire" box. The third is a symmetry-based selection-rule argument. The material here sets up Normalization and Probability Densities. It also generalizes directly into The 2D and 3D Box.

Key takeaways
  • The 1D box eigenfunctions are ψn(x)=2/L sin⁡(nπx/L)\psi_n(x) = \sqrt{2/L}\,\sin(n\pi x/L) for n=1,2,3,…n = 1, 2, 3, \dots, each vanishing at both walls.
  • The quantum number nn equals (number of interior nodes) + 1+\,1: ψn\psi_n has exactly n−1n-1 nodes strictly inside the box.
  • More nodes mean more curvature, and curvature is literally the kinetic energy operator acting on ψ\psi — so nodes track energy directly: En∝n2E_n \propto n^2.
  • States alternate symmetry about the box center: odd nn gives an even (symmetric) function, even nn gives an odd (antisymmetric) function.
  • The endpoints x=0x=0 and x=Lx=L are boundary zeros forced by confinement, not counted as "nodes" in the interior-node tally.
  • Node-counting and curvature arguments here are the prototype for orbital nodal patterns (1s/2s/2p, etc.) throughout atomic and molecular quantum chemistry.
  • Key idea: the number of interior nodes in a 1D-box wavefunction equals n−1n-1, and each additional node adds one half-wavelength of curvature, raising the energy as n2n^2.

Where this lives today

The sine eigenfunctions and their node-counting rule are not merely a classroom exercise; they are the working model behind several genuinely quantitative applications. In quantum dot photophysics, semiconductor nanocrystals confine electrons and holes in a roughly box-like potential, and the particle-in-a-box formula for EnE_n (extended to three dimensions) correctly predicts that smaller dots have larger HOMO–LUMO-type gaps and hence blue-shifted emission — the basis of size-tunable quantum dot displays and biological fluorescent labels. In conjugated polymer and dye chemistry, the free-electron model used in Example 2 gives surprisingly good zeroth-order estimates of absorption wavelengths for linear polyenes and cyanine dyes, precisely because the π\pi-electron system behaves like electrons confined along the conjugation length, with nodal patterns in the frontier orbitals dictating which transitions are allowed. In spectroscopy and photochemistry, the parity/node-based selection rule derived in Example 3 is the direct ancestor of the Laporte rule governing d–d and π\pi–π∗\pi^* transitions in centrosymmetric molecules, and of vibrational overtone selection rules in the harmonic-oscillator approximation. In scanning tunneling microscopy and surface science, standing electron waves confined by step edges or corrals on metal surfaces show exactly the sine-like nodal patterns predicted by 1D and 2D box models, directly imaged as ripples in STM topographs. Finally, in teaching and model-building, the node-counting rule here is the conceptual seed for understanding nodal surfaces in atomic orbitals (radial and angular nodes of 1s, 2s, 2p, 3d, etc.) and in molecular orbital theory, where the number of nodes in a linear combination of atomic orbitals tracks its bonding/antibonding character and hence its relative energy — the same curvature-costs-energy logic derived rigorously here in one dimension.

Ask the tutor: How would the node-counting and symmetry rules change if the 1D box had walls of finite (not infinite) potential height?

The physical picture

Consider a particle of mass mm confined to 0≤x≤L0 \le x \le L by walls of infinite potential energy outside that interval, and zero potential energy inside. Inside the box the time-independent Schrödinger equation reduces to a free-particle equation,

−ℏ22md2ψdx2=Eψ,-\frac{\hbar^2}{2m}\frac{d^2\psi}{dx^2} = E\psi,

whose general solution is a combination of sine and cosine. The infinite walls impose boundary conditions: the wavefunction must vanish at x=0x=0 and at x=Lx=L, because the particle has zero probability of being found where the potential is infinite, and ψ\psi must be continuous. Cosine does not vanish at the origin unless its coefficient is zero, so the solution collapses to pure sine, and the condition at x=Lx=L then quantizes the wavelength: only sine functions completing a half-integer number of full periods between the walls survive. This is the entirety of the quantization mechanism — no probabilistic argument, just geometry meeting a differential equation. The resulting eigenfunctions are indexed by n=1,2,3,…n=1,2,3,\dots, and each one is a single sine arch (or a chain of arches) fit exactly between the two walls. The lowest state, n=1n=1, is one smooth hump with no zero crossings between the walls — the ground state. The first excited state, n=2n=2, is shaped like a full sine wave: it has one point inside the box, at the exact center, where ψ\psi crosses zero. This interior zero crossing is called a node. The state n=3n=3 has two interior nodes; in general ψn\psi_n has n−1n-1 of them, evenly spaced at x=kL/nx = kL/n for k=1,…,n−1k=1,\dots,n-1. Nodes are not a bookkeeping curiosity — they are the visible fingerprint of kinetic energy. The kinetic energy operator involves a second spatial derivative, which measures curvature. A wavefunction that must cross zero more often in the same fixed length LL must bend more sharply between crossings, and sharper bending means a larger (in magnitude) second derivative, hence higher kinetic energy. Since the potential energy inside the box is zero, all of the energy is kinetic, and the energy ladder En=n2h2/(8mL2)E_n = n^2 h^2/(8mL^2) is, in a completely literal sense, an accounting of curvature — equivalently, of nodes. A second structural feature worth isolating is symmetry. If the origin is shifted to the box's midpoint (so the walls sit at x=−L/2x = -L/2 and x=+L/2x=+L/2), every odd-nn wavefunction becomes an even function (ψ(−x)=ψ(x)\psi(-x)=\psi(x), symmetric about the center), and every even-nn wavefunction becomes an odd function (ψ(−x)=−ψ(x)\psi(-x) = -\psi(x), antisymmetric about the center). This alternation is a direct consequence of the reflection symmetry of the box itself and will reappear, in modified form, in every centrosymmetric potential a chemist ever draws — including the harmonic oscillator and the nodal patterns of atomic ss, pp, dd orbitals.

Figure
The first four eigenfunctions of the 1D box, showing node count n−1n-1
n = 1 (0 interior nodes) n = 2 (1 interior node) n = 3 (2 interior nodes) n = 4 (3 interior nodes) x = 0 x = L
Figure
Symmetry about the box center: odd n even, even n odd
n = 1: even about center (symmetric) n = 2: odd about center (antisymmetric) center, x = 0 center, x = 0

The core ideas

The normalized stationary-state wavefunctions of the 1D box of length LL are

ψn(x)=2L sin⁡ ⁣(nπxL),n=1,2,3,…,0≤x≤L.\psi_n(x) = \sqrt{\frac{2}{L}}\,\sin\!\left(\frac{n\pi x}{L}\right), \qquad n = 1, 2, 3, \dots, \quad 0 \le x \le L.

where: nn is the quantum number, LL is the box length, and 2/L\sqrt{2/L} is the normalization constant fixing ∫0L∣ψn∣2 dx=1\int_0^L |\psi_n|^2\,dx = 1. Reading it: each nn selects a sine wave that completes exactly nn half-wavelengths across the box, automatically satisfying ψn(0)=ψn(L)=0\psi_n(0)=\psi_n(L)=0. The number of interior nodes — zero crossings strictly between the walls, not counting the walls themselves — is

#nodes(ψn)=n−1.\#\text{nodes}(\psi_n) = n - 1.

where: nn is the same quantum number as above. Reading it: the ground state (n=1n=1) is nodeless; each successive excited state adds exactly one more interior node. The interior nodes sit at evenly spaced positions

xk=knL,k=1,2,…,n−1.x_k = \frac{k}{n}L, \qquad k = 1, 2, \dots, n-1.

where: kk indexes the nodes in order from the left wall. Reading it: for ψn\psi_n, nodes divide the box into nn equal segments, each containing one arch (lobe) of the wavefunction. The associated energies are

En=n2h28mL2,E_n = \frac{n^2 h^2}{8mL^2},

where: hh is Planck's constant, mm is the particle mass, LL is the box length. Reading it: this is derived and discussed at length in the prerequisite treatment of quantization; here the point is that En∝n2E_n \propto n^2 is the direct arithmetic consequence of the node count, made explicit in the derivation below. Symmetry about the midpoint x0=L/2x_0 = L/2 is captured by writing u=x−L/2u = x - L/2 and noting

ψn(L/2+u)=(−1)n+1 ψn(L/2−u).\psi_n(L/2 + u) = (-1)^{n+1}\,\psi_n(L/2 - u).

where: uu is displacement from the center, and the sign (−1)n+1(-1)^{n+1} is +1+1 for odd nn and −1-1 for even nn. Reading it: odd-nn states are mirror-symmetric (even functions) about the box center, even-nn states are mirror-antisymmetric (odd functions) about the center.

Derivation AFrom boundary conditions to the sine family and its node count

Goal. Starting only from the free-particle Schrödinger equation inside the box and the requirement that ψ\psi vanish at both walls, derive the general form ψn(x)=2/Lsin⁡(nπx/L)\psi_n(x)=\sqrt{2/L}\sin(n\pi x/L) and show that it has exactly n−1n-1 interior zeros.

Step 1 — General solution inside the box. Inside 0<x<L0<x<L the potential is zero, so the time-independent Schrödinger equation is

−ℏ22mψ′′(x)=Eψ(x)⟹ψ′′(x)=−k2ψ(x),k2≡2mEℏ2.-\frac{\hbar^2}{2m}\psi''(x) = E\psi(x) \quad\Longrightarrow\quad \psi''(x) = -k^2\psi(x), \qquad k^2 \equiv \frac{2mE}{\hbar^2}.

This is the equation of simple harmonic motion in the variable xx, whose general real solution is

ψ(x)=Asin⁡(kx)+Bcos⁡(kx),\psi(x) = A\sin(kx) + B\cos(kx),

with AA, BB constants to be fixed by the boundary conditions and k>0k>0 chosen without loss of generality.

Step 2 — Apply the left-wall condition. Because the potential is infinite for x<0x<0, the wavefunction must vanish there, and continuity forces ψ(0)=0\psi(0)=0. Substituting,

ψ(0)=Asin⁡(0)+Bcos⁡(0)=B=0.\psi(0) = A\sin(0) + B\cos(0) = B = 0.

The cosine term is eliminated entirely: B=0B=0, leaving ψ(x)=Asin⁡(kx)\psi(x) = A\sin(kx). This is the key step that produces a pure sine family — no cosine survives in a box whose wall sits exactly at the origin.

Step 3 — Apply the right-wall condition and quantize kk. The same reasoning at x=Lx=L requires ψ(L)=0\psi(L)=0:

ψ(L)=Asin⁡(kL)=0.\psi(L) = A\sin(kL) = 0.

Since A≠0A\neq 0 (otherwise ψ≡0\psi\equiv 0, an unnormalizable non-solution), we need sin⁡(kL)=0\sin(kL)=0, which happens only when kLkL is an integer multiple of π\pi:

kL=nπ,n=1,2,3,…kL = n\pi, \qquad n = 1, 2, 3, \dots

Note n=0n=0 is excluded because it gives ψ≡0\psi\equiv 0 everywhere, and negative nn merely reproduces −ψn-\psi_n, the same physical state up to an overall sign (not a new state). So

kn=nπL,ψn(x)=Asin⁡ ⁣(nπxL).k_n = \frac{n\pi}{L}, \qquad \psi_n(x) = A\sin\!\left(\frac{n\pi x}{L}\right).

Step 4 — Normalize. Requiring ∫0L∣ψn(x)∣2 dx=1\int_0^L |\psi_n(x)|^2\,dx = 1 and using ∫0Lsin⁡2(nπx/L) dx=L/2\int_0^L \sin^2(n\pi x/L)\,dx = L/2 (valid for every positive integer nn) gives

A2⋅L2=1⟹A=2L.A^2 \cdot \frac{L}{2} = 1 \quad\Longrightarrow\quad A = \sqrt{\frac{2}{L}}.

This reproduces the normalized form

ψn(x)=2Lsin⁡ ⁣(nπxL).\psi_n(x) = \sqrt{\frac{2}{L}}\sin\!\left(\frac{n\pi x}{L}\right).

Step 5 — Count the interior zeros. Interior nodes are values of xx strictly between 00 and LL where sin⁡(nπx/L)=0\sin(n\pi x/L)=0. This sine vanishes whenever its argument is an integer multiple of π\pi:

nπxL=kπ⟹x=kLn,k=0,1,2,…,n.\frac{n\pi x}{L} = k\pi \quad\Longrightarrow\quad x = \frac{kL}{n}, \qquad k = 0, 1, 2, \dots, n.

The values k=0k=0 and k=nk=n correspond to x=0x=0 and x=Lx=L — the walls themselves, which are boundary zeros forced by confinement, not interior nodes. The remaining values, k=1,2,…,n−1k=1,2,\dots,n-1, lie strictly inside (0,L)(0,L) and give the interior nodes:

#nodes=(n−1)−1+1=n−1.\#\text{nodes} = (n-1) - 1 + 1 = n - 1.

Thus ψn\psi_n has exactly n−1n-1 interior nodes, evenly spaced at xk=kL/nx_k = kL/n.

Go deeper · Derivation B · 1 minWhy nodes cost energy: curvature, kinetic energy, and En∝n2E_n \propto n^2
Derivation BWhy nodes cost energy: curvature, kinetic energy, and En∝n2E_n \propto n^2

Goal. Show explicitly, from the Schrödinger equation itself, that adding nodes increases curvature and therefore increases kinetic energy, reproducing En=n2h2/(8mL2)E_n = n^2h^2/(8mL^2) as a direct consequence of the node count n−1n-1.

Step 1 — Curvature is literally the operator acting on ψ\psi. Differentiate ψn(x)=2/Lsin⁡(nπx/L)\psi_n(x) = \sqrt{2/L}\sin(n\pi x/L) twice:

ψn′(x)=2L⋅nπLcos⁡ ⁣(nπxL),\psi_n'(x) = \sqrt{\frac{2}{L}}\cdot\frac{n\pi}{L}\cos\!\left(\frac{n\pi x}{L}\right),
ψn′′(x)=−2L(nπL)2sin⁡ ⁣(nπxL)=−(nπL)2ψn(x).\psi_n''(x) = -\sqrt{\frac{2}{L}}\left(\frac{n\pi}{L}\right)^{2}\sin\!\left(\frac{n\pi x}{L}\right) = -\left(\frac{n\pi}{L}\right)^2\psi_n(x).

The second derivative is proportional to ψn\psi_n itself, with proportionality constant −(nπ/L)2-(n\pi/L)^2: this constant grows as n2n^2, meaning the wavefunction bends back on itself more and more sharply as nn increases, precisely because it must complete more oscillations (more nodes) in the same fixed length LL.

Step 2 — Insert into the Schrödinger equation to read off the energy. The kinetic energy operator is T^=−ℏ22md2dx2\hat{T} = -\dfrac{\hbar^2}{2m}\dfrac{d^2}{dx^2}, and since V=0V=0 inside the box, H^=T^\hat{H}=\hat{T} there. Acting on ψn\psi_n:

H^ψn=−ℏ22mψn′′(x)=−ℏ22m[−(nπL)2ψn(x)]=ℏ22m(nπL)2ψn(x).\hat{H}\psi_n = -\frac{\hbar^2}{2m}\psi_n''(x) = -\frac{\hbar^2}{2m}\left[-\left(\frac{n\pi}{L}\right)^2\psi_n(x)\right] = \frac{\hbar^2}{2m}\left(\frac{n\pi}{L}\right)^2\psi_n(x).

Because H^ψn=Enψn\hat H\psi_n = E_n\psi_n exactly (this is the definition of an eigenfunction), the coefficient itself is the energy:

En=ℏ22m(nπL)2=ℏ2π2n22mL2.E_n = \frac{\hbar^2}{2m}\left(\frac{n\pi}{L}\right)^2 = \frac{\hbar^2\pi^2 n^2}{2mL^2}.

Step 3 — Convert to the conventional hh-based form. Using ℏ=h/2π\hbar = h/2\pi, so ℏ2=h2/4π2\hbar^2 = h^2/4\pi^2:

En=n2π22mL2⋅h24π2=n2h28mL2.E_n = \frac{n^2\pi^2}{2mL^2}\cdot\frac{h^2}{4\pi^2} = \frac{n^2 h^2}{8mL^2}.

This is the familiar quantization formula, now understood as an unavoidable consequence of the curvature computed in Step 1.

Step 4 — Translate directly into node language. Since the interior node count is n−1n-1 (from the first derivation), write n=(nodes)+1n = (\text{nodes}) + 1. Substituting into En∝n2E_n \propto n^2:

Enodes∝(nodes+1)2,E_{\text{nodes}} \propto (\text{nodes}+1)^2,

which is manifestly increasing in the node count: zero nodes gives the smallest prefactor (0+1)2=1(0+1)^2=1, one node gives (1+1)2=4(1+1)^2 = 4 — four times the ground-state energy — two nodes gives (2+1)2=9(2+1)^2=9, and so on. Every additional node adds one more half-wavelength of oscillation, sharpens the local curvature everywhere, and raises ⟨T^⟩\langle \hat T\rangle because there is no potential energy inside the box to offset it. This is the rigorous version of the qualitative rule "more nodes, more energy," and it holds with the same logical structure — curvature from the Laplacian, energy read off as the eigenvalue — in every higher-dimensional and multi-electron system where nodal counting is used to predict relative orbital energies.

Worked examples

Example 1 — Foundational: node bookkeeping for n=5n=5. For n=5n=5, the number of interior nodes is n−1=4n-1=4. Their positions, from xk=kL/nx_k = kL/n with k=1,2,3,4k=1,2,3,4, are

x1=L5,x2=2L5,x3=3L5,x4=4L5.x_1 = \frac{L}{5}, \quad x_2 = \frac{2L}{5}, \quad x_3 = \frac{3L}{5}, \quad x_4 = \frac{4L}{5}.

Check by direct substitution: at x2=2L/5x_2 = 2L/5, the sine argument is nπx2/L=5π(2L/5)/L=2πn\pi x_2/L = 5\pi(2L/5)/L = 2\pi, and sin⁡(2π)=0\sin(2\pi)=0 — confirmed. The five lobes of ψ5\psi_5 occupy the five equal sub-intervals (0,L/5)(0,L/5), (L/5,2L/5)(L/5,2L/5), (2L/5,3L/5)(2L/5,3L/5), (3L/5,4L/5)(3L/5,4L/5), (4L/5,L)(4L/5,L), alternating in sign: +,−,+,−,++,-,+,-,+. This alternation is required because ψ5\psi_5 must cross zero at each node, flipping sign each time it does. As a limiting-case check: setting n=1n=1 in n−1n-1 gives zero nodes, consistent with the nodeless ground-state hump shown in the first figure — the formula degrades correctly to the simplest case.

Example 2 — Applied: a conjugated "molecular wire" and its HOMO node count. Model a linear polyene chain — a common device for estimating π\pi-electron transition energies — as a 1D box of length L=1.10 nmL = 1.10\ \text{nm} containing N=6N=6 delocalized π\pi electrons (three conjugated double bonds, e.g., an idealized hexatriene fragment). Filling levels two electrons at a time (Pauli exclusion, ignoring spin details beyond occupancy), the electrons occupy n=1,2,3n=1,2,3, so the HOMO is n=3n=3 and the LUMO is n=4n=4. The HOMO wavefunction ψ3\psi_3 has n−1=2n-1=2 interior nodes, located at

x1=L3=0.367 nm,x2=2L3=0.733 nm.x_1 = \frac{L}{3} = 0.367\ \text{nm}, \qquad x_2 = \frac{2L}{3} = 0.733\ \text{nm}.

The LUMO ψ4\psi_4 has n−1=3n-1=3 interior nodes at L/4=0.275 nmL/4=0.275\ \text{nm}, L/2=0.550 nmL/2=0.550\ \text{nm}, 3L/4=0.825 nm3L/4=0.825\ \text{nm}. The HOMO→\toLUMO transition therefore adds exactly one more node to the occupied-orbital pattern, consistent with the general rule that the lowest-energy allowed excitation always adds one node. The transition energy, using electron mass me=9.109×10−31 kgm_e = 9.109\times10^{-31}\,\text{kg} and L=1.10×10−9 mL=1.10\times10^{-9}\,\text{m}:

ΔE=E4−E3=(42−32)h28meL2=7h28meL2.\Delta E = E_4 - E_3 = \frac{(4^2-3^2)h^2}{8m_eL^2} = \frac{7h^2}{8m_eL^2}.

Compute the denominator first:

8meL2=8(9.109×10−31)(1.10×10−9)2=8(9.109×10−31)(1.21×10−18)=8.818×10−48 kg ⋅ m2.8m_eL^2 = 8(9.109\times10^{-31})(1.10\times10^{-9})^2 = 8(9.109\times10^{-31})(1.21\times10^{-18}) = 8.818\times10^{-48}\ \text{kg}\,\cdot\,\text{m}^2.

With h=6.626×10−34 J ⋅ sh=6.626\times10^{-34}\,\text{J}\,\cdot\,\text{s}, h2=4.394×10−67 J2s2h^2 = 4.394\times10^{-67}\ \text{J}^2\text{s}^2, so

ΔE=7×4.394×10−678.818×10−48=3.076×10−668.818×10−48=3.489×10−19 J.\Delta E = \frac{7 \times 4.394\times10^{-67}}{8.818\times10^{-48}} = \frac{3.076\times10^{-66}}{8.818\times10^{-48}} = 3.489\times10^{-19}\ \text{J}.

Converting to a wavelength via λ=hc/ΔE\lambda = hc/\Delta E with c=2.998×108 m/sc=2.998\times10^8\,\text{m/s}:

λ=(6.626×10−34)(2.998×108)3.489×10−19=1.987×10−253.489×10−19=5.694×10−7 m=569 nm.\lambda = \frac{(6.626\times10^{-34})(2.998\times10^8)}{3.489\times10^{-19}} = \frac{1.987\times10^{-25}}{3.489\times10^{-19}} = 5.694\times10^{-7}\ \text{m} = 569\ \text{nm}.

This falls in the visible region (blue-green edge), the right order of magnitude for conjugated polyene absorption — the crude particle-in-a-box model, built entirely on the node-counting machinery above, already predicts a physically sensible color.

Example 3 — Exam/competition level: symmetry selection rule from node parity. A dipole transition between two box states ψn\psi_n and ψn′\psi_{n'} is allowed only if the transition dipole integral

μn→n′=∫0Lψn′(x)(x−L2)ψn(x) dx\mu_{n\to n'} = \int_0^L \psi_{n'}(x)\left(x - \frac{L}{2}\right)\psi_n(x)\,dx

is nonzero (the operator is written relative to the box center to expose the symmetry cleanly; a constant shift of origin does not change whether the integral vanishes). Determine, using only the symmetry rule ψn(L/2+u)=(−1)n+1ψn(L/2−u)\psi_n(L/2+u) = (-1)^{n+1}\psi_n(L/2-u), whether the n=2→n=4n=2 \to n=4 transition is allowed, and contrast with n=2→n=3n=2\to n=3. Substitute u=x−L/2u = x - L/2 so the integral becomes ∫−L/2L/2ψn′(L/2+u) u ψn(L/2+u) du\int_{-L/2}^{L/2}\psi_{n'}(L/2+u)\,u\,\psi_n(L/2+u)\,du. Under u→−uu\to -u, each wavefunction picks up a sign (−1)n+1(-1)^{n+1} or (−1)n′+1(-1)^{n'+1}, and the factor uu itself is odd, contributing (−1)(-1). The full integrand transforms under u→−uu\to-u as

integrand(−u)=(−1)n+1(−1)n′+1(−1)⋅integrand(u)=(−1)n+n′+1 integrand(u).\text{integrand}(-u) = (-1)^{n+1}(-1)^{n'+1}(-1)\cdot\text{integrand}(u) = (-1)^{n+n'+1}\,\text{integrand}(u).

For the integral over the symmetric interval [−L/2,L/2][-L/2,L/2] to be nonzero, the integrand must be an even function of uu, i.e., the exponent n+n′+1n+n'+1 must be even, i.e., n+n′n+n' must be odd — one of n,n′n,n' even and the other odd. For n=2→n=4n=2\to n=4: n+n′=6n+n' = 6, which is even, so n+n′+1=7n+n'+1=7 is odd — the integrand is odd in uu and the integral vanishes over the symmetric interval. This transition is forbidden by symmetry (it is the box analogue of a "g→g" or "u→u" forbidden transition in a centrosymmetric molecule). For n=2→n=3n=2\to n=3: n+n′=5n+n'=5, odd, so n+n′+1=6n+n'+1=6 is even — the integrand is even and the integral is generally nonzero. This transition is allowed. The general selection rule that falls out is: transitions between two box states are dipole-allowed only when nn and n′n' have opposite parity (one even, one odd), exactly mirroring the Laporte-type rules for centrosymmetric molecules and atomic orbitals, where allowed transitions always connect states of opposite inversion symmetry (g↔\leftrightarrowu).

Limiting cases, scope & common traps

Regime / checkWhat happensWhy
n=1n=1Zero interior nodes; ground staten−1=0n-1=0; a single nodeless arch, the lowest-curvature shape compatible with ψ(0)=ψ(L)=0\psi(0)=\psi(L)=0
n→∞n\to\inftyNode density →\to uniform, spacing L/n→0L/n \to 0Correspondence-principle limit: classical-like uniform probability emerges only after averaging over many oscillations (Bohr correspondence)
Endpoints x=0,Lx=0,LAlways zero, for every nnBoundary conditions from infinite walls — these are not counted among the n−1n-1 interior nodes
Symmetry parityOdd nn: even function about center; even nn: odd functionDirect consequence of the reflection symmetry of the box potential itself
L→∞L\to\inftyEn→0E_n\to 0, spacing →0\to 0, node spacing L/nL/n stays finite for fixed nnRecovers the free-particle continuum; confinement quantization disappears
m→∞m\to\inftyEn→0E_n\to 0 for fixed nn, LLHeavy particles show negligible quantum confinement energy — classical limit

The chemist behind it

The particle-in-a-box problem does not trace to a single named discovery in the way, say, the Balmer formula does — it is the direct spatial-boundary-value analogue of standing-wave problems studied throughout 19th-century mathematical physics (vibrating strings, organ pipes, membranes). Its quantum-mechanical form crystallized in the earliest years of wave mechanics, immediately following Schrödinger's 1926 papers, as physicists and chemists sought the simplest exactly solvable potential to illustrate quantization. Erwin Schrödinger himself, in constructing wave mechanics, drew explicitly on the mathematics of vibrating strings and resonant cavities — the same boundary-value machinery that gives the box its sine eigenfunctions.

Origins · 1 minErwin Schrödinger and how this was discovered
ES
Erwin Schrödinger
1887–1961 · Vienna and Zurich, the birth of wave mechanics

Schrödinger developed wave mechanics in a concentrated burst during 1925–1926, publishing the equation that bears his name and immediately solving it for the hydrogen atom, the harmonic oscillator, and the free particle in a box — establishing, in one stroke, the template of "confine a wave, quantize its energy" that the 1D box exemplifies in its purest form. His route to the equation ran through the analogy between mechanics and optics developed by Hamilton a century earlier, reinterpreted through Louis de Broglie's matter-wave hypothesis. Schrödinger shared the 1933 Nobel Prize in Physics with Paul Dirac for the discovery of new productive forms of atomic theory.

History
- 1900 — Planck introduces energy quantization for blackbody radiation, the conceptual seed of all later quantization.
- 1924 — de Broglie proposes matter waves, giving particles a wavelength λ=h/p\lambda = h/p.
- 1926 — Schrödinger publishes wave mechanics and solves exactly solvable model potentials, including the confined particle.
- 1927 — Wave mechanics is applied systematically to simple bound systems in early quantum chemistry texts and lecture courses.
- 1930s–present — The 1D/2D/3D box becomes the standard pedagogical and semi-quantitative model for conjugated systems, quantum dots, and nanoscale confinement.
Are the endpoints x=0x=0 and x=Lx=L counted as nodes?

No. The endpoints are boundary zeros forced by the infinite walls: the particle cannot be found there for any nn, but this is a confinement condition, not evidence of oscillatory structure in the wavefunction. Nodal counting in quantum chemistry — for box states, atomic orbitals, and molecular orbitals alike — always refers to interior zero crossings only. Counting the walls would make every state including the ground state have "nodes," destroying the useful correlation between node number and excitation level. The convention #nodes=n−1\#\text{nodes} = n-1 deliberately excludes the two boundary points.

Does the particle actually pass through the node during its motion?

No — this is a common but mistaken mental image borrowed from classical standing waves on a string. The 1D-box eigenfunctions ψn(x)\psi_n(x) are time-independent stationary states: ∣ψn(x)∣2|\psi_n(x)|^2 describes a static probability density that does not evolve in time (the full time-dependent wavefunction only picks up an overall phase factor e−iEnt/ℏe^{-iE_nt/\hbar}, which cancels in ∣Ψ∣2|\Psi|^2). A node means the probability of finding the particle at that exact point is exactly zero, permanently, not that the particle "jumps over" or "passes through" it during some trajectory. Quantum particles in eigenstates do not have classical trajectories at all.

Why is cos⁡(kx)\cos(kx) excluded from the eigenfunctions of the box placed at the origin?

The cosine term is eliminated by the boundary condition at the left wall. Substituting x=0x=0 into the general solution ψ(x)=Asin⁡(kx)+Bcos⁡(kx)\psi(x)=A\sin(kx)+B\cos(kx) gives ψ(0)=B\psi(0)=B, and confinement requires ψ(0)=0\psi(0)=0, forcing B=0B=0 outright. This is specific to the convention that places one wall exactly at x=0x=0; if instead the box were centered at the origin (walls at ±L/2\pm L/2), both sine and cosine solutions would survive, alternating by parity — the even-nn states becoming cosines and odd-nn states becoming sines in that coordinate system. The physical content is identical; only the labeling changes with the choice of origin.

How does the node count relate to energy in a way that generalizes beyond the box?

The mechanism is completely general: the kinetic energy operator involves a second spatial derivative, which measures curvature, and a wavefunction with more zero crossings in a fixed region must curve more sharply to complete those oscillations. This is true whatever the potential looks like. In atomic orbitals, radial nodes increase going 1s→2s→3s, and each additional radial node raises the orbital energy at fixed angular momentum. In molecular orbital theory, the number of nodes between adjacent atoms in a linear combination of atomic orbitals directly tracks bonding (zero internuclear nodes) versus antibonding (one or more internuclear nodes) character. The 1D box is simply the setting where this relationship can be derived in three lines of algebra rather than asserted by analogy.

Is the node-counting rule n−1n-1 specific to the infinite square well, or does it hold more broadly?

The precise formula n−1n-1, with perfectly evenly spaced nodes at xk=kL/nx_k=kL/n, is specific to the infinite square well because it relies on the eigenfunctions being pure sines. In other one-dimensional bound-state potentials — the harmonic oscillator, the finite square well, the hydrogen atom's radial equation — the general counting rule survives (the nn-th excited bound state has nn nodes, counting from a nodeless ground state), but the nodes are no longer evenly spaced, and the wavefunctions are Hermite polynomials, transcendental matching conditions, or associated Laguerre polynomials times exponentials rather than sines. The qualitative curvature argument is universal; the exact spacing formula here is a special convenience of the box's uniquely simple boundary conditions.

Why does the transition dipole selection rule in Example 3 require opposite parity of nn and n′n'?

The transition dipole integral involves the product of two wavefunctions and the position operator measured from the box center, which is itself an odd function of the centered coordinate u=x−L/2u=x-L/2. Each wavefunction contributes a symmetry factor (−1)n+1(-1)^{n+1} or (−1)n′+1(-1)^{n'+1} under reflection through the center, and the odd position operator contributes an extra (−1)(-1). The full integrand is even in uu — and therefore can integrate to something nonzero over the symmetric interval — only when n+n′n+n' is odd, meaning one quantum number is even and the other is odd. This is structurally identical to the Laporte selection rule in centrosymmetric molecules, where allowed electronic transitions must connect states of opposite parity under inversion.

Does increasing the box length LL change the number of nodes for a given nn?

No — the node count n−1n-1 depends only on the quantum number nn, never on LL. What changes with LL is the spacing between nodes, xk=kL/nx_k = kL/n, which scales linearly with the box length, and the energy, En=n2h2/(8mL2)E_n = n^2h^2/(8mL^2), which scales as 1/L21/L^2. A wider box lets the same nodal pattern spread over a longer distance, lowering the curvature (and hence the energy) at fixed nn, but the qualitative shape — how many times the wavefunction crosses zero — is a topological property of the quantum number alone, unaffected by the physical size of the container.

Before this