Technique in partial differential evaluation
Often a partial differential equation can be reduced to a simpler form with a known solution by a suitable change of variables.
The article discusses change of variable for PDEs below in two ways:
- by example;
- by giving the theory of the method.
Explanation by example
[edit]
For example, the following simplified form of the Black–Scholes PDE
![{\displaystyle {\frac {\partial V}{\partial t}}+{\frac {1}{2}}S^{2}{\frac {\partial ^{2}V}{\partial S^{2}}}+S{\frac {\partial V}{\partial S}}-V=0.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/3e489ebd867d43331e0559045d49dc04b578e164)
is reducible to the heat equation
![{\displaystyle {\frac {\partial u}{\partial \tau }}={\frac {\partial ^{2}u}{\partial x^{2}}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a49feaa1e2aba0490c8eb7c2870b391704c433fe)
by the change of variables:
![{\displaystyle V(S,t)=v(x(S),\tau (t))}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d1a249f67c55dc61ec9420a890bbefd88c45fee3)
![{\displaystyle x(S)=\ln(S)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/43775edfbc9fbd76b3e6c65c1f80f5f21b5ca758)
![{\displaystyle \tau (t)={\frac {1}{2}}(T-t)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/692320bfa02983bf8dedd7261c94a96e88312151)
![{\displaystyle v(x,\tau )=\exp(-(1/2)x-(9/4)\tau )u(x,\tau )}](https://wikimedia.org/api/rest_v1/media/math/render/svg/359b64f010c875709b84b66b419b312541e73ef1)
in these steps:
- Replace
by
and apply the chain rule to get
![{\displaystyle {\frac {1}{2}}\left(-2v(x(S),\tau )+2{\frac {\partial \tau }{\partial t}}{\frac {\partial v}{\partial \tau }}+S\left(\left(2{\frac {\partial x}{\partial S}}+S{\frac {\partial ^{2}x}{\partial S^{2}}}\right){\frac {\partial v}{\partial x}}+S\left({\frac {\partial x}{\partial S}}\right)^{2}{\frac {\partial ^{2}v}{\partial x^{2}}}\right)\right)=0.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9b69cbe9842592773669511b247f4a940c9de4e0)
- Replace
and
by
and
to get
![{\displaystyle {\frac {1}{2}}\left(-2v(\ln(S),{\frac {1}{2}}(T-t))-{\frac {\partial v(\ln(S),{\frac {1}{2}}(T-t))}{\partial \tau }}+{\frac {\partial v(\ln(S),{\frac {1}{2}}(T-t))}{\partial x}}+{\frac {\partial ^{2}v(\ln(S),{\frac {1}{2}}(T-t))}{\partial x^{2}}}\right)=0.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/55ed88fc177f1edef9478a622109ec59d54c77c5)
- Replace
and
by
and
and divide both sides by
to get
![{\displaystyle -2v-{\frac {\partial v}{\partial \tau }}+{\frac {\partial v}{\partial x}}+{\frac {\partial ^{2}v}{\partial x^{2}}}=0.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/29dd16a4a9b0222a0e8a195d4fc3c4ef18d6c007)
- Replace
by
and divide through by
to yield the heat equation.
Advice on the application of change of variable to PDEs is given by mathematician J. Michael Steele:[1]
"There is nothing particularly difficult about changing variables and transforming one equation to another, but there is an element of tedium and complexity that slows us down. There is no universal remedy for this molasses effect, but the calculations do seem to go more quickly if one follows a well-defined plan. If we know that
satisfies an equation (like the Black–Scholes equation) we are guaranteed that we can make good use of the equation in the derivation of the equation for a new function
defined in terms of the old if we write the old V as a function of the new v and write the new
and x as functions of the old t and S. This order of things puts everything in the direct line of fire of the chain rule; the partial derivatives
,
and
are easy to compute and at the end, the original equation stands ready for immediate use."
Technique in general
[edit]
Suppose that we have a function
and a change of variables
such that there exist functions
such that
![{\displaystyle x_{1}=a(x,t)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9785702fb105becafc2056d4fd218713dde61ff7)
![{\displaystyle x_{2}=b(x,t)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/881fc6d57c24e2e0c6fd63a99091f42407aecf46)
and functions
such that
![{\displaystyle x=e(x_{1},x_{2})}](https://wikimedia.org/api/rest_v1/media/math/render/svg/06bc39b9270a0dcba85cefd1d93dc4c51fc0c19f)
![{\displaystyle t=f(x_{1},x_{2})}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1d12e4b4e76b6dbf2b4e957e898fc13d2715da73)
and furthermore such that
![{\displaystyle x_{1}=a(e(x_{1},x_{2}),f(x_{1},x_{2}))}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c11dfdadd963b463b1282a4a2baa247d49e4d2aa)
![{\displaystyle x_{2}=b(e(x_{1},x_{2}),f(x_{1},x_{2}))}](https://wikimedia.org/api/rest_v1/media/math/render/svg/992ef3b261b560812d0ae33080be3568ca9a5f84)
and
![{\displaystyle x=e(a(x,t),b(x,t))}](https://wikimedia.org/api/rest_v1/media/math/render/svg/20b8e4bd7c9a2ee9dca78fd96f042f9d7fade8de)
![{\displaystyle t=f(a(x,t),b(x,t))}](https://wikimedia.org/api/rest_v1/media/math/render/svg/040a6040b35d9168a146f9bb456ffcccf3fd5912)
In other words, it is helpful for there to be a bijection between the old set of variables and the new one, or else one has to
- Restrict the domain of applicability of the correspondence to a subject of the real plane which is sufficient for a solution of the practical problem at hand (where again it needs to be a bijection), and
- Enumerate the (zero or more finite list) of exceptions (poles) where the otherwise-bijection fails (and say why these exceptions don't restrict the applicability of the solution of the reduced equation to the original equation)
If a bijection does not exist then the solution to the reduced-form equation will not in general be a solution of the original equation.
We are discussing change of variable for PDEs. A PDE can be expressed as a differential operator applied to a function. Suppose
is a differential operator such that
![{\displaystyle {\mathcal {L}}u(x,t)=0}](https://wikimedia.org/api/rest_v1/media/math/render/svg/79a37707dd92fb0ab8308fe5efa2f34057532e53)
Then it is also the case that
![{\displaystyle {\mathcal {L}}v(x_{1},x_{2})=0}](https://wikimedia.org/api/rest_v1/media/math/render/svg/8b8afb198d6ec54448879d9ad9506812df1e67fc)
where
![{\displaystyle v(x_{1},x_{2})=u(e(x_{1},x_{2}),f(x_{1},x_{2}))}](https://wikimedia.org/api/rest_v1/media/math/render/svg/64bd93861c550ce50af354790fe0b2cde4900b4f)
and we operate as follows to go from
to
- Apply the chain rule to
and expand out giving equation
.
- Substitute
for
and
for
in
and expand out giving equation
.
- Replace occurrences of
by
and
by
to yield
, which will be free of
and
.
In the context of PDEs, Weizhang Huang and Robert D. Russell define and explain the different possible time-dependent transformations in details.[2]
Action-angle coordinates
[edit]
Often, theory can establish the existence of a change of variables, although the formula itself cannot be explicitly stated. For an integrable Hamiltonian system of dimension
, with
and
, there exist
integrals
. There exists a change of variables from the coordinates
to a set of variables
, in which the equations of motion become
,
, where the functions
are unknown, but depend only on
. The variables
are the action coordinates, the variables
are the angle coordinates. The motion of the system can thus be visualized as rotation on torii. As a particular example, consider the simple harmonic oscillator, with
and
, with Hamiltonian
. This system can be rewritten as
,
, where
and
are the canonical polar coordinates:
and
. See V. I. Arnold, `Mathematical Methods of Classical Mechanics', for more details.[3]
- ^ J. Michael Steele, Stochastic Calculus and Financial Applications, Springer, New York, 2001
- ^ Huang, Weizhang; Russell, Russell (2011). Adaptive moving mesh methods. Springer New York. p. 141.
- ^ V. I. Arnold, Mathematical Methods of Classical Mechanics, Graduate Texts in Mathematics, v. 60, Springer-Verlag, New York, 1989