Let A(x) be the running area under f from a fixed start out to x. As you sweep x, A draws itself — and its slope at every point is exactly the height of f. That link is the whole theorem.