From Brownian Increments to Heat Flow
For the heat equation, the diffusion is standard Brownian motion: over a time interval of length \(\tau\), its increment has mean zero and variance \(\tau\). Consequently, the expected value of a terminal payoff depends on the current spatial point and on the remaining time through a Gaussian distribution. For constant, linear, and quadratic payoffs, only the first two moments of that distribution are needed.
Work on a filtered probability space \((\Omega,\mathcal{F},(\mathcal{F}_t)_{t\ge0},\mathbb{P})\) carrying a standard Brownian motion \(B_t\), adapted to the filtration, with increments independent of the past. We consider the backward heat equation on \(0\le t\le T\), \(x\in\mathbb{R}\), with terminal data \(g\):
The drift coefficient is zero and the diffusion coefficient is one. Thus, starting at \(x\) at time \(t\), the terminal position has the distribution of \(x+B_T-B_t\), a normal random variable with mean \(x\) and variance \(T-t\). The relevant Feynman–Kac expectation is therefore \(\mathbb{E}[g(x+B_T-B_t)]\). No stochastic integral is needed in the computations below. When an Itô integral is used, its integrand is understood to be adapted and progressively measurable with \(\mathbb{E}\int_0^T H_s^2\,ds<\infty\); no such integral is asserted here.
It is useful to write \(\tau=T-t\) for the remaining time. If \(Z\) is a standard normal random variable, the increment \(B_T-B_t\) has the same distribution as \(\sqrt{\tau}Z\). At \(\tau=0\), this increment is zero. The Gaussian moment facts needed below are \(\mathbb{E}[Z]=0\) and \(\mathbb{E}[Z^2]=1\).
The Gaussian Representation for Quadratic Data
Proof. Fix \(t\le T\), set \(\tau=T-t\), and use the equality in distribution \(B_T-B_t=\sqrt{\tau}Z\). The random terminal position \(Y=x+\sqrt{\tau}Z\) satisfies \(\mathbb{E}[Y]=x+\sqrt{\tau}\mathbb{E}[Z]=x\) and \(\mathbb{E}[Y^2]=x^2+2x\sqrt{\tau}\mathbb{E}[Z]+\tau\mathbb{E}[Z^2]=x^2+\tau\). Linearity of expectation now gives \(\mathbb{E}[aY^2+bY+c]=a(x^2+\tau)+bx+c\), including \(\tau=0\). For the resulting function, \(u_t=-a\), \(u_x=2ax+b\), and \(u_{xx}=2a\). Hence \(u_t+\tfrac12u_{xx}=-a+a=0\), and at \(t=T\) the expression is \(ax^2+bx+c=g(x)\).
For uniqueness in the stated class, let \(w(t,x)=A(t)x^2+D(t)x+E(t)\) be any other solution with the same terminal data. Its derivatives give \(w_t+\tfrac12w_{xx}=A'(t)x^2+D'(t)x+E'(t)+A(t)\). This polynomial in \(x\) vanishes for every \(x\), so its coefficients satisfy \(A'=0\), \(D'=0\), and \(E'=-A\). The zero terminal difference means \(A(T)=D(T)=E(T)=0\). The first two equations imply \(A=D=0\) throughout the interval, and the third then implies \(E'=0\), so \(E=0\) throughout as well. Thus the two solutions agree. \(\square\)
This direct calculation is the heat-equation specialization of the Feynman–Kac representation. It also makes the time direction transparent: increasing the remaining time adds \(\tau\) to the second moment, while increasing the calendar time \(t\) decreases it. For a quadratic payoff, that change in expected value is exactly balanced by the second-derivative term in the PDE.
Worked Gaussian Expectations
Worked Example: Constant Terminal Payoff
Let \(T=3\) and \(g(y)=7\). For any \(0\le t\le3\) and \(x\in\mathbb{R}\), the representation is \(u(t,x)=\mathbb{E}[7]=7\). Its derivatives are \(u_t=0\), \(u_x=0\), and \(u_{xx}=0\), so the PDE has left-hand side \(0+\tfrac12(0)=0\). At \(t=3\), \(u(3,x)=7=g(x)\).
Check: at the initial time \(t=0\), the Brownian increment has variance \(3\), but a constant payoff remains \(7\) for every possible terminal position. The expectation and the terminal value therefore agree directly.
Worked Example: Linear Terminal Payoff
Take \(T=3\), \(g(y)=4y+5\), and evaluate at \(t=1\), \(x=-1\). Here \(\tau=T-t=3-1=2\). Since the increment has mean zero, \[ u(1,-1)=\mathbb{E}[4(-1+B_3-B_1)+5] =4(-1)+4\mathbb{E}[B_3-B_1]+5 =-4+0+5=1. \] In fact, at every \(t,x\), the formula is \(u(t,x)=4x+5\).
For this function, \(u_t=0\) and \(u_{xx}=0\); hence \(u_t+\tfrac12u_{xx}=0\). The terminal check is \(u(3,x)=4x+5=g(x)\). Check: the evaluated value \(1\) is also \(g(-1)=4(-1)+5=1\). The variance \(2\) of the increment does not affect a linear payoff because only its mean enters the expectation.
Worked Example: Quadratic Terminal Payoff
Take \(T=2\) and \(g(y)=y^2+2y+3\). At \(t=\tfrac12\), \(x=1\), the remaining time is \(\tau=2-\tfrac12=\tfrac32\). The terminal position is \(Y=1+\sqrt{\tfrac32}Z\), so \[ \mathbb{E}[Y]=1,\qquad \mathbb{E}[Y^2]=1^2+\tfrac32=\tfrac52. \] Therefore \[ u\left(\tfrac12,1\right) =\mathbb{E}[Y^2+2Y+3] =\tfrac52+2(1)+3 =\tfrac{11}{2}+\tfrac{4}{2} =\tfrac{15}{2}. \]
The formula at arbitrary \(t,x\) is \(u(t,x)=x^2+(T-t)+2x+3\). Its derivatives are \(u_t=-1\), \(u_x=2x+2\), and \(u_{xx}=2\), so the PDE left-hand side is \(-1+\tfrac12(2)=0\). At maturity, \(u(2,x)=x^2+2x+3\), which is exactly the payoff.
Check: at the chosen point, the formula gives \(1+\tfrac32+2+3=\tfrac{15}{2}\), the same as the Gaussian expectation. The added \(\tfrac32\) is the variance contribution to \(\mathbb{E}[Y^2]\), not an added contribution to \(\mathbb{E}[Y]\).
Why the Second-Derivative Term Matters
For a linear terminal payoff, Brownian noise does not change the expected payoff: the mean of the terminal position is the current spatial point. For a quadratic payoff, however, the expectation of the square changes because the variance is positive. The identity \(\mathbb{E}[(x+B_T-B_t)^2]=x^2+(T-t)\) is the source of the extra time term. In the PDE, its derivative is \(u_t=-a\); the curvature of the payoff contributes \(\tfrac12u_{xx}=a\), and the two terms cancel.
The same statement can be read in forward time. Define \(v(s,x)=u(T-s,x)\), where \(s\) is elapsed time from the terminal-data side of the time reversal. Then \(v_s=\tfrac12v_{xx}\), \(v(0,x)=g(x)\), and for quadratic data \(v(s,x)=a(x^2+s)+bx+c\). Thus the forward heat equation increases the quadratic component by \(as\). The factor \(\tfrac12\) in the PDE is essential: since the second derivative of \(ax^2\) is \(2a\), the diffusion term contributes \(\tfrac12(2a)=a\), exactly the rate of increase.
These formulas are useful as exact checks on more complicated calculations. A proposed expression for the heat evolution of polynomial data can be tested by its terminal value and by the PDE. The constant and linear cases test whether a spurious time correction has been introduced; the quadratic case tests the sign and coefficient of the variance correction.
Common Pitfalls
Wrong calculation: adding variance to a linear payoff. One might incorrectly write \(\mathbb{E}[x+B_T-B_t]=x+(T-t)\), treating the increment’s variance as its mean. The correction is that \(\mathbb{E}[B_T-B_t]=0\), so the linear expectation is \(x\), with no time term. Variance enters the expectation of a square, not the expectation of the increment itself.
Wrong time sign. For \(g(y)=y^2\), the correct backward solution is \(u(t,x)=x^2+T-t\). Its time derivative is \(-1\), while \(\tfrac12u_{xx}=1\). Writing \(x^2+t\) instead gives \(u_t=1\) and \(\tfrac12u_{xx}=1\), so the PDE left-hand side is \(2\), not zero. The terminal condition also fails unless the time interval has a specially chosen endpoint. Always check both the differential equation and the terminal value.
The formulas above apply to polynomial terminal data of degree at most two and have no growth or integrability difficulty: every Gaussian moment used is finite. They are not a claim about arbitrary terminal functions or about uniqueness among all possible growth classes. The uniqueness proved here is specifically within the class of quadratic polynomials in space with continuously differentiable time-dependent coefficients.
Check Your Understanding
Use the Gaussian moments and verify each result by checking the PDE and terminal condition.
- For \(g(y)=5\), what is the represented solution, and what are its time and second spatial derivatives?
- For \(g(y)=2y-3\), compute \(\mathbb{E}[g(x+B_T-B_t)]\). Which moment of the increment determines the answer?
- For \(g(y)=3y^2-y+4\), derive the represented solution and compute \(u_t+\tfrac12u_{xx}\).
- If \(T=4\), \(t=1\), and \(x=2\), evaluate the representation for \(g(y)=y^2\). Show separately the mean-square and variance contributions.
- Explain why \(x^2+t\) is not the backward heat solution for terminal payoff \(x^2\) on \([0,T]\).