Mathematics (JEE)Moderate

A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. A left-to-right maximum is an entry larger than every entry before it (the first entry counts). What is the expected number of left-to-right maxima?

  1. A. 5/2
  2. B. 3
  3. C. 137/60
  4. D. 2

Correct answer: C. 137/60

Entry i is a left-to-right maximum with probability 1/i, since it must be the largest of the first i entries. The expectation is 1 + 1/2 + 1/3 + 1/4 + 1/5 = 137/60. The value 5/2 treats the entries as equally likely maxima.

More Permutations, Combinations and Probability questions

Exams that ask this topic