# Why energy restrictions in the infinite square well are general?

I'm looking at the infinite square well case for solving the Schrodinger equation in quantum mechanics.

I see that when solving the time-independent Schrodinger equation, we find that the energies:

$$E_n = \frac{n^2 \pi^2 \hbar^2}{2 m a^2}.$$

In the Griffiths textbook, it says

"a quantum particle in the infinite square well cannot have just any old energy - it has to be one of these special allowed values."

But aren't we really showing only that the time-independent Schrodinger equation is restricted to have certain values for E? Isn't that equation a special case when you try to solve the Schrodinger equation by separation of variables?

$$\Psi(x,t) = \psi(x) \varphi(t)$$

Can anyone explain why the energy restrictions are general?

• What is meant by 'old energy'? Commented Feb 1, 2021 at 10:48
• Every solution is a linear combination of the solutions you find using separation of variables. The system can exist in one of these linear combination states, but when you measure the energy you will get one of the separable solutions.
– Tony
Commented Feb 1, 2021 at 11:01
• I've removed your images and used MathJax, do try to use MathJax in your questions from now on, here's a nice tutorial. Commented Feb 1, 2021 at 11:13
• @Jakob: Any old. Commented Feb 1, 2021 at 11:14

It is perhaps a question of semantics, to some extent, but you can't talk about the energy of a quantum particle unless it is in a state of definite energy i.e. an eigenstate of the Hamiltonian. If you had a superposition of two energy eigenstates, say $$|\psi\rangle = c_1 |E_1\rangle + c_2 |E_2\rangle,$$ any measurement of the energy will result in either the state collapsing to the state $$|E_1\rangle$$ or $$|E_2\rangle$$, with the resulting energy being $$E_1$$ or $$E_2$$ respectively. The probability that an energy $$E_1$$ will be measured is thus $$|c_1|^2$$, and that an energy $$E_2$$ will be measured is $$|c_2|^2$$. So speaking of the "energy" of the state $$|\psi\rangle$$ doesn't make sense.

One can, of course, speak of the expectation value of the energy in the state $$|\psi\rangle$$: $$\langle E\rangle = \langle \psi | \hat{H}|\psi \rangle.$$

This quantity is well defined, and can take a range of values, but isn't the same thing as the "energy" of the state.

Note: Nothing about this is unique to the Hamiltonian. It is not sensible to speak of the "value" of momentum of a quantum state if it isn't in a state of definite momentum (i.e. an eigenstate of $$\hat{p}$$) and so on for any quantum observable. However, you could always speak of the expectation values of these observables, though its interpretation is different.

Edit: As mentioned in the comments, I interpreted the OP's question as follows: why is it that the only energies that a particle in a box is allowed to be in are the eigenvalues of the time-independent Schrodinger equation. I feel that the OP clearly understands why the energy restrictions apply to the time-independent Schrodinger Equation, just not why are arbitrary state cannot be said to have some fixed energy.

That being said, @BioPhysicist raises a fair point: my argument does not explain why these energies have to be discrete. Indeed, in general, they do not. There are two classes of solutions to the Schrodinger Equation, solutions that have a discrete spectrum ("Bound states") and solutions that have a continuous spectrum ("Scattering states"). If a particular potential allows for scattering states (as, for example, the finite potential well, these solutions will not have discretely spaced energies. Nevertheless, the only states in which the "energy" of the particle can be spoken of in any meaningful way still remain the eigenstates of the Hamiltonian.

In general, a good guess as to whether or not a potential admits scattering states can be made by looking at the behaviour of the potential at infinity. Scattering states are -- crudely -- states where at the particle "starts off" as a free particle at $$x = -\infty$$, and ends up as a free particle at $$x = +\infty$$. For certain potentials (like the infinite potential well and the harmonic oscillator) the "strength" of the potential keeps increasing as we go further away, and therefore the particle never has the possibility of being "free". Such potentials only admit bound (and therefore discrete) state solutions.

I would not blame you if you didn't find the above analysis convincing, but I cannot think of an "intuitive" reason for the existence of discrete energies for the infinite potential well.

• This is all true, but I don't think it answers the question as to why in this particular case the Energy must be quantized and isn't just an artifact of choosing the separation of variables method of solving the Schrodinger Equation. Commented Feb 1, 2021 at 11:18
• @BioPhysicist in this case separation of variables boils down to just solving the TISE, so I don't see why this wouldn't answer the OP. The point is these things seem mysterious in PDE language and incredibly obvious (sometimes too much so) in operator language. Commented Feb 1, 2021 at 11:26
• @jacob1729 This doesn't answer the OP because this answer is still true in the case of a continuum of energy states in addition to discrete, quantized states the OP asks about. The OP is specifically about quantized states and why we get quantization; while the link might be obvious to those who have studied this it certainly isn't obvious to all. Commented Feb 1, 2021 at 11:33
• @BioPhysicist Hm, good point, though I interpreted the question as being why an arbitrary state of a particle in a box cannot have an exact energy, rather than why the energies are discrete. Though you're right, I neglected to include that scattering states have a continuous spectrum, I'll try to include that. Commented Feb 1, 2021 at 11:35

I don't know exactly what you mean with 'general'. For your specific example, we find that the eigenvalues of the Hamiltonian $$E_n$$ are given by the equation in your post. Hence, the corresponding eigenfunctions fulfill $$\hat{H} \psi_n(x) = E_n\, \psi_n(x)$$. As you pointed out, in the example a solution of the time-dependent Schrödinger equation is given by $$\Psi_n(x,t) = \psi_n(x)\, \varphi_n(t)$$ with $$\varphi_n(t) \equiv e^{-i E_n t/ \hbar }$$. Note that $$\hat{H}\Psi_n(x,t) = E_n \Psi_n(x,t)$$ and thus the expectation value of the energy in the state $$\Psi_n(x,t)$$ reads:

$$\langle E \rangle_{\Psi_n} = E_n \quad .$$

Edit: Note that although a superposition of different $$\Psi_n(x,t)$$ still solves the time-dependent Schrödinger equation, the expectation value of the energy will, in general, not be an eigenvalue of the Hamiltonian.