Integral of e^(-as^2)cos(Bs)ds from 0-infinity

I can do the gaussian function fine on 0-infinity, but I dunno how to do this. Integration by parts doesn't really help, so I tried expressing the cos as exponentials and piddled and fiddled and floundered, and here I am. I know what the answer is, but I can't get there

I can do the gaussian function fine on 0-infinity, but I dunno how to do this. Integration by parts doesn't really help, so I tried expressing the cos as exponentials and piddled and fiddled and floundered, and here I am. I know what the answer is, but I can't get there

I would write the cos as a sum of two imaginary exponentials. In the second integral, I would make the change of variable s-> -s. Then the sum of the two integrals can now be combined into an integral from minus infinity to plus infinity. Now you complete the square of the total exponential and after a simple redefinition of variable, you end up with something proportional to the integral from minus infinity to plus infinity of e^(- C x^2) dx, which is well known.

I know that the integral of something like [tex]\int e^xcos(x)dx[/tex] can be done by integration by parts twice, which results in the original integral being repeated. The using basic algebra the answer can be found. I don't know if this method will hold true for this integral though.

Thanks Jameson, the problem is if you apply integration by parts across that definite interval, you end up with an only marginally different integral, and applying it again gets you back where you started(which was kinda neat)that's the first thing I tried, also with the cos in exponential form(which I should've known just gets me the same effect)

and nrged, I think you got it, lemme run with it after I'm done eating and see if I get it. I got the whole thing down into two different integrals and tried to think of a useful change of variable I could do, but I was looking at the whooooole thing, not just a single integral after breaking it into two. Good eyes laddy ^_^

Hey guys, I'm bringing this one back from the dead. Would someone be so kind as to show the steps nrged has suggested. My integral is 2*integral{0,inf}( exp(-s^2)*cos(w*s)*ds ) I realize that the integral of e^(-s^2) = SQRT(pi). Would it be easier to evaluate the integral{-inf,inf}( exp(-s^2)*exp(-j*w*s)*ds ). This is one tricky fourier transform! Thanks!