Hello community, I am trying to create a code for an Nth derivative that has a confluent hypergeometric U function, but I must be doing something wrong... see my attempt:
This is the equation I'm trying to reproduce:
Simplify[D[
Exp[-x^2*Erf[(Sqrt[2*Pi])*x]*Erfi[(Sqrt[2*Pi])*x]], {x,
n}]] // TraditionalForm
Simplify[2^n*
Exp[-x^2*Erf[Sqrt[2*Pi]*x]*
Erfi[Sqrt[2*Pi]*x]]*(-x*Erf[Sqrt[2*Pi]*x]*Erfi[Sqrt[2*Pi]*x])^
n*(x^2*Erf[Sqrt[2*Pi]*x]*Erfi[Sqrt[2*Pi]*x])^(-n/2)*
HypergeometricU[-n/2, 1/2,
x^2*Erf[Sqrt[2*Pi]*x]*Erfi[Sqrt[2*Pi]*x]]] // TraditionalForm
For example if I use:
n = 2
Using the "n" defined in the equations:
a = Simplify[
D[Exp[-x^2*Erf[(Sqrt[2*Pi])*x]*Erfi[(Sqrt[2*Pi])*x]], {x, n}]]
b = Simplify[
2^n*Exp[-x^2*Erf[Sqrt[2*Pi]*x]*
Erfi[Sqrt[2*Pi]*x]]*(-x*Erf[Sqrt[2*Pi]*x]*Erfi[Sqrt[2*Pi]*x])^
n*(x^2*Erf[Sqrt[2*Pi]*x]*Erfi[Sqrt[2*Pi]*x])^(-n/2)*
HypergeometricU[-n/2, 1/2,
x^2*Erf[Sqrt[2*Pi]*x]*Erfi[Sqrt[2*Pi]*x]]]
Table[N@Limit[b/a, x -> i], {i, 0, 4}]
Both sides of the equation should be the same (equal), but they are not, as we can see by making the relation b/a and giving values for "x" in the table above. If they were equal the table should be {1,1,1,1,1}. Is it right or not?
As I am not a specialist in this type of derivative operation yet, I decided to ask for help in the community.
What am I doing wrong? Or am I missing some concept?
Thank you very much.