Separate . On a nonzero product region,
A decaying temporal factor requires , with . The zero spatial boundary values give and , hence with . Zero or negative separation parameters give no nonzero spatial mode with both boundary values zero.
The initial profile is already exactly the sine eigenfunction. Its coefficient therefore determines a single separated solution:
The exponential tends to zero because . More generally sine orthogonality would determine a sum of such modes, but all other coefficients vanish here. This is the transient of the heat equation with a single stationary sine forcing.