Quoto

Learn / Library / Expected value

Gap between draws

Expected valueMedium

integers are drawn independently and uniformly from to , and the payout is the absolute difference between them. What is the variance of the payout?

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Count how many of the equally likely pairs give each difference.

Solution
  1. Of the equally likely pairs, the differences , , , and occur , , , and times.
  2. So and .
  3. The variance is .

Answer: