Tutorials › AP Calculus › Deriving the Accumulation Function’s Derivative

Fundamental Theorem and Accumulation · Tutorial 452 of 999

Deriving the Accumulation Function's Derivative

Use the difference quotient to show why the derivative of a fixed-base accumulation function equals the integrand at points where the integrand is continuous.

Intermediate 9 min read

What You'll Learn

  • Write the difference quotient for a fixed-base accumulation function.
  • Express its change over a short interval as an average value of the integrand.
  • Show why continuity makes that average approach the integrand’s value.
  • Handle positive and negative increments correctly.
  • Apply the result to polynomial, trigonometric, and absolute-value integrands.
  • Recognize the mistake of treating a small accumulated change as a small derivative.

From Accumulated Change to Instantaneous Rate

An accumulation function records the net change contributed by an integrand from a fixed starting point up to a variable endpoint. Its derivative describes how quickly that accumulated quantity changes as the endpoint moves.

The connection is intuitive: when the endpoint moves a short distance, the extra accumulated amount is the integral over that short interval. Dividing that amount by the interval’s length gives an average value of the integrand. If the integrand is continuous, its values over a sufficiently short interval are close to its value at the endpoint. The average therefore approaches that endpoint value.

This reasoning gives a precise way to derive the derivative, rather than merely assert it.

Accumulation Functions and Their Difference Quotients

Let \(f\) be continuous on an interval, and choose a fixed base point \(a\) in that interval. Define the accumulation function \(F\) by integrating \(f\) from \(a\) to the variable endpoint \(x\).

$$ F(x)=\int_a^x f(t)\,dt $$

The variable \(t\) is a dummy variable of integration: it identifies the input of \(f\) inside the integral. The output \(F(x)\) depends on the endpoint \(x\).

