guide:812f824494: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 184: | Line 184: | ||
& = \frac{1}{2\pi}\int_{-\infty}^\infty e^{-iux}\left(\int_{-\infty}^\infty e^{iuy}f(y) dy\right)e^{-\frac{u^2}{2}t}du\\ | & = \frac{1}{2\pi}\int_{-\infty}^\infty e^{-iux}\left(\int_{-\infty}^\infty e^{iuy}f(y) dy\right)e^{-\frac{u^2}{2}t}du\\ | ||
& = \frac{1}{\sqrt{2\pi t}}\int_{-\infty}^\infty f(y) \left(\sqrt{\frac{t}{2\pi}}\int_{-\infty}^\infty e^{iu(y-x)} e^{-\frac{u^2}{2}t}du\right)dy\\ | & = \frac{1}{\sqrt{2\pi t}}\int_{-\infty}^\infty f(y) \left(\sqrt{\frac{t}{2\pi}}\int_{-\infty}^\infty e^{iu(y-x)} e^{-\frac{u^2}{2}t}du\right)dy\\ | ||
& = \frac{1}{\sqrt{2\pi t}}\int_{-\infty}^\infty f(y)\left( \mathbb E e^{i\mathcal Z(y-x)/\sqrt t}\right) dy\qquad\hbox{where | & = \frac{1}{\sqrt{2\pi t}}\int_{-\infty}^\infty f(y)\left( \mathbb E e^{i\mathcal Z(y-x)/\sqrt t}\right) dy\qquad\hbox{where $\mathcal Z\sim N(0,1)$}\\ | ||
& = \frac{1}{\sqrt{2\pi t}}\int_{-\infty}^\infty f(y) e^{-\frac{(y-x)^2}{2t}}dy\ . | & = \frac{1}{\sqrt{2\pi t}}\int_{-\infty}^\infty f(y) e^{-\frac{(y-x)^2}{2t}}dy\ . | ||
\end{align*} | \end{align*} | ||
Line 243: | Line 243: | ||
</math> | </math> | ||
==General references== | |||
{{cite arXiv|last1=Papanicolaou|first1=Andrew|year=2015|title=Introduction to Stochastic Differential Equations (SDEs) for Finance|eprint=1504.05309|class=q-fin.MF}} | {{cite arXiv|last1=Papanicolaou|first1=Andrew|year=2015|title=Introduction to Stochastic Differential Equations (SDEs) for Finance|eprint=1504.05309|class=q-fin.MF}} |
Latest revision as of 00:36, 4 June 2024
For a real-valued function [math]f(x)[/math] with [math]\int_{-\infty}^\infty |f(x)|^2dx \lt \infty[/math], Fourier transforms are defined as follows
The Fourier transforms in \eqref{eq:fourierIntegral_A} and \eqref{eq:inverseFourierIntegral_A} are somewhat different from traditional definitions, which are
The reason we choose \eqref{eq:fourierIntegral_A} in finance is because we work so much with probability theory, and as probabilists we like to have a Fourier transform of a density be equal to a characteristic function. However, nothing changes and we are able to carry out all the same calculations; the difference amounts merely to a change of variable inside the integrals.
Some Basic Properties
- Linearity: if [math]\psi(s) = af(s)+bg(s)[/math], then
[[math]]\widehat \psi(u) = a\widehat f(u)+b\widehat g(u)\ .[[/math]]
- Translation/Time Shifting: if [math]f(s) = \psi(s-s_0)[/math], then
[[math]]\widehat f(u)= e^{ius_0}\widehat \psi(u)\ .[[/math]]
- Convolution: for [math]f*g(x) = \int_{-\infty}^\infty f(y)g(x-y)dy[/math],
[[math]] \begin{align*} \widehat {f*g}(u) &= \int_{-\infty}^\infty e^{iux} \int_{-\infty}^\infty f(y)g(x-y)dydx\\ &=\int_{-\infty}^\infty e^{iuy}f(y)\int_{-\infty}^\infty e^{iu(x-y)} g(x-y)dxdy\\ & = \int_{-\infty}^\infty e^{iuy}f(y)\widehat g(u)dy\\ &=\widehat f(u)\widehat g(u)\ . \end{align*} [[/math]]
- Reverse Convolution:
[[math]] \begin{align*} \widehat{\widehat f*\widehat g}(x) &= \frac{1}{2\pi}\int_{-\infty}^\infty e^{-iux} \int_{-\infty}^\infty \widehat f(v)\widehat g(u-v)dvdu\\ &= \frac{1}{2\pi}\int_{-\infty}^\infty e^{-ivx} \widehat f( v) \int_{-\infty}^\infty e^{-i(u- v)x}\widehat g(u- v)dudv\\ &=g(x)\int_{-\infty}^\infty e^{-i vx} \widehat f( v)dv\\ &= 2\pi g(x)f(x)\ . \end{align*} [[/math]]
An important concept to realize about Fourier is that functions [math](e^{iux})_{u\in\mathbb R}[/math] can be thought of as orthonormal basis elements in a linear space. Similar to finite-dimensional vector spaces, we can write a function as a some inner products with the basis elements. Indeed, that is what we accomplish with the inverse Fourier transform; we can think of the integral as a sum,
where [math]u_n[/math] are discrete points [math]\mathbb C[/math] (this is a similar idea to Fast Fourier Transforms (FFT)). The basis elements are orthogonal in the sense that
Finally, it needs to be pointed out that the function [math]\delta_0[/math] is something that defined under integrals, and is rather hard to formalize outside. For instance, in Parseval's identity, we used [math]\delta_0[/math], but only inside the integral:
For a real-valued function [math]f(x)[/math] with [math]\int_{-\infty}^\infty |f(x)|^2dx \lt \infty[/math],
Regularity Strips
For some function [math]f:\mathbb R\rightarrow \mathbb R[/math] we modify \eqref{eq:fourierIntegral_A} and \eqref{eq:inverseFourierIntegral_A} to accommodate non-integrability and/or non-differentiability. We write
where [math]z=\Im(u)[/math]. The region of [math]z[/math] values where the Fourier transform is defined is called the regularity strip. This comes in handy for functions like the European call and put payoffs. Example For a call option, [math]f(x) = (e^s-K)^+[/math]. This function has [math]\int_{\log K}^\infty |f(s)|^2ds =\infty[/math] and non-differentiability at [math]s=\log(K)[/math]. However, we can still write a Fourier transform:
where the anti-derivative of [math]e^{ius}[/math] and [math]e^{s+ius}[/math] are the same as they are for real variables because the function is analytic in the complex plain. For [math]z=\Im(u) \gt 1[/math], the anti-derivative will be zero when evaluated at [math]s=\infty[/math], will be infinite for [math]z \lt 1[/math], and undefined for [math]z=1[/math]. Taking [math]z \gt 1[/math], we have
Example For a put option, [math]f(x) = (K-e^s)^+[/math]. This function has [math]\int_{\log K}^\infty |f(s)|^2ds \lt \infty[/math], like the put option is non-differentiability at [math]s=\log(K)[/math]. Repeating the steps from the previous example, it follows that the regularity strip is [math]z=\Im(u) \lt 0[/math] (see Table of Chapter).
The Wave Equation
Consider the wave (transport) equation,
The solution can be found with Fourier transforms:
or simply
The solution is
which we invert to obtain the solution to the wave equation,
The lines [math]x = c-at[/math] are the characteristic lines so that for any [math]c[/math] we have [math]v(t,c-at) = f(c)[/math]; the initial information [math]f(c)[/math] at point [math]c[/math] is propagated along the characteristic line.
The Heat Equation
Consider the heat equation
where and [math]\int_{-\infty}^\infty |f(x)|^2dx \lt \infty[/math]. For scalar [math]x[/math] we have [math]\Delta =\frac{\partial^2}{\partial x^2}[/math], and the inverse Fourier transform yields an ODE under the integral sign,
or simply,
The solution to \eqref{eq:Vhat_ODE} is
Applying the inverse Fourier transform yields the solution,
In fact, it can be seen as the expectation of a Brownian motion,
where [math]W_t[/math] is a Brownian motion. If [math]f(x) = \delta_0(x)[/math], then the we have the fundamental solution,
from which solutions for different initial conditions are convolutions,
The Black-Scholes Equation
The Black-Scholes model is
where [math]W^Q[/math] is a risk-neutral Brownian motion. Letting [math]X_t=\log(S_t)[/math] the Black-Scholes equation is
where [math]\psi(X_T)[/math] is the claim, e.g. a call option [math]\psi(x) = (e^x-K)^+[/math]. Using the same Fourier techniques as we did with the wave and heat equations, we have
which has solution
Applying the inverse Fourier transform, we arrive at the risk-neutral pricing formula (i.e. Feynman-Kac),
Take change of variable [math]y'=y-x-(T-t)\left(r-\frac{\sigma^2}{2}\right)[/math] such that [math]dy'=dy[/math], then
General references
Papanicolaou, Andrew (2015). "Introduction to Stochastic Differential Equations (SDEs) for Finance". arXiv:1504.05309 [q-fin.MF].