The formula for the variance of a portfolio of two assets is given by:
σp2 = wA2σA2 + wB2σB2 + 2wAwBσAσBρAB
where - σp2 is the variance of the portfolio - wA and wB are the weights of asset A and asset B in the portfolio, respectively - σA and σB are the standard deviations of asset A and asset B, respectively - ρAB is the correlation coefficient between the returns of asset A and asset B
Given that the portfolio is composed of 40% asset A (with an annual standard deviation of 15%) and 60% asset B (with an annual standard deviation of 25%), and the correlation between the two assets is 0.4, we can plug these values into the formula to find the variance of the portfolio:
σp2 = (0.42)(0.152) + (0.62)(0.252) + 2(0.4)(0.6)(0.15)(0.25)(0.4)
Calculating the values:
σp2 = 0.16 × 0.0225 + 0.36 × 0.0625 + 2 × 0.4 × 0.6 × 0.15 × 0.25 × 0.4
σp2 = 0.0036 + 0.0135 + 0.036
σp2 = 0.0531
So the variance of the portfolio is 0.0531. If you want to find the standard deviation of the portfolio, take the square root of the variance:
$$\sigma_p = \sqrt{0.0531} \approx 0.2302$$
The annual standard deviation of the portfolio is approximately 23.02%.