Density and distribution function