Let $f(x)$ be an increasing function on $[a, b]$ and let $g(x)$ be
its inverse. Argue on the basis of arc length that the following equality
holds:
\begin{equation}
\int_{a}^{b} \sqrt{1+f^{\prime}(x)^{2}} d x=\int_{f(a)}^{f(b)} \sqrt{1+g^{\prime}(y)^{2}} d y
\end{equation}
Then use the substitution $u=f(x)$ to prove Eq. $(5)$