On this page
Differentiate the homogeneous risk function
For a fixed covariance matrix, portfolio standard deviation is the square root of wᵀΣw. Its derivative in weight i is Cov(Ri,RP)/σP when σP>0. The derivative is the marginal contribution.
Form the Euler component
Multiplying by wi produces the weighted component. The components sum to σP for this homogeneous calculation.
Weighted contributions can be signed; σP must be positive.
Reconcile the original Asset A component
In the 40/60 pair, Cov(A,P)=0.4×0.04+0.6×0.006=0.0196. Multiply by weight 0.4 and divide by σP≈0.113490 to obtain approximately 0.069081, or 6.908092 percentage points.