What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

Expected value and variance formula: what it means and how to use it

Find the long-run center and squared spread of a discrete random variable. This random variables relationship belongs to probability. Read the symbols against the problem, confirm the required conditions, and estimate the scale before calculating.

\[E[X]=\sum_x xP(X=x),\qquad\operatorname{Var}(X)=E[X^2]-E[X]^2\]

Define the population, event, or assumptions first

The probabilities have to sum to 1 and the sums have to settle on a finite total. In the St Petersburg game, where the payout doubles with each coin flip, every term contributes the same amount and the expected value is infinite, so no finite fair price exists.

What each quantity represents in Expected value and variance

Name the experiment or data-generating process, distinguish sample information from population parameters, and state the event or estimate in words. Rebuild missing background in the probability subject guide, then use statistics practice to retrieve the relationship without being told its name.

Interpret a complete Expected value and variance calculation

The numerical line is only the middle of the answer; connect it back to the event, data, or uncertainty:

\[For a fair die, $E[X]=(1+2+3+4+5+6)/6=3.5$.\]

Compute without losing the statistical question

  1. Name the unknown, and the unit the answer has to come out in.
  2. Match the symbols to your values. $x$ ranges over possible values.
  3. Check the conditions before substituting. Probabilities must be nonnegative and sum to $1$; the required sums must converge.
  4. Substitute, keep exact values to the last line, then test the sign, size, and unit against a rough estimate - The check that catches most probability slips.

Check the range, direction, and interpretation

After using Expected value and variance, repeat the calculation with units attached and test the result against a boundary case or a quick numerical estimate.

An inference this formula does not justify

What goes wrong: Averaging the possible values without weighting them by their probabilities.

Why it fails: A lottery ticket paying 1000000 with a one-in-a-million chance and nothing otherwise has an expected value of 1. Averaging the two outcomes gives 500000 and describes no reality at all.

Repair: Multiply each value by its own probability before adding, and check that the probabilities you used sum to exactly 1.

Questions about interpreting Expected value and variance

Can an expected value be negative?

Yes, and every casino game gives the player one. American roulette on a single colour returns about -0.0526 per unit staked, which is the house edge stated as an average loss.

Why use the mean of the squares minus the square of the mean?

It is an algebraic shortcut that avoids computing every deviation separately. Both versions give the same answer, but this one needs only two running totals.

Is the expected value the most likely outcome?

No, and it need not even be possible. A fair die has an expected value of 3.5, a number that can never come up on any single roll.

What does an expected value of zero mean?

It marks a fair game, where the long-run average gain is nothing. Individual plays still win and lose; only the average across many repetitions settles at zero.

Make it yours

Change one input, predict whether the output should rise, fall, or stay fixed, and only then recalculate.