Utility Functions and Risk Aversion
A number that turns wealth into satisfaction, curved so that losing money hurts more than an equal gain helps. That curvature is a mathematical stand-in for how cautious an investor is, and it is what portfolio optimizers actually maximize.
Prerequisites: Jensen's Inequality, The Kelly Criterion
Offer someone a coin flip: win $1,000 or lose $1,000, even odds. The expected dollar outcome is exactly $0, yet most people refuse the bet, and some would pay to avoid even being offered it. A model of investing that only tracks expected dollars cannot explain that refusal. Something else is being optimized, and utility functions are the tool for writing it down.
The analogy before any symbols
Think of a hiker on a mountain trail who values altitude but hates cliffs. Every extra hundred feet of climb feels good, but a hundred-foot climb feels less thrilling once she is already near the summit than it did at the trailhead, while a hundred-foot fall near a cliff edge feels catastrophic no matter how high she started. Her "enjoyment of the hike" is not proportional to altitude; it bends. Utility works exactly like that enjoyment curve, except the horizontal axis is wealth instead of altitude, and the bending is what makes a sure $0 sometimes preferable to a risky bet that averages $0.
The mechanics
A utility function converts wealth into a single number representing satisfaction. Investors are assumed to maximize expected utility, , not expected wealth. What matters for risk attitude is the function's curvature. If is a straight line, expected utility equals utility of the expected wealth, and the investor is risk-neutral: only the average matters. If bends downward as wealth rises, mathematically , meaning concave, then a certain $0 outcome beats a fair gamble averaging $0, because the pain of the loss branch, evaluated on the curve, outweighs the pleasure of the equal-sized gain branch. That is risk aversion.
A common workhorse is constant relative risk aversion (CRRA):
In words: raise wealth to a power controlled by , then rescale. The single parameter is the coefficient of relative risk aversion: larger means a more sharply bending, more cautious curve. is the special case , logarithmic utility, which is exactly the criterion behind the Kelly criterion for bet sizing.
Worked example: pricing the coin flip
Take and starting wealth , i.e. $10,000. For the fair $1,000 coin flip: . Compare to , the utility of just keeping the $10,000. Expected utility of the bet is lower, so the log-utility investor declines. Converting back through gives the certainty equivalent: this investor is exactly as happy with a guaranteed $9,989 as with the coin flip, so she would pay about $11 to avoid the gamble entirely. That gap between $10,000 and $9,989 is the risk premium curvature buys.
Worked example: risk aversion sets the risky weight
For CRRA utility and one risky asset with expected excess return and variance , the optimal risky weight is approximately . With and (so ): an investor with holds in the risky asset. A more cautious investor with holds . Same market, same return forecast, wildly different allocation, purely from one parameter's value.
What this means in practice
Mean-variance optimization, the workhorse of two-fund separation, is itself a special case: it is exact expected-utility maximization when returns are normal or utility is quadratic, and only an approximation otherwise. Risk-aversion coefficients are also how "risk tolerance questionnaires" at a robo-advisor get translated into a number that actually drives an allocation, and how a trading desk sizes a single risky bet, rather than a whole portfolio, using the same curvature logic.
Risk aversion is not a vague personality trait, it is the concavity of . Bigger means the curve bends harder, the certainty equivalent falls further below the expected value, and the optimal risky weight shrinks in direct proportion.
The classic mistake is treating "risk aversion" and "loss aversion" as the same thing. Standard expected-utility risk aversion comes entirely from concavity applied to total wealth, and it is symmetric in the sense that any distribution with the same mean and variance is treated the same regardless of skew. Real people (and CRRA badly calibrated to small stakes) show loss aversion, weighting losses relative to a reference point far more than gains, which standard utility functions do not capture at all, that behavior needs prospect theory, not a bigger .
Related concepts
Practice in interviews
Further reading
- Von Neumann & Morgenstern, Theory of Games and Economic Behavior
- Ingersoll, Theory of Financial Decision Making (Ch. 1)