Here is my version of the change of variable theorem:
Change of variables: Let $f: [a,b] \to \mathbb{R}$ have an antiderivative and be integrable. Let $g: [c,d] \to \mathbb{R}$ have a derivative in all of its domain with $g'$ integrable and $g([c,d]))\subseteq [a,b]$. Then:
$$\int_{g(c)}^{g(d)}f(x)dx=\int_c^df(g(t))\cdot g'(t)dt$$
I think I understand the proof just fine, just applying the fundamental theorem of calculus two times and checking both sides evaluate to the same thing. However my question is, how do we know $f(g(t))\cdot g'(t)$ is integrable? Since $g'(t)$ is integrable, it is enough to prove that $f(g(t))$ is integrable too. Since $g(t)$ is continuous then it is integrable, however the composition of two integrable functions is not, in general, integrable (proof). So the condition of having a derivative must play some role I believe. That or my book is wrong and the integrability of $f(g(t))$ must be added as a supposition.