Proof of the Mean Value Theorem for Integrals

The proof is correct, but can be made shorter and more accurate (there should be “there exists $c$” somewhere).

Consider $F(x)=\int_a^x f(t)\,dt$; then, by the fundamental theorem of calculus, $F'(x)=f(x)$, for every $x\in(a,b)$; moreover, $F(b)-F(a)=\int_a^b f(t)\,dt$.

Since $F$ is continuous over $[a,b]$ and differentiable over $(a,b)$, the mean value theorem applies and there exists $c\in(a,b)$ such that $$ \frac{F(b)-F(a)}{b-a}=F'(c) $$ that is, $$ \int_a^b f(t)\,dt=(b-a)f(c) $$


By the way, the proof can be given without mentioning the mean value theorem. Since $f$ is continuous over the interval $[a,b]$, it has a maximum value $M$ and a minimum value $m$. Then, by definition of integral and from $m\le f(t)\le M$, we have $$ m(b-a)\le\int_a^b f(t)\,dt\le M(b-a) $$ By the intermediate value theorem, there exists $c\in[a,b]$ such that $$ f(c)=\frac{1}{b-a}\int_a^b f(t)\,dt $$ This is somewhat less precise than the other version, because we cannot state, without further work, that $c$ can be chosen in $(a,b)$.