Fick's second law has the same mathematical form as the Heat equation and its fundamental solution is the same as the Heat kernel, except switching thermal conductivity k with diffusion coefficient D : φ φ ( x , t ) = 1 4 π π D t exp ⁡ ⁡ ( − − x 2 4 D t ) .