Finance Formulas

Portfolio Management

core

Mean–Variance Utility and the Optimal Risky Weight

Builds onTwo-Asset Portfolio Return & Risk · Sharpe Ratio — if this page feels steep, start there.

U=E(R)−12Aσ2,y∗=E(Rp)−RfA σp2U = E(R) - \tfrac{1}{2}A\sigma^{2}, \qquad y^{*} = \frac{E(R_p) - R_f}{A\,\sigma_p^{2}}

Reading the notation

UU
utility: a score for how happy an investor with a given risk aversion is with a portfolio. It is also the 'certainty-equivalent' return — the sure return that would feel just as good
E(R)E(R)
the portfolio's expected return
σ2\sigma^{2}
the portfolio's variance (standard deviation squared). Risk enters as variance, not standard deviation
AA
the risk-aversion coefficient. A bigger A means the investor dislikes variance more. Typical textbook values are 2 to 6
12Aσ2\tfrac{1}{2}A\sigma^{2}
the 'penalty' for risk: expected return is marked down by half of A times the variance
y∗y^{*}
the optimal fraction of the investor's money to put in the risky portfolio. The rest sits in the risk-free asset; above 100% means borrowing
E(Rp)−RfE(R_p) - R_f
the risk premium: the extra return the risky portfolio is expected to pay over cash

Why it must be true

Not every investor should hold the same portfolio. A cautious one will accept a lower expected return to sleep better; a bold one demands the full return. Utility captures that trade in one number: take the expected return and subtract a penalty for risk. The penalty grows with variance, and with how much the investor dislikes variance, AA.

Now split the money between a risky portfolio and cash. Each extra dollar in the risky portfolio earns the risk premium but adds variance, and the penalty for variance grows with the square of the position. So there is a sweet spot: the amount where the next dollar's extra premium just equals the extra penalty. That fraction is y∗y^* — it rises with the premium, falls with risk aversion, and falls with the portfolio's variance.

The derivation

Put fraction yy in the risky portfolio (return RpR_p, standard deviation σp\sigma_p) and 1−y1-y in the risk-free asset. The complete portfolio has:

E(Rc)=Rf+y (E(Rp)−Rf),σc2=y2σp2E(R_c) = R_f + y\,(E(R_p) - R_f), \qquad \sigma_c^2 = y^2\sigma_p^2

Insert into the utility function:

U(y)=Rf+y (E(Rp)−Rf)−12A y2σp2U(y) = R_f + y\,(E(R_p) - R_f) - \tfrac{1}{2}A\,y^2\sigma_p^2

This is a downward-opening parabola in yy. Its peak is where the slope is zero:

dUdy=(E(Rp)−Rf)−A y σp2=0⇒y∗=E(Rp)−RfA σp2\frac{dU}{dy} = (E(R_p) - R_f) - A\,y\,\sigma_p^2 = 0 \quad\Rightarrow\quad y^{*} = \frac{E(R_p) - R_f}{A\,\sigma_p^2}

At that point utility is:

U∗=Rf+(E(Rp)−Rf)22A σp2U^{*} = R_f + \frac{(E(R_p) - R_f)^2}{2A\,\sigma_p^2}

When to reach for it

Scoring a portfolio for an investor with a known risk-aversion coefficient, comparing candidate portfolios on a utility basis, or finding how much to hold in a risky portfolio versus the risk-free asset.

Listen for

“risk-aversion coefficient of …”“utility function U = E(R) − ½A󲔓optimal proportion in the risky portfolio”“certainty-equivalent return”“which portfolio provides the highest utility”

Back-of-the-envelope

Estimate it in your head first — then the calculator only confirms.

  • ≈

    Variance, not standard deviation: with σ=20%\sigma = 20\% the variance is 0.040.04 (4%), not 0.200.20. Square it first. This is the commonest slip.

  • ≈

    Rank portfolios by U: the one with the highest utility is best for THIS investor. A higher AA pushes all utilities down, but pushes the risky ones down most.

  • ≈

    Sanity check y∗y^*: with A=4A = 4, σ=20%\sigma = 20\% the denominator is 4×0.04=0.164 \times 0.04 = 0.16. A 4% premium then gives y∗=25%y^* = 25\%. If your answer is over 100% you are suggesting leverage — check the premium isn't unusually large.

Traps in applying it

  • ✗Using the standard deviation instead of the variance in the penalty term.
  • ✗Dropping the ½ from $\tfrac12 A\sigma^2$, or putting a ½ into the optimal-weight formula (it cancels there).
  • ✗Forgetting to subtract the risk-free rate in the numerator of $y^*$ — the weight depends on the risk PREMIUM.
  • ✗Mixing percent and decimal units so the variance is off by a factor of 100.
  • ✗Reading $U$ as an expected return: it is a risk-adjusted score (a certainty equivalent).

Limits & criticisms

The formula comes from quadratic utility with normally distributed returns, so variance is the only risk that matters. Real investors also care about skewness, tail losses and loss aversion; risk-aversion coefficients are hard to measure (questionnaires disagree with behaviour); and the recommended weight is very sensitive to the estimated premium and variance — small estimation errors produce large swings in y∗y^*, and answers above 100% require borrowing at the risk-free rate, which is not freely available.

Where it came from

John von Neumann and Oskar Morgenstern (1944) showed that people who choose consistently among gambles behave as if maximising the expected value of a utility function. Harry Markowitz (1952) then argued that, for investors, a function of mean and variance is the relevant summary of a portfolio — the birth of modern portfolio theory. The idea that cash and a single risky portfolio are all most investors need was James Tobin's 1958 separation theorem, developed in William Sharpe's capital asset pricing model (1964).

The optimal-fraction rule is the discrete-time cousin of Robert Merton's continuous-time portfolio result, and it underlies robo-advisers' risk questionnaires and CFA-style asset-allocation work: the questionnaire estimates AA, and the formula turns it into a stock/cash split.

One identity, 4 questions

The exam can hide any variable. Each face below is the same equation solved for a different unknown — drill them separately.

Utility of a portfolio

U=E(R)−12Aσ2U = E(R) - \tfrac{1}{2}A\sigma^{2}

A risk-adjusted score: expected return marked down by half of risk aversion times variance. Higher U is better for this investor.

Drill this face →

Optimal risky weight

y∗=E(Rp)−RfA σp2y^{*} = \frac{E(R_p) - R_f}{A\,\sigma_p^{2}}

How much to put in the risky portfolio: more with a bigger risk premium, less with more risk aversion or more variance.

Drill this face →

Implied risk aversion

A=E(Rp)−Rfy∗ σp2A = \frac{E(R_p) - R_f}{y^{*}\,\sigma_p^{2}}

Read the investor's behaviour backwards: if they hold fraction y* of the risky portfolio, their implied risk aversion follows.

Drill this face →

Utility of the optimal portfolio

U∗=Rf+(E(Rp)−Rf)22A σp2U^{*} = R_f + \frac{(E(R_p) - R_f)^2}{2A\,\sigma_p^{2}}

The best the investor can do with this risky portfolio and cash: the risk-free rate plus a bonus that grows with the squared premium.

Drill this face →

On the BA II Plus

Worked example: A client with a risk-aversion coefficient of 4 can invest in a risky fund (expected return 12%, standard deviation 19%) or in Treasury bills yielding 2%. The utility-maximising proportion to invest in the risky fund is closest to:

  1. 1.0.19 [x²] [×] 4 [=] [STO] 1A × σ² (variance, not standard deviation)
  2. 2.0.1 [÷] [RCL] 1 [=]risk premium (E(Rp) − Rf) ÷ (A σ²) = optimal fraction as a decimal

→ 69.25%