For a square of side initially at constant temperature , held at zero boundary temperature for , the heat equation with has solution
The double Fourier sine series of the initial constant gives the coefficients. The spatial modes are Dirichlet Laplacian eigenfunctions, so separation of variables gives their decay rates. At late times the mode dominates, giving the displayed profile; the next nonzero decay exponent is . At early times the series approaches the constant at each interior point and in L2 space, while the boundary remains at zero. An instantaneous change to the boundary condition therefore need not produce a solution continuous at the initial boundary in space-time.
Multiply by the sine product and integrate over the square. Fourier orthogonality gives squared norm , and thus
Therefore
This double Fourier sine series equals one at interior points. At boundary points every summand vanishes, consistent with the endpoint value of the sine extension.