Expected Values of Continuous Random Variables
Define and compute the expected value of a continuous random variable using the integral E[X] = ∫ x f(x) dx, apply the Law of the Unconscious Statistician (LOTUS) to compute E[g(X)], and evaluate expected values when the support is infinite.
Tutorial
Expected Value of a Continuous Random Variable
For a discrete random variable, the expected value is a weighted sum of outcomes weighted by their probabilities. For a continuous random variable, we replace the sum with an integral and the probability mass function with the probability density function.
The expected value of a continuous random variable with probability density function is defined as
If outside an interval , the formula simplifies to
For example, suppose has density for (and otherwise). Then
This is exactly what we expect: the average value of a uniformly distributed point on is the midpoint .