I came across this formula for Calculating the Optimal Hedge Ratio
HR = F.P/S.P = p x (sigma s.p)/ (sigma f.p)
p = correlation between future price and the spot price.
How do you derive this formula ? Is it simple ? Or am i just expected to mug the formula and move on,