Finance OS
Investing, crises and the future of finance

Why diversification works

Understand covariance and portfolio volatility through two-asset experiments, and distinguish diversification returns and risk disappearance.

The real-world story

Intuition · Two stocks that may still be a bet

Kobayashi bought two stocks with different names, thinking that the risk had been halved. But both companies rely on the same raw materials, the same customers and the same financing environment. Although the other group of assets has obvious ups and downs, the direction of change is not so consistent.

The previous chapter determined the purpose of each asset, and this chapter examines what happens when they are put together. Portfolio risk depends on collective changes, not just how much each asset moves individually. All returns, probabilities, and correlations below are educational assumptions and do not represent market predictions.

The conflict

If you buy half of two assets with volatility 10% each, does the portfolio volatility have to be 10%? If they are perfectly in sync, the answer could be yes; if they are often staggered, the portfolio volatility could be lower.

"Not falling at the same time" is an extreme scenario that is easy to understand, but it is not a necessary condition for effective diversification. Even if two assets sometimes fall together, as long as the common changes are not completely consistent, there may still be diversification. On the contrary, the same decline has rarely occurred in history, and there is no guarantee that it will still be the case the next time there is pressure.

Your decision

Put two scenarios into the same combination

Suppose there are only two equiprobable states after one year. Asset A returns +20% in state one and −10% in state two; asset B returns −10% in state one and +20% in state two. The initial purchase amount is 50. There will be no transactions, no external funds received or paid during the year, and no fees or taxes. How much is the combination worth in the two states?

These two lines are mutually exclusive future states, not two consecutive years of gains. The probability of each state is 50%. The probability is given by the question setting. It cannot be deduced from the table that they are actual frequencies.

Working out the result

StatusA Ending valueB Ending valueportfolio valueportfolio return
one6045105+5%
Two4560105+5%

The expected returns of A and B are both 5%, and the deviations from the mean are +15/−15 percentage points and −15/+15 percentage points respectively. Calculated using probability weighting, the respective variance is 0.0225, the standard deviation is 15%; the covariance is −0.0225, and the correlation coefficient is −1.

The equally weighted portfolio always returns 5% in this closed model, so the volatility is zero. It is not that a risk-free high-yield product has been found in reality, but that the two assets are set to change completely in opposite directions. Adding unlisted states, defaults, or transaction constraints may invalidate this conclusion.

Building the financial model

Model · Two assets do not require a matrix

Let the weight of A be w, the weight of B be 1−w, the standard deviation be σA, σB, and the correlation coefficient be ρ. The combined variance is:

σp² = w²σA² + (1−w)²σB² + 2w(1−w)ρσAσB

The combined standard deviation is the square root of the variance. The covariance is equal to ρ×σA×σB and represents how the deviations of the two returns from their respective means vary together; the correlation coefficient normalizes the covariance and ranges from −1 to +1. If the volatility of an asset is zero, the denominator of the ordinary correlation coefficient is zero, and you cannot randomly fill in an estimated value for it.

Suppose the volatility of the two assets is both 10% and the weights are half and half, and only the correlation is changed: when ρ=1, the portfolio volatility is 10%; when ρ=0, it is about 7.07%; ρ=−1 time is zero. It can be seen that the individual fluctuations cannot be simply added and divided by two; what is missing is the common change term.

If the two fluctuations are 20% and 10% respectively, and the correlation is zero, the equal-weighted fluctuation is the square root (0.25×0.04+0.25×0.01), which is about 11.18%. It's lower than the weighted average of individual moves, 15%, but still higher than the more stable B's 10%. So "has diversified returns" does not mean "is safer than every single item".

Professional · Bounds of the mean-variance framework

Modern Portfolio Theory's mean-variance framework compares expected returns and variances under different weights. Given inputs and constraints, if another portfolio can provide higher expected returns with the same risk, or bear lower risk with the same expected returns, the original portfolio is not an efficient choice. The efficient frontier describes this relative relationship and does not guarantee that the inputs are correct or will perform best in the future.

The true covariance needs to be estimated. Returns should be reported using consistent currencies, dates, frequencies, and total returns including distributions; missing prices, suspensions, and smoothed valuations for infrequently traded assets can make correlations appear too low. It is also necessary to check whether there is any misalignment when using closing prices in different trading time zones.

Means and correlations change with the environment. A short-sample estimate is not a permanent parameter; many assets will share interest rates, economic growth, or funding pressures. Diversification can reduce some individual firm risks, but it cannot ensure that common market shocks are eliminated. Zero correlation does not mean independence, nor does it mean they will not fall together.

Variance also counts both upside and downside deviations from the mean as volatility, and does not fully describe tail losses, liquidity, leverage liquidations, and target misses. Actual judgment should place stress scenarios, cash requirements and position overlap alongside volatility indicators and not let a nice minimum variance solution replace constraint checking.

Key terms

