This post follows on from my earlier post on the BS Equation from Delta Hedging. In that post, I showed how delta hedging arguments within the BS model lead to the heat equation

where , C(S,t) is the derivative price, , and . In this post I’m going to solve this equation to give the BS option price for a vanilla call. S can only take positive values, but due the the logarithm y runs from to .

In physics, this equation is usually encountered with periodic boundary conditions coming from the boundaries of the region of interest, but here we don’t have that luxury so will need to be more careful. In this post I’m going to solve the equation using the method of separation of variables, in a later post I’ll re-solve it using the method of Fourier transforms.

The heat equation is linear, which means that if and are both solutions, then so is the sum . This means that if we can find a selection of possible solutions, we can combine them to match the boundary condition given by the known form of at expiry (coming from ). We look for separable solutions, which are those of the form , in which case the derivatives in the heat equation only act on their respective terms:

where a dash denotes differentiation by y and a dot differentiation by tau, In the final equation, both sides depend only on independent variables y and tau respectively – the only way this can be true is if both sides are equal to some constant, which we call .

In general, we should consider the possibilities that is zero or negative, but it turns out that these won’t matter in this example so I ignore them for brevity. Two equations can be extracted, linked by

Solving these equations,

with any positive value of lambda allowed. We first try to find the fundamental solution of the heat equation, which is the solution that satisfies where is the Dirac delta function, and I’ll use this to find the particular solution for a vanilla call at the end. At all of the functions T are 1, so these can be neglected, and we simply sum up the right number of Y terms, each with a different value of which we index with n, to produce the delta function:

because can take any value on the continuous interval , we change the sum to an integral, and also express the delta function using its integral representation and compare co-efficient to equate the two expressions

so

And plugging these into our earlier expressions for Y and T, and combining these in the same way for to provide the temporal behavior, we arrive at

and once again, this is a gaussian integral that we’ll tackle by completing the square…

and this is the fundamental solution given at the end of the first post and also at wikipedia. Note that although we used separation of variables to find the forms of the functions Y and T, the separability hasn’t been carried through the summation of many different T-Y combinations – the fundamental solution that we’ve arrived at ISN’T separable!

The fundamental solution is the time and space evolution of a function that is initially a delta-function, such that the evolution always obeys the heat equation. We can use the following property of the delta function to construct specific solutions for particular payoff functions:

So, because the fundamental solution , we can construct the payoff function using this integral at

and consequently, at later times

and we can solve this for the specific case that as follows (denoting a as y’)

The second factor is only non-zero when , so we can absorb this condition into the lower limit

and splitting this into two integrals, which we do in turn

and

where as usual, is the cumulative normal distribution; and we’ve used the expression and also . Putting all of this together, we finally arrive at the Black-Scholes expression for a vanilla call price,

Wow! Finally! Hopefully this will convince you that the method of risk-neutral valuation is a bit more straight-forward!