Sometimes I come across integrals that seem like they should have a nice asymptotic expansion, but I get nervous when the terms of the expansion seem to fail to converge. The following is an example integral that captures the features I want to better understand (variants of this integral appear in the radiation problem for 2d electrodynamics).
Consider the integral $$I(r) = \int_{0}^{\infty} \frac{\cos(x)}{\sqrt{x+r}} dx$$ as $r \to \infty$. I want to consider an asymptotic expansion in powers of $\sqrt{\frac{1}{r}}$.
What is the asymptotic expansion? What is the "leading" non-analytic piece?
Here are my thoughts. I'll play fast and loose: I'm Taylor expanding past radii of convergence, exchanging integrals and sums, and renormalizing non-convergent integrals.
First, if I attempt to naively expand the denominator, there is trouble already at the lowest nontrivial order:
$$I(r) \sim \sum_{n=0}^{\infty} \frac{1}{r^{n+\frac{1}{2}}} (-1)^n \frac{\binom{2n}{n}}{2^{2n}} \int_{0}^{\infty} \cos(x) x^{n} dx$$
This makes me want to regularize the integrals, such as considering $\lim_{\epsilon \to 0^+} \int_{0}^{\infty} \cos(x) x^{n} e^{-\epsilon x} dx $. This limit results in $(-1)^{m+1} (2m+1)!$ for $n=2m+1$ is and $0$ for even $n$.
This results in
$$I(r) \sim \sum_{m=0}^{\infty} \frac{1}{r^{2m+\frac{3}{2}}} (-1)^m \frac{\binom{4m+2}{2m+1}}{2^{4m+2}} (2m+1)!$$
If I naively go by "the smallest term in the sum sets the scale of the hyperasymptotics," then the leading non-analytic piece would appear to be $e^{-r}=e^{-1/(1/r)}$, dropping many factors. However, this almost seems too good to be true, since this is quite a small piece.
It's possible there are typos above; please let me know if there are any algebra mistakes.