Terminologymeaningconfusing place
CorrelationStandardized co-variationZero correlation does not equal independence
CovarianceThe average of the products of deviations from their respective meansDimensional and not directly comparable to the correlation coefficient
Variance / VolatilityReturn dispersion / standard deviationVariance and standard deviation are not in the same unit
Portfolio RiskThe risk assumed by the portfolio as a wholeNot equal to the number of assets
DiversificationDiversify different sources of riskNo guarantee against loss
Modern Portfolio TheorySelection framework for portfolio returns and risksDepend on inputs and constraints
Efficient FrontierThe bounds of effective combinations under a given modelNot to determine the profit boundary

Connecting to real market cases

1990 Annual Economics Award Official Description Introduces Markowitz's study of portfolio selection, emphasizing that portfolio variance depends not only on individual variances but also on covariances between assets. Release date: 1990-10-16; Access date: 2026-09-24.

When applying this question to real funds, one can compare two funds' primary holdings and sector exposures, not just names. Holding multiple products with different packaging but similar underlying layers does not necessarily spread risk. This chapter does not select real fund returns or claim to measure current market correlations; the classroom numbers are used only to isolate model mechanisms.

Data experiment

Can be opened Portfolio Risk Interaction Experiment, adjust the weights of the five types of assets and compare the fluctuations and retracements of the two groups of synthetic monthly returns.

Input: The standard deviations of both assets are 10%, each accounts for 50%, and the correlations are 1, 0, and −1 respectively. Operation: Change the percentage to a decimal, substitute it into the variance formula, and then take the square root. Output: Correlation—combination volatility table. Verification: The results are 10%, approximately 7.0711%, and 0; direct average fluctuations cannot distinguish these three lines.

The second set of inputs uses the first two equiprobable states, first finding their respective means, and then finding the probability weight of the deviation product. Verification: covariance −0.0225, correlation −1, combined mean 5%, variance zero. Here, a population with known probability is used; if historical samples are used for estimation, it should be clear whether to use the sample denominator of n−1, and calibers cannot be mixed.

Finally, change the weight of A in the original state table to 80% and B to 20%, and calculate the combined returns of the two states +14% and −4%. The forecast remains at 5% and the standard deviation rises to 9%. A perfect negative correlation also requires appropriate weighting to offset fluctuations.

AI Lab

Recalculate the mean, covariance and portfolio variance of the two assets. Compare the three correlations for the same volatility, and the 50/50 and 80/20 weights. Explain the difference between zero correlation, negative correlation and independence, and do not write historical estimates as future guarantees.

You must verify for yourself: whether the source contains true total returns and position size; whether the time is aligned and covers relevant market conditions; whether the calculations mix percentages and decimals, variances and standard deviations; whether assumptions are missing simultaneous decline scenarios, costs and liquidity. When AI is not used, use a two-line scenario table to calculate the deviation product cell by cell, and the result should be consistent with the direct calculation of the combination.

Change the variables and run it again

Add a third state to the original table: both A and B fall by 30%, change the probabilities of the original two states to 45%, and the new state is 10%. The equal-weighted portfolio becomes 90%, with a probability of making 5%, and 10%, with a probability of losing 30%; the mean is 1.5%, and the standard deviation is 10.5%. The original zero volatility disappears because the missing common risk enters the model.

Let the correlation rise from zero to 0.8, keep the fluctuations of both assets at half and half 10%, and the portfolio fluctuation will be about 9.49%. This is a parametric stress test, not a fixed prediction of crisis relevance. Explain what economic factors could put pressure on both assets at the same time, and decide whether new data and scenarios are needed.

From traditional to future finance

Traditional finance: Simple diversification means not putting all your eggs in one basket: holding assets across regions and industries.

Financial modernization: Portfolio theory quantifies diversification with correlation and covariance. Globalization and synchronized capital flows mean many assets fall together in a crisis, and correlations rise exactly when diversification is most needed.

Future finance: Crypto assets were once expected to have low correlation with stocks, but in some periods they behaved clearly like risk assets. The diversification value of any new asset needs to be tested across several stress periods rather than assumed.

What stays the same: How many genuinely different sources of risk does the portfolio contain?

Questions to take with you

How many truly different sources of risk does your portfolio contain? If correlation estimates fail, will you still have the cash and affordability to stick with your original plan?

Self-test

  1. In the original two equal-probability states, how much do the equal-weighted combinations earn?
  2. If the two assets each fluctuate 10%, are equally weighted and have zero correlation, how much will the portfolio fluctuate?
  3. Why can't we just average individual fluctuations by weight?
  4. Does a zero correlation mean that the two assets will not fall together?
  5. After the original table is changed to 80/20 weights, what are the returns and standard deviations of the two states?
  6. After adding 10% and the probability of falling 30% together, what is the expected return of the equally weighted portfolio?
Reference answers and analysis
  • Question 1: Both are 5%, and the fluctuation is zero in the closed question setting.
  • Question 2: About 7.07%, first calculate the variance and then take the square root.
  • Question 3: It misses covariance and the combined variance contains covariance terms.
  • Question 4: No, zero linear correlation is not independent or never co-falling.
  • Question 5: +14% and −4%, mean 5%, standard deviation 9%.
  • Question 6: 1.5%, 0.9×5%+0.1×(−30%).

Independent Audit Exercise: AI-11 · Portfolio Analysis Audit, with given input, error examples, and scoring tables.

On this page