TITLE: Asymptotic expression of an oscillatory integral
QUESTION [22 upvotes]: Consider the integral
$$ f(\alpha,\beta)= \int_0^{2\pi}\,dx \sqrt{1- \cos(\alpha x ) \cos(\beta x)}$$  as a function of the two parameters $\alpha,\beta$. I am interested in the asymptotic behavior for $\alpha, \beta \gg 1$. 
For $\alpha = \beta$ the integral can be evaluated explicitly with the result
$$ f(\alpha , \alpha) = \frac{2}{\alpha} \left[ \lfloor 2 \alpha\rfloor
 + \sin^2 \left(\frac\pi2 \{ 2 \alpha \}  \right) \right]$$
with $\{ x \} = x - \lfloor x \rfloor$. For large $\alpha$ the function $f(\alpha, \alpha)$ thus approaches $4$.
If we see what happens if we keep $\beta$ large but fixed and vary $\alpha$, we see that $\beta \approx \alpha$ with $f(\alpha,\beta) \approx 4$ looks like a minimum of the function and it quickly approaches $2\pi$ (at least for $\alpha$ large) for $\beta$ sufficiently different from $\alpha$. However, there are oscillations on top of the mean value $2\pi$. In the figure you see a numerical evaluation of the integral for $\beta=20$ and $\alpha$ between 0 and 40.


Is the value of $f(\alpha,\beta)$ for $\alpha,\beta \gg 1$ and $\alpha \neq \beta$ indeed $2\pi$?
Why the value $f=4$ for $\alpha \approx \beta$ is lower than the generic value $2\pi$ (for $\alpha$, $\beta$ large)?
What is the period of the (fast) oscillations as a function of $\alpha$ with $\beta$ fixed which are visible in the plot?
What is the shape of the envelope? (it is a peaked function -> Lorentzian, or Gaussian, or ...?)
Does anybody know how to obtain a good asymptotic expression for $f(\alpha, \beta)$?

REPLY [5 votes]: Set $\alpha-\beta = r$ and $\alpha+\beta =s$. So our integral is
$$f(r,s) := \int_0^{2 \pi} \sqrt{1-(\cos (rx) + \cos (sx))/2} dx.$$
It looks like, for $r$ constant and $s$ large, a pretty good approximation is just to ignore the $s$ term. Set
$$g(r) :=  \int_0^{2 \pi} \sqrt{1-\cos (rx)/2} dx.$$
The figure below shows $f$ (in red) and $g$ (in blue) for $s=40$.

An even better approximation seems to be using $3$ terms of the Taylor series for the square root:
$$\sqrt{1-\cos(rx)/2 - \cos(sx)/2} \approx$$
$$ \left(1-\cos(rx)\right)^{1/2} - \frac{\cos{sx}}{4} \left(1-\cos(rx)\right)^{-1/2} - \frac{\cos^2{sx}}{32} \left(1-\cos(rx)\right)^{-3/2}=$$
$$\left(1-\cos(rx)\right)^{1/2} - \frac{1}{64}  \left(1-\cos(rx)\right)^{-3/2} + \cos(sx) (\mbox{something}) + \cos(2x)(\mbox{something}).$$
Here I have replaced $\cos^2(sx)$ by $(\cos(2sx)+1)/2$.
So
$$f(r,s) \approx \int_0^{2 \pi} \left( \left(1-\cos(rx)\right)^{1/2} - \frac{1}{64}  \left(1-\cos(rx)\right)^{-3/2}  \right) dx +$$
$$\int_0^{2 \pi} \cos(sx) (\mbox{something}) dx + \int_0^{2 \pi} \cos(2sx) (\mbox{something}) dx.$$
The two terms below the line break will go to zero as $s \to \infty$, by the Riemann-Lebesgue lemma. (As a general rule of thumb, anytime that you have a highly oscillatory integral, try to use Riemann-Lebesgue.)
Set
$$h(r) := \int_0^{2 \pi} \left( \left(1-\cos(rx)\right)^{1/2} - \frac{1}{64}  \left(1-\cos(rx)\right)^{-3/2}  \right) dx.$$
Here is the above plot with $h$ added on (in green)

Here is a plot of $f(r,40)-h(r)$ (note the small vertical range). I wouldn't trust this data too much -- the jaggedness is often a sign that we are getting close to Mathematica's numerical tolerance:

I suspect that one should be able to show that there exists a function $F(y)$ such that
$$\lim_{s \to \infty} f(r,s) = \int_{0}^{2 \pi} F(1-\cos(rx)/2) dx,$$
given by a convergent power series which starts $F(y) = y^{1/2} - y^{-3/2}/64+\cdots$.