Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2021/paper-2/20/b/solution

With homogeneous Dirichlet boundary condition, the eigenfunctions are and all modes decay. Write
Reflection about the midpoint makes every even- coefficient zero. For odd , putting and using the product-to-sum identity gives
In particular and . Thus
This uses the Fourier sine series of a squared sine. The coefficients are , so the initial series converges uniformly; for the exponential factors also justify termwise differentiation to check the heat equation. Every mode vanishes at both endpoints, and the initial series gives the specified profile. Unlike part (a), there is no constant mode: the temperature tends to zero, with leading long-time term

New to topics? Read the docs here!