Unit 6, lesson 43

Feynman Kac and discounted expectations

States and proves the Feynman-Kac formula, which writes a classical solution of a backward terminal value problem as a discounted conditional expectation, with uniqueness in a controlled-growth class.

  • Video 43
  • The Black-Scholes pricing equation

A derivatives desk can value a claim by solving the backward PDE of the replication lesson from its payoff, or by averaging its discounted payoff over simulated paths of the stock. When must the two numbers agree, and under which measure must the paths be drawn? The Feynman-Kac formula answers both questions for a classical solution of controlled growth, with the paths drawn under the measure whose generator appears in the PDE. This lesson proves the representation with a discounted Itô martingale, explains why the generator and not the theorem fixes the measure, and derives uniqueness within the solution class.

Key terms

Backward PDE

Definition Let XX be an nn-dimensional diffusion

dXs=b(s,Xs) ds+Σ(s,Xs) dWs\begin{aligned} dX_s &= b(s, X_s)\,ds \\[0.4em] &\quad + \Sigma(s, X_s)\,dW_s \end{aligned}

under a stated probability measure, where WW is a dd-dimensional Brownian motion under that measure, bb takes values in Rn\mathbb{R}^n, Σ\Sigma is an n×dn \times d loading matrix and a=ΣΣ⊤a = \Sigma\Sigma^{\top}. Its generator acts on a function ψ\psi with continuous second derivatives by

Ltψ(x)=b(t,x)⊤∇ψ(x)+12tr⁡(a(t,x) ∇2ψ(x)).\begin{aligned} &\mathcal{L}_t \psi(x) = b(t, x)^{\top} \nabla \psi(x) \\[0.4em] &\quad + \tfrac12 \operatorname{tr}\bigl(a(t, x)\, \nabla^2 \psi(x)\bigr). \end{aligned}

Given a discount rate c(t,x)c(t, x) and a running payment rate f(t,x)f(t, x), the backward PDE for a function u(t,x)u(t, x) is

∂tu+Ltu−c u+f=0\partial_t u + \mathcal{L}_t u - c\,u + f = 0

on [0,T)×Rn[0, T) \times \mathbb{R}^n. It is called backward because, with aa positive semidefinite, it is solved from data at the final time TT toward earlier times, and in the remaining time τ=T−t\tau = T - t it becomes a forward parabolic equation. For continuous coefficients and a function ψ\psi with continuous second derivatives and compact support, Itô’s formula shows that

E[ψ(Xt+h)∣Xt=x]=ψ(x)+h Ltψ(x)+o(h)\begin{aligned} &\mathbb{E}\bigl[\psi(X_{t+h}) \mid X_t = x\bigr] \\[0.4em] &\quad = \psi(x) + h\,\mathcal{L}_t \psi(x) \\[0.4em] &\qquad + o(h) \end{aligned}

as h↓0h \downarrow 0, so the generator is the expected rate of change of ψ(X)\psi(X). A reverse route explains the shape of the PDE. If u(t,x)u(t, x) is an expected discounted cash flow, conditioning on Xt+hX_{t+h} with the Markov property and expanding the first short step with Itô’s formula gives ∂tu+Ltu−c u+f=0\partial_t u + \mathcal{L}_t u - c\,u + f = 0 in the limit h→0h \to 0, provided uu is smooth enough for the expansion. That proviso is a separate regularity result, so this route explains the equation rather than proving it.

In plain words The generator measures how fast a function of the state is expected to change, with a first-order part from the drift and a second-order part from the variance. The backward PDE says that the expected rate of change of a value, ∂tu+Ltu\partial_t u + \mathcal{L}_t u, equals the cost of carrying it, c uc\,u, minus the rate at which it pays out, ff.

