Is there any other solution for $f(x)=\int_0^\pi t f(t)\,\mathrm{d}t+\cos x $? I found one solution as follows but I have no clue how to prove that this solution is unique.
Let $\int_0^\pi t f(t)=\lambda$, we have
\begin{align} \lambda &=\int_0^\pi t f(t) \,\mathrm{d}t\\ &=\int_0^\pi t (\lambda+\cos t)\,\mathrm{d}t\\ &= \frac{4}{\pi^2-2} \end{align}
Thus $f(x)=\frac{4}{\pi^2-2}+\cos x$.
Question
Is there any other solution? How to prove the uniqueness of this solution?