I have to find all the functions $f(x)$ such that $$f(x)=xe^{(1-x^{2})/2}-xe^{-x^{2}/2}\int_{1}^{x}t^{-2}e^{t^{2}/2}dt$$ which satisfies $$f(x)=1-x\int_{1}^{x}f(t)dt$$
I tried to equal both, but when I derivate, the integral keeps there.
What should I do?
PS: the answer is: only the function given first satisfies the equation.
Here is how you advance. First equate the two equations
then differentiate both sides w.r.t. $x$ and you will need the product rule for differentiation and Leibnize rule
Note: To get rid of the integral which appears after differentiation on the left hand side of the equation $(*)$ you need to use the second equation which you have been given as