diffusion closed form