Boundary Conditions in the Well
The infinite square well
The infinite square well — often called a particle in a box — is the simplest system in which a particle is confined by quantum mechanics. It consists of a potential energy that is zero inside an interval of length and infinite everywhere outside:
A particle with finite energy cannot penetrate a region where , so the wave function must vanish in those regions. Outside the well,
Why the wave function must be continuous
One of the fundamental requirements of quantum mechanics is that the wave function be continuous everywhere. The reason is the Schrödinger equation itself: an abrupt jump in would make the first derivative contain a delta-function spike, and the second derivative blow up even more violently. But the equation ties to , which stays finite wherever is finite — so no such jump in is allowed. (At an infinitely steep wall, where , only the slope is permitted to jump; itself must still join on continuously.)
Combining continuity with the fact that outside the well, continuity at the boundaries forces
These two equations are the boundary conditions for the infinite square well.
General solution inside the well
Inside the well () the potential is zero, so the time-independent Schrödinger equation reduces to
Rearranging gives with , whose general solution is
Now apply the boundary conditions one at a time.
At :
So and only the sine term survives:
At :
Because (a zero wave function everywhere would not be normalizable), the sine itself must vanish:
This is satisfied when for any positive integer , giving
Negative integers produce the same set of functions (just with a sign flip absorbed into ), and gives identically, which is not normalizable.
What the boundary conditions have achieved
Starting from a completely general oscillatory solution, two algebraic constraints — and — have forced:
- The cosine term to vanish entirely ().
- The wave number to take only the discrete set of values .
The stationary-state wave functions are therefore
The amplitude is fixed by normalization in the next steps of the derivation. These functions are orthogonal and form a complete basis for square-integrable functions on — any allowed state of the particle can be written as a superposition of them.
Sign in on the full site to ask questions and join the discussion.