I need to find an exact solution for$$u(x)+\int_0^{2π}\cos(x+t)u(t)\,\mathrm dt=(π+1)\cos x.$$
So far, I have tried to integrate by parts but it does not seem to be helpful because I got this: $$u(t)\sin(x+t)\bigg|_0^{2\pi} - \int_{0}^{2\pi}\sin(x+t)u'(t)\,\mathrm{d}t = (\pi + 1)\cos x - u(x).$$ I think it is a wrong way to solve this equation.
Any suggestion for how to solve it would be appreciated.
From $$\cos(a+b)=\cos(a)\cos(b)-\sin(a)\sin(b)$$ We have that $$u(x)+\cos(x)\int_{0}^{2\pi} \cos(t)u(t)\mathrm{d}t-\sin(x)\int_{0}^{2\pi} \sin(t)u(t)\mathrm{d}t=(\pi+1)\cos(t)$$ But the integrals are independent of $x$, so they are constant! So the form of $u$ will be $$u(x)=(\pi+1)\cos(x)-c_1\cos(x)+c_2\sin(x)$$ And you can calculate the value of the constants easily: $$c_1=\int_{0}^{2\pi} \cos(t) u(t) \mathrm{d}t$$ $$c_1=\int_{0}^{2\pi} \cos(t)[(\pi+1)\cos(x)-c_1\cos(x)+c_2\sin(x)] \mathrm{d}t$$ $$c_1=(\pi+1)\int_{0}^{2\pi} \cos^2(x) \mathrm{d}x-c_1\int_{0}^{2\pi} \cos^2(x) \mathrm{d}x +c_2 \int_{0}^{2\pi} \sin(x)\cos(x) \mathrm{d}x$$ You can easily calculate these integrals with the double-angle formulas: $$c_1=(\pi+1)\pi-c_1 \pi+c_2 0$$ $$c_1(1+\pi)=(\pi+1)\pi$$ $$c_1=\pi$$ And you can do the same to get $c_2$: $$c_2=\int_{0}^{2\pi} \sin(t) u(t) \mathrm{d}t$$ So we have that $c_1=\pi$ and$c_2=0$, which implies that $$u(x)=\cos(x)$$