s variance explained by $Y$. App…"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://quantvault.org/"},{"@type":"ListItem","position":2,"name":"Problems","item":"https://quantvault.org/problems.html"},{"@type":"ListItem","position":3,"name":"Optimization","item":"https://quantvault.org/optimization-interview-questions.html"},{"@type":"ListItem","position":4,"name":"Optimal Hedge Ratio for Variance Minimization","item":"https://quantvault.org/problem-1870-optimal-hedge-ratio-for-variance-minimization.html"}]}]}
Loading problems...
s variance explained by $Y$.

Approach: Write $\text{Var}(\text{PnL})$ as a quadratic in $h$, take the derivative, set to zero.

Formal Solution:

Your P\&L is $\text{PnL} = \mu - X + hY$. The mean is $\mu$ (since $E[X] = 0$ in a short-horizon returns model and $E[Y] = 0$). The variance is:

$\text{Var}(\text{PnL}) = \text{Var}(-X + hY) = \sigma_X^2 - 2h\rho\sigma_X\sigma_Y + h^2\sigma_Y^2$

This is a convex quadratic in $h$. Take the derivative and set to zero:

$\frac{d}{dh}\text{Var}(\text{PnL}) = -2\rho\sigma_X\sigma_Y + 2h\sigma_Y^2 = 0$

Solving:

$h^{*} = \frac{\rho\sigma_X\sigma_Y}{\sigma_Y^2} = \rho\frac{\sigma_X}{\sigma_Y}$

This is the classic minimum-variance hedge ratio -- exactly the slope coefficient from regressing $X$ on $Y$.

Substitute $h^{*}$ back into the variance:

$\text{Var}^{*}(\text{PnL}) = \sigma_X^2 - 2\rho\frac{\sigma_X}{\sigma_Y}\cdot\rho\sigma_X\sigma_Y + \rho^2\frac{\sigma_X^2}{\sigma_Y^2}\cdot\sigma_Y^2$

$= \sigma_X^2 - 2\rho^2\sigma_X^2 + \rho^2\sigma_X^2 = \sigma_X^2(1 - \rho^2)$

The factor $(1 - \rho^2)$ is precisely the fraction of unexplained variance -- what regression cannot remove.

For part 3, we need:

$\frac{\mu}{\text{Var}^{*}(\text{PnL})} > S_0 \implies \frac{\mu}{\sigma_X^2(1 - \rho^2)} > S_0$

Rearranging:

$1 - \rho^2 < \frac{\mu}{S_0\sigma_X^2} \implies \rho^2 > 1 - \frac{\mu}{S_0\sigma_X^2}$

Define $R = \mu / (S_0\sigma_X^2)$. If $R \geq 1$, the target is met for all $\rho$ (even unhedged). If $R < 1$, you need:

$|\rho| > \sqrt{1 - R} = \sqrt{1 - \frac{\mu}{S_0\sigma_X^2}}$

Answer:

  1. $h^{*} = \rho\,\sigma_X / \sigma_Y$ (the regression beta of $X$ on $Y$).
  1. $\text{Var}^{*}(\text{PnL}) = \sigma_X^2(1 - \rho^2)$.
  1. The risk-adjusted ratio exceeds $S_0$ when $|\rho| > \sqrt{1 - \mu/(S_0\sigma_X^2)}$, provided $\mu < S_0\sigma_X^2$; otherwise, even the unhedged position meets the target.

Intuition

The minimum-variance hedge ratio $h^{*} = \rho\,\sigma_X/\sigma_Y$ is one of the most fundamental results in quantitative finance. It says: to hedge $X$ with $Y$, go long the regression beta of $X$ on $Y$. The residual variance after hedging is $(1 - \rho^2)\sigma_X^2$, which is the portion of $X

s variance explained by $Y$. App…"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://quantvault.org/"},{"@type":"ListItem","position":2,"name":"Problems","item":"https://quantvault.org/problems.html"},{"@type":"ListItem","position":3,"name":"Optimization","item":"https://quantvault.org/optimization-interview-questions.html"},{"@type":"ListItem","position":4,"name":"Optimal Hedge Ratio for Variance Minimization","item":"https://quantvault.org/problem-1870-optimal-hedge-ratio-for-variance-minimization.html"}]}]}
Loading problems...
s risk that $Y$ cannot explain. This is exactly the $R^2$ decomposition from linear regression -- the hedge removes $\rho^2$ of the variance. In practice, every delta hedge, cross-asset hedge, and basis trade uses this logic.

The third part highlights a key trading insight: hedging does not create edge, it only reduces variance. Whether the risk-adjusted ratio meets your threshold depends on how much variance you can strip away, which depends on $|\rho|$. If your correlation is too low, no amount of hedging makes the trade attractive enough. This is why traders obsess over finding high-quality hedging instruments -- the correlation directly determines how much of your risk budget you can reclaim.

Open the full interactive solver →

s variance explained by $Y$. App…"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://quantvault.org/"},{"@type":"ListItem","position":2,"name":"Problems","item":"https://quantvault.org/problems.html"},{"@type":"ListItem","position":3,"name":"Optimization","item":"https://quantvault.org/optimization-interview-questions.html"},{"@type":"ListItem","position":4,"name":"Optimal Hedge Ratio for Variance Minimization","item":"https://quantvault.org/problem-1870-optimal-hedge-ratio-for-variance-minimization.html"}]}]}
Loading problems...