probability density function formula for discrete random variable