For separation of variables, take and divide the reaction-diffusion equation by this product wherever it is nonzero:
Each spatial term depends on a different variable and must be constant. Write and similarly for the other two factors. The Dirichlet boundary conditions give . A zero separation constant permits only a linear function and hence the zero solution; a positive value of likewise permits no nonzero function vanishing at both endpoints. The nontrivial choices are therefore
The temporal ordinary differential equation is
so, absorbing its constant multiplier into ,
The superposition principle and completeness of the Fourier sine series give the stated threefold expansion with these factors. For an initial density , orthogonality also determines the constants:

Articles by others on the same topic (0)

There are currently no matching articles.