Hello everybody,
I have not posted in a while but I am back at it with my little research. I have the following second order PDE that I am trying to solve analytically.
fbarx[\[Alpha]_, \[Beta]_, \[Mu]_, \[Sigma]_] = (-((\[Alpha] (t/\
\[Beta])^\[Alpha])/t)*f[t, x] + \[Mu]*D[f[t, x], x] + \[Sigma]^2/2*
D[f[t, x], x, x]);
sol[\[Alpha]_, \[Beta]_, \[Mu]_, \[Sigma]_] :=
NDSolve[{D[f[t, x], t] == fbarx[\[Alpha], \[Beta], \[Mu], \[Sigma]],
f[0, x] == 1, f[t, 0.001] == Exp[-1000 t],
f[t, 5] == Exp[-1000 t]}, f, {t, 0.01, 5}, {x, 0.001, 5}];
And I can plot the results.
Manipulate[
Plot3D[Evaluate[
f[t, x] /. sol8[\[Alpha], \[Beta], \[Mu], \[Sigma]]], {t, 0.01,
5}, {x, 0.001, 5}, PlotRange -> All,
AxesLabel -> Automatic], {\[Alpha], 0.1, 5}, {\[Beta], 0.1,
5}, {\[Mu], -1, 1}, {\[Sigma], -2, 2}]
But when I try to solve for the exact solution - I do not get any form of solution in the output. It is just a repeat of the input.
pde = D[f[x, t],
t] == -((\[Alpha] (t/\[Beta])^\[Alpha])/t)*f[x, t] + \[Mu]*
D[f[x, t], x] + \[Sigma]^2/2*D[f[x, t], x, x]
DSolve[pde, f[x, t], {x, t}]
Even when I add the initial condition - same story.
DSolve[{pde, f[x, 0] == 1}, f[x, t], {x, t}]
This PDE is almost the same as the Black Scholes; therefore, I am certain it should have a closed form.
Any help would be very greatly appreciated. Thank you!