PDE Classification and Boundary Conditions
Not all equations that describe change over space and time behave alike — knowing whether an equation smooths things out, propagates a wave, or balances forces tells you what kind of edge information it needs to have a unique answer.
Prerequisites: Ordinary Differential Equations, Gradients and Directional Derivatives
The Black–Scholes equation tells you how an option's price changes as both time and the underlying's price move — it's a rule about two variables at once, not one. Equations like this, involving rates of change with respect to more than one variable simultaneously, are partial differential equations (PDEs), and unlike ordinary differential equations they come in genuinely different families that behave nothing alike: some smooth out sharp features over time, some carry a shape along unchanged, some just balance forces at rest. Knowing which family you're in tells you what extra information — boundary conditions — the equation needs before it has one unique answer instead of infinitely many.
The analogy: heat, waves, and a stretched drumhead
Drop a hot poker into a bucket of water: the sharp temperature spike smooths out and spreads over time — that's diffusion (or "parabolic") behavior, and it's what the Black–Scholes equation does to an option payoff's kink as time runs forward. Pluck a guitar string: the disturbance travels along the string as a wave, keeping its shape rather than smoothing away — that's hyperbolic behavior. Now stretch a drumhead over a frame and let it settle: no time is involved at all, just a static balance of tension everywhere — that's elliptic behavior, describing an equilibrium rather than an evolution.
The mechanics, one symbol at a time
A general second-order linear PDE in two variables can be written , where subscripts denote partial derivatives. Its type is determined purely by the discriminant:
In plain English: this single number, built from the coefficients on the second-derivative terms, sorts every such equation into exactly one of three families —
The Black–Scholes PDE, after the usual variable changes, is exactly the heat equation — parabolic. This matters for boundary conditions: a parabolic equation needs a condition at one end of time (the option's known payoff at expiry) plus conditions at the spatial edges (what the price does as spot goes to zero or infinity), and it can then be solved uniquely running backward in time from expiry to today.
Worked example 1: classifying Black–Scholes
The Black–Scholes PDE for an option price is . Writing it in the form with : , (no mixed second derivative), (no term). The discriminant is : parabolic, confirming it behaves like heat diffusion — smoothing the kinked payoff at expiry into a smooth curve as you move backward away from expiry.
Worked example 2: what boundary conditions a European call needs
To pin down a unique solution for a European call with strike , maturity , you need: (1) a terminal condition at — the known payoff ; (2) a boundary condition as — the call is worthless if the stock is worthless, so ; (3) a boundary condition as — deep in the money the call behaves like the forward, . Concretely, at with : V = \max(120-100,0) = \20$ exactly, by the terminal condition alone — no PDE solving needed at that single boundary point, since it's given, not derived. Miss any one of these three pieces and the same PDE has infinitely many equally valid solutions; the boundary conditions are what select the one that's actually the option price.
Think of the payoff curve at expiry as the starting shape (like near the kink) — this is the terminal condition a parabolic PDE like Black–Scholes smooths out as you solve backward in time.
What this means in practice
Recognizing a PDE's type before touching a numerical scheme is not academic: parabolic equations are typically solved with finite-difference schemes that step backward in time from a terminal condition (exactly how option pricing engines discretize Black–Scholes), while genuinely hyperbolic or elliptic problems need different solvers and different boundary setups entirely. Getting the boundary conditions wrong — even with the right PDE — is one of the most common sources of silent mispricing in a homegrown pricing engine, especially near the edges of the spot grid.
A second-order PDE's discriminant sorts it into parabolic (diffusion, like Black–Scholes), hyperbolic (wave), or elliptic (equilibrium); the type determines what boundary and terminal conditions are needed to pin down one unique, correct solution rather than an infinite family of them.
The classic mistake is discretizing a PDE numerically with the right-looking equation but the wrong or incomplete boundary conditions — for instance, truncating the spot grid at some finite without imposing the correct far-field behavior there. The scheme will still produce numbers, and they'll often look plausible, but they'll be silently wrong near the boundary and can contaminate the whole grid as the solution steps backward in time. A PDE without correct, complete boundary conditions has no well-defined unique solution at all.
Related concepts
Practice in interviews
Further reading
- Wilmott, Howison & Dewynne, The Mathematics of Financial Derivatives, ch. 4–5
- Strauss, Partial Differential Equations, ch. 1–2