A hint to get started
Put the squared deviation inside the expectation
Alex and his friend stand randomly in a queue with three other people. X is the number of people between Alex and his friend.
(i) Show that .
(ii) Tabulate the distribution of X.
(iii) Find and . Hence find .
[2017/ACJC/II/6]
CJC · Discussion · Question 4
The number of admissible position pairs decreases from 4 to 1 as the gap grows.