Required math: calculus
Required physics: Schrödinger equation
References: Griffiths, David J. (2005), Introduction to Quantum Mechanics, 2nd Edition; Pearson Education – Problem 2.42.
Shankar, R. (1994), Principles of Quantum Mechanics, Plenum Press. Section 7.3, Exercise 7.3.6.
Suppose we modify the harmonic oscillator potential so that it becomes a half-harmonic oscillator. That is
A physical interpretation of this could be a spring that can be stretched from its equilibrium position but not compressed.
We can find the allowed energies of this potential by considering its difference from the ordinary harmonic oscillator. In the ordinary case, there were no boundary conditions, and we found that the stationary states could be expressed in terms of the Hermite polynomials
The Hermite polynomials are even if is even and odd if is odd. Since all the even Hermite polynomials have a non-zero constant term, if is even. Similarly, since all odd Hermite polynomials have no constant term, if is odd.
From continuity of the wave function at we must have (since the wave function is zero for ). The solution above still applies for , but due to the boundary condition, we are allowed only the odd Hermite polynomial solutions for , which in turn means that the allowed energies are
for odd only.