TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Two-asset minimum-variance weights

Derive the unconstrained two-asset minimum-variance weight.

Learning objectives

  • Derive the unconstrained two-asset minimum-variance weight.
  • Apply long-only bounds and separate the variance objective from return goals.

Prerequisites: Calculate two-asset variance and use decimal volatility inputs.

Mechanism and interpretation

Let w be the weight of asset A and 1−w the weight of B. With covariance c, variance is w²σA²+(1−w)²σB²+2w(1−w)c. Differentiating with respect to w and setting the derivative to zero gives w*=(σB²−c)/(σA²+σB²−2c). The denominator is the variance of the return difference A−B. A positive denominator gives a convex quadratic with a unique unconstrained minimum.

If the mandate is long-only and fully invested, restrict w to [0,1]; for this one-dimensional convex problem, a solution outside the interval is clipped to the nearest boundary. A zero denominator requires separate handling rather than division by zero. This objective uses no expected returns. Its result minimizes variance under the assumed covariance matrix, not shortfall risk, losses in every state, or the amount needed to fund a particular goal.

Worked case · synthetic data

Hypothetical annual volatilities are 20% for A and 10% for B, with correlation 0.25. Covariance is 0.25×0.20×0.10=0.005. The A weight is (0.01−0.005)/(0.04+0.01−0.01)=12.5%; B receives 87.5%. Substitution gives variance 0.009375 and volatility about 9.6825%. Equal weights instead have variance 0.015 and volatility about 12.2474%. The comparison is conditional on these inputs and ignores expected returns and implementation costs.

Failure modes and context

The mathematically precise weight can be economically fragile when estimated inputs are noisy or when the denominator is very small. Negative weights from the unconstrained formula imply shorting, which introduces funding and operational restrictions. Do not report such a solution as long-only. Stale prices can make an asset appear unusually stable and attract an excessive modeled weight; independent liquidity and concentration constraints remain relevant.

Practice assignment

Use volatilities 30% for A and 15% for B with zero correlation. Calculate the unconstrained A weight, verify that it is long-only feasible, and compute resulting volatility. Explain why this answer alone cannot select between this allocation and a portfolio designed for a minimum return objective.

Worked answer

The A weight is 0.0225/(0.09+0.0225)=20%; B is 80%. Variance is 0.20²×0.09+0.80²×0.0225=0.018, so volatility is about 13.4164%. The weights satisfy the bounds. A minimum return requirement could change the feasible set; expected returns were never supplied to this variance-only problem.

Check your understanding

Question 1

What is covariance in the worked case?

  1. 0.005
  2. 0.25
  3. 0.05
Reveal answer and reasoning

A. 0.005

Correlation multiplies both decimal volatilities.

Question 2

What does the formula’s denominator represent?

  1. Expected portfolio return
  2. The sum of portfolio weights
  3. Variance of the return difference
Reveal answer and reasoning

C. Variance of the return difference

Expanding Var(A−B) gives σA²+σB²−2c.

Question 3

What happens to an unconstrained weight of −0.2 under this long-only quadratic?

  1. Replace both weights with zero
  2. The feasible minimum is at weight zero
  3. Keep the short position without disclosure
Reveal answer and reasoning

B. The feasible minimum is at weight zero

Convexity places the bounded optimum at the nearest endpoint.

Sources and further reading

The explanations, operational rules, numerical cases and questions on this page are original TradeViora Academy educational material. Source documents support definitions or conventions; they do not establish the profitability of an illustrated rule.

Third-party rights remain with their owners. TradeViora Academy is not affiliated with these organizations. Examples are hypothetical and exclude real orders. Source review: 26 November 2026.

Continue learning

Open related learning tools · Practice library · Learning downloads