Expected value

statistics
Expected value

For some random variable $X$ with domain $D$ (with a sense of addition and multiplication by $\mathbb{R}$) and probability density function $f: D \rightarrow [0,1] \subset \mathbb{R}$ the expected value is:

$$\int_{x \in D} x f(x) \ dx.$$