Since ( f ) is continuous on the closed interval ([a, b]), by the Extreme Value Theorem, ( f ) attains its minimum and maximum on ([a, b]). That is, there exist points ( x_1, x_2 \in [a, b] ) such that
[
m = f(x_1) = \min_{x \in [a, b]} f(x), \qquad M = f(x_2) = \max_{x \in [a, b]} f(x).
]
So for all ( x \in [a, b] ),
[
m \leq f(x) \leq M.
]
Step 2: Integrate the Inequality
Integrate both sides over ([a, b]):
[
\int_a^b m,dx \leq \int_a^b f(x),dx \leq \int_a^b M,dx.
]
Since ( m ) and ( M ) are constants,
[
m(b-a) \leq \int_a^b f(x),dx \leq M(b-a).
]
Step 3: Intermediate Value Theorem
Let
[
I = \int_a^b f(x),dx.
]
If ( b > a ), then ( b-a > 0 ). Divide both sides by ( b-a ):
[
m \leq \frac{I}{b-a} \leq M.
]
The function ( f ) is continuous on ([a, b]), so by the Intermediate Value Theorem, for any value between ( m ) and ( M ), there exists ( c \in [a, b] ) such that
[
f(c) = \frac{I}{b-a}.
]
Therefore,
[
I = f(c)(b-a),
]
or equivalently,
[
\int_a^b f(x),dx = f(c)(b-a)
]
for some ( c \in [a, b] ).
Conclusion
This completes the proof of the Mean Value Theorem for Integrals.