Example In a constructed Bachelier model the price follows dXt=σN dWtQdX_t = \sigma_N\,dW^{\mathbb{Q}}_t under Q\mathbb{Q}, with σN=10\sigma_N = 10 currency units per square root of a year and r=0r = 0, so L=12σN2 ∂xx\mathcal{L} = \tfrac12\sigma_N^2\,\partial_{xx} and c=f=0c = f = 0. The function u(t,x)=x2+σN2(T−t)u(t, x) = x^2 + \sigma_N^2 (T - t) satisfies ∂tu+12σN2 ∂xxu=−σN2+σN2=0\partial_t u + \tfrac12 \sigma_N^2\,\partial_{xx} u = -\sigma_N^2 + \sigma_N^2 = 0 and u(T,x)=x2u(T, x) = x^2, and it equals EQ[XT2∣Xt=x]\mathbb{E}^{\mathbb{Q}}[X_T^2 \mid X_t = x]. With x=100x = 100 and T−t=0.5T - t = 0.5 it gives 1005010050. The forward heat equation ∂tu=12σN2 ∂xxu\partial_t u = \tfrac12\sigma_N^2\,\partial_{xx} u with the same terminal data would give x2−σN2(T−t)=9950x^2 - \sigma_N^2(T - t) = 9950, less than x2=10000x^2 = 10000, although a second moment is never below the square of the mean.

Terminal value problem

Definition A terminal value problem consists of the backward PDE and a terminal condition,

∂tu+Ltu−c u+f=0,u(T,x)=g(x),\begin{gathered} \partial_t u + \mathcal{L}_t u - c\,u + f = 0, \\[0.4em] u(T, x) = g(x), \end{gathered}

the first for 0≤t<T0 \le t < T and x∈Rnx \in \mathbb{R}^n and the second for every xx, to be solved in a stated solution class. In pricing, gg is the payoff at maturity, ff the rate of a payment received continuously before maturity and cc the short rate as a function of the state. The data are given at the final time only. On the whole space no spatial boundary condition is imposed, and its role is taken by the growth condition of the solution class, without which the problem can have more than one solution. For a positive state such as a GBM price, Rn\mathbb{R}^n is replaced by (0,∞)(0, \infty). The problem is linear, so the solutions for several payoffs and payment streams add.

In plain words The problem asks for a value at every earlier date that is consistent with the equation and with the contract at maturity. The PDE is the same for every claim on the same state, and only the payoff and the running payments tell the claims apart.

Example Under Q\mathbb{Q} take a dividend-free GBM with the constructed values r=0.03r = 0.03 and σ=0.25\sigma = 0.25, so that Lu=rx ∂xu+12σ2x2 ∂xxu\mathcal{L} u = r x\,\partial_x u + \tfrac12\sigma^2 x^2\,\partial_{xx} u, c=rc = r and f=0f = 0, and let x=40x = 40 and T−t=2T - t = 2. The payoff g=1g = 1 has the solution e−r(T−t)e^{-r(T - t)}, worth e−0.06≈0.941765e^{-0.06} \approx 0.941765. The payoff g(x)=xg(x) = x has the solution u=xu = x, worth 4040, since rx−rx=0r x - r x = 0. The payoff g(x)=x2/40g(x) = x^2/40 has the solution

u(t,x)=x240 e(r+σ2)(T−t),u(t, x) = \frac{x^2}{40}\, e^{(r + \sigma^2)(T - t)},

worth 40e0.185≈48.12873840 e^{0.185} \approx 48.128738. By linearity, a claim paying 1+ST1 + S_T is worth 40.94176540.941765.

Classical solution

Definition A classical solution of the terminal value problem is a function uu that is continuous on [0,T]×Rn[0, T] \times \mathbb{R}^n, has continuous partial derivatives ∂tu\partial_t u, ∂iu\partial_i u and ∂iju\partial_{ij} u on [0,T)×Rn[0, T) \times \mathbb{R}^n, satisfies the PDE at every point of [0,T)×Rn[0, T) \times \mathbb{R}^n and equals gg at t=Tt = T. In short,

u∈C1,2([0,T)×Rn)∩ C([0,T]×Rn).\begin{gathered} u \in C^{1,2}\bigl([0, T) \times \mathbb{R}^n\bigr) \\[0.4em] \cap\, C\bigl([0, T] \times \mathbb{R}^n\bigr). \end{gathered}

