Heat and work on the energy levels
A particle in a box can take up energy in two ways. Heat changes the probabilities of its energy levels, and work moves the levels themselves. Choose a process, and follow where the energy goes.
aEnergy levels and probabilities
bHeat, work, and the change in U
kBT = ε L = L0 U = ε
Process
U = ε
Energies are in units of ε = h2/(8mL02), the energy of the lowest level at the starting length L0. Gray shows what is as it was in the starting state, orange shows what has changed, and the dashed marks show the starting state. The triangle marks the internal energy U = Σ piEi.