## Black-Scholes and Schrodinger

In this post, I will perform some computations to demonstrate a relationship between the Black-Scholes PDE and the Schrodinger equation of quantum mechanics. This relationship is not new. You can, for example, find something similar discussed here. The purpose for writing the gory details here is that I hope we (that’s right.. you too!) can “categorify” the Black-Scholes framework.

The Black-Scholes PDE is derived in a million places. One of those places is a paper I wrote in May 2002 and published on the quantitative finance web site Wilmott.com.

**Noncommutative Geometry and Stochastic Calculus
Applications in Mathematical Physics**

I derived it in a slightly unusual way via noncommutative geometry. Regardless of how it is derived, the Black-Scholes PDE is given by

One day, for some reason that I forget, I was curious whether this could be written in a form that looked like Schrodinger’s equation

so I started chugging away with some algebraic gymnastics. The first thing is to rewrite the equation with the time derivative on one side and everything else on the other.

Comparing this to the Schrodinger equation

tempted me to complete the square in the BS PDE resulting in

.

Now letting

,

where and

we find that the Black-Scholes PDE can be written as

.

**Observation 1**

The Black-Scholes PDE is a “Wick rotated” Schrodinger equation for a charged particle in an electromagnetic field, where the risk-free rate plays the role of a gauge connection.

**Observation 2**

The volatility plays the role of Planck’s constant while satisfies the commutative relation

.

Now let the games begin! :)

Note: Thanks to naumovic who pointed out in the comments below an algebraic mistake in an earlier version of this article.

Hmmm. This is making me feel guilty I haven’t yet written up the application of SUSY QM to the Fokker-Planck diffusion equation. . . .

Blake StaceyJune 4, 2008 at 1:54 pm

Hi Blake,

I’d definitely love to see that! By the way, thanks for the link to your blagotube. I enjoyed the series on SUSY QM.

phorgyphynanceJune 4, 2008 at 2:27 pm

Glad to hear it. I keep meaning to write more: the review article that’s more than ten years out of date is still over a hundred pages long, so there’s not exactly a shortage of topics. I know I could get at least a couple posts out of the Fokker-Planck material, and then a couple more on shape invariance’s relation to the Laplace-Runge-Lenz vector, if only I could find the time to write about the LRL vector first. . . .

Are you sure shouldn’t be ? I don’t think the units work out in what you wrote, since is dimensionless (going by the first equation), but has units of time to the minus one-half.

But it’s very late here and I should be in bed. . . .

Blake StaceyJune 4, 2008 at 7:46 pm

Hi Blake,

Thanks for pointing out the typo. I’ll correct it.

The fact that the Black-Scholes equation can be mapped to the heat equation is well known in math finance and consequently, relates to Schrodinger via a Wick rotation. So nothing I did here was particularly new, but hope it will maybe generate some discussion.

Fokker-Planck and path integrals also have an established role in mathematical finance as well, but I’ve never spent the time trying to see how everything is connected. Hopefully that will change! You know you will have at least one interested reader if you ever decide to write up some stuff. I liked the level of your other SUSY QM notes. It’s been ages since I thought about this stuff and its fun to dust off some of the cobwebs.

phorgyphynanceJune 4, 2008 at 8:11 pm

Let’s see, from what I remember, the most “elementary” way to go from a point-particle theory to a string theory is via the Lagrangian formulation. Write yourself an action in terms of a proper time and then up the dimension for an action in terms of a world-sheet area. All this Black-Scholes stuff is being done in a Hamiltonian formalism; like the heat Fokker-Planck Equation, Black-Scholes transforms to Schrödinger. This book looks relevant.

Blake StaceyJune 4, 2008 at 8:35 pm

[...] Transforming Black-Scholes In the last article, I showed how the Black-Scholes PDE is equivalent to a Wick-rotated Schrodinger equation describing [...]

Gauge Transforming Black-Scholes « Phorgy PhynanceJune 4, 2008 at 9:19 pm

Yeah, that book does look interesting. I wouldn’t be surprised if he(?)’s already worked out all the details of what I’m trying to do. It’s fun to reinvent things anyway :)

The author of the book also has a bunch of papers on the arxiv that should give some hints.

