Find the eigenvalues and eigenfunctions for the following kernel: $$K(x,t)=-2 \log \left( \sin \left( \frac{1}{2} \left( x-t \right) \right) \right) \in \mathcal{L}_2([0,2 \pi ]^2).$$
What I have: $$y(x)=\int_0^{2 \pi} -2 \log \left( \sin \left( \frac{1}{2} \left( x-t \right) \right) \right) y(t)dt = \\ -2\int_0^{2\pi} \left( \sum_{n=1}^\infty \frac{\sin(nx) \sin(nt)}{n}+\sum_{n=1}^\infty \frac{\cos(nx) \cos(nt)}{n} \right)y(t)dt$$ by Fourier series. It sort of seems that eigenfunctions should be in the form $y(x)=A\cos(nx)+B\sin(nx)$ but I don't have any arguments for that. I know that the eigenvalues should be $\lambda_n=- \frac{n}{2 \pi}$.
Also I've found a similar question (Eigenvalues of an integral operator with non-degenerate kernel) but its kernel is much simpler. Not sure if the same technique would work in my case. What corresponding differential equation could I get from this: $y''(x)+\lambda y(x)=0$, $y(0)=y(2 \pi)=0$? However I wouldn't get the same eigenvalues $\lambda_n=- \frac{n}{2 \pi}$. Help?