expectedvalue
Expected value, also called expectation or mean, is a central concept in probability and statistics that summarizes the average outcome of a random variable if the experiment could be repeated many times. For a discrete random variable X with possible values x_i and probabilities p_i, the expected value is E[X] = ∑ x_i p_i. For a continuous variable with density f, E[X] = ∫ x f(x) dx, provided the integral converges. More generally, for any function g, E[g(X)] = ∑ g(x_i) p_i or ∫ g(x) f(x) dx.
The expected value is a linear operator: E[aX + b] = a E[X] + b, and E[X + Y] = E[X]
Common examples illustrate its interpretation. A fair die has E[X] = (1+2+3+4+5+6)/6 = 3.5. A fair coin that
In practice, the expected value represents the long-run average outcome, not necessarily a typical single observation.