Separation of variables gives and . The periodic matching of both the function and its first derivative selects , with the constant mode at . Thus the periodic diffusion on a circle solution is
where the Fourier coefficients of the initial function are
The formula for also gives at . The constant mode preserves the initial spatial mean; every nonconstant Fourier mode decays. For initial data in L2 space, the series approaches those data in L2 space as and is smooth at positive times.
Since the endpoints represent the same point of the tube, both density and diffusive flux must match. For a positive diffusion coefficient , the periodic boundary conditions are
For separation of variables, periodic spatial modes solve and have time factors . The constant mode has no decay. The periodic diffusion on a circle solution is therefore
where the Fourier coefficients are
The expression for includes .
The specified profile is even, so . Its mean follows from , giving . For , two integrations by parts give
Consequently
All nonconstant normal modes decay for , so the density becomes uniform:
The conserved total amount is . The initial cusp at zero is compatible with an L2 space solution and is immediately smoothed by diffusion. At there would be no relaxation, so positivity is needed for this long-time conclusion.