The boundary force in an infinite square well is obtained from the kinetic momentum flux at each wall. With , the derivatives of the state in part (c) are
The outward force magnitudes are . Taking positive force to mean rightwards, the forces exerted by the particle on the walls are
Both point outwards at all times, but their magnitudes oscillate out of phase. This force formula follows directly by differentiating the mean particle momentum and integrating the interior Schrödinger equation by parts: . As a check, the net force on the particle is , the opposite of the net force on the two walls.
A classical particle of energy transfers momentum in each collision with a particular wall, and returns to that wall after . Its mean outward force on that wall is
Thus the time averages agree separately at each wall, although the classical force consists of collision impulses and the quantum expectation varies continuously. Constant mean energy alone does not make the instantaneous quantum wall forces constant; their unequal instantaneous values supply the oscillation of .