Tutorials › AP Calculus › The Second Fundamental Theorem of Calculus: Accumulation Functions
← All AP Calculus Tutorials
AP Calculus AB & BC Intermediate

The Second Fundamental Theorem of Calculus: Accumulation Functions

How an integral can define a new function—and how the Second Fundamental Theorem of Calculus lets you differentiate that accumulation function almost instantly.

What Is an Accumulation Function?

An accumulation function describes how much of some quantity has accumulated from a starting point up to a variable point. In calculus, we often represent that accumulated amount with a definite integral.

For example, suppose a particle moves with velocity . The amount of displacement accumulated from time to time is represented by an integral:

\[ \int_a^x f(t)\,dt \]

Notice something important: the upper limit is now a variable, \(x\). That means the integral itself defines a function of \(x\).

We can write that function as:

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

This is called an accumulation function. As \(x\) changes, the amount accumulated under the graph of \(f\) changes.

The Second Fundamental Theorem of Calculus

The Second Fundamental Theorem of Calculus gives us a remarkably simple way to differentiate an accumulation function.

\[ \boxed{F(x)=\int_a^x f(t)\,dt \quad\Longrightarrow\quad F'(x)=f(x)}

In words: if a function is defined as the integral of another function from a constant to \(x\), its derivative is simply the integrand evaluated at \(x\).

This is one of the most important connections in calculus. Integration accumulates change, while differentiation gives the instantaneous rate of that accumulation.

Why Does This Work?

Suppose

\[ F(x)=\int_a^x f(t)\,dt. \]

Imagine increasing \(x\) by a very small amount, \(\Delta x\). The additional area accumulated is approximately a rectangle whose:

So the change in the accumulated area is approximately:

\[ \Delta F\approx f(x)\Delta x. \]

Dividing by gives:

\[ \frac{\Delta F}{\Delta x}\approx f(x). \]

As , this approximation becomes exact:

\[ F'(x)=f(x). \]

So the Second Fundamental Theorem says something intuitive: the rate at which accumulated area is increasing is the height of the function currently being accumulated.

The Variable Is Usually Not the Same Letter

You will often see the accumulation function written as:

\[ F(x)=\int_a^x f(t)\,dt. \]

Why is the variable inside the integral written as \(t\) instead of \(x\)? Because \(t\) is only a dummy variable of integration.

The value of the integral depends on the upper limit \(x\), not on the name of the variable used inside the integral.

For example, all three expressions below represent the same function:

\[ \int_0^x f(t)\,dt = \int_0^x f(u)\,du = \int_0^x f(s)\,ds. \]

The variable \(t\), \(u\), or \(s\) is just a placeholder.

A Step-by-Step Method

  1. Look for an integral that has a variable upper limit. The basic pattern is .
  2. Identify the integrand. This is the function inside the integral, .
  3. Replace the integral with its derivative. By the Second Fundamental Theorem, .
  4. Evaluate the integrand at the variable upper limit. The result is the derivative of the accumulation function.

Worked Examples

Example 1: Basic Accumulation Function

Let

\[ F(x)=\int_0^x (t^2+3t)\,dt. \]

Find .

Step 1: Identify the integrand: .
Step 2: Apply the Second Fundamental Theorem: .
Result: .
Example 2: Trigonometric Integrand

Let

\[ G(x)=\int_2^x \sin(t)\,dt. \]

Find .

Step 1: The integrand is .
Step 2: Apply the theorem: .
Result: .
Example 3: Exponential Integrand

Suppose

\[ H(x)=\int_1^x e^{t^2}\,dt. \]

Find .

Step 1: The integrand is .
Step 2: The theorem tells us to evaluate the integrand at \(x\): .
Result: .

This is especially important on the AP exam because you do not need to find an antiderivative of .

Example 4: A Composition Requires the Chain Rule

Now consider an accumulation function whose upper limit is not simply \(x\):

\[ P(x)=\int_1^{x^2} \sqrt{1+t^4}\,dt. \]

Find .

Step 1: The upper limit is , not simply \(x\).
Step 2: First evaluate the integrand at the upper limit: .
Step 3: Multiply by the derivative of the upper limit: .
Result: .

This is an important extension of the theorem: when the upper limit is a function of \(x\), the chain rule must also be applied.

Example 5: A Variable Lower Limit

Suppose

\[ Q(x)=\int_x^4 \cos(t)\,dt. \]

Find .

Step 1: The variable appears in the lower limit rather than the upper limit.
Step 2: Reverse the limits: .
Step 3: Apply the Second Fundamental Theorem: .
Result: .

Accumulation Functions and Motion

Accumulation functions are especially useful in AP Calculus because they connect directly to particle motion.

If a particle has velocity , then its displacement from time to time is:

\[ \int_a^x v(t)\,dt. \]

Define

\[ S(x)=\int_a^x v(t)\,dt. \]

Then the Second Fundamental Theorem immediately tells us:

\[ S'(x)=v(x). \]

That makes sense physically: the derivative of accumulated displacement is velocity.

Likewise, if an accumulation function represents the total amount of water entering a tank, then its derivative represents the instantaneous rate at which water is entering the tank.

Reading an Accumulation Function from a Graph

AP Calculus questions frequently give you a graph of and define an accumulation function such as:

\[ F(x)=\int_a^x f(t)\,dt. \]

You can immediately conclude:

\[ F'(x)=f(x). \]

This gives several useful conclusions without ever evaluating the integral.

In other words, the graph of \(f\) tells you the slope of the graph of \(F\).

Using the Second Derivative

Once you know that

\[ F'(x)=f(x), \]

you can differentiate again:

\[ F''(x)=f'(x). \]

This lets you determine the concavity of the accumulation function by examining whether \(f\) is increasing or decreasing.

Common Mistakes

Trying to Find the Antiderivative

If the question asks for the derivative of an accumulation function, you usually do not need to integrate first. For example, the derivative of \(\int_0^x e^{-t^2}\,dt\) is simply \(e^{-x^2}\), even though \(e^{-x^2}\) does not have an elementary antiderivative.

Forgetting the Chain Rule

If the upper limit is something like \(x^2\), \(\sin x\), or \(3x-1\), you must multiply by the derivative of that upper limit. For example, \(\frac{d}{dx}\int_0^{x^2}f(t)\,dt=f(x^2)\cdot2x\).

Getting the Sign Wrong for a Variable Lower Limit

When the variable appears in the lower limit, the derivative has a negative sign. For example, \(\frac{d}{dx}\int_x^a f(t)\,dt=-f(x)\).

Confusing the Integrand with the Entire Integral

The theorem says that the derivative of the accumulation function is the integrand evaluated at the variable limit. You are not differentiating the entire integral symbol-by-symbol.

Practice Problems

Question 1

Let \[ F(x)=\int_2^x (t^3-4t)\,dt. \] Find \(F'(x)\).

Show answer
\[ F'(x)=x^3-4x. \]
Question 2

Let \[ G(x)=\int_0^x \cos(t^2)\,dt. \] Find \(G'(x)\).

Show answer
\[ G'(x)=\cos(x^2). \] No antiderivative is needed.
Question 3

Let \[ H(x)=\int_1^{3x+2}\frac{1}{1+t^2}\,dt. \] Find \(H'(x)\).

Show answer
Apply the Second Fundamental Theorem and the chain rule: \[ H'(x)=\frac{1}{1+(3x+2)^2}\cdot3 = \frac{3}{1+(3x+2)^2}. \]
Question 4

Let \[ P(x)=\int_x^5 \sqrt{t+1}\,dt. \] Find \(P'(x)\).

Show answer
Because \(x\) is the lower limit, \[ P'(x)=-\sqrt{x+1}. \]
Question 5

Let \[ A(x)=\int_0^{x^2}\left(t^4+1\right)\,dt. \] Find \(A'(x)\).

Show answer
Evaluate the integrand at \(x^2\), then multiply by the derivative of \(x^2\): \[ A'(x)=\left((x^2)^4+1\right)(2x) = 2x(x^8+1). \]
Question 6 (Graph Interpretation)

Suppose \[ F(x)=\int_1^x f(t)\,dt \] and the graph of \(f\) is below the \(x\)-axis on an interval. What can you conclude about \(F\) on that interval?

Show answer
Since \[ F'(x)=f(x), \] and \(f(x)<0\), we have \(F'(x)<0\). Therefore, \(F\) is decreasing on that interval.

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