No derivative is required at t=Tt = T, so a payoff with a kink is allowed, but the solution must be continuous up to maturity. This is the regularity that lets Itô’s formula be applied to u(s,Xs)u(s, X_s) for s<Ts < T. Whether a classical solution exists for given data is a separate question. Existence theorems need conditions such as a uniformly positive definite matrix aa and sufficiently regular coefficients, and degenerate or nonsmooth problems are handled with viscosity solutions. Both lie beyond this lesson.

In plain words A classical solution has every derivative the equation mentions at every point before maturity, and it joins the payoff continuously at maturity. Smoothness is needed before maturity and only continuity at maturity, which is exactly what nonsmooth payoffs require.

Example In the Bachelier model of the first card, the straddle payoff g(x)=∣x−K∣g(x) = \lvert x - K \rvert with K=100K = 100 has the value u(t,x)=E[∣x−K+σNτ Z∣]u(t, x) = \mathbb{E}\bigl[\lvert x - K + \sigma_N\sqrt{\tau}\,Z \rvert\bigr], where Z∼N(0,1)Z \sim N(0, 1) and τ=T−t\tau = T - t. It is infinitely differentiable for τ>0\tau > 0 and tends to ∣x−K∣\lvert x - K \rvert as τ→0\tau \to 0, so it is a classical solution although gg has a kink. At x=Kx = K,

u=σNτ 2/π,∂xxu=2/πσNτ.\begin{aligned} u &= \sigma_N \sqrt{\tau}\,\sqrt{2/\pi}, \\[0.4em] \partial_{xx} u &= \frac{\sqrt{2/\pi}}{\sigma_N\sqrt{\tau}} . \end{aligned}

With σN=10\sigma_N = 10 the value at x=Kx = K is about 7.97887.9788 at τ=1\tau = 1, and the second derivative is about 0.07980.0798 per currency unit at τ=1\tau = 1, 0.7980.798 at τ=0.01\tau = 0.01 and 7.987.98 at τ=0.0001\tau = 0.0001. It grows without bound as maturity approaches, which the definition allows, because derivatives are needed only before TT.

Controlled-growth solution class

Definition Suppose the coefficients bb and Σ\Sigma are continuous, globally Lipschitz in xx uniformly in tt, and of linear growth, ∣b(t,x)∣+∣Σ(t,x)∣≤A(1+∣x∣)\lvert b(t, x) \rvert + \lvert \Sigma(t, x) \rvert \le A(1 + \lvert x \rvert). Then for every starting point (t,x)(t, x) the equation has a unique strong solution Xt,xX^{t,x} on [t,T][t, T], and for every m≥1m \ge 1 there is a constant CmC_m with

E[sup⁡t≤s≤T∣Xst,x∣m]≤Cm(1+∣x∣m).\begin{aligned} &\mathbb{E}\Bigl[\sup_{t \le s \le T} \lvert X^{t,x}_s \rvert^m\Bigr] \\[0.4em] &\quad \le C_m \bigl(1 + \lvert x \rvert^m\bigr). \end{aligned}

The controlled-growth class consists of the classical solutions with ∣u(t,x)∣≤A(1+∣x∣m)\lvert u(t, x) \rvert \le A(1 + \lvert x \rvert^m) for some constants AA and mm and all (t,x)∈[0,T]×Rn(t, x) \in [0, T] \times \mathbb{R}^n, for problems with a bounded continuous discount rate cc and a continuous running payment with ∣f(t,x)∣≤A(1+∣x∣m)\lvert f(t, x) \rvert \le A(1 + \lvert x \rvert^m). In this class the moment bound makes the discounted solution along the path, together with the accumulated running payments, dominated by an integrable random variable, which is the step the Feynman-Kac proof needs. Without a growth restriction uniqueness fails even for the heat equation. Tychonoff constructed a solution of ∂τv=∂xxv\partial_\tau v = \partial_{xx} v that vanishes at τ=0\tau = 0, is not identically zero and is not bounded by Meax2M e^{a x^2} for any constants MM and aa. For a positive state such as a GBM price on (0,∞)(0, \infty), a natural bound is A(1+xm+x−m)A(1 + x^m + x^{-m}), and the needed moments come from the finite power moments of the running maximum and minimum of the price.

