Mathematics · Free public reading

Expected Value: The Long-Run Average of Random Outcomes

Learn at your own pace. Questions below are reflection prompts, not assessments. You can read every explanation without submitting an answer.

Understand the idea

Imagine a fictional automated parts sorter. In each independent short run it sorts either 0, 4 or 8 usable parts. The outcomes are not equally likely.

A supervisor wants to estimate the average number of usable parts per run over many identically operated runs, not to predict the exact result of the next single run. That average is related to the expected value.

Predict first: The three possible outcomes are 0, 4 and 8 parts. Is their expected value necessarily (0+4+8)/3 = 4 parts? Or does it depend on how often each outcome occurs? Think of a reason before reading the distribution.

The complete discrete distribution

X = usable parts per run Probability
0 1/2
4 1/4
8 1/4

The three probabilities add to 1/2+1/4+1/4=1, so the distribution is valid.

Why probability is a weight, not just another number

Try imagining four equally likely cards labelled 0, 0, 4, 8. This is a model of the probabilities, not a prediction that every four real runs must produce exactly these counts. There are two cards labelled 0, but only one labelled 4 and one labelled 8. That is why zero pulls the long-run average down twice as strongly as either of the other individual outcomes.

Quick prediction, before the calculation: If you add those four card numbers and divide by four cards, will the result be closer to 0 or to 8? Why might averaging only the three different labels give a misleading result?

Worked explanation: (0+0+4+8)/4=12/4=3. The number 0 must appear twice in this card average because it represents twice as much probability. Averaging (0+4+8)/3=4 would incorrectly treat the three different results as equally likely.

Now use the probability column as the share of repeated outcomes instead of drawing four cards: value times its probability, then add.

Supported attempt: Before seeing the full sum, what does the 4-part outcome contribute: 4×(1/4) or 4÷(1/2)? Write one line explaining what one quarter means.

Optional hint if you chose division: One card out of four has a 4 on it. Its share of the four-card total is 4/4, not two copies of 4.

Explanation: The contribution is 4×(1/4)=1 part per run in the long-run average; probability tells us how heavily to count that outcome. If you selected division, return to the four-card model and try the smaller question 8×(1/4) before continuing.

Complete worked calculation:

E(X) = 0×(1/2) + 4×(1/4) + 8×(1/4)

E(X) = 0 + 1 + 2 = 3 parts per run.

Another guided example: Four equally likely new cards show 0, 0, 2, 6. Is their average 2, 4 or 8 parts? First say which label appears twice. If you choose 4, count all four cards, not only the different labels. Explanation: (0+0+2+6)/4=8/4=2. You can now try a different machine without an example telling you its answer.

Although the expected value is 3, the sorter never produces exactly three parts in this simple model. Expected value is the probability-weighted mean, not a guaranteed next observation or necessarily an outcome the variable can take. If the operation were repeated under the same conditions many times, the sample average would tend toward the theoretical value under the usual independent identically distributed assumptions. In a short sequence the actual average may differ.

In words: for each possible result, multiply the result by how likely it is; then add all those contributions. If you are ready for notation, Σ simply means add all:

E(X) = Σ(x_i × p_i), with all p_i ≥ 0 and Σ p_i = 1 (all probabilities total 1).

The unit of expected value matches the original variable: here, usable parts per run as an average. Do not confuse E(X) with variance or expected profit; other quantities require different calculations.

Common mistakes

  • Taking the unweighted average (0+4+8)/3=4 even though the probabilities are unequal.
  • Claiming “the next run produces three parts” simply because E(X)=3.
  • Writing a probability table that sums to more or less than 1 without explaining missing/overlapping outcomes.
  • Confusing a probability-weighted mean with probability of one particular event. The expected value can be outside the list of attainable outcomes while still being between the minimum and maximum possible values for a finite nonnegative-weight distribution.

Independent transfer: a different packaging machine

A separate fictional machine places 1, 2 or 5 replacement washers into a packet, with respective probabilities 1/2, 1/4, 1/4. Calculate the expected number of washers per packet. Predict whether the answer must be a whole number. Then justify why this result does not say how many washers the next particular packet contains.

Work on paper or in notes. This public reading does not submit, save, grade or reveal an answer.

Key ideas

Expected value = sum of each value multiplied by its probability. First ensure the probabilities describe a valid distribution; then interpret the weighted mean in the problem's units. Next, study variance and standard deviation to understand how much outcomes vary around the mean. This reading is unscored and does not grant school credit, grades or mastery.