Expected Value & Variance

Expected Value & Variance Practice Quiz with a Step-by-Step Interactive Lesson

Use the question set below to practice expected value and variance in probability and statistics: computing the mean (expected value) of a discrete random variable with \(E[X]=\sum x\,p(x)\), using the fast variance identity \(\mathrm{Var}(X)=E[X^2]-(E[X])^2\), interpreting standard deviation as spread, and applying core rules like linearity of expectation \(E[aX+b]=aE[X]+b\) and the scaling rule \(\mathrm{Var}(aX+b)=a^2\mathrm{Var}(X)\). If you want a refresher with worked examples (dice, coins, spinners, and small distributions), click Start lesson.

Answer the question set and review your mistakes at the end.

How this expected value & variance practice works

  • 1. Take the practice set: answer the expected value and variance questions below.
  • 2. Open the lesson (optional): review formulas, shortcuts, and common probability distributions with step-by-step examples.
  • 3. Retry: return to the question set and apply \(E[X]\) and \(\mathrm{Var}(X)\) rules immediately.

What you will learn in the expected value and variance lesson

Expected value (mean) essentials

  • Discrete expected value: \(E[X]=\sum x\,p(x)\)
  • Interpretation: long-run average and “fair price” of a game
  • Linearity: \(E[X+Y]=E[X]+E[Y]\) (works even without independence)

Variance & standard deviation

  • Variance definition: \(\mathrm{Var}(X)=E[(X-\mu)^2]\)
  • Fast shortcut: \(\mathrm{Var}(X)=E[X^2]-\mu^2\)
  • Standard deviation: \(\sigma=\sqrt{\mathrm{Var}(X)}\)

Rules that save time

  • Shift & scale: \(\mathrm{Var}(aX+b)=a^2\mathrm{Var}(X)\)
  • Sum rule (independent): \(\mathrm{Var}(X+Y)=\mathrm{Var}(X)+\mathrm{Var}(Y)\)
  • When dependence matters: covariance idea (why independence is special)

Common distributions & quick checks

  • Bernoulli: \(E[X]=p\), \(\mathrm{Var}(X)=p(1-p)\)
  • Binomial: \(E[X]=np\), \(\mathrm{Var}(X)=np(1-p)\)
  • Uniform on \([0,1]\): \(E[X]=\tfrac12\), \(\mathrm{Var}(X)=\tfrac{1}{12}\)

Quick example: A fair six-sided die has outcomes \(1,2,3,4,5,6\). The expected value is

\[ E[X]=\frac{1+2+3+4+5+6}{6}=3.5. \]

Expected value is not “the most likely roll” — it’s the long-run average. Variance measures how spread out the outcomes are around the mean.

Practice set

Wartość oczekiwana i wariancja practice questions with instant score

Answer all 10 questions below, then get your final score and a mistake review at the end so you know exactly what to improve.

0 / 10 answered
Question 1 Not answered

Uczciwa moneta wypłaca \(1\) dolara za orła i \(0\) dolarów za reszkę. Jaka jest oczekiwana wypłata?

Question 2 Not answered

Wirówka zatrzymuje się na \(2\) z prawdopodobieństwem \(0.2\), na \(4\) z prawdopodobieństwem \(0.3\) i na \(8\) z prawdopodobieństwem \(0.5\). Jaka jest wartość oczekiwana?

Question 3 Not answered

Jaka jest wartość oczekiwana uczciwej sześciennej kostki do gry z oczkami od \(1\) do \(6\)?

Question 4 Not answered

Jaka jest wariancja uczciwej monety, która wypłaca \(1\) za orła i \(0\) za reszkę?

Question 5 Not answered

Moneta obciążona wypada orłem (wartym \(2\)) z prawdopodobieństwem \(0.7\) oraz reszką (wartą \(0\)) z prawdopodobieństwem \(0.3\). Jaka jest jej wartość oczekiwana?

Question 6 Not answered

Jaka jest oczekiwana suma przy rzucie dwiema uczciwymi sześciennymi kostkami do gry?

Question 7 Not answered

Jeśli rzucisz dwiema uczciwymi monetami i policzysz liczbę orłów, jaka jest oczekiwana liczba orłów?

Question 8 Not answered

Jaka jest wariancja liczby orłów przy dwóch rzutach uczciwą monetą?

Question 9 Not answered

Gra wypłaca \(+3\) z prawdopodobieństwem \(0.5\) oraz \(-1\) z prawdopodobieństwem \(0.5\). Jaka jest oczekiwana wypłata?

Question 10 Not answered

Loteria wypłaca \(5\) z prawdopodobieństwem \(0.2\) oraz \(0\) z prawdopodobieństwem \(0.8\). Jaka jest jej wartość oczekiwana?