Proof (integration by parts)
Consider $(fg)' = f'g + fg'$, which is continuous. Then by the fundamental theorem of calculus (either 2 or a corollary of 1), $$ \begin{align*} \int_{a}^{b} f'g\, + \int_{a}^{b} fg' = \int_{a}^{b} (fg)'= f(b)g(b) - f(a)g(a). \end{align*} $$