Mathematics for Finance
Taylor approximations
Near a point you know, any smooth curve looks like a straight line, and a little closer still like a gentle bend. Slope plus bend gives a fast, accurate estimate. It's the math behind duration and convexity, and delta and gamma.
How much will the bond lose?
Example, with made-up numbers. A 10-year bond pays a 5% coupon and yields 5%, so it costs $100. Yields jump by 2 percentage points overnight. You want a quick estimate of the new price without repricing every cash flow.
The idea
From the point you know, step a small distance h. The slope tells you the first part of the change. The second derivative, how the curve bends, corrects it:
Stop after the slope term for a straight-line estimate. Add the bend term for a curved one. Each extra term makes the estimate closer for small steps.
The straight line misses more the further you go. Adding the bend gets you almost onto the real curve.
Quick check
f(x) = x². Estimate f(10.5) from x = 10 using the slope only.
Worked example: duration and convexity
For bonds, the slope and bend are given per dollar of price. Modified duration D is the slope, and convexity C is the bend. This bond has D = 7.72 and C = 75.0:
| 1. Yield change, as a decimal | Δy = +0.02 |
| 2. Slope term | −7.72 × 0.02 = −15.44% |
| 3. Bend term | ½ × 75.0 × 0.02² = +1.50% |
| 4. Estimate | −15.44% + 1.50% = −13.94% |
| 5. Exact, repricing every cash flow | −14.05% |
Duration alone was off by $1.39. With convexity, the gap is $0.10. If yields fall 2 points instead, duration says +15.44%, the estimate with convexity says +16.94%, and the exact answer is +17.06%. The bend helps in both directions: the price falls less and rises more than the straight line says.
The same idea for options
An option's value against the share price works the same way. Delta is the slope and gamma is the bend: change in value ≈ delta × ΔS + ½ × gamma × ΔS². Traders call this "delta-gamma". Risk systems use these quick estimates to revalue thousands of positions in a moment, then reprice exactly when the moves get large.
Try it yourself
Any bond and any yield change. Compare the estimates with the exact price.
| Price now | |
| Modified duration · convexity | |
| Estimate, slope only | |
| Estimate, slope + bend | |
| Exact new price |
Common mistakes
Three slips beginners make.
- Using percentage points as whole numbers. A 2-point yield rise is Δy = 0.02 in the formula, not 2.
- Forgetting the ½. The bend term is half the second derivative times the step squared.
- Trusting it for huge moves. The estimate is built for small steps. For big jumps, reprice exactly.
Remember
- f(x + h) ≈ f(x) + slope × h + ½ × bend × h².
- Bonds: % change ≈ −duration × Δy + ½ × convexity × Δy². Options: delta and gamma.
- The slope term alone is fine for small moves. Add the bend term as moves grow.
Check yourself
Three questions. Try them without scrolling up.
1. An option has delta 0.5 and gamma 0.04. The share rises $5. Roughly how much does the option gain?
2. A bond has duration 7 and convexity 60. Yields rise 1 point. What's the estimated price change?
3. Why do bond holders like positive convexity?
Vectors and matrices
Portfolio math for many assets at once.