Why doesn't the amplitude of a wave-function fall off to zero immediately at a potential barrier? When a wave function in QM potential well problems interact with a potential barrier with height more than the energy of the wave, the amplitude of the wave doesn't immediately falls off to zero, rather it decays exponentially, allowing phenomenon like quantum tunneling. In optics, the electromagnetic waves behave likewise to give the frustrated total internal reflection. How do we explain this behavior physically? I know Schrödinger's equation and Maxwell's equations require the wave to decay exponentially, but is there something else to it?
 A: Physically, the Schrödinger's equation expresses conservation of energy. The term $d^2\Psi/dx^2$ measures the curvature of the wavefunction, which is an indirect indication of its wavelength, and therefore its momentum and kinetic energy. At a "kink" where the second derivative blows up, the kinetic energy is $\pm\infty$, which isn't possible without violating conservation of energy.
A: Why should it?
Think of this as a boundary condition problem.  You solve the PDE, Schrodinger's equation, which is a wave equation.  The solutions must have continuous first and zeroth derivations, zeroth being a fancy way of saying that the function is continuous. 
This is what allows some solution beyond the barrier.  This is typical of all wave equations.  In QM we are attributing this "wave" to the probabilistic measure of locating a particle at some location in space (in the Copenhagen interpretation).  So if you are trying to make sense of how the wave function should behave using your knowledge of how classical particles are expected to behave you will always wind up confused.  What you should do is solve the wave equation, apply boundary conditions, and then ask what behavior does this predict relative to particle observation.  In your example the non vanishing wave function beyond the barrier is observed as tunneling and penetration.  
As Ben Crowell mentioned in his answer, if V0 --> infinity then the wave function does in fact vanish at the boundary and everywhere beyond it.  
