If $$\phi(x)=\cos(x)-\int_0^x(x-t)\phi(t)dt$$ then what is the value of $\phi(x)+\phi''(x)$ ?
My Attempt:
$$\phi'(x)=-\sin(x)-(x-x)\phi(x)\dfrac{d(x)}{dx}+(x-0)\dfrac{d(0)}{dx}=-\sin(x)$$ (using Leibniz Rule)
$$\implies \phi''(x)=-\cos(x)$$
So, $$\phi(x)+\phi''(x)=-\int_0^x(x-t)\phi(t)dt$$
How to simplify this? The final answer is given as $-\cos(x)$ but I am not getting it. Please help.