Function $f(x)$ is differentiable. Given further that
\begin{eqnarray*} f’(x)+xf’(x-1) &=& 4 \\ \int_0^1 f(xt) dt + \int_0^x f(t-1)dt &=& x^3 +x^2 +2x \end{eqnarray*}
Determine the function $f(x)$.
$\textbf{Attempt}$ I know $\frac{d}{dx} \int_0^x f(t-1)dt = f(x-1)$, but I am confused about what’s $\frac{d}{dx} \int_0^1 f(xt) dt $ . Maybe I can do $ - \frac{d}{dx} \int_1^x f(xt) dt - \frac{d}{dx} \int_0^x f(xt) dt $ ?
You can set $xt=u$.
Setting $xt=u$ gives $x=\frac{du}{dt}$, so $$\int_0^1 f(xt) dt =\int_{0}^{x}f(u)\cdot\frac{du}{x}$$ So, differentiating the both sides of $$\frac 1x\int_{0}^{x}f(u)du+ \int_0^x f(t-1)dt =x^3 +x^2 +2x$$ gives $$-\frac{1}{x^2}\int_{0}^{x}f(u)du+\frac{f(x)}{x}+f(x-1)=3x^2+2x+2,$$ i.e. $$\int_{0}^{x}f(u)du=xf(x)+x^2f(x-1)-3x^4-2x^3-2x^2$$ Now, differentiate the both sides and use $f'(x)+xf'(x-1)=4$.