Inversions in a shuffle

A random permutation of {1,…,5}\{1,\dots,5\} is drawn. An inversion is a pair i<ji<j whose values are out of order. What is the expected number of inversions?

Show hints (2)+
  1. Indicator on each pair of positions.
  2. Each pair is inverted with probability 1/2.

Answer

Reveal answer →

5

Create a free account to see the full worked solution and track your progress.

Interview format: Market Maker, Prop Trading

Related questions