Definition · applies to random variables · also called expectation, $\mathbb{E}[X]$, population mean

High school

Consider a random quantity with several possible values, each with a probability. The expected value of the quantity is its long-run average: the average of its possible values, weighted by how likely each one is.

Undergraduate (probability)

Consider a random variable $X$.

If $X$ is a discrete random variable, then the expected value of $X$ is

\[\mathbb{E}[X] = \sum_x x P(X = x).\]

If $X$ is a continuous random variable with a density $f$, then the expected value of $X$ is

\[\mathbb{E}[X] = \int x f(x) \dx\]

Examples

Worked examples

  • Value:

    $\mathbb{E}[X] = 3.5$

    $\mathbb{E}[X] = \frac{1 + 2 + 3 + 4 + 5 + 6}{6} = 3.5$. Note: The expected value is not a possible outcome.

Properties

  • The expected average of a random variable is a weighted average of the possible values, where each value is weighted by its probability.
  • By the law of large numbers, the mean of many independent samples approaches the expected value.
  • Expected value is linear: \[\mathbb{E}[a X + b Y] = a \mathbb{E}[X] + b \mathbb{E}[Y].\]

Notes

The expected value is a property of a probability distribution, while the mean of a data set is a property of the data.

Distinctions involving this term

All definitions · All distinctions · All examples · Notation