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 (mu-X, the sum of each value times its probability). Suppose the number of defective items in a box is 0 with probability , 1 with probability , and 2 with probability . Then defects. Notice that is not a value can ever take, which is fine: the mean is the balance point of the probability distribution, not a prediction for any single box.
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 dollar. In general it is written (E of X, the mean of X, sums each value times its probability). It is the balance point of the probability distribution.