A distribution has a density function if and only if its cumulative distribution function F (x) is absolutely continuous. In this case: F is almost everywhere differentiable, and its derivative can be used as probability density: d d x F ( x ) = f ( x ) .