Basic Prerequisites: 01 · From Zero (what a derivative is).
1. Intuition & Practical Objective
Single-variable calculus is the reference implementation of everything that follows. It gives you four tools, and each one has a direct finance job:
- Limits - make sense of “instantaneous” quantities: a continuously-compounded return is the limit of periodic compounding, and the price of a bond as maturity is a limit.
- Derivatives - local sensitivity and the first-order optimality condition (Fermat): “flat optimum.”
- Taylor polynomials - replace a messy function by a polynomial you can compute with. This is the expansion behind delta–gamma–theta P&L, duration–convexity, and every “local model” on a desk.
- Integration - turn a density into a probability and a payoff into a price, via the Fundamental Theorem of Calculus.
The one mental model: Taylor’s theorem says every smooth function is a polynomial plus a controlled error. Stop at degree 1 and you get the tangent (delta). Go to degree 2 and you get curvature (gamma). The remainder term is the honest part - it tells you the size of the error you are eating by truncating, and it is exactly the term a trader is exposed to when the market moves more than “a little.”
2. Mathematical Ground Truth & Derivations
Limits and continuity. means can be made arbitrarily close to by taking close enough to . is continuous at if . The algebra of limits (sums, products, compositions of continuous functions are continuous) lets one compute almost everything without – arguments. L’Hôpital’s rule handles the indeterminate form:
Bernstein’s note deliberately defines limits via continuity (convergence at a point is “the redefined function is continuous there”), which makes L’Hôpital a corollary of the mean value theorem rather than a separate axiom.
Derivative rules. From the limit definition: , , , , and .
The mean value theorem (MVT). If is continuous on and differentiable on , there is with
Its corollaries drive optimisation and numerics: on an interval constant; and the secant slope of a finite-difference scheme equals the true derivative at some intermediate point, which is what makes truncation-error bounds possible.
Fermat, Rolle and the second-order test.
- Fermat: an interior extremum of a differentiable has .
- Rolle: some interior point has .
- Second-order sufficiency: if and , then is a strict local minimum ( maximum). If the test is inconclusive (, at ).
Taylor’s theorem with remainder. For -times differentiable on an interval containing and , there is between them with
The Lagrange form of the remainder (Stewart §11.10–11.11; Spivak Part III) is the key to error control: it says the error is “the next term, with the derivative evaluated at some unknown point .” For about , , so on the error is bounded by - a provable rate.
The finance reading: with and ,
i.e. the delta–gamma–theta expansion is a Taylor expansion of the pricing function, and truncating at order 1 leaves the gamma term as the remainder you are exposed to.
Integration and the FTC. The definite integral is the limit of Riemann sums . Linearity and positivity are immediate; the Fundamental Theorem of Calculus is
Under the Kurzweil–Henstock (gauge) definition used in Bernstein’s note, every derivative is integrable, so the FTC holds with no extra technical hypotheses - which is why always makes sense for the densities finance uses.
3. Computational Implementation - Taylor convergence, its radius, and the FTC
Stdlib only. Three experiments: (A) truncation error of the Taylor polynomial of shrinking by factorially more digits; (B) the radius of convergence - the same series at (inside) versus (outside); (C) Riemann sums converging to an integral at rate .
Read the tables. (A) The error drops by a factor of ~ each extra term - factorial convergence, hitting machine precision (2.2e-15) by . This is why “add one more Taylor term” is the cheapest accuracy in all of numerics. (B) The same series evaluated at blows up to : a Taylor series is only trustworthy inside its radius of convergence ( here). Calibrating an expansion too far from the expansion point is a classic modelling error. (C) The Riemann error falls by exactly each time grows by - the law, made visible.
4. Failure Modes & First-Principles Breakdowns
- Truncating a Taylor series is a choice with a price, given by the remainder. Delta hedging keeps only the first term; the dropped is the whole hedging risk. The Lagrange remainder tells you its size - never expand without asking what you threw away.
- The radius of convergence is finite and bites. As experiment (B) shows, the expansion of is exactly wrong outside , not merely inaccurate. Local models (delta, duration) are only valid locally; a large move invalidates the expansion, it does not just degrade it.
- Fermat is not sufficient. at for (a saddle), (a min) and (a max). Always run the test (and if , higher order) before declaring an optimum.
- Differentiability can fail at exactly the interesting point. has no derivative at ; its second derivative is a Dirac mass there. Inconsistent-looking Greeks and FDM ringing around the strike are the numerical shadow of this kink.
- Integration by quadrature is cursed by dimension. A left Riemann sum converges at here, the trapezoid at - but in dimensions a tensor-product rule costs , which is why high-dimensional integrals in finance are done by Monte Carlo ( in every dimension, Glasserman §1.1) rather than by quadrature.
- A 0/0 limit is not automatically “differentiate top and bottom.” L’Hôpital requires the hypotheses (, differentiability, ); on non-indeterminate forms it silently returns nonsense.
5. References
- Bernstein, D. J.: Calculus for Mathematicians (1997 draft)
- Spivak, Michael: Calculus (4th ed.)
- Stewart, Clegg & Watson: Calculus: Early Transcendentals (9th ed., 2020)
- Simon & Blume: Mathematics for Economists
6. Connected Graph Bridges
- Back: 01 · From Zero · Index Hub
- Next: 03 · Multivariable Calculus (the same ideas in )
- Applied: The Greeks & Dynamic Hedging (Taylor = delta–gamma) · Finite-Difference Methods (MVT-driven truncation error)
- Base: Linear Algebra & Matrices