This question was asked in an entrance test for an undergraduate mathematics program today, held all over India.
Question: $f$ is a differentiable function in $[0,1]$ such that $f(f(x))=x$ and $f(0)=1$.
Find the value of $\int_{0}^{1} (x-f(x))^{2016} dx$.
I tried to solve it by substituting $f(f(x))$ in place of $x$, but could not proceed much further. Any hints or solutions will be appreciated.