Consider the solution to the Schrödinger equation
where is h-bar, m is the mass of a particle, is the wavefunction, and E is the energy of a given state, for a potential step given by
Define
For
For x < 0,
which has a solution
For x > 0,
which has a solution
As