Finite square well (source code)

= Finite square well
{wiki}

A finite square well has a constant lower <potential energy> over a finite interval and a higher constant potential outside. For a symmetric well $V=-V_0$ on $|x|<a$ and $V=0$ outside, a <bound state> has $-V_0<E<0$: the <wavefunction> oscillates inside and decays exponentially outside.

Continuity of the <wavefunction> and its derivative at $x=\pm a$ gives $k\tan(ka)=\kappa$ for even <parity> and $-k\cot(ka)=\kappa$ for odd <parity>, where $k=\sqrt{2m(E+V_0)}/\hbar$ and $\kappa=\sqrt{-2mE}/\hbar$. These conditions select finitely many <bound state> <energies>. Unlike an <infinite square well>, the finite well allows penetration beyond the edges; a shallow one-dimensional attractive well still has an even <ground state>. Positive-energy <scattering states> lie above the outside potential.