Abstract
A proof is presented of the virial theorem for the interacting electron gas in a uniform positive background with the boundary conditions used in actual calculations of the total energy.