To find \(F'(x)\), start with the definition of the derivative. For a nonzero increment \(h\), the difference quotient is the change in \(F\), divided by the change in its input:

$$ \frac{F(x+h)-F(x)}{h}. $$

By the definition of \(F\), the difference in accumulated values is the integral over the interval between the two endpoints. Additivity of definite integrals gives

$$ F(x+h)-F(x) = \int_a^{x+h} f(t)\,dt-\int_a^x f(t)\,dt = \int_x^{x+h} f(t)\,dt. $$

Thus the difference quotient can be written as

$$ \frac{F(x+h)-F(x)}{h} = \frac{1}{h}\int_x^{x+h} f(t)\,dt. $$

This is the central expression. It is the average value of \(f\) over the short interval from \(x\) to \(x+h\). The signed integral and the signed interval length work together: if \(h\) is negative, both the orientation of the integral and the denominator reverse.

Definition: For \(h\ne 0\), the average value of \(f\) over the interval from \(x\) to \(x+h\) is \(\displaystyle \frac{1}{h}\int_x^{x+h} f(t)\,dt\). This formula applies whether \(h\) is positive or negative.

Why the Average Approaches the Endpoint Value

Assume \(f\) is continuous at \(x\). Continuity means that, given any \(\varepsilon>0\), there is a \(\delta>0\) such that \(f(t)\) differs from \(f(x)\) by less than \(\varepsilon\) whenever \(t\) is within \(\delta\) of \(x\).

When \(0<h<\delta\), every \(t\) in the interval from \(x\) to \(x+h\) satisfies that condition. Therefore, throughout this interval, \(f(t)\) lies between \(f(x)-\varepsilon\) and \(f(x)+\varepsilon\). Integrating these inequalities and dividing by the positive interval length \(h\) shows that the average value also lies between those bounds.

For a negative increment with \(-\delta<h<0\), reverse the orientation of the integral and the sign of the denominator together. The quotient becomes the average over the ordinary interval from \(x+h\) to \(x\), whose length is \(-h>0\). Every point in that interval is still within \(\delta\) of \(x\), so the same bounds apply.

In both cases, the difference between the average and \(f(x)\) is less than \(\varepsilon\) for sufficiently small nonzero \(h\). Since this is true for every \(\varepsilon>0\), the average approaches \(f(x)\) as \(h\) approaches zero.

$$ \lim_{h\to 0}\frac{1}{h}\int_x^{x+h}f(t)\,dt=f(x). $$

But the expression on the left is exactly the difference quotient for \(F\). Taking its limit proves the derivative formula.

Theorem: If \(f\) is continuous at an interior point \(x\) of its domain, and \(F(x)=\int_a^x f(t)\,dt\) for a fixed base point \(a\), then \(F\) is differentiable at \(x\) and \(\displaystyle F'(x)=f(x)\).

Worked Examples

Worked Example: A Polynomial Integrand

Let \(\displaystyle F(x)=\int_{-1}^{x}(t^2+1)\,dt\). Find \(F'(2)\) directly from the difference quotient.

At \(x=2\), the difference quotient is

$$ \frac{F(2+h)-F(2)}{h} = \frac{1}{h}\int_2^{2+h}(t^2+1)\,dt. $$

Evaluate the integral using the antiderivative \(\frac{t^3}{3}+t\):

$$ \begin{aligned} \frac{F(2+h)-F(2)}{h} &= \frac{1}{h} \left[ \frac{(2+h)^3}{3}+(2+h)-\frac{2^3}{3}-2 \right]\\ &= \frac{1}{h} \left[ \frac{8+12h+6h^2+h^3}{3}+2+h-\frac{8}{3}-2 \right]\\ &= \frac{1}{h} \left[ 4h+2h^2+\frac{h^3}{3}+h \right]\\ &= 5+2h+\frac{h^2}{3}. \end{aligned} $$

Taking the limit as \(h\to 0\) gives \(F'(2)=5\). The integrand’s value at the endpoint is \(2^2+1=5\), which checks the result.

Worked Example: A Trigonometric Integrand

Let \(\displaystyle G(x)=\int_0^x \cos t\,dt\). Find \(G'\!\left(\frac{\pi}{3}\right)\) using the average-value form of the difference quotient.

For a nonzero increment \(h\), the quotient at \(x=\frac{\pi}{3}\) is

$$ \frac{G\left(\frac{\pi}{3}+h\right)-G\left(\frac{\pi}{3}\right)}{h} = \frac{1}{h}\int_{\pi/3}^{\pi/3+h}\cos t\,dt. $$

The function \(\cos t\) is continuous at \(\frac{\pi}{3}\). Therefore, as \(h\to 0\), its average value over this shrinking interval approaches its value at that point. Compute that value:

$$ \cos\left(\frac{\pi}{3}\right)=\frac{1}{2}. $$

Hence \(G'\!\left(\frac{\pi}{3}\right)=\frac{1}{2}\). The result checks against the integrand evaluated at the endpoint.

Worked Example: An Absolute-Value Integrand at Zero

Let \(\displaystyle H(x)=\int_0^x |t|\,dt\). Find \(H'(0)\) by checking increments from both sides.

When \(h>0\), \(|t|=t\) on the interval from \(0\) to \(h\). Thus

$$ \frac{H(h)-H(0)}{h} = \frac{1}{h}\int_0^h t\,dt = \frac{1}{h}\left[\frac{t^2}{2}\right]_0^h = \frac{h}{2}. $$

As positive \(h\) approaches zero, this quotient approaches \(0\).

When \(h<0\), \(|t|=-t\) on the interval from \(h\) to \(0\). Keeping the integral’s orientation from \(0\) to \(h\) gives

$$ \begin{aligned} \frac{H(h)-H(0)}{h} &= \frac{1}{h}\int_0^h (-t)\,dt\\ &= \frac{1}{h}\left[-\frac{t^2}{2}\right]_0^h\\ &= -\frac{h}{2}. \end{aligned} $$

As negative \(h\) approaches zero, this quotient also approaches \(0\). The two-sided derivative is therefore \(H'(0)=0\), matching the continuous integrand value \(|0|=0\).

A Common Mistake: Confusing Change with Rate

A frequent error is to observe that the accumulated change over a short interval approaches zero and conclude that the derivative is zero. The derivative is not the change alone; it is the change divided by the input increment.

For example, let \(\displaystyle J(x)=\int_0^x (t+1)\,dt\), and examine the derivative at \(x=0\). The added accumulation over an increment \(h\) is

$$ J(h)-J(0) = \int_0^h (t+1)\,dt = \frac{h^2}{2}+h. $$

This change approaches zero as \(h\to 0\). But the difference quotient is

$$ \frac{J(h)-J(0)}{h} = \frac{h^2/2+h}{h} = \frac{h}{2}+1, $$

which approaches \(1\), not \(0\). The integrand’s value at the endpoint is \(0+1=1\), confirming the correct derivative. Always divide the accumulated change by the endpoint change before taking the limit.

When the Result Applies

Continuity of \(f\) at \(x\) is the condition that makes the average-value argument work: near \(x\), all integrand values are close to \(f(x)\). The theorem therefore guarantees the derivative at every interior point where the integrand is continuous.

The condition is sufficient, not a claim that every discontinuity prevents differentiability. The result established here is specifically that continuity at the point guarantees the derivative formula. At an endpoint of the domain, the available limit may be one-sided; the two-sided derivative statement above concerns interior points.

The key reasoning can be kept in three linked steps:

1
Find the accumulated change.
The change from \(F(x)\) to \(F(x+h)\) is \(\int_x^{x+h}f(t)\,dt\).
2
Form the rate of change.
Divide that integral by \(h\), obtaining the average value of \(f\) on the short interval.
3
Use continuity.
As the interval shrinks to \(x\), its average integrand value approaches \(f(x)\).

Check Your Understanding

Use the difference quotient and the average-value idea to answer these questions.

  1. For \(F(x)=\int_2^x (3t-1)\,dt\), write the difference quotient at a general point \(x\) in the form of an average value.
  2. Why does continuity of \(f\) at \(x\) imply that the average of \(f\) over the interval from \(x\) to \(x+h\) approaches \(f(x)\)?
  3. For \(G(x)=\int_0^x \sin t\,dt\), what does the theorem give for \(G'\!\left(\frac{\pi}{2}\right)\)?
  4. When \(h<0\), why does \(\frac{1}{h}\int_x^{x+h}f(t)\,dt\) still represent the average value over the interval?
  5. What is wrong with concluding that a derivative is zero merely because the accumulated change approaches zero?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon