**Required math: calculus **

**Required physics: **Schrödinger equation

Reference: Griffiths, David J. (2005), Introduction to Quantum Mechanics, 2nd Edition; Pearson Education – Problem 2.38.

Suppose a particle is in the ground state in an infinite square well in the interval . If the right wall suddenly moves to , what effect does this have on the allowable energies?

The ground state for an infinite square well of width is

The stationary states for a well of width are

The initial wave function can be expanded as a series using the new states:

where the are found using the orthogonal property of the stationary states:

For , this integral evaluates to

For , we have

The first few probabilities for stationary states are then

All higher coefficients are smaller, with all even coefficients from 4 upwards being zero.

The most probable energy is therefore

This happens to be the ground state of the original well, so, unsurprisingly, the most probable energy for the particle is the one it starts with.

The next most probable energy is

The average energy *could* be found if we could sum the infinite series

Clearly this isn’t an easy sum, but we can calculate the expectation value of the Hamiltonian directly as an integral to get the result

If you’re interested, a side effect of this result is that we can evaluate the sum above:

This series doesn’t converge all that quickly (it goes as ). The sum of the first 100 terms gives 1.991893832.

A slight rearrangement gives yet another way of calculating :

GHi, thanks for your explanation! But I have got a few questions regarding this, what if it is a symmetric well of -a/2<x<a/2 and it is expanded suddenly to -3a/2<x<3a/2 ? how will the probability of its energy state vary? Say, it is initially in the ground state.

growescienceIf all you’re interested in are the energy levels, the location of the well doesn’t matter, so you could analyze your problem with a well that starts out at and then expands to . You’d then just have to run through the same calculation replacing by . I don’t think that would give rise to any particular difficulties, but I haven’t checked it.