The traditional approach to solving the particle in the box is origin-specific and results in inconsistencies in calculation of the energy
The solutions developed in this analysis are complex waves given by
or
with
which give the expected momentum as
Indeed, when asked why
In my opinion, the answer lies with the traditional requirement that the value of the solutions is equal to zero at the boundaries of the well in order to maintain continuity. These boundary conditions surreptitiously force the superposition of the two complex solutions into giving a real-valued sinusoidal result.
The issue at hand may be better expressed if it is viewed as follows:
A. The addition of the separate solutions to the Schrodinger Equation.
As a second order differential equation, the Time-Independent Schrodinger Equation results in two separate solutions which will be called
is a necessary mathematical principle to give the general solutions onto which conditions are indeed imposed to get the unique solution(s).
B. The addition of different quantum states.
Two (or more) quantum states can be added together to form a superposed state. The addition of quantum state
with
is a quantum mechanical principle that is allowed for by the mathematics and discovered by P.A.M Dirac. However, it is not mandated that the quantum states be added together. The superposition is one of choice depending on the initial conditions of the system.
In my opinion, the textbooks seem to imply that the addition of the two solutions for the Schrodinger equation as in Eq.
Once the limiting conditions have been applied, the general equation Eq.
The particle in the box is different in that the unique solution actually consists of one of either two equations:
Since neither
As an example, the traditional real-valued sinusoidal solutions for the particle in the box (e.g.