In plain words Polynomial growth of the solution is matched by polynomial moments of the state, so the discounted value never becomes too large to average. The class is part of the problem statement. Inside it the problem has at most one solution, and outside it a second, financially meaningless solution can appear.

Example For the constructed claim with u(s,y)=y240e(r+σ2)(T−s)u(s, y) = \frac{y^2}{40} e^{(r + \sigma^2)(T - s)} under Q\mathbb{Q}, with x=40x = 40, r=0.03r = 0.03, σ=0.25\sigma = 0.25, T=2T = 2 and starting time 00, the discounted process is Ms=e−rsu(s,Ss)M_s = e^{-rs} u(s, S_s). Writing Ss2=(e−rsSs)2e2rsS_s^2 = (e^{-rs} S_s)^2 e^{2rs} shows that

Ms≤e(r+σ2)T40 (e−rsSs)2.M_s \le \frac{e^{(r + \sigma^2)T}}{40}\, \bigl(e^{-rs} S_s\bigr)^2 .

The discounted price e−rsSse^{-rs} S_s is a positive martingale under Q\mathbb{Q}, so Doob’s maximal inequality bounds the expected supremum of its square by 4 EQ[(e−rTST)2]=4x2eσ2T4\,\mathbb{E}^{\mathbb{Q}}[(e^{-rT} S_T)^2] = 4 x^2 e^{\sigma^2 T}. Hence

EQ[sup⁡s≤TMs]≤160 e0.31≈218.15,\begin{aligned} \mathbb{E}^{\mathbb{Q}}\Bigl[\sup_{s \le T} M_s\Bigr] &\le 160\, e^{0.31} \\[0.4em] &\approx 218.15 , \end{aligned}

a finite bound that dominates every stopped value in the proof.

Discounted conditional expectation

Definition For 0≤t≤s≤T0 \le t \le s \le T the pathwise discount factor is

Dt,s=exp⁡(−∫tsc(v,Xv) dv).\begin{aligned} &D_{t,s} \\[0.4em] &= \exp\Bigl(-\int_t^s c(v, X_v)\,dv\Bigr). \end{aligned}

The discounted conditional expectation of a terminal payoff g(XT)g(X_T) and a running payment at the rate f(s,Xs)f(s, X_s) is

E[Dt,T g(XT)+∫tTDt,s f(s,Xs) ds∣Ft],\begin{aligned} &\mathbb{E}\Bigl[D_{t,T}\, g(X_T) \\[0.4em] &\quad + \int_t^T D_{t,s}\, f(s, X_s)\,ds \\[0.4em] &\qquad \Bigm\vert \mathcal{F}_t\Bigr], \end{aligned}

computed under the measure in which XX has the stated dynamics, whenever the expectation is finite. For a Markov diffusion it is a function of tt and XtX_t only. When cc depends on the state, Dt,TD_{t,T} is random and must stay inside the expectation. By Jensen’s inequality its conditional mean is at least the exponential of minus the conditional mean of ∫tTc(v,Xv) dv\int_t^T c(v, X_v)\,dv, with equality only when that integral is known at time tt. With a constant rate c=rc = r the factor leaves the expectation and the expression is e−r(T−t) E[g(XT)∣Ft]e^{-r(T - t)}\,\mathbb{E}[g(X_T) \mid \mathcal{F}_t] plus the discounted running payments. With the money-market account Bt=exp⁡(∫0tc(v,Xv) dv)B_t = \exp\bigl(\int_0^t c(v, X_v)\,dv\bigr) one has Dt,s=Bt/BsD_{t,s} = B_t/B_s, so under a pricing measure Q\mathbb{Q} the expression is the arbitrage-free price of the cash flows with the money-market numeraire. The measure is part of the data. For a dividend-free stock, replication produced the generator with drift rxr x, which is the generator under Q\mathbb{Q}. Putting the physical drift μx\mu x into the generator gives a different PDE and a different expectation, not the replication price.

