A portfolio holds a fraction of its capital in an asset with volatility and in an asset with volatility , the correlation is , and the portfolio volatility is about . The weighted standalone volatilities add up to , more than the total, because they ignore diversification. So how much of the belongs to each holding? Derivatives of the portfolio volatility answer this exactly. This lesson derives marginal and component risk, proves the Euler allocation that makes the components add up to the total, and builds portfolios whose components follow a chosen risk budget, including the equal risk contribution portfolio of risk parity.
Key terms
Marginal risk
Definition Let be the symmetric positive semidefinite covariance matrix of the one-period returns of assets, let hold the positions as fractions of capital, and let the portfolio volatility be . At every with the function is differentiable, and the marginal risk of asset is
The variance has gradient because is symmetric, and the chain rule for the square root divides it by . Marginal risk is measured in volatility per unit of weight. It is the rate of change of when alone changes and the other weights stay fixed, so the extra position is financed by cash with zero volatility, not by selling other assets. Since for the portfolio return , the marginal risk equals , the asset’s volatility times its correlation with the portfolio, whenever . If and , then , and near the volatility equals , which has a kink at , so there is no gradient.
In plain words Marginal risk says what a small extra amount of one asset would do to the portfolio’s volatility, given everything already held. Only the part of the asset’s risk that moves with the portfolio counts. So marginal risk is never larger than the asset’s own volatility, and it can be negative.
Example In a constructed example, the volatilities are and and the correlation is , so the covariance is . For the entries of are and , so
the variance is and . The marginal risks are about and , well below the standalone volatilities, because each asset has correlation about with the portfolio. Raising from to with cash raises the volatility by about , in line with .
Risk contribution
Definition The component risk contribution of asset , called its risk contribution for short, is
defined when and measured in units of volatility. Its percentage contribution is
Marginal risk is a rate per unit of weight, and component risk is that rate times the weight already held. Since , a contribution is the covariance of the holding’s return with the portfolio’s return, divided by . It is negative exactly when and have opposite signs, and then a small increase in the size of the holding lowers . Multiplying every weight by multiplies every contribution by and leaves every percentage unchanged.
In plain words A risk contribution is the part of total volatility assigned to a holding at its current size. A holding that moves against the rest of the portfolio gets a negative contribution, because at the margin it removes risk instead of adding it.
Example In the constructed example, and . Each holding carries its own variance term and half of the cross term , so , half of the total each. Now change the correlation to , so the covariance is , and hold . Then , the variance is , , and
about and percent of the total. The second asset has the larger standalone volatility, yet raising its weight to lowers to about .
Euler allocation
Definition Let be a risk measure defined on an open cone of positions, so that whenever and , and suppose is positively homogeneous of degree one, for every . If is differentiable at , then
Differentiating both sides of with respect to at gives on the left by the chain rule and on the right. Euler allocation assigns asset the contribution . Volatility satisfies for and is differentiable on the open cone where , so
The degree matters. Variance is homogeneous of degree two, and , so the same rule applied to variance gives twice the total unless the components are halved. At a point where is not differentiable, suppose is finite and convex on all of as well as positively homogeneous. Then , and every subgradient at satisfies , because the subgradient inequality at the points and gives and . Each subgradient then gives an allocation that adds up, but different subgradients can give different allocations, so the allocation need not be unique.
In plain words If doubling every position doubles the risk, then the slopes of the risk with respect to each position, each multiplied by its position, add back up to the total risk exactly. Nothing is left over and nothing is counted twice. The split is unique where the risk measure is smooth and can be ambiguous at a kink.
Example For volatility, in the first portfolio, and in the second. For a kink, measure risk by the worst loss over two scenarios, with losses positive for adverse outcomes. Per unit held, scenario one loses on the first asset and on the second, and scenario two loses and , so in currency units
This is convex and positively homogeneous. At both scenarios lose , the maximum has a kink, and every subgradient with is valid. The choices , and give the allocations , and , all adding up to .
Risk budget
Definition A risk budget is a vector with every and . A portfolio with meets the budget when for every . Multiplying by gives the equivalent conditions
for . The budget fixes the proportions of risk, not of capital, and expected returns do not enter it. If meets a budget, so does for every , so a budget determines a portfolio only up to its scale. Full investment, , or a target volatility is a separate choice. Scaling the risky positions above full investment requires borrowing, which brings financing costs, margin calls and liquidity exposure that the covariance matrix does not describe.
In plain words A risk budget says what share of the portfolio’s volatility each holding should carry. Holdings with low volatility, or low correlation with the rest, tend to need more capital to reach their share.
Example In the constructed example with correlation , the budget is met by the fully invested portfolio , whose volatility is about . The weights meet the budget . Scaling them by gives the positions , with about of capital in cash and a volatility of . Scaling them to a volatility of multiplies them by about and borrows about of capital. Both scaled portfolios still have percentage contributions of one half each.
Convex risk-budget construction
Definition Let be symmetric positive definite and a risk budget with every and . On the open orthant define
Its gradient has the coordinates , and its Hessian
is positive definite, so is strictly convex. The function tends to when a coordinate tends to with the others bounded, through the logarithm, and when , because with the smallest eigenvalue, which outgrows . So its sublevel sets are compact subsets of the open orthant, a minimizer exists, and strict convexity makes it unique. Setting the gradient to zero gives
for every , and summing over gives . With , the weights are positive, add up to and satisfy and , so meets the budget. Conversely, every positive that meets the budget, rescaled to , satisfies the zero-gradient equations, so is the only fully invested long portfolio with this budget. Without positive definiteness the minimizer can fail to exist. Further weight constraints, such as caps or sector limits, change the problem and are not covered by this construction.
In plain words The logarithm keeps every coordinate away from zero, and its derivative is exactly what turns the first-order condition into the product that a risk budget needs. Rescaling the solution to full investment keeps the proportions.
Example For the constructed covariance matrix with correlation and the budget , the minimizer is . Here , and . The sum equals , and . For a singular matrix, take two assets with volatility and correlation , so has the entries on the diagonal and off it. Along the quadratic term is and , so no minimizer exists. Equal weights in these assets have zero variance, and no risk contributions are defined.
Risk parity
Definition Risk parity allocates so that every holding contributes the same amount to a chosen risk measure. With volatility as the risk measure and positive weights it is the equal risk contribution portfolio, which meets the risk budget for every and exists and is unique among fully invested long portfolios when is positive definite. For two assets with positive weights and volatilities , the cross term , with the covariance, appears in both and , so equal contributions reduce to , that is, , and
the inverse-volatility weights, for every correlation with . At these weights have zero variance. With three or more assets, inverse-volatility weights give equal contributions when all pairwise correlations equal a common , since with every product equals , but not for general correlations. Equal capital weights, inverse-volatility weights and equal risk contributions are different rules, and none of them uses expected returns.
In plain words Risk parity gives each holding the same share of the portfolio’s volatility instead of the same share of its capital, so calmer assets and diversifiers usually get more capital. With two assets only the volatilities matter, and with more assets the correlations matter too.
Example In the constructed example, , so is the equal risk contribution portfolio, and the contributions are about each. Keeping these weights and changing the correlation to gives the covariance , so , the variance is , the volatility is , and each contribution is . The total changes and the equal shares stay. At correlation the variance is , the gradient formula would divide by zero, and the contributions are not defined.
Check yourself
- Two assets have volatilities and and correlation . Find the fully invested equal risk contribution portfolio, then compute its volatility, marginal risks and risk contributions. Do the weights change if the correlation is ?
Show the answer
With two assets the equal risk contribution weights are the inverse-volatility weights,
The covariance is , so . The variance is , so . The marginal risks are about and , and the contributions are and , which add up to . With correlation the weights stay , because the two-asset condition does not involve the correlation. The covariance becomes , , the variance is , , and each contribution is about .
- Two assets have volatilities and and correlation , and the portfolio is . Someone argues that the second asset must contribute the most risk, since it is the more volatile one. Compute the contributions, and find the nonzero weight , with fixed, at which the second asset contributes nothing.
Show the answer
The covariance is , so . The products are and , the variance is their sum , so , and
They add up to . The more volatile asset has a negative contribution, because a contribution depends on covariance with the portfolio, not on standalone volatility, and here the second asset moves against the large first holding. For its contribution is zero when , that is, at . That is also the weight that minimizes the variance for fixed , since the derivative of the variance with respect to is .
- Three assets have volatilities , and , the first two have correlation , and all other correlations are . Show that the inverse-volatility weights do not give equal risk contributions, and find the fully invested equal risk contribution portfolio.
Show the answer
The inverse-volatility weights are proportional to , so . The covariance of the first two assets is , and . The products are , and , with total variance , so the percentage contributions are about , and percent. The correlated pair carries more than its share. The matrix is positive definite, so the equal risk contribution portfolio is unique, and swapping the first two assets leaves the problem unchanged, so it has the form with . Then and , and equal contributions require
Both sides are squares of positive numbers, so , which gives
The portfolio is about , with volatility about and each contribution about . The third asset gets more capital than its inverse volatility suggests, because it is uncorrelated with the others.