Integrate problem with undefined constant

3 replies · 3K views · last reply
sukharef
Messages
54
Reaction score
0
Hello!

I'm trying to calculate this integral:

Integrate [Exp[-I a *y] Exp[I*Sin[y]] Exp[-y*Sign[y]], {y, -Infinity, Infinity}] , where "a" - constant that i'll define later.

So the result of the calculation acсording to Mathematica is the same expression : Exp[-I a *y] Exp[I*Sin[y]] Exp[-y*Sign[y]].

What can i do to calculate my integral without defining my constant "a" and using NIntagrate?

Thank you in advance.
 
I doubt that Mma returns the integrand - it probably returns an unevaluated integral, no matter what choice you make for the constant a. The integral probably does not have a nice closed form in terms of any common or existing special functions.

Mma doesn't even evaluate the "simpler" integral Exp[I*Sin[y] - y^2].

If you just need to use this result just define the numerical integral (with memoization)

int[a_?NumericQ] := int[a] = NIntegrate[Exp[-I a*y] Exp[I*Sin[y]] Exp[-y*Sign[y]], {y, -Infinity, Infinity}]//Chop

It's a little slow... but you can get a reasonable plot of the integral

Plot[int[x], {x, -10, 10}, PlotPoints -> 15, MaxRecursion -> 3, PlotRange -> All]
Line plot of a real-valued function over x from -10 to 10: near zero for negative x, a small bump near x = -2.5, then a sharp peak of about 1.8 near x = 0.5 that decays toward zero for larger x.
 
Attachments
  • Line plot of a function of x from -10 to 10: near zero for negative x with a small bump near -2.5, then a sharp peak near x = 0 reaching about 1.8, decaying toward zero for positive x. Y-axis ticks at 0.5, 1.0, 1.5.
    Untitled-1.png
    2.1 KB · Views: 550
Not a problem. I hope it was useful.
If you do find a closed form to that integral - don't forget to post it here!