In plain words Each path is discounted at the rates it actually experiences, and only then are the paths averaged. Averaging the rates first and discounting afterward is correct only when the rate is not random.

Example In the constructed GBM under Q\mathbb{Q} with x=40x = 40, r=0.03r = 0.03, σ=0.25\sigma = 0.25 and T−t=2T - t = 2, the second moment is

EQ[ST2∣St=40]=1600 e(2r+σ2)⋅2=1600 e0.245≈2044.194,\begin{aligned} &\mathbb{E}^{\mathbb{Q}}\bigl[S_T^2 \mid S_t = 40\bigr] \\[0.4em] &\quad = 1600\, e^{(2r + \sigma^2) \cdot 2} \\[0.4em] &\quad = 1600\, e^{0.245} \\[0.4em] &\quad \approx 2044.194 , \end{aligned}

so the payoff ST2/40S_T^2/40 has the undiscounted mean 51.10485351.104853 and the discounted value e−0.06⋅51.104853≈48.128738e^{-0.06} \cdot 51.104853 \approx 48.128738. For a constructed illustration of path discounting, suppose the short rate is 0.020.02 for a whole year with probability one half and 0.060.06 with probability one half under Q\mathbb{Q}. A payment of 11 at the end of the year is then worth 12(e−0.02+e−0.06)≈0.960982\tfrac12(e^{-0.02} + e^{-0.06}) \approx 0.960982, slightly more than the value e−0.04≈0.960789e^{-0.04} \approx 0.960789 obtained by discounting at the average rate.

Feynman-Kac formula

Definition Assume that bb and Σ\Sigma satisfy the Lipschitz and linear growth conditions of the controlled-growth card under a stated measure, that cc is continuous and bounded, and that ff and gg are continuous with polynomial growth. Let uu be a classical solution of the terminal value problem in the controlled-growth class. Then for every (t,x)∈[0,T]×Rn(t, x) \in [0, T] \times \mathbb{R}^n,

u(t,x)=Et,x[Dt,T g(XT)+∫tTDt,s f(s,Xs) ds],\begin{aligned} &u(t, x) \\[0.4em] &= \mathbb{E}_{t,x}\Bigl[D_{t,T}\, g(X_T) \\[0.4em] &\quad + \int_t^T D_{t,s}\, f(s, X_s)\,ds\Bigr], \end{aligned}

where Et,x\mathbb{E}_{t,x} is the expectation under that measure for the solution started at Xt=xX_t = x. In particular the problem has at most one solution in the class. For a solution started at an earlier time, u(t,Xt)u(t, X_t) equals the discounted conditional expectation given Ft\mathcal{F}_t. To prove the formula, let

Ms=Dt,s u(s,Xs)+∫tsDt,v f(v,Xv) dv\begin{aligned} &M_s = D_{t,s}\, u(s, X_s) \\[0.4em] &\quad + \int_t^s D_{t,v}\, f(v, X_v)\,dv \end{aligned}

for t≤s<Tt \le s < T. The factor Dt,sD_{t,s} has finite variation with dDt,s=−c(s,Xs)Dt,s dsdD_{t,s} = -c(s, X_s) D_{t,s}\,ds, so the product rule has no covariation term, and Itô’s formula with the PDE gives

dMs=Dt,s(∂tu+Lsu−c u+f) ds+Dt,s ∇u⊤Σ dWs=Dt,s ∇u⊤Σ dWs,\begin{aligned} dM_s &= D_{t,s}\bigl(\partial_t u + \mathcal{L}_s u \\[0.4em] &\qquad - c\,u + f\bigr)\,ds \\[0.4em] &\quad + D_{t,s}\,\nabla u^{\top} \Sigma\,dW_s \\[0.4em] &= D_{t,s}\,\nabla u^{\top} \Sigma\,dW_s , \end{aligned}

