The Problem
Suppose $f$ is continuous, $f(0)=0$, $f(1)=1$, $f'(x)>0$, and $\int_0^1{f(x)dx}=\frac{1}{3}$. Find the value of the integral $\int_0^1{f^{-1}(y)dy}$. [Calculus: Early Transcendentals, Chapter 5, Review, Exercise 71]
What I Have Done
I first tried evaluating the integral myself but got stuck on the step to prove that
\begin{equation}
1-\int_0^1{f(x)dx}=\int_0^1{f^{-1}(x)dx}.
\end{equation}
I then searched the web but the answers I got seemed to be wrong.
My Questions
How can I prove the equation above? Otherwise, is there an alternative solution to this problem?
Thanks in advance.
Maybe try a substitution $u = f^{-1}(x)$: Then (note $f^{-1}(0)=0$, $f^{-1}(1)=1$) $$ \int^1_0 f^{-1}(x) ~\mathrm{d}x = \int^1_0 uf'(u)~\mathrm{d}u $$ Integrate by parts: $$ \int^1_0 uf'(u)~\mathrm{d}u = uf(u) \bigg\vert^{u=1}_{u=0} - \int^1_0 f(u)~\mathrm{d}u = f(1) - \int^1_0 f(u)~\mathrm{d}u = 1- \frac{1}{3} = \frac{2}{3} $$