We discuss the nature of phase transitions in self-gravitating systems both
in the microcanonical and in the canonical ensemble. We avoid the divergence of
the gravitational potential at short distances by considering the case of
self-gravitating fermions and hard spheres models. Three kinds of phase
transitions (of zeroth, first and second order) are evidenced. They separate a
``gaseous'' phase with a smoothly varying distribution of matter from a
``condensed'' phase with a core-halo structure. We propose a simple analytical
model to describe these phase transitions. We determine the value of energy (in
the microcanonical ensemble) and temperature (in the canonical ensemble) at the
transition point and we study their dependance with the degeneracy parameter
(for fermions) or with the size of the particles (for a hard spheres gas).
Scaling laws are obtained analytically in the asymptotic limit of a small short
distance cut-off. Our analytical model captures the essential physics of the
problem and compares remarkably well with the full numerical solutions.Comment: Submitted to Phys. Rev. E. New material adde