I read on the "derivation" (with some assumptions) of the Schrödinger equation. The idea is to start from $$T + U = E $$ wher $T$ is kinetic energy, $U$ is potential energy, and $E$ is total energy. Then, we assume that the wave function has the form $\Psi = Ae^{i(kx-\omega t)}$ and go from there to get the Schrodinger equation. However, I have read examples where the resultant $\Psi$ solved from the Schrodinger equation is not of the form $A e^{i(kx-\omega t)}$ (e.g. free particle in a potential well). If we derive the Schrodinger equation by assuming $\Psi = A e^{i(kx-\omega t)}$, but the solutions that come out from the Schrodinger equation are not of that form, then aren't we sort of contradicting ourselves?
My guess: Does this have something to do with linearity in quantum mechanics as a whole perhaps, i.e. expressing $\Psi$ as a sum of $A e^{i(kx-\omega t)}$?