I am trying to take the following integral which sounds easy but I really got confused and need help.
$f: [0,2]\to \mathbb{R}$ is integrable. Show that $$\int_0^2(x-1)f[(x-1)^2]dx=0.$$
For me the answer is $$\int_0^1f[u]du= f(0)!!$$
which is not necessarily zero. I appreciate any suggestion.
P.S. By $[x]$ the greatest integer less than $x$.
The function is symmetric through $x=1.$
Set $t=x-1,$ then $$\int_0^2(x-1)f([x-1]^2)dx=\int_{-1}^1tf([t]^2)dt=f(0)\cdot \int_{-1}^1t\,dt=0$$