with the functions evaluated at (s,Xs)(s, X_s). So MM is a local martingale on [t,T)[t, T). Stopping at the first time after tt that ∣Xs∣\lvert X_s \rvert reaches nn, or at T−1/nT - 1/n if that comes first, keeps the integrand bounded, so the stopped integral is a true martingale and u(t,x)u(t, x) equals the expectation of the stopped value of MM. If ∣c∣≤cˉ\lvert c \rvert \le \bar c, the growth bounds dominate every stopped value by

ecˉTA (1+T)×(1+sup⁡t≤s≤T∣Xs∣m),\begin{aligned} &e^{\bar c T} A\,(1 + T) \\[0.4em] &\quad \times \Bigl(1 + \sup_{t \le s \le T} \lvert X_s \rvert^m\Bigr), \end{aligned}

which is integrable by the moment bound. As n→∞n \to \infty the stopping times tend to TT, the continuity of uu up to TT carries the stopped values to MTM_T, and dominated convergence gives the formula. For uniqueness, two solutions in the class with the same gg and ff differ by a solution with zero data, whose representation is zero. A local martingale alone would give the stopped identity but not the limit, since without domination or uniform integrability the mean of MTM_T can differ from MtM_t.

In plain words Discount the solution along the path and add the discounted payments already received. The PDE removes every predictable change from this sum, so only a stochastic integral is left, and the growth class makes the stopping limit legitimate, so that integral has mean zero. The value today is then the mean of the sum at maturity, the discounted payoff plus the discounted payments.

Example For the constructed claim paying ST2/40S_T^2/40 under Q\mathbb{Q} with x=40x = 40, r=0.03r = 0.03, σ=0.25\sigma = 0.25 and T−t=2T - t = 2, the expectation route gave 48.12873848.128738 in the previous card. The PDE route checks the function u=x240e(r+σ2)(T−t)u = \frac{x^2}{40} e^{(r + \sigma^2)(T - t)}. Its derivatives give ∂tu=−0.0925 u\partial_t u = -0.0925\,u and Lu=2ru+σ2u=0.1225 u\mathcal{L} u = 2r u + \sigma^2 u = 0.1225\,u, and the discount term is −0.03 u-0.03\,u, so the residual is (−0.0925+0.1225−0.03)u=0(-0.0925 + 0.1225 - 0.03)u = 0, with u=x2/40u = x^2/40 at maturity. The function is a polynomial in xx for each tt, the GBM coefficients rxr x and σx\sigma x are Lipschitz, and the theorem confirms that both routes give the same value. The payoff 11 gives e−0.06≈0.941765e^{-0.06} \approx 0.941765, and the payoff STS_T gives 4040, the current price, as a dividend-free discounted price must.

Check yourself

  1. Under Q\mathbb{Q} with a constant rate r=0.04r = 0.04, a contract pays cash continuously at the rate of 22 currency units per year until TT and pays 100100 at TT, with T−t=1T - t = 1. Use the Feynman-Kac formula with c=rc = r, f=2f = 2 and g=100g = 100 to value it, and check the PDE.
Show the answer

Nothing depends on the state, so the discount factor is e−r(s−t)e^{-r(s - t)} and the formula gives, with τ=T−t\tau = T - t,

u=100 e−rτ+∫tT2 e−r(s−t) ds=100 e−rτ+2r(1−e−rτ).\begin{aligned} u &= 100\, e^{-r\tau} \\[0.4em] &\quad + \int_t^T 2\, e^{-r(s - t)}\,ds \\[0.4em] &= 100\, e^{-r\tau} \\[0.4em] &\quad + \frac{2}{r}\bigl(1 - e^{-r\tau}\bigr). \end{aligned}

With r=0.04r = 0.04 and τ=1\tau = 1 this is 96.0789+1.9605≈98.039596.0789 + 1.9605 \approx 98.0395. The running payments add less than 22 because each one is discounted from its own date. Since uu does not depend on xx, the generator term vanishes. The time derivative is ∂tu=(100r−2)e−rτ\partial_t u = (100 r - 2) e^{-r\tau}, and