phorgyphynanceJune 4, 2008 at 9:32 pm

Meanwhile, Dmitry Podolsky is telling us about SUSY and the Fokker-Planck Equation in the context of eternal inflation. I

reallyneed to get my act together and write that introduction!Blake StaceyJune 6, 2008 at 7:17 am

Hi Eric,

These are pretty interesting posts. The idea that r/\sigma^2 is your connection term actually makes sense if you think of the connection as pulling your pricing kernel in the time direction. I suspect the factor r there comes from assuming absence of arbitrage. Otherwise it will be the growth rate of the underlier…

On a similar note, you might find the following paper by Smolin interesting: a gauge theory for almost equilibrium markets.

http://arxiv.org/PS_cache/arxiv/pdf/0902/0902.4274v1.pdf

Also, at the expense of expanding the size of the comment, the non-commutative explanation for ito calculus was refreshing. I am sure you know there is some connection of the ito rule with how you discretize the stochastic integral: the ito rule follows when you define the stoch integral as a limit of

\sum f(x_i) (x_{i+1} – x_i )

where x_i is the random variable denoting the value of the random walk process at t_i.

If instead you use the mid-point rule, you will get a calculus where leibnitz rule is satisfied.

Any idea how to connect these two ideas together?

Also, your forward arrow and backward arrow partials feel a lot like kolmogorov’s forward and backward equation.

Very interesting collection of posts, thank you.

Corporate SerfMarch 10, 2009 at 8:37 am

Hi Corporate Serf,

Thanks for the link to Smolin’s paper! You know the cat is out of the bag when Lee Smolin starts writing finance papers. I never thought the day would come :)

Regarding the discrete rule, that is actually what first made me realize the relation between noncommutative geometry and stochastic calculus. To be honest, I was a little disappointed to later find that Dimakis and Mueller-Hoissen beat me to it :)

In “My Papers” (link here on the blog), I have a another paper that presents the discrete version of the original paper that you might find interesting.

The idea of connections and parallel transport involving the “time value of money” is a fun thing to think about.

phorgyphynanceMarch 10, 2009 at 9:11 am

Another thing…

Regarding the relation between the Ito integral and Stratonovich intergal, have a look at that discrete paper. On page 6, I say:

“If you are familiar with stochastic calculus, this might make you think of the differences in the definitions of the Stratonovich and Ito integrals. It is no coincidence!”

phorgyphynanceMarch 10, 2009 at 9:30 am

I’ve passed the news of Smolin’s paper over to my friends at the n-Category Cafe.

phorgyphynanceMarch 10, 2009 at 9:44 am

Eric,

I did glance thru some of your postings at the wizard’s den :).

Here is another connection which might be relevant to your goal of doing non-commutative yield curves. Look at the derivation of the market price of risk under several fixed income models. Essentially you look at the martingale measures for different numeraires, namely zero coupon bonds maturing at different times in the future.

If you go thru the derivation, eg in http://www.sam.sdu.dk/~cmu/noter/IntroFIA.pdf around page 32 / 33 and equation 3.6 (just picking something from my bookmarks; the derivation is fairly standard), it seems to me that the reasoning itself is very similar to gauge invariance arguments. The argument itself depends crucially on the simultaneous equilibrium in all maturities, so it would be interesting to do the same assuming some sort almost equilibrium assumption, say, as in Smolin’s paper. I would imagine that your formalism would definitely make some these calculations simpler.

The use of path integral type calculations is actually not very new. Dash has a fat book which is very readable for physicists (under the not so imaginative name of “Quantitative Finance and Risk something for Physicists”, or something like that). That has a chapter explaining the path integral calculation and the connection to feynman kac. The convergence properties are apparently much easier than for quantum mechanics because of the heat kernel structure.

My interests currently involve trying to understand slightly off equilibrium situations. Say some calculation involving relative relaxation times of different securities. Might make the analysis of statistical arbitrage algorithms somewhat more principled than “dude, it happened in the past”.

Corporate SerfMarch 10, 2009 at 10:52 am

I’m sorry but I don’t think that the operator is equal to the operator , so that you’re very first schroedinger like calculation is false.

naumovicAugust 17, 2009 at 8:35 am

