This is a problem from Royden & Fitzpatrick 4th ed, page 129 problem 59. I am struggling proving it and was wondering if someone can help prove it please? Thank you
For a nonnegative integrable function $f$ over $[c,d],$ and a strictly increasing absolutely continuous function $g$ on $[a,b]$ such that $g([a,b]) \subseteq [c,d],$ is it possible to justify the change of variables formula $$\int_{g(a)}^{g(b)} f(y)dy = \int_a^b f(g(x))g'(x)dx,$$ by showing that $$\frac{d}{dx} \left[\int_{g(a)}^{g(x)} f(s)ds - \int_a^x f(g(t))g'(t)dt \right] = 0 \text{ for almost all } x\in (a,b)?$$