In a fluid the free energy is a sum of the ideal free energy and the excess free-energy contribution Δ Δ F from interactions between particles. In the grand ensemble the functional derivatives in the density yield the direct correlation functions c s :