I need to show :
$$f(\theta)=\cos(n\theta)\int_{0}^{2\pi}w(\theta')\cos(n\theta')d\theta' =\int_{0}^{2\pi}w(\theta-\theta')\cos(n\theta')d\theta'$$
The author says, Fourier expanding the integrand of the right hand side leads to the result. I also know $w$ is $2\pi$ periodic and symmetric. I have been stuck on this for a long while now. Any help would be appreciated!
Thanks in advance.
Starting with the RHS, use the substitution $x = \theta - \theta'$ to obtain $$\int_{0}^{2\pi}w(\theta - \theta')\cos(n \theta')\ d\theta' = \int_{\theta - 2\pi}^{\theta} w(x)\cos(n(x - \theta))\ dx$$ Since the integrand is $2\pi$-periodic, we can integrate over any interval of length $2\pi$ without changing the result, so the above is the same as $$\int_{-\pi}^{\pi}w(x)\cos(n(x - \theta))\ dx$$ Applying the trig identity $\cos(a-b) = \cos(a)\cos(b) + \sin(a)\sin(b)$ gives us $$\cos(n\theta)\int_{-\pi}^{\pi} w(x)\cos(nx)\ dx + \sin(n\theta)\int_{-\pi}^{\pi} w(x)\sin(nx)\ dx$$ As $w$ is even and $\sin$ is odd, the integrand in the second integral is odd, so the second integral is zero. This leaves us with $$\cos(n\theta)\int_{-\pi}^{\pi} w(x)\cos(nx)\ dx$$ which is the same as $$\cos(n\theta)\int_{0}^{2\pi} w(x)\cos(nx)\ dx$$ since as above, we can integrate over any interval of length $2\pi$.