|Quantum and classical probability of finding oscillator as a function of position.|
Classically, the probability that the oscillating particle is at a given value of x is simply the fraction of time that it spends there, which is inversely proportional to its velocity at that position. The particle must stop completely (for a moment) before reversing its direction, and so it spends the most time where the spring is either fully compressed or fully extended (). It spends the least time where its velocity is greatest, i.e., where the spring is at its equilibrium length (). Classically, there is zero chance for a particle to have a potential energy V greater than its total energy E, and so the motion is strictly confined to the range (see vertical dotted lines at ).
Quantum mechanically, there exist states (any n > 0) for which there are locations x, where the probability of finding the particle is zero, and that these locations separate regions of high probability! Also, note that there is appreciable probability that the particle can be found outside the range , where classically it is strictly forbidden! This quantum mechanical tunneling is related to the famous Heisenberg Uncertainty Principle, which states that one cannot know both the position and momentum of a particle with infinite precision at the same time.
Finally, note that the classical approximation more closely resembles the average of as the energy of the oscillator increases.