Write the equation as with the positive Sturm-Liouville operator from part (a). A Sturm-Liouville eigenfunction expansion therefore gives , where weighted orthogonal projection gives
Here the product-to-sum formulas reduce the integral to half the sum of the integrals of and . Consequently
At , use the continuous limits of the terms. The coefficients are , so the resulting endpoint series converges. Completeness is the ordinary Fourier sine series completeness after . For an independent check, solving with zero endpoint values gives
Its numerator vanishes at zero, and it has the same orthogonal projection coefficients. Positivity of proves uniqueness.
These Robin boundary conditions give the spatial Sturm-Liouville operator one negative eigenvalue, , with eigenfunction . The other eigenvalues are , with eigenfunctions , ; there is no zero eigenvalue. Hence the diffusion equation has a growing contribution in addition to decaying modes.
There is no contradiction with ordinary diffusive smoothing. The outward normal derivative is at the left endpoint and at the right endpoint, so imposing the same coordinate derivative at both ends does not impose dissipative outward-normal data at both ends. The energy identity is , whose boundary term is here and can supply energy. Orthogonal projection of initial data gives ; it vanishes precisely when the growing mode is absent.
The reflected boundary conditions and have the same spectrum, because reflection reverses the coordinate derivative. Here the growing eigenfunction is and the decaying functions are , giving
For square-integrable initial data , orthogonal projection gives
The norms are and . The spatial Sturm-Liouville problem has no zero eigenvalue and exactly one negative eigenvalue for , namely . The energy boundary term now reads , so the left endpoint can supply energy. The growing mode disappears exactly when .