Quoto

Learn / Library / Expected value

Records in a shuffled list

Expected valueEasy

The numbers to are placed in a uniformly random order. An entry is a record if it is larger than every entry before it (the first entry counts). What is the expected number of records?

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

Each position is a record with a probability that depends only on its place.

Solution
  1. Entry number is the largest among the first entries with probability .
  2. By linearity the expectation is the sum of these probabilities.
  3. It equals .

Answer: