Skip to content
LeetQuant
QT03 Expected Value and Decision Theory

QT03 · Expected Value and Decision Theory · Lesson 4 of 5

Expected Utility and Risk Aversion

Why people and firms do not maximise expected wealth alone: utility functions, certainty equivalents, risk premia, log and CARA utility, the St Petersburg paradox, and why traders still mostly maximise EV per trade but size by risk.

18 min

Objective

Know when expected value is the wrong objective, what replaces it, and how to compute certainty equivalents and risk premia quickly. Then reconcile this with how trading desks actually behave.

Intuition

Would you stake your entire net worth on a coin flip that pays 2.1 to 1? The expected value is positive, yet almost nobody would. Losing everything hurts more than doubling helps: each extra dollar is worth less the more you already have. Expected utility theory makes this precise.

Expected utility

Rank uncertain final wealth WW by E[u(W)]\mathbb{E}[u(W)] for an increasing utility function uu. (Von Neumann and Morgenstern showed that any preferences satisfying a few consistency axioms can be represented this way.) The shape of uu encodes attitude to risk:

  • linear uu: risk neutral, the same as maximising E[W]\mathbb{E}[W];
  • concave uu (u′′<0u'' < 0): risk averse. By Jensen's inequality E[u(W)]≤u(E[W])\mathbb{E}[u(W)] \le u(\mathbb{E}[W]), so a gamble is worth less than its mean.

The certainty equivalent is the sure amount you value equally with the gamble, and the risk premium is what you give up for certainty:

u(CE)=E[u(W)],π=E[W]−CE.u(\text{CE}) = \mathbb{E}[u(W)], \qquad \pi = \mathbb{E}[W] - \text{CE} .

For a small gamble with variance σ2\sigma^2 around wealth ww, a second-order Taylor expansion gives the Arrow–Pratt approximation

π≈12 A(w) σ2,A(w)=−u′′(w)u′(w),\pi \approx \tfrac12\,A(w)\,\sigma^2, \qquad A(w) = -\frac{u''(w)}{u'(w)},

where AA is the coefficient of absolute risk aversion. The premium is quadratic in the size of the gamble: halve the stake and the premium falls by a factor of four.

Two utilities worth knowing

UtilityA(w)A(w)Behaviour
Log, u(w)=ln⁡wu(w) = \ln w1/w1/wRelative risk aversion wA(w)=1wA(w) = 1: you risk the same fraction of wealth whatever your wealth. Never accepts a chance of losing everything.
CARA, u(w)=−e−awu(w) = -e^{-aw}aaConstant absolute risk aversion: the CE of a gamble does not depend on wealth. For a normal payoff, CE=μ−12aσ2\text{CE} = \mu - \tfrac12 a\sigma^2 exactly.

Log utility is the natural objective for compounding wealth (the repeated-decisions lesson explains why). CARA with normal payoffs gives mean–variance preferences, the basis of most position-sizing rules.

Worked example

a log-utility investor and a coin flip

An investor with log utility has wealth 100. (a) Find the certainty equivalent and risk premium of a fair coin flip for ±50\pm 50. (b) Would she accept a flip that wins 60 or loses 50?

Show solution

(a) E[ln⁡W]=12ln⁡150+12ln⁡50=ln⁡150×50=ln⁡7500\mathbb{E}[\ln W] = \tfrac12 \ln 150 + \tfrac12 \ln 50 = \ln\sqrt{150 \times 50} = \ln\sqrt{7500}. So CE=7500≈86.60\text{CE} = \sqrt{7500} \approx 86.60: with log utility the CE of a 50–50 gamble is the geometric mean of the outcomes. The risk premium is 100−86.60=13.40100 - 86.60 = 13.40.

Arrow–Pratt gives 12×1100×502=12.5\tfrac12 \times \tfrac{1}{100} \times 50^2 = 12.5, close but too low because the gamble is large relative to wealth.

(b) The expected profit is +5+5, but CE=160×50=8000≈89.44<100\text{CE} = \sqrt{160 \times 50} = \sqrt{8000} \approx 89.44 < 100. She declines a positive-EV bet because it is half her wealth. She would accept the same odds at a small enough stake, as the next sections show.

The St Petersburg paradox

Flip a fair coin until it lands tails. If the first tails comes on flip kk, you are paid 2k2^{k}. Each term of the expectation contributes 2−k⋅2k=12^{-k} \cdot 2^{k} = 1, so

E[payoff]=∑k=1∞1=∞,\mathbb{E}[\text{payoff}] = \sum_{k=1}^{\infty} 1 = \infty,

yet nobody would pay more than a modest sum to play. Two resolutions, both worth giving in an interview:

  1. Utility. Under log utility (measuring the payoff alone), E[ln⁡payoff]=∑k2−k kln⁡2=2ln⁡2\mathbb{E}[\ln \text{payoff}] = \sum_k 2^{-k}\, k \ln 2 = 2\ln 2, a certainty equivalent of e2ln⁡2=4e^{2\ln 2} = 4. Accounting for the player's own wealth ww and the price cc (solve E[ln⁡(w−c+payoff)]=ln⁡w\mathbb{E}[\ln(w - c + \text{payoff})] = \ln w), the maximum price is about 7.8 at w=100w = 100 and about 20.9 at w=106w = 10^{6}: it grows only logarithmically with wealth.
  2. Credit limits. The house cannot pay more than it has. If payouts are capped at 2302^{30} (about a billion), the first 30 terms contribute 1 each and the capped tail contributes ∑k>302302−k=1\sum_{k > 30} 2^{30} 2^{-k} = 1, so E=31\mathbb{E} = 31. Almost all of the infinite expectation lives in outcomes that cannot actually be paid.

The lesson for traders: a price driven by vanishingly rare, enormous payoffs is fragile. Ask what happens if the tail is truncated or the counterparty fails.

Worked example

take the trade, but size it

A trade's P&L is normal with mean 2 and standard deviation 10 (in thousands of dollars). The desk's preferences are CARA with a=0.05a = 0.05 per thousand. (a) Is the full trade worth doing? (b) If you can take a fraction xx of it, what size is best and what is it worth?

Show solution

(a) CE=μ−12aσ2=2−12×0.05×100=2−2.5=−0.5\text{CE} = \mu - \tfrac12 a\sigma^2 = 2 - \tfrac12 \times 0.05 \times 100 = 2 - 2.5 = -0.5. At full size, the risk outweighs the edge: decline.

(b) A fraction xx has mean 2x2x and standard deviation 10x10x:

CE(x)=2x−12×0.05×100 x2=2x−2.5x2.\text{CE}(x) = 2x - \tfrac12 \times 0.05 \times 100\,x^2 = 2x - 2.5x^2 .

Setting CE′(x)=2−5x=0\text{CE}'(x) = 2 - 5x = 0 gives x∗=0.4x^* = 0.4, and CE(0.4)=0.8−0.4=0.4>0\text{CE}(0.4) = 0.8 - 0.4 = 0.4 > 0. In general x∗=μ/(aσ2)x^* = \mu/(a\sigma^2): size is proportional to edge and inversely proportional to variance.

The trade was never "bad"; it was too big. The yes-or-no question has the answer yes; the real question is how much.

Why traders still mostly maximise EV per trade

The Arrow–Pratt approximation explains the apparent contradiction between "people are risk averse" and "a trader should take every positive-EV trade".

  • For a stake xx, the expected gain is first order, xμx\mu, while the risk premium is second order, 12Ax2σ2\tfrac12 A x^2 \sigma^2. For small enough xx the edge always wins: any smooth risk-averse agent accepts some amount of any positive-EV bet.
  • A desk runs many roughly independent trades. Each is small relative to capital, and the variance of the total grows like the number of trades while the edge grows in the same proportion; per trade, risk aversion barely bites.
  • So the decision splits in two: whether to trade is an EV question (is the price better than fair value, after costs and adverse selection?), and how much is a risk question (variance, correlation with the book, limits, how confident you are in the edge).

Interview answer in one sentence: "I'd take it because it is positive EV; I'd size it so that a loss does not hurt my ability to keep taking positive-EV bets."

Knowledge check

An investor with log utility has wealth 100 and faces a 50–50 gamble that leaves her with 64 or 144. What is her risk premium?

Knowledge check

An agent with CARA utility doubles her wealth. What happens to the certainty equivalent of a fixed gamble (say, win or lose 50 on a coin flip)?

Knowledge check

A risk-averse agent with smooth, increasing, concave utility is offered a bet with strictly positive expected value. Which statement is true?

Key takeaways

  • Concave utility means risk aversion; CE=u−1(E[u(W)])\text{CE} = u^{-1}(\mathbb{E}[u(W)]) and π=E[W]−CE\pi = \mathbb{E}[W] - \text{CE}.
  • Arrow–Pratt: π≈12Aσ2\pi \approx \tfrac12 A\sigma^2, quadratic in stake size.
  • Log utility: CE of a 50–50 gamble is the geometric mean of the outcomes. CARA: CE is independent of wealth, and μ−12aσ2\mu - \tfrac12 a\sigma^2 for normal payoffs.
  • St Petersburg: infinite EV, small CE; truncating the tail at any realistic credit limit makes the EV small too.
  • Decide whether to trade by EV; decide how much by risk. Optimal CARA size is μ/(aσ2)\mu/(a\sigma^2).

Practice problems

Finished reading?

Answer the 3 knowledge checks to complete this lesson (0 done).