I'm studying Quantum Mechanics for one week and I don't understand one thing about wave function harmonics. If we have a particle in an infinite square well with an initial wave function $ \psi(x,0),$ we can calculate the time evolution($ \psi(x,t)$), knowing all the $ \psi_n(x)$ do a Fourier series.
My question is, why i don't simply calculate $$ \psi(x,t) = \sum c_n \psi(x,0) \phi(t) $$ and we must calculate $ \psi(x)$ which in infinite square Well is $$ \psi_n(x)=A \sin\left(n \frac{\pi}{a}x\right),$$ $A$ is normalization constant and a the well length.
Why $ \psi(x,0)$ is different than $ \psi_n(x)\,.$