In mathematical finance, convexity refers to non-linearities in a financial model. In other words, if the price of an underlying variable changes, the price of an output does not change linearly, but depends on the second derivative (or, loosely speaking, higher-order terms) of the modeling function. Geometrically, the model is no longer flat but curved, and the degree of curvature is called the convexity.
Strictly speaking, convexity refers to the second derivative of output price with respect to an input price. In derivative pricing, this is referred to as Gamma (Γ), one of the Greeks. In practice the most significant of these is bond convexity, the second derivative of bond price with respect to interest rates.
As the second derivative is the first non-linear term, and thus often the most significant, "convexity" is also used loosely to refer to non-linearities generally, including higher-order terms. Refining a model to account for non-linearities is referred to as a convexity correction.
Formally, the convexity adjustment arises from the Jensen inequality in probability theory: the expected value of a convex function is greater than or equal to the function of the expected value:
E[f(X)]\geqf(E[X]).
The precise convexity adjustment depends on the model of future price movements of the underlying (the probability distribution) and on the model of the price, though it is linear in the convexity (second derivative of the price function).
The convexity can be used to interpret derivative pricing: mathematically, convexity is optionality – the price of an option (the value of optionality) corresponds to the convexity of the underlying payout.
In Black–Scholes pricing of options, omitting interest rates and the first derivative, the Black–Scholes equation reduces to
\Theta=-\Gamma,
This value is isolated via a straddle – purchasing an at-the-money straddle (whose value increases if the price of the underlying increases or decreases) has (initially) no delta: one is simply purchasing convexity (optionality), without taking a position on the underlying asset – one benefits from the degree of movement, not the direction.
From the point of view of risk management, being long convexity (having positive Gamma and hence (ignoring interest rates and Delta) negative Theta) means that one benefits from volatility (positive Gamma), but loses money over time (negative Theta) – one net profits if prices move more than expected, and net loses if prices move less than expected.
From a modeling perspective, convexity adjustments arise every time the underlying financial variables modeled are not a martingale under the pricing measure. Applying Girsanov's theorem[1] allows expressing the dynamics of the modeled financial variables under the pricing measure and therefore estimating this convexity adjustment. Typical examples of convexity adjustments include: