The limit $$\lim_{a \to \infty} \int_0^a \sin x \, \mathrm{d} x$$ does not exist. However, consider that $$ \lim_{\epsilon \to 0} \int_0^\infty e^{- \epsilon x} \sin x \, \mathrm{d} x = 1 \,.$$ Here I have 'regulated' the integral. What I discovered, and what strikes me as very surprising, is that if, instead of an exponential, I choose a different function $f(x, \epsilon)$ which tends pointwise to $1$ as $\epsilon$ goes to $0$ and tends to $0$ as $x$ goes to $\infty$, I get convergence to exactly the same limit. So if I choose $$ f(x, \epsilon) = \frac{1}{1 + \epsilon x^2} \quad \text{or} \quad \mathrm{sech}^2(\epsilon x) \quad \text{or} \quad (1 + 2 \epsilon x^2) e^{-\epsilon x^2}\,,$$ Then the integral of $f(x, \epsilon) \sin x$ from 0 to $\infty$ tends to $1$ as $\epsilon$ tends to $0$.
Why is this happening?
EDIT: I was initially satisfied with the responses given, but on further thought I don't think I follow the logic of tired's answer, which invokes the stationary phase approximation.
In particular, my understanding of the stationary phase approximation is that one looks for stationary points of the argument of the exponential since these correspond to the points where the oscillation is slowest – away from this point, the oscillations 'cancel out' because of how rapid they are. However, in this case the argument of the exponential has no stationary points. Further, whilst I can appreciate that (in the case where there are no stationary points) a 'boundary maximum point' would dominate the integral in the real case (that is, for which the argument of the exponential is real), I can't see that this would be relevant in the imaginary case.
I am looking for an answer that includes the following three points:
- A proof that the limit of this integral is independent of regulator (for a suitable class of regulator).
- Some intuition as to why we might expect this particular integral to be independent of regulator.
- Information on whether there is some general theory about assigning, perhaps uniquely, a value to non-convergent integrals. In particular, I would like to know whether the fact that the integral at the top of this question is 'almost convergent' (in the sense that it is bounded for all $a$) makes it easier to unambiguously regulate.