Yes, you’re right. The idea can be saved though. Completing the square still goes through (as we know it must) so the conclusion of the article is still in tact. I will fix the algebraic error with reference to the fact you pointed it out.

We simply need to go back and note that and complete the square again.

phorgyphynanceAugust 17, 2009 at 9:30 am

Fixed.

phorgyphynanceAugust 17, 2009 at 9:59 am

Hi naumovic,

Thanks for checking that. I’ll have a look. It is possible that I made an error. I’ll follow up when I have a moment.

Cheers

phorgyphynanceAugust 17, 2009 at 9:02 am

Did you ever read that book called “Quantum Finance”? Is it related to this stuff? I just bumped into a mention of it today. There’s also an arXiv paper by that title. I have no idea if this stuff makes sense, or if it’s related to your ideas. In general I get a bit skeptical when someone sticks the adjective “quantum” in front of some seemingly unrelated word, but who knows?

John BaezNovember 8, 2010 at 4:24 pm

On a somewhat separate note, I’ve finally gotten up the courage to read Frieden’s book

Physics from Fisher Information. It has some sentences you might find interesting, e.g. “As will become evident below,Schroedinger’s mysterious Lagrangian term was simply Fisher’s data information.” I’ll have to see if I can understand this.John BaezNovember 8, 2010 at 4:30 pm

Sounds very interesting.

By the way, I no longer have the freedom for extra curricular activities, e.g. personal email, forums, blogs, etc, during the day, so it took a while for me to see this comment.

phorgyphynanceNovember 8, 2010 at 10:13 pm

Okay. I hope you’re busy with interesting things!

I will do a bunch more posts on information geometry in a while, and maybe even tackle the information geometry of Brownian motion and/or Schroedinger’s equation.

John BaezNovember 10, 2010 at 8:06 am

So far so good. I’m now working in insurance, which is a bit of a change.

I’m obviously looking forward to the information geometry stuff. I still hope to relate it to commutation relations if possible. For instance, beginning with Leibniz and nilpotency, i.e. a differential algebra, together with commutation relations, and nothing more, you can derive both the heat equation and the Schrodinger equation.

The heat equation follows from

and the Schrodinger equation follows from

phorgyphynanceNovember 10, 2010 at 8:44 am

Eric,

You might like this book by Henry-Labordere (if I have got the spelling right): http://www.amazon.com/gp/product/1420086995/ref=ord_cart_shr?ie=UTF8&m=ATVPDKIKX0DER

He maps all of traditional finance into geometry, like you do. The connection between ito and stratonovich differentials show up exactly as a connection (I think, it is still a riemannian geometry but of course you can have different connections, I am still thumbing through this). Measure changes are somehow gauge transformations. Couple of tricks I learnt from here are heat kernel expansions (you get nifty asymptotics very quickly) and a few very geometric derivations of thigs you already know, like dupire’s local volatility, expression of implied volatility as path integrals (averages) of local volatility.

There is also a bit at the end (that seems like I need to work through a bit) where he uses things like functional integrals and so on for quick derivations of convexity correction for CMS’s; which sounds like about right.

I am pretty excited about how some of the complicated asymptotics (implied vols at wings and so on) become much more intuitive and connected through the physics derived techniques.

archi

Corporate SerfDecember 3, 2010 at 10:00 pm

Also forgot to mention, he describes a way of factoring local volatility model equation using supersymmetry to classify all solvable models.

Another commentator made a similar comment up thread.

Corporate SerfDecember 3, 2010 at 10:27 pm

Thanks for the reference CS. The book looks cool. I’ll try to get my hands on it. Maybe a Christmas gift to myself :)

By the way, I’ve moved to Asia and have been in HK a little over a year now. I’m having a bit of fun recently pricing interest rate options in China.

phorgyphynanceDecember 4, 2010 at 7:36 am

Cool. You are not the only one to move to asia.

BTW, I have moved away from rates world some time ago, but have people started to use different funding curves and the embedded convexity at all?

Corporate SerfDecember 6, 2010 at 12:51 am

I don’t know about other people, but I have. It is very interesting looking at rates in Asia.

phorgyphynanceDecember 10, 2010 at 7:53 am