Partial differential equations

A partial differential equation (PDE) relates an unknown function to its partial derivatives:

Unlike ODEs, several independent variables coexist — typically time and space or market variables (underlying price, rates, etc.).

A solution is generally fixed by boundary conditions (on the domain boundary) and/or initial conditions (at ).

Intuition

A PDE describes a phenomenon varying simultaneously in time and space (or across several factors). The solution is no longer a curve but a surface or field. Elliptic: equilibrium state, no preferred propagation direction (Laplace). Parabolic: diffusion / dissipation over time (heat, Black-Scholes). Hyperbolic: wave propagation at finite speed (wave equation).

Classification (linear, order 2)

For a linear second-order PDE in two variables :

examine the discriminant :

ClassConditionCanonical exampleBehavior
Elliptic (Laplace)Equilibrium, no privileged time
Parabolic (heat)Diffusion, smoothing over time
Hyperbolic (waves)Propagation, domains of dependence

Fundamental examples

PDEFormRole
LaplaceEquilibrium potential, boundary problems
HeatDiffusion, Gaussian smoothing
WavePropagation without dissipation
Black-Scholes

Option pricing — see Black-Scholes

TransportAdvection, displacement without diffusion

Boundary and initial conditions

TypeExampleMeaning
Dirichlet

on the boundary

Fixed value (e.g. payoff at maturity for an option)
Neumann

on the boundary

Imposed flux or normal derivative
Initial (Cauchy)Starting state for evolution PDEs
Terminal (finance)Payoff at maturity; backward time resolution

Solution methods

  • Separation of variables (Fourier, Sturm-Liouville). - Fourier / Laplace transform for linear equations on simple domains. - Green's functions: solution for a point source. - Black-Scholes: transform to heat equation via change of variables.
  • Finite differences: discretize , on a grid — see Numerical methods.
  • Finite elements: variational basis on complex domains.
  • Monte Carlo: probabilistic alternative via Feynman-Kac (risk-neutral expectation).

Choice depends on domain, dimension, and boundary conditions.

For certain parabolic PDEs, the solution is an expectation:

where follows an SDE tied to the PDE coefficients. This bridges:

  • PDE pricing (Black-Scholes backward);
  • Monte Carlo pricing (risk-neutral simulation).

Both approaches should yield the same price under the same assumptions — useful for cross-validation.

Applications

  • Quantitative finance: option pricing (Black-Scholes), local vol models, surface calibration.
  • Physics: diffusion, fluid mechanics, electromagnetism.
  • Engineering: heat transfer, shape optimization.
  • Image / ML: diffusion as noise models (score-based models) — same parabolic formalism.

ODEs are the single independent variable case; PDEs add spatial or multi-factor dimension.

Limits and pitfalls

SituationIssueConsequence
Ill-posed (Hadamard)Solution unstable to initial dataSmall I.C. noise → blow-up (e.g. ill-posed backward heat)
High dimension2D/3D+ grid costlyCurse of dimensionality; Monte Carlo often preferable
Incompatible conditionsContradictory Dirichlet + NeumannNo solution or non-uniqueness
Numerical stabilityPoor explicit schemeDivergent numerical solution (CFL for parabolic/hyperbolic)
Complex boundariesExotic options, barriersAdapted grids or specialized methods needed

See also

• Ordinary differential equations — single-variable case

• Derivatives, gradient, and Hessian — partial derivatives

• Black-Scholes — pricing PDE in finance

• Numerical methods — finite differences and Monte Carlo

• Stochastic processes — SDEs and Feynman-Kac link