Partial Differential Equations and Spectral Theory