Mean of a Random Variable vs Expected Value

Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.

Mean of a random variable

Random variables and distributions

The mean of a random variable, written mu-X, is its long-run average: multiply each value by its probability and add all the products.

The mean of a random variable is a weighted average in which each value counts in proportion to how likely it is, so μX=xiP(xi)\mu_X = \sum x_i P(x_i) (mu-X, the sum of each value times its probability). Suppose the number of defective items in a box is 0 with probability 0.50.5, 1 with probability 0.30.3, and 2 with probability 0.20.2. Then μX=0(0.5)+1(0.3)+2(0.2)=0.7\mu_X = 0(0.5) + 1(0.3) + 2(0.2) = 0.7 defects. Notice that 0.70.7 is not a value XX can ever take, which is fine: the mean is the balance point of the probability distribution, not a prediction for any single box.

Full entry for mean of a random variable

Expected value

Random variables and distributions

The expected value of a random variable is its long-run average, found by multiplying each value by its probability and adding the products.

The expected value is the mean you would see over many repetitions of the random process, and it need not be a value the variable can actually take. For example, a game that pays 2 dollars with probability 0.5 and nothing with probability 0.5 has expected value 2(0.5)+0(0.5)=12(0.5) + 0(0.5) = 1 dollar. In general it is written E(X)=μX=xipiE(X) = \mu_X = \sum x_i \, p_i (E of X, the mean of X, sums each value times its probability). It is the balance point of the probability distribution.

Full entry for expected value

Where each one fits in the course