Mathematics (JEE)HardGATE CS

A uniformly random permutation of 1, 2, 3, 4, 5, 6 is chosen. Let an ascent be a position i with p(i) < p(i + 1). What is the expected number of ascents?

  1. A. 3
  2. B. 2
  3. C. 5/2
  4. D. 15/4

Correct answer: C. 5/2

Each of the 5 adjacent position pairs is an ascent with probability 1/2 by symmetry, so by linearity the expectation is 5 × 1/2 = 5/2. Option 3 is the value for 6 adjacent pairs.

More Permutations, Combinations and Probability questions

Exams that ask this topic