MathFin
Map / Valuation · Black–Scholes and Bachelier / MathFin.Models.BlackScholes.PDE

Black–Scholes PDE — forward direction

MathFin.Models.BlackScholes.PDEMSC 91G20MSC 35K10JEL G13 source

Given the BS call price V(S, t) = S · Φ(d₁) − K · e^{-r(T−t)} · Φ(d₂), this file shows V satisfies the Black–Scholes PDE

∂_t V + (1/2) σ² S² ∂²_S V + r S ∂_S V − r V = 0

for 0 < S, t < T, 0 < K, 0 < σ.

This is the FORWARD direction (uniqueness is left as upstream work).

The proof leverages:

  • hasDerivAt_Phi (FTC for Φ' = ϕ, proved in GaussianCDFDeriv),
  • the "Black–Scholes identity" S · ϕ(d₁) = K · e^{-r(T−t)} · ϕ(d₂),
  • chain rule on d₁, d₂ to compute ∂_S V, ∂²_S V, ∂_t V.

Main definitions

  • bsV: the Black–Scholes call price as a function of the spot S and the time to maturity τ, V(S, τ) = S · Φ(d₁) − K · e^{−rτ} · Φ(d₂).

Main results

  • bs_identity — S · ϕ(d₁) = K · e^{-r τ} · ϕ(d₂),
  • hasDerivAt_bsd1_S, hasDerivAt_bsd1_tau — chain-rule pieces for d₁,
  • bs_pde_holds — the BS price satisfies the BS PDE.

References

  • J. C. Hull, Options, Futures, and Other Derivatives [Hull], 19.3; 19.5
  • S. E. Shreve, Stochastic Calculus for Finance II: Continuous-Time Models [ShreveSCFII], 4.5

Tags

Black–Scholes PDE, parabolic equation, backward equation, option price PDE, Greeks identity, MSC 91G20, MSC 35K10, JEL G13

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-vega · black_scholes.json · full statement
BS Vega (Sensitivity to Volatility)

Vega = dV/dσ = S phi(d_1) sqrt(τ). For K, S, σ, τ > 0 the Black-Scholes call price has derivative with respect to volatility equal to S * pdf(d_1) * sqrt(τ). Its positivity is not part of this entry's statement.

mf-rho · black_scholes.json · full statement
BS Rho (Sensitivity to Risk-Free Rate)

Rho = dV/dr = K tau e^{-r tau} Phi(d_2). The Black-Scholes call price derivative with respect to the risk-free rate r equals K * tau * exp(-r*tau) * Phi(d_2).

sc-bs-pde · stochastic_calculus.json · full statement
Black-Scholes PDE

Chapter 10: the Black-Scholes PDE for the closed-form call price, ∂V/∂t + (1/2)σ²S²∂²V/∂S² + rS∂V/∂S - rV = 0 at every S > 0 and t < T, with ∂V/∂t, ∂V/∂S = Φ(d₁) and ∂²V/∂S² = ϕ(d₁)/(S σ √(T−t)) each stated as a genuine derivative of V and the PDE checked on their closed forms.

Declarations 20

theoremMathFin.bs_identitysource
∀ {S K r σ τ : ℝ}, 0 < S → 0 < K → 0 < σ → 0 < τ → S * gaussianPDFReal 0 1 (bsd1 S K r σ τ) = K * Real.exp (-(r * τ)) * gaussianPDFReal 0 1 (bsd2 S K r σ τ)

The "Black–Scholes identity" — algebraic content of S · ϕ(d₁) = K · e^{-rτ} · ϕ(d₂). Substituting d₂ = d₁ - σ√τ, the ratio ϕ(d₁)/ϕ(d₂) simplifies to K · e^{-rτ} / S via exp(log(S/K) + rτ) = (S/K) · exp(rτ).

We state it parametrically: for S > 0, K > 0, σ > 0, τ > 0, with d₁ = (log(S/K) + (r + σ²/2) τ) / (σ√τ) and d₂ = d₁ - σ√τ, S · ϕ(d₁) = K · exp(-rτ) · ϕ(d₂).

theoremMathFin.hasDerivAt_bsd1_Ssource
∀ {K r σ τ : ℝ}, 0 < K → 0 < σ → 0 < τ → ∀ {S : ℝ}, 0 < S → HasDerivAt (fun s => bsd1 s K r σ τ) (1 / (S * σ * √τ)) S

∂_S d₁(S, K, r, σ, τ) = 1 / (S · σ · √τ).

theoremMathFin.hasDerivAt_bsd2_Ssource
∀ {K r σ τ : ℝ}, 0 < K → 0 < σ → 0 < τ → ∀ {S : ℝ}, 0 < S → HasDerivAt (fun s => bsd2 s K r σ τ) (1 / (S * σ * √τ)) S

∂_S d₂(S, K, r, σ, τ) = 1 / (S · σ · √τ) (same as ∂_S d₁ since d₂ − d₁ is S-independent).

theoremMathFin.hasDerivAt_bsd1_tausource
∀ (S K r σ : ℝ), 0 < σ → ∀ {τ : ℝ}, 0 < τ → HasDerivAt (fun t => bsd1 S K r σ t) (((r + σ ^ 2 / 2) * τ - Real.log (S / K)) / (2 * σ * τ * √τ)) τ

∂_τ d₁(S, K, r, σ, τ) = ((r + σ²/2)τ − log(S/K)) / (2 σ τ √τ).

theoremMathFin.hasDerivAt_bsd2_tausource
∀ (S K r σ : ℝ), 0 < σ → ∀ {τ : ℝ}, 0 < τ → HasDerivAt (fun t => bsd2 S K r σ t) (((r + σ ^ 2 / 2) * τ - Real.log (S / K)) / (2 * σ * τ * √τ) - σ / (2 * √τ)) τ

∂_τ d₂(S, K, r, σ, τ) = ∂_τ d₁ − σ/(2√τ).

theoremMathFin.hasDerivAt_bsd1_sigmasource
∀ (S K r : ℝ) {σ : ℝ}, 0 < σ → ∀ {τ : ℝ}, 0 < τ → HasDerivAt (fun s => bsd1 S K r s τ) ((σ ^ 2 * τ / 2 - Real.log (S / K) - r * τ) / (σ ^ 2 * √τ)) σ

∂_σ d₁(S, K, r, σ, τ) = (σ²τ/2 − log(S/K) − rτ) / (σ²√τ).

theoremMathFin.hasDerivAt_bsd2_sigmasource
∀ (S K r : ℝ) {σ : ℝ}, 0 < σ → ∀ {τ : ℝ}, 0 < τ → HasDerivAt (fun s => bsd2 S K r s τ) ((σ ^ 2 * τ / 2 - Real.log (S / K) - r * τ) / (σ ^ 2 * √τ) - √τ) σ

∂_σ d₂ = ∂_σ d₁ − √τ (since d₂ = d₁ − σ√τ).

theoremMathFin.hasDerivAt_bsd1_rsource
∀ (S K σ τ : ℝ), 0 < σ → 0 < τ → ∀ (r : ℝ), HasDerivAt (fun r' => bsd1 S K r' σ τ) (√τ / σ) r

∂_r d₁(S, K, r, σ, τ) = √τ / σ.

theoremMathFin.hasDerivAt_bsd2_rsource
∀ (S K σ τ : ℝ), 0 < σ → 0 < τ → ∀ (r : ℝ), HasDerivAt (fun r' => bsd2 S K r' σ τ) (√τ / σ) r

∂_r d₂ = ∂_r d₁ = √τ / σ (since d₂ − d₁ is r-independent).

defMathFin.bsVsource
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ

The Black–Scholes call price as a function of (S, τ) with τ = T − t: V(S, τ) = S · Φ(d₁) − K · e^{-rτ} · Φ(d₂).

theoremMathFin.integral_bsCall_payoff_eq_bsVsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {S_0 K r σ T : ℝ} {Z : Ω → ℝ}, BSCallHyp Q S_0 K r σ T Z → ∫ (ω : Ω), Real.exp (-r * T) * max (bsTerminal S_0 r σ T (Z ω) - K) 0 ∂Q = bsV K r σ S_0 T

The Black–Scholes call price is the discounted expected call payoff: bs_call_formula, stated for bsV.

theoremMathFin.hasDerivAt_bsV_Ssource
∀ {K r σ : ℝ}, 0 < K → 0 < σ → ∀ {S τ : ℝ}, 0 < S → 0 < τ → HasDerivAt (fun s => bsV K r σ s τ) (Phi (bsd1 S K r σ τ)) S

Delta: ∂_S V = Φ(d₁) — the magic identity makes everything else cancel.

theoremMathFin.hasDerivAt_Phi_bsd1_Ssource
∀ {K r σ : ℝ}, 0 < K → 0 < σ → ∀ {S τ : ℝ}, 0 < S → 0 < τ → HasDerivAt (fun s => Phi (bsd1 s K r σ τ)) (gaussianPDFReal 0 1 (bsd1 S K r σ τ) / (S * σ * √τ)) S

The gamma formula: the S-derivative of the delta Φ(d₁(S)) is ϕ(d₁) / (S σ √τ), by the chain rule. This differentiates the delta's formula; the second derivative of the price itself is hasDerivAt_deriv_bsV_S.

theoremMathFin.hasDerivAt_deriv_bsV_Ssource
∀ {K r σ : ℝ}, 0 < K → 0 < σ → ∀ {S τ : ℝ}, 0 < S → 0 < τ → HasDerivAt (deriv fun s => bsV K r σ s τ) (gaussianPDFReal 0 1 (bsd1 S K r σ τ) / (S * σ * √τ)) S

Gamma: ∂²V/∂S² = ϕ(d₁) / (S σ √τ), for the call price itself. The delta Φ(d₁) is ∂V/∂S on all of S > 0 (hasDerivAt_bsV_S), so near S the derivative of the price is the delta formula, whose own derivative is the gamma formula (hasDerivAt_Phi_bsd1_S).

theoremMathFin.hasDerivAt_bsV_tausource
∀ {K r σ : ℝ}, 0 < K → 0 < σ → ∀ {S τ : ℝ}, 0 < S → 0 < τ → HasDerivAt (fun t => bsV K r σ S t) (σ * S * gaussianPDFReal 0 1 (bsd1 S K r σ τ) / (2 * √τ) + r * K * Real.exp (-(r * τ)) * Phi (bsd2 S K r σ τ)) τ

Theta (without τ → t sign flip): ∂_τ V = σ S ϕ(d₁) / (2 √τ) + r K e^{-rτ} Φ(d₂). The combination of product/chain rules + the magic identity (K e^{-rτ} ϕ(d₂) = S ϕ(d₁)) collapses the pdf(d₂) ∂_τ d₂ term into −S ϕ(d₁) ∂_τ d₂, leaving S ϕ(d₁) (∂_τ d₁ − ∂_τ d₂) = S ϕ(d₁) · σ/(2√τ).

theoremMathFin.hasDerivAt_bsV_tsource
∀ {K T r σ : ℝ}, 0 < K → 0 < σ → ∀ {S t : ℝ}, 0 < S → t < T → HasDerivAt (fun t' => bsV K r σ S (T - t')) (-(σ * S * gaussianPDFReal 0 1 (bsd1 S K r σ (T - t)) / (2 * √(T - t)) + r * K * Real.exp (-(r * (T - t))) * Phi (bsd2 S K r σ (T - t)))) t

