Permutation Variance Trick
Permutation fixed points variance is a hard quant interview question on Expected Value, reported to have been seen at WorldQuant.
MyQuantPartner is not affiliated with, endorsed by, or sponsored by these companies, and all trademarks belong to their respective owners.
This quant interview question is about understanding random permutations and how global properties reduce to simple random variables. In quant prep, it sits at the intersection of combinatorics and probability, focusing on how a complex random structure can be summarized by a few key counts with strong dependencies between them.
It trains your ability to model such structures using indicator variables, to recognize complementary events, and to translate qualitative symmetry into quantitative statements about expectations and variances. You practice working with dependence, joint probabilities, and partitioning a system into exchangeable components to make variance questions tractable.
This matters for quant interviews because many trading, risk, and derivatives problems involve large, interdependent systems where you must quickly identify the right random variables and dependencies. Being comfortable with these abstractions signals you can handle path-dependent payoffs, correlated risks, and portfolio-level variance calculations under time pressure.
What it tests
Whenever you have a random partition of a set into two complementary categories (such as `fixed points` and `non-fixed points` in a permutation), the total count is fixed, so knowing one category determines the other. This means that any linear combination of their counts can be rewritten in terms of just one variable, often simplifying variance or covariance calculations. The variance of a sum of indicator variables is governed by their individual variances and their pairwise covariances, which are often accessible by symmetry or exchangeability. The key is that, in a uniform random structure, the probability of a particular element being in a category (like being a fixed point) is the same for all elements, and the joint probabilities for pairs can be computed by conditioning sequentially. This structure allows you to reduce seemingly complicated questions about the whole system to manageable calculations about one part and its interactions.
Practise this question with written feedback, or hear it in a spoken mock interview.
Get started free