I'm interested in using the Fourier transform to solve the heat equation. I've been poring over this wikipedia article: http://en.wikipedia.org/wiki/Heat_equation#Solving_the_heat_equation_using_Fourier_series trying to understand it but every time I go through the solution I get stuck at the step where they generalize the solution to $u(x, t) = X(x)T(t)$ ** by summing all solutions.
Can someone explain to me why this is necessary? My hunch is that when you solve the PDE via separation of variables with equation **, you are assuming the independence of $x$ and $t$, and so summing all solutions somehow relaxes this constraint. If this is true, what's the mathematical justification for this.