Theta: ∂_t V = -∂_τ V via the chain rule on τ = T − t.

theoremMathFin.hasDerivAt_bsV_maturitysource
∀ {K t r σ : ℝ}, 0 < K → 0 < σ → ∀ {S T : ℝ}, 0 < S → t < T → HasDerivAt (fun T' => bsV K r σ S (T' - t)) (σ * S * gaussianPDFReal 0 1 (bsd1 S K r σ (T - t)) / (2 * √(T - t)) + r * K * Real.exp (-(r * (T - t))) * Phi (bsd2 S K r σ (T - t))) T

Theta in maturity form: at a fixed calendar date t, ∂_T V(S, T − t) = ∂_τ V, the negative of the calendar theta hasDerivAt_bsV_t (∂_t V = −∂_τ V). Theta stated as ∂/∂τ or as ∂/∂T is therefore the same number; theta stated as ∂/∂t has the opposite sign.

theoremMathFin.hasDerivAt_bsV_sigmasource
∀ {K r : ℝ}, 0 < K → ∀ {S σ τ : ℝ}, 0 < S → 0 < σ → 0 < τ → HasDerivAt (fun s => bsV K r s S τ) (S * gaussianPDFReal 0 1 (bsd1 S K r σ τ) * √τ) σ

Vega: ∂_σ V = S · ϕ(d₁) · √τ.