(100r−2)e−rτ−100re−rτ−2(1−e−rτ)+2=0,\begin{aligned} &(100 r - 2) e^{-r\tau} - 100 r e^{-r\tau} \\[0.4em] &\quad - 2\bigl(1 - e^{-r\tau}\bigr) + 2 = 0 , \end{aligned}

which is ∂tu−ru+f=0\partial_t u - r u + f = 0. At τ=0\tau = 0 the value is 100100.

  1. A classmate values the constructed claim paying ST2/50S_T^2/50, with x=50x = 50, r=0.04r = 0.04, σ=0.3\sigma = 0.3, no dividends and T−t=1T - t = 1, by solving the PDE whose generator uses the physical drift μ=0.09\mu = 0.09, keeps the discount rate rr, and quotes the result as the arbitrage-free price. Find both the classmate’s value and the price from the generator under Q\mathbb{Q}, and say which step of the classmate’s reasoning is wrong.
Show the answer

Try u=x250ek(T−t)u = \frac{x^2}{50} e^{k(T - t)}. With the drift μ\mu, the PDE gives −k+2μ+σ2−r=0-k + 2\mu + \sigma^2 - r = 0, so k=2μ+σ2−r=0.23k = 2\mu + \sigma^2 - r = 0.23 and the classmate’s value is 50e0.23≈62.930050 e^{0.23} \approx 62.9300. With the drift rr of the pricing measure, k=2r+σ2−r=r+σ2=0.13k = 2r + \sigma^2 - r = r + \sigma^2 = 0.13 and the price is 50e0.13≈56.941450 e^{0.13} \approx 56.9414. Both functions are classical solutions with quadratic growth, so Feynman-Kac applies to each. The first equals e−rτ EP[ST2/50]e^{-r\tau}\,\mathbb{E}^{\mathbb{P}}[S_T^2/50] and the second e−rτ EQ[ST2/50]e^{-r\tau}\,\mathbb{E}^{\mathbb{Q}}[S_T^2/50]. The theorem is used correctly, and the error is calling the first number the price. Feynman-Kac turns a given PDE into an expectation and does not choose the measure. Replication produced the PDE with drift rr, so the price is 56.941456.9414.

  1. Take r=q=0r = q = 0 and σ=0.25\sigma = 0.25, and let u(t,x)=(x−40)+u(t, x) = (x - 40)^{+} for every tt. Show that uu satisfies the Black-Scholes PDE at every point with x≠40x \ne 40, meets the terminal condition of a call with strike 4040 and has polynomial growth. Does Feynman-Kac imply that this call is worth u(0,40)=0u(0, 40) = 0 when the price is 4040 and T=2T = 2?
Show the answer

With r=q=0r = q = 0 the PDE is ∂tu+12σ2x2 ∂xxu=0\partial_t u + \tfrac12\sigma^2 x^2\,\partial_{xx} u = 0. For x>40x > 40 the function is x−40x - 40, with zero time derivative and zero second derivative, and for x<40x < 40 it is 00, so the equation holds away from x=40x = 40. The terminal value is (x−40)+(x - 40)^{+}, and ∣u∣≤∣x∣+40\lvert u \rvert \le \lvert x \rvert + 40. Still, the theorem does not apply. The function has no derivative at x=40x = 40 for any t<Tt < T, so it is not a classical solution, and Itô’s formula cannot be applied to u(s,Ss)u(s, S_s) as the proof requires. The conclusion is in fact false. Under Q\mathbb{Q} the price exceeds 4040 at TT with probability Φ(−σT/2)≈0.4298\Phi(-\sigma\sqrt{T}/2) \approx 0.4298, so EQ[(ST−40)+]\mathbb{E}^{\mathbb{Q}}[(S_T - 40)^{+}] is positive. The formula of the lesson on the Black-Scholes formula gives about 5.61265.6126. The hypothesis that fails is regularity, not growth.

How this lesson connects