This applet looks at building a portfolio from two risky investments, A and B, and a risk free investment, RF. For each investment we have a rate of return , and a value of risk .
We also need to know , the correlation of the risk between the two risky investments.
For a given correlation we get a curve connecting A and B giving the possible risk and return of an investment made by combining these investments. If the two risks are perfectly correlated, the curve is a straight like. If the are inversely correlated, the curve is a pair of line segments that meet on the rate of return axis..
We need to decide a weight of the money we put in A vs B, giving a combined investment C.
Once we have C we need to weight the investment between C and RF. That gives IP as pour combined investment.
For an optimal investment strategy, we want to choose the weight between A and B such that the line between RF and C is tangent to the investment curve.