Derivatives Foundation puzzles, solved step by step
- Puzzles
- 100
- Traced to a firm
- 66
- Topics
- 12
- Hard
- 29
036Three assets all have the same pairwise correlation rho. What are the eigenvalues of the correlation matrix, and how low can rho go?Jump TradingPudong Xinqu · 2023
Try it first
How negative can the common correlation be?
Show the worked solution
The eigenvalues are 1 + 2 rho, once, and 1 - rho, twice; rho can go no lower than -1/2. The vector (1, 1, 1) is an eigenvector with eigenvalue 1 + 2 rho, and any vector whose entries sum to zero is an eigenvector with eigenvalue 1 - rho, which gives a two-dimensional space and hence a double root. A correlation matrix must have no negative eigenvalue, since each eigenvalue is a portfolio variance, so 1 + 2 rho is at least 0 and rho is at least -1/2.
Why can three assets not all be strongly negatively correlated?
Three friends cannot all sit opposite each other at a table: if A faces B and B faces C, then A and C are on the same side. Correlation has the same constraint. If asset A moves against B and B moves against C, A and C are pushed towards moving together, so there is a floor on how negative a common correlation can be, and for three assets that floor is -1/2. You can see the floor without any algebra by holding an equal-weight portfolio of the three, each with unit variance: its variance is (3 + 6 rho) / 9, which is (1 + 2 rho) / 3, and a variance cannot be negative. At rho = -1/2 the portfolio has zero variance; it is perfectly hedged, and nothing below that is possible.
Plotted against rho, the eigenvalue 1 + 2 rho rises steeply and crosses zero at rho = -1/2, while the double eigenvalue 1 - rho falls gently to zero at rho = 1, so the matrix is a valid correlation matrix only between those two points. How do you find the eigenvalues without expanding a determinant?
Write the matrix as (1 - rho) times the identity plus rho times the all-ones matrix J. The identity leaves every vector alone, so you only need the eigenvalues of J, and J is easy: it maps (1, 1, 1) to (3, 3, 3), eigenvalue 3, and it maps any vector whose entries sum to zero to the zero vector, eigenvalue 0, with a two-dimensional space of such vectors. Shifting and scaling by (1 - rho) turns those into 1 - rho + 3 rho = 1 + 2 rho for the market direction and 1 - rho for the two spread directions. Check with the trace: the eigenvalues add to 1 + 2 rho + 2(1 - rho) = 3, the sum of the diagonal, as they must. At rho = 0.3 they are 1.6, 0.7 and 0.7.
The relationshipI the identity matrix J the matrix of all ones, whose eigenvalues are 3 (once) and 0 (twice) lambda 1 the eigenvalue of the common or market direction lambda 2, 3 the double eigenvalue of the two directions that net to zero, the spread trades What it says in wordsThe matrix is a stretch of the all-ones matrix, so the market direction gets 1 + 2 rho and every spread direction gets 1 - rho.What does the structure tell a risk or trading desk?
The eigenvectors are the principal components. The (1, 1, 1) direction is the market factor, and its eigenvalue over the trace, (1 + 2 rho) / 3, is the share of total variance it explains: 53% at rho = 0.3 and 80% at rho = 0.7. The two spread directions carry the rest, equally. A long-short book that nets to zero across the three assets lives entirely in the 1 - rho directions, which is why pairs trades get calmer as correlation rises and why a correlation of 1 collapses them to nothing. For n assets the same argument gives eigenvalues 1 + (n - 1) rho and 1 - rho, so the floor is -1 / (n - 1): -1/3 for four assets and -1/9 for ten. Say the limitation as well: a historical correlation matrix estimated from more assets than observations is only barely positive semi-definite, and a hand-edited one, where a trader overrides a few pairs, can fail the test entirely, which is exactly the fault a risk system is built to catch.
Where candidates lose it
The common loss is answering -1, because a correlation can be -1. For a pair it can; for three assets pairwise, it cannot, and the interviewer wants the reason: a negative eigenvalue is a negative portfolio variance.
The second is expanding the characteristic polynomial by hand and getting lost. Spot the all-ones structure, name the eigenvector (1, 1, 1), and the rest is one line.
What the interviewer asks next
- What is the floor on rho for n equally correlated assets?
- The three assets have correlations 0.9, 0.9 and -0.9. Is that a valid correlation matrix?
- What is the variance of the equal-weight portfolio at rho = -1/2, and what does that portfolio look like?
- How would you repair an estimated correlation matrix that has a small negative eigenvalue?
Asked at Jump Trading, Prop Trading, Pudong Xinqu, 2023 (Wall Street Oasis):
Some very difficult linear algebra questions about PCA and eigenvalues
057The correlation of X and Y is 0.2 and the correlation of Y and Z is 0.5. What range of values can the correlation of X and Z take?Tower Research CapitalNew York · 2019
Try it first
Two correlations are given. Before any algebra: is the third one free to be anything between minus 1 and 1?
Show the worked solution
Between about -0.75 and 0.95. The three correlations must form a positive semi-definite matrix, and for three variables that means its determinant 1 - a^2 - b^2 - c^2 + 2abc cannot be negative. Solving for c with a = 0.2 and b = 0.5 gives c = ab plus or minus sqrt((1 - a^2)(1 - b^2)) = 0.1 plus or minus sqrt(0.96 x 0.75) = 0.1 plus or minus 0.849.
Why can the third correlation not be anything it likes?
If Amit is tall when Bela is tall, and Bela is tall when Chitra is tall, then Amit and Chitra cannot be perfectly opposite; the middle person ties them together. Three pairwise correlations describe one joint set of three variables, and a joint set has a variance for every combination of them that cannot be negative, which is the positive semi-definite condition on the correlation matrix. With weak links, 0.2 and 0.5, the tie through Y is loose and the band is wide; with links of 0.9 and 0.9, X and Z would be forced to be strongly positively correlated.
The correlation of X and Z can only sit in the green band from -0.75 to 0.95, centred on 0.2 x 0.5 = 0.1, because outside it the determinant of the 3 x 3 correlation matrix, plotted below the axis, turns negative and no three variables can have those correlations. How do you get the band without writing out eigenvalues?
Use the determinant. For a 3 x 3 correlation matrix with off-diagonal entries a, b and c, the determinant is 1 - a^2 - b^2 - c^2 + 2abc, and the matrix is valid exactly when that is at least zero. Treat it as a quadratic in the unknown c: c^2 - 2ab c + (a^2 + b^2 - 1) must be at most zero, so c lies between the two roots ab plus or minus sqrt((1 - a^2)(1 - b^2)). With a = 0.2 and b = 0.5 the centre is 0.1 and the half-width is sqrt(0.96 x 0.75) = sqrt(0.72), about 0.849. The geometric reading is the same thing: think of each variable as a unit vector, correlations as cosines of the angles between them, and the third angle is bounded by the sum and difference of the first two.
The relationshiprho_XY, rho_YZ the two given correlations, 0.2 and 0.5 rho_XZ the correlation being bounded the square root term the half-width of the feasible band, which shrinks as the given correlations strengthen What it says in wordsThe third correlation sits within a band centred on the product of the other two, with a width that vanishes only when the other two are plus or minus one.Where does this show up on a desk?
In any correlation matrix that was assembled by hand or from mismatched histories. A desk that marks the stock-to-index correlation at 0.9, the index-to-sector correlation at 0.9, and the stock-to-sector correlation at 0.3 has written down a matrix that no world can produce, and a basket option priced from it will give nonsense, often a negative variance for some combination. The fix is to project the matrix back to the nearest valid one before pricing. The limitation of the puzzle is that it covers only three variables; with more, every principal sub-matrix must pass, and the feasible set has no simple closed form.
Where candidates lose it
The common answer is that the third correlation is unconstrained, or that it must equal 0.1. Both miss that three variables share one joint distribution, and that its correlation matrix must be valid.
The second loss is knowing the condition and failing to turn it into a number. Have the determinant formula ready, solve the quadratic in the unknown, and quote the band to two decimals.
What the interviewer asks next
- Now the two given correlations are 0.9 and 0.9. What is the band?
- Can the X Z correlation be negative if X Y and Y Z are both 0.8?
- Explain the geometric picture using angles between unit vectors.
- What does a desk do when its estimated correlation matrix fails this test?
Asked at Tower Research Capital, Prop Trading, New York, 2019 (Wall Street Oasis):
What if the correlation between X and Y is 0.2 and the correlation between Y and Z is 0.5. What is the range for the correlation of X and Z?
069An index of ten equally weighted stocks has 15% implied volatility, and each of the ten stocks has 30% implied volatility. What average correlation is the market implying?Volatility tradingExotics trading
Try it first
Index vol is half the single-stock vol. Rough instinct for the implied correlation?
Show the worked solution
About 0.17, exactly one sixth. For n equally weighted stocks with the same volatility and the same pairwise correlation rho, index variance is stock variance times (1/n + (1 - 1/n) rho). Index variance over stock variance is 0.15 squared over 0.30 squared = 0.25, so 0.25 = 0.1 + 0.9 rho and rho = 0.15/0.9 = 1/6. The large-n shortcut of 0.25 overstates it because it ignores the 1/n term.
Why does the index have less volatility than its members?
Ten shopkeepers in one market each have noisy daily takings, but the market's total takings are steadier, because one shop's bad day is often another's good day. Only the part of the noise they share, the weather or a festival, survives the averaging. Index variance has two parts: the stocks' own noise, which averages away as 1/n, and the common movement, which survives in proportion to the correlation. With ten stocks at 30% and no correlation at all the index would still have 9.5% volatility, and that floor is why the implied correlation is below the naive 0.25.
For ten equally weighted stocks at 30% volatility, index volatility rises from 9.5% at zero correlation to 30% at a correlation of one, and a 15% index volatility is reached at an average correlation of one sixth, about 0.17. How do you derive the formula on the spot?
Write the index as the average of n returns and expand its variance. There are n variance terms, each sigma squared over n squared, and n(n - 1) covariance terms, each rho sigma squared over n squared, so index variance is sigma squared times (1/n + (n - 1) rho / n). Set that equal to 0.15 squared with sigma = 0.30 and n = 10: 0.0225 = 0.09 x (0.1 + 0.9 rho), so 0.25 = 0.1 + 0.9 rho and rho = 1/6. The derivation takes four lines, and the interviewer wants to hear the count of covariance terms, n(n - 1), said out loud.
The relationshipsigma_I index volatility, 15% sigma single-stock volatility, 30% for every stock n the number of equally weighted stocks, ten rho the average pairwise correlation implied by the two volatilities What it says in wordsIndex variance is stock variance times one over n plus the correlation times the rest, which solves to a correlation of one sixth.What does a desk do with implied correlation?
It compares it with realised correlation and trades the gap. Selling index options and buying single-stock options is a short correlation position, called a dispersion trade, and it pays when the stocks move more independently than the 1/6 the market has priced in. The limitation of the puzzle is its symmetry: real indices have unequal weights and unequal volatilities, so the implied correlation is a weighted average that can differ from the simple formula, and the implied figure also moves with the skew of the index options, which the single number cannot show.
Where candidates lose it
The common wrong answers are 0.5 and 0.25: the first divides volatilities and the second divides variances but forgets the 1/n floor from the stocks' own noise. With only ten stocks the floor is a tenth of the variance, which is a big correction.
The second loss is knowing the formula but failing to say what trade it supports. Say dispersion, and say which side is short correlation.
What the interviewer asks next
- Same numbers with 50 stocks instead of 10. What is the implied correlation?
- What is the lowest possible index volatility for ten stocks at 30%, and at what correlation?
- Implied correlation is 1/6 and realised correlation turns out to be 0.4. Which side of a dispersion trade made money?
- The stocks have different weights and volatilities. How does the formula change?
081Two assets show negative correlation in daily returns within each month, but positive correlation in monthly returns across a year. How is that possible? Build an example.Squarepoint CapitalMontreal · 2024
Try it first
What has to be true of the two return series for the sign to flip with the horizon?
Show the worked solution
Give both assets a shared monthly drift and opposing daily noise. Let A's daily return be m/21 + e + u and B's be m/21 - e + v, where m is a monthly drift common to both, e is noise that hits them in opposite directions, and u and v are their own noise. Inside a month m is fixed, so daily returns co-move through -e alone: correlation -0.50 with equal variances. Over a month e sums to a modest total while m is large, so monthly returns correlate at +0.66.
Why can one pair of series carry two correlations?
Two shops on the same street both do better in a festival month and worse in a quiet one, so their monthly takings rise and fall together. But on any given day, the customer who buys lunch at one is not buying it at the other, so their daily takings move against each other. Nothing is paradoxical: the two effects live at different speeds. Correlation is not a property of two assets, it is a property of two assets at a horizon, because different components of the return dominate at different horizons. The slow shared component barely moves within a day; the fast opposing component barely survives a month.
Two simulated paths with a shared drift of 12 points a month and opposing daily noise of 1 point zigzag against each other day by day yet climb and fall together month by month, giving an average within-month daily correlation of -0.54 and a correlation of 0.64 across the twelve monthly returns. How do you put numbers on the construction?
Take a drift m with a standard deviation of 12 points a month, opposing noise e of 1 point a day, and own noise u and v of 1 point a day. Within a month m is a constant, so it drops out of the daily covariance: cov = -var(e) = -1, and each variance is var(e) + var(u) = 2, so the daily correlation is -1/2. Over 21 days the sums of e, u and v each have variance 21, and the monthly covariance is var(m) - 21 var(e) = 144 - 21 = 123 against a variance of 144 + 21 + 21 = 186. The monthly correlation is 123/186 = 0.66, positive, because the shared drift's variance grows with the square of the month while the noise variance only grows in proportion to it.
The relationshipsigma_m the standard deviation of the shared monthly drift, 12 points sigma_e the daily opposing noise, 1 point sigma_u each asset's own daily noise, 1 point What it says in wordsWithin a month only the opposing noise moves, so the correlation is negative; across months the shared drift dominates, so it turns positive.Say where this shows up on a desk, because that is why the question is asked. Two stocks in one sector share the sector's slow repricing but trade against each other intraday as market makers hedge one with the other. A hedge ratio estimated from daily data will be wrong for a position held for months, and the reverse. The limitation of the example: a flat drift inside a month is a simplification, and in real data the slow component is itself noisy, so the sign flip is usually a fade from negative towards positive rather than a clean reversal.
Where candidates lose it
Candidates say it must be a small-sample fluke, which answers a question nobody asked and signals they have never looked at correlations across horizons. The interviewer wants a mechanism, with components at two speeds.
The second loss is building the example with lagged returns, where B follows A a month later. That gives positive cross-correlation at a lag, not positive contemporaneous monthly correlation, and it is not what was asked.
What the interviewer asks next
- What hedge ratio would you use for a one-day holding period, and for a six-month one?
- If the shared drift had a standard deviation of 5 points instead of 12, what happens to the monthly correlation?
- How would you test for this in real data without assuming the structure?
Asked at Squarepoint Capital, Hedge Fund, Montreal, 2024 (Wall Street Oasis):
correlation can be negative intra-month but positive across a year, how?
