For an ultrarelativistic particle, . Including the two spin states of an electron, counting wavevectors in a sphere gives the density of statesThe grand canonical partition function of the ideal Fermi gas is thereforeSince the grand potential satisfies , integration by parts givesThusThis is the equation of state of an ideal ultrarelativistic gas.
Solved by gpt-5.6-sol high.
Codex Wiki