The product/chain rules yield S · pdf(d₁) · ∂_σ d₁ − K e^{-rτ} · pdf(d₂) · ∂_σ d₂. Since d₂ = d₁ − σ√τ, we have ∂_σ d₂ = ∂_σ d₁ − √τ. After substitution the ∂_σ d₁ terms collapse via the magic identity S · ϕ(d₁) = K e^{-rτ} · ϕ(d₂), leaving K e^{-rτ} · ϕ(d₂) · √τ = S · ϕ(d₁) · √τ.

theoremMathFin.hasDerivAt_bsV_rsource
∀ {K σ τ : ℝ}, 0 < K → 0 < σ → 0 < τ → ∀ {S : ℝ}, 0 < S → ∀ (r : ℝ), HasDerivAt (fun r' => bsV K r' σ S τ) (K * τ * Real.exp (-(r * τ)) * Phi (bsd2 S K r σ τ)) r

Rho: ∂_r V = K · τ · e^{-rτ} · Φ(d₂).

Again the magic identity collapses the ∂_r d₁, ∂_r d₂ chain-rule contributions, because ∂_r d₁ = ∂_r d₂ = √τ/σ (the difference d₁ − d₂ is r-independent). The remaining surviving term comes from ∂_r [exp(-rτ)] = −τ · exp(-rτ).

theoremMathFin.bs_pde_holdssource
∀ {K T r σ : ℝ}, 0 < σ → ∀ {S t : ℝ}, 0 < S → t < T → -(σ * S * gaussianPDFReal 0 1 (bsd1 S K r σ (T - t)) / (2 * √(T - t)) + r * K * Real.exp (-(r * (T - t))) * Phi (bsd2 S K r σ (T - t))) + 1 / 2 * σ ^ 2 * S ^ 2 * (gaussianPDFReal 0 1 (bsd1 S K r σ (T - t)) / (S * σ * √(T - t))) + r * S * Phi (bsd1 S K r σ (T - t)) - r * bsV K r σ S (T - t) = 0

Black–Scholes PDE (forward direction): the European call price V(S, t) = S · Φ(d₁) − K · e^{-r(T−t)} · Φ(d₂) satisfies ∂_t V + (1/2) σ² S² ∂²_S V + r S ∂_S V − r V = 0 for 0 < S, t < T, 0 < K, 0 < σ.