Compare these definitions for a continuous pdf with the previous definitions for the mean and variance for a discrete pdf, given in Eq. (7) and Eq. (12), respectively, and reproduced below for convenience (where the subscript ``d'' corresponds to ``discrete''):


Now take the limit
to pass from the discrete to the continuous
versions for these quantities: