Abstract
The following theorem is proven: The xx and zz components of the electron energy-momentum tensor tμν and the magnetization M of an electron gas in a constant magnetic field B satisfy the relation tzztxx=BM. This relation is valid at any density, temperature, and magnetic field strength, if the system is in thermal equilibrium. Since the electromagnetic energy-momentum tensor tμν is anisotropic itself, this relation makes the total energy-momentum tensor Tμν=tμν+τμν become a scalar. Because txx and tzz can simply describe the electron pressure in these directions, the above theorem states that the difference pzzpxx equals twice the magnetic field energy, since M=4πB.