Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm very rusty with calculus, and I was hoping someone would be willing to help me with the following definite integral:

$$\int_b^{\infty} \frac{\cos(ax)}{1+x^2} dx$$


Thanks in advance.

share|cite|improve this question
This does it in Mathematica, but it ain't pretty: Integrate[Cos[a*x]/(1 + x^2), {x, b, Infinity}, Assumptions -> {b > 0, a > 0}] // FullSimplify – Nick Thompson Apr 25 '12 at 0:33
I'm thinking curiosity's going to win and I'm going to end up looking in a table of integrals to see if this is in there. – Nicholas Stull Apr 25 '12 at 0:43
Thanks for trying everyone. – Stuck_pls_help Apr 25 '12 at 0:45

For $b = 0$ or $b = -\infty$ you can use contour integration. For other $b$ (assuming $a \neq 0$), you will have to do it numerically.

(If there were a formula in terms of $b$, you would have an elementary formula for an antiderivative of the integrand (just differentiate your formula with respect to $b$ and you'll recover the negative of the integrand!), but there is no elementary formula for an antiderivative of this integrand, I believe).

share|cite|improve this answer
There may not be an elementary antiderivative for this particular function (I haven't worked on it, so I can't say for sure), but it is still possible to have a closed form solution to this integral. – Nicholas Stull Apr 25 '12 at 0:38
But you could differentiate any closed form solution to this integral with respect to b, so a closed form solution is the same as (the negative of) an elementary antiderivative. – user29743 Apr 25 '12 at 1:52
I had a counterexample in mind when I made that comment. If we evaluate $\int_0^b \sin(\frac{1}{x})\, dx$, we can differentiate the closed form solution (which is expressible in terms of the cosine integral) with respect to $b$, but that integrand does not necessarily admit an elementary antiderivative. Or am I missing something? – Nicholas Stull Apr 25 '12 at 2:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.