Suppose that $f$ is continuous and maps $[0,1]$ one-to-one onto $[0,1]$. Therefore, it is obvious that inverse function $f^{-1}$ exists. Then, show that $$ \int_{0}^{1} f(x) d x+\int_{0}^{1} f^{-1}(y) d y=1 $$ and give a geometric interpretation of this equation.
There is a similar problem in the following link; however, the major strategy does not work since $f$ is not an increasing function. Moreover, the substitution method does not work as well, since we need compact interval $[0, 1]$ for integration. So, what other alternatives are there for solving this problem?
Show rigorously that the sum of integrals of $f$ and of its inverse is $bf(b)-af(a)$