Expected value

For some random variable with domain (with a sense of addition and multiplication by ) and probability density function the expected value is: