In all of these processes, we are not interested in the actual
process leading from the initial to the final state, but only in the
difference in the entropy of the system between the initial and the
final states. All the processes described may be performed quasistatically
at constant temperature.2 Because the systems contain
only ideal gases, constant temperature also implies constant
average kinetic energy of the particles.