$\def\d{\mathrm{d}}$If $f:\mathbb{R}\rightarrow \mathbb{R}$ and $f(x)=x+\cos x$, find$$\int^{\pi}_{0}f^{-1}(x) \,\d x.$$
Try: put $x=f(t)$ and $\d x=f'(t) \,\d t$, so \begin{align*} \int^{f^{-1}(\pi)}_{f^{-1}(0)}tf'(t) \,\d t &=\int^{f^{-1}(\pi)}_{f^{-1}(0)}t(1-\sin t) \,\d t\\ &= \left.\left(t \cos t-\sin t+\frac{t^2}{2}\right)\right|^{f^{-1}(\pi)}_{f^{-1}(0)}. \end{align*}
Could someone help me how to find $f^{-1}(\pi)$ and $f^{-1}(0)$, thanks.
