Derive pressure and chemical potential of the ideal gas from entropy.
Remember that for a three dimensional system of N billiards of mass m in a volume V, we have found Ωq∝VN and Ωp∝m(2mE)3N−22.

Entropy of the Billiards Model

S(E,V,N)=NkBln⁡V−32NkBln⁡N+32NkBln⁡E+C(N)

Temperature:

T=−∂S/∂E∂S/∂μ⇒1T=∂S∂E=3NkB2E⇒E=32NkBT

Pressure

Moving a piston: W=PΔV, so dE=−PdV.
Setting dS=0:

∂S∂E(−PdV)+∂S∂VdV=0Peq=T∂S∂V

For the Billiards model, ∂S∂V=NkBV, so:

PV=NkBT

Chemical Potential

Setting dS=0, dN=1:

dS=∂S∂E(−μ)+∂S∂NdN=0μeq=T∂S∂N