The Fundamental Theorem of Calculus
- Calculus 4.2

Mean Value Theorem for Definite Integrals

Let $f$ be integrable on $[a,b]$, where $a<b$. The average value of $f$ on this interval is:

\[ f_{\mathrm{avg}}=\frac1{b-a}\int_a^b f(x)\dd{x} \]

If $f$ is continuous, there exists $c\in[a,b]$ such that:

\[ f(c)=f_{\mathrm{avg}}, \qquad \int_a^b f(x)\dd{x}=f(c)(b-a) \]

This is the Mean Value Theorem for Definite Integrals.

Proof. By the Extreme Value Theorem, $m=\min_{[a,b]}f$ and $M=\max_{[a,b]}f$ exist. The integral comparison properties give:

\[ m\le\frac1{b-a}\int_a^b f(x)\dd{x}\le M \]

The Intermediate Value Theorem guarantees that $f$ attains this average value.

Fundamental Theorem of Calculus, Part 1

Suppose that $f$ is continuous on $[a,b]$. Define the accumulation function:

\[ A(x)=\int_a^x f(t)\dd{t} \qquad(a\le x\le b) \]

Then $A$ is continuous on $[a,b]$, differentiable on $(a,b)$, and:

\[ A^\prime(x)=\odv{}{x}\int_a^x f(t)\dd{t}=f(x) \]

At the endpoints, the corresponding one-sided derivatives are $f(a)$ and $f(b)$. Thus integration produces an antiderivative of every continuous function.

Proof. Choose $M\ge0$ such that $\abs{f(t)}\le M$ on $[a,b]$. Such a bound exists by the Extreme Value Theorem. For $x,y\in[a,b]$, additivity and the integral bounds give:

\[ \abs{A(y)-A(x)} =\abs{\int_x^y f(t)\dd{t}} \le M\abs{y-x} \]

Thus $A$ is continuous. For an interior point $x$ and sufficiently small $h\ne0$:

\[ \frac{A(x+h)-A(x)}h =\frac1h\int_x^{x+h}f(t)\dd{t} \]

Let $I_h$ be the closed interval with endpoints $x$ and $x+h$. For either sign of $h$:

\[ \begin{align*} \abs{\frac{A(x+h)-A(x)}h-f(x)} &=\abs{\frac1h\int_x^{x+h}(f(t)-f(x))\dd{t}} \nl &\le\sup_{t\in I_h}\abs{f(t)-f(x)} \longrightarrow0. \end{align*} \]

The last limit follows from continuity at $x$. The same argument with one-sided limits applies at $a$ and $b$.


More generally, if $f$ is Riemann integrable, its accumulation function is continuous and is differentiable with derivative $f(x)$ at every interior point where $f$ is continuous. The proof above uses continuity only at the point being differentiated.

Fundamental Theorem of Calculus, Part 2

Suppose that $f$ is continuous on $[a,b]$. If $F$ is continuous on $[a,b]$ and $F^\prime=f$ on $(a,b)$, then:

\[ \int_a^b f(x)\dd{x}=F(b)-F(a) \]

We also write the right-hand side as $\eval{F(x)}_a^b$. This evaluates a definite integral using any antiderivative. The arbitrary constant in the antiderivative cancels.

Proof. For any partition $a=x_0<\cdots<x_n=b$, the Mean Value Theorem gives $\xi_i\in(x_{i-1},x_i)$ such that:

\[ F(x_i)-F(x_{i-1}) =F^\prime(\xi_i)\Delta x_i =f(\xi_i)\Delta x_i \]

Summing gives a telescoping sum:

\[ F(b)-F(a)=\sum_{i=1}^n f(\xi_i)\Delta x_i \]

As the mesh tends to zero, the right-hand side tends to $\int_a^b f(x)\dd{x}$. This proves the formula. The same proof works for a Riemann integrable $f$ whenever such an $F$ exists.

Example

An antiderivative of $3x^2-2x+1$ is $x^3-x^2+x$. Therefore:

\[ \int_0^2(3x^2-2x+1)\dd{x} =\eval{x^3-x^2+x}_0^2 =6 \]

Together, the two parts give:

\[ \odv{}{x}\int_a^x f(t)\dd{t}=f(x), \qquad \int_a^b F^\prime(x)\dd{x}=F(b)-F(a) \]

under the stated hypotheses. Differentiation recovers the integrand, while integration recovers the change in an antiderivative.

Variable Limits of Integration

Suppose that $f$ is continuous on an interval $I$, and that $u$ and $v$ are differentiable functions with values in $I$. Fix $a\in I$ and put $A(y)=\int_a^y f(t)\dd{t}$. Then:

\[ \int_{u(x)}^{v(x)}f(t)\dd{t}=A(v(x))-A(u(x)) \]

By Part 1 and the chain rule:

\[ \odv{}{x}\int_{u(x)}^{v(x)}f(t)\dd{t} =f(v(x))v^\prime(x)-f(u(x))u^\prime(x) \]

No ordering between $u(x)$ and $v(x)$ is required because of the convention for reversed limits. For example:

\[ \odv{}{x}\int_{\sin x}^{x^2}\sqrt{1+t^2}\dd{t} =2x\sqrt{1+x^4}-\cos x\sqrt{1+\sin^2x} \]

The derivative can be computed without first finding an explicit antiderivative of the integrand.

Net Change

Under the hypotheses of Part 2, $F^\prime(t)=f(t)$ gives:

\[ F(b)-F(a)=\int_a^b f(t)\dd{t} \]

Thus the integral of a continuous rate of change is the net change in the original quantity. For a particle moving along a line with continuous velocity $v(t)=s^\prime(t)$:

\[ \begin{align*} \text{displacement}&=s(b)-s(a)=\int_a^b v(t)\dd{t}, \nl \text{distance traveled}&=\int_a^b\abs{v(t)}\dd{t}. \end{align*} \]

Intervals of positive and negative velocity contribute with opposite signs to displacement, and with the same sign to distance.