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/a/solution

For the heat equation , separation of variables with homogeneous Neumann boundary condition at both ends gives spatial modes and decay factors . The mode is constant and does not decay.
The initial profile already contains only two such modes:
Evolving each mode therefore yields
The endpoint derivatives vanish, and substitution checks both the equation and the initial profile. The spatial integral remains : no heat escapes through insulated ends, so the limiting uniform temperature is .
Figure 1.
Insulated and zero-temperature endpoints evolve the same initial heat profile differently
. Original mode calculations. Both panels start from the same squared sine. Insulated endpoints conserve the mean temperature and approach ; zero-temperature endpoints remove heat and the profile decays to zero. Times are expressed as . Details.

New to topics? Read the docs here!