Use separation of variables with on a region where the factors do not vanish. The equation becomes , so
The separated equations are and , giving . Choosing gives the nonconstant real solution
Although the division used , the resulting solution extends smoothly across and directly satisfies everywhere.
With the same separation of variables ansatz, gives
On , integration yields and . The choice , gives a polynomial that extends smoothly to all real :
It is nonconstant and real everywhere, and , including on the axes.
For the Gaussian ansatz, partial differentiation gives
Cancel the positive exponential and compare the constant and quadratic powers of in the diffusion equation. The two coupled ordinary differential equations are
The initial profile requires and . The second equation is a separable differential equation:
Substitute this into the first equation and integrate its logarithmic derivative:
Thus
and the solution is
This is Gaussian diffusion of a smooth initial profile: its width grows while its peak decreases. The Gaussian integral gives , independent of time, which checks conservation of the total amount under the diffusion equation.

Articles by others on the same topic (0)

There are currently no matching articles.