---
title: "The Fundamental Theorem of Calculus and Accumulation Functions | FiveStudy"
description: "Differentiating an integral hands the integrand back — as long as you respect the upper limit."
url: https://fivestudy.com/guides/ap-calculus-bc-6-4-the-fundamental-theorem-of-calculus-and-accumulation-functions
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# The Fundamental Theorem of Calculus and Accumulation Functions

[Figure: FiveStudy]

FiveStudy

AP® Calculus BC · Unit 6 · Integration and Accumulation of Change

AP® Calculus BC · Unit 6 · Integration and Accumulation of Change

# Accumulation Functions and the *Fundamental Theorem*

An integral with a variable upper limit is a function of that limit. The Fundamental Theorem of Calculus says its derivative is the original function. This guide shows the theorem, the chain-rule versions, and how to work with accumulation functions given by graphs.

1. Accumulation functions 2. The theorem 3. Chain-rule versions 4. From a graph

The idea in one paragraph

If \(f\) is continuous, the function \(g(x) = \displaystyle\int_a^x f(t)\,dt\) measures the signed area under \(f\) from \(a\) to \(x\). The **Fundamental Theorem of Calculus** says \(g'(x) = f(x)\): the rate at which the area grows is the height of the graph at the moving edge. With a function \(h(x)\) as the upper limit, the chain rule adds a factor: \(\dfrac{d}{dx}\displaystyle\int_a^{h(x)} f(t)\,dt = f(h(x))\,h'(x)\).

## 1 Accumulation functions

**Figure 1.** g(x) adds up the signed area under f from 0 to x. At x = 3 the green area (+½) and the red area (−2) give g(3) = −1.5. Wherever f is above the axis, g is climbing; where f is below, g is falling.

The variable \(t\) inside the integral is a placeholder that runs from \(a\) to \(x\); the answer depends only on \(x\). Two facts follow straight from the picture: \(g(a) = 0\) (no width, no area), and moving \(x\) right adds area at the rate \(f(x)\).

## 2 The theorem

\[ \frac{d}{dx}\int_a^x f(t)\,dt = f(x) \quad\text{(f continuous)} \]

Worked Example 1 The basic form

### \(g(x) = \displaystyle\int_0^x (t^2 + 1)\,dt\)

1. 1

   The integrand \(t^2 + 1\) is continuous, so by the Fundamental Theorem of Calculus \(g'(x)\) is the integrand evaluated at the upper limit.

**Answer:** \(g'(x) = x^2 + 1\)

Write it like this

“The integrand is continuous, so by the Fundamental Theorem of Calculus the accumulation function is differentiable and \(g'(x) = x^2 + 1\).”

## 3 Chain-rule versions

Worked Example 2 Upper limit is a function

### \(\dfrac{d}{dx}\displaystyle\int_1^{x^3}\cos t\,dt\)

1. 1

   Think of it as \(F(u) = \displaystyle\int_1^{u}\cos t\,dt\) with \(u = x^3\). Then \(F'(u) = \cos u\).

2. 2

   Chain rule: multiply by \(\dfrac{du}{dx} = 3x^2\).

**Answer:** \(\cos\left(x^3\right)\cdot 3x^2\)

Worked Example 3 Variable in the lower limit

### \(\dfrac{d}{dx}\displaystyle\int_x^5 e^{t^2}\,dt\)

1. 1

   Reverse the limits to put the variable on top: \(\displaystyle\int_x^5 e^{t^2}\,dt = -\int_5^x e^{t^2}\,dt\).

2. 2

   Then differentiate: \(-e^{x^2}\).

**Answer:** \(-e^{x^2}\). (This integrand has no simple antiderivative, but the derivative is still easy.)

Worked Example 4 Both limits change

### \(\dfrac{d}{dx}\displaystyle\int_{2x}^{x^2}\sqrt{1 + t^3}\,dt\)

1. 1

   Split at any constant, say 0: \(\displaystyle\int_0^{x^2} - \int_0^{2x}\).

2. 2

   Each piece by the chain rule: \(\sqrt{1 + x^6}\cdot 2x - \sqrt{1 + 8x^3}\cdot 2\).

**Answer:** \(2x\sqrt{1 + x^6} - 2\sqrt{1 + 8x^3}\)

Common Mistake 1 · Forgetting the chain-rule factor

\(\dfrac{d}{dx}\displaystyle\int_1^{x^3}\cos t\,dt\) is not \(\cos(x^3)\). The upper limit is \(x^3\), not \(x\), so multiply by its derivative, \(3x^2\).

Common Mistake 2 · Ignoring a variable lower limit

When \(x\) is in the lower limit, flip the limits and change the sign first. The derivative of \(\displaystyle\int_x^5\) is \(-f(x)\), not \(f(x)\).

## 4 From a graph

Worked Example 5 From a graph

### \(g(x) = \displaystyle\int_0^x f(t)\,dt\) with \(f\) in Figure 1

Find \(g(1)\), \(g(3)\), \(g(-1)\), \(g'(3)\) and \(g''(0)\).

1. 1

   \(g(1)\): the triangle from 0 to 1 above the axis, height 1: \(\frac12\).

2. 2

   \(g(3)\): add the triangle from 1 to 3 below the axis, area 2: \(\frac12 - 2 = -\frac32\).

3. 3

   \(g(-1) = \displaystyle\int_0^{-1} f = -\int_{-1}^{0} f\). The region from \(-1\) to 0 is a trapezoid with heights 2 and 1: area 1.5. So \(g(-1) = -1.5\).

4. 4

   \(g'(3) = f(3) = -2\). And \(g''(0) = f'(0)\), the slope of the segment through 0, which is \(-1\).

**Answer:** \(g(1) = 0.5\), \(g(3) = -1.5\), \(g(-1) = -1.5\), \(g'(3) = -2\), \(g''(0) = -1\).

Common Mistake 3 · Taking g(−1) as a positive area

\(\displaystyle\int_0^{-1} f\) runs backward, from 0 down to \(-1\), so it is the negative of the area from \(-1\) to 0, even though that region sits above the axis.

### Quick reference

| Expression | Derivative |
| --- | --- |
| \(\int_a^x f(t)\,dt\) | \(f(x)\) |
| \(\int_a^{h(x)} f(t)\,dt\) | \(f(h(x))\,h'(x)\) |
| \(\int_x^b f(t)\,dt\) | \(-f(x)\) |
| \(\int_{k(x)}^{h(x)} f(t)\,dt\) | \(f(h(x))\,h'(x) - f(k(x))\,k'(x)\) |
| \(g(a)\) for \(g(x) = \int_a^x f\) | 0 |

FiveStudy AP® Calculus BC · Accumulation functions and the fundamental theorem
