Fixed point of random permutation

340 Views Asked by At

Suppose we have a random permutation of the integers from $1$ to $100$. What is the expected value and variance of $X-Y$, where $X$ is the number of fixed points (numbers which are at the same place before and after permutation) and $Y$ is the number of non-fixed points.