My integration is rather rusty these days so I am keen to get any available help. I would like to find a general expression for the following integral (preferably in closed form, but a series representation would also be helpful) $$I_{l,m}=\int_0^{2π}{\rm d}x\left(\int_0^{2π}{\rm d}y\ln(1-\cos(x-y))\cos\left(\frac{lx+my}{2}\right)\right)$$ where $l$ and $m$ are both integers and $\ln$ is the natural logarithm. Mathematica will evaluate the integral for individual pairs of integers $(l,m)$ but not the general integral.
A few observations:
When $l$ and $m$ are both odd, $I_{l,m}$ appears to take the form $Q+Q\ln2$, where $Q$ is a rational number, but I don’t have expressions for these in terms of $l$ and $m$.
When $l+m=0$ with $l$ even and non-zero, $I_{l,m}$ appears to take the form $(-8π^2)/|l|$, although I haven’t proven this. When $l=m=0$
- Otherwise $I_{l,m}$ appears to vanish.
Therefore it’s really the case when $l$ and $m$ are both odd that I’m interested in. The weakness of the log singularity when $x=y$ means that the integral is well-defined (I believe), but I don’t think you can use the Taylor expansion for $\ln(1+x)$ because the resulting summation doesn’t commute with the integrals (I don’t think the dominated convergence theorem is valid here). Thanks in advance for any help.