Skip to content
Marlbridge

AP® Calculus AB · Unit 6 · Topic 6.4

The Fundamental Theorem of Calculus and Accumulation Functions: Study Guide (Calculus AB 6.4)

Learn how a definite integral with a variable upper limit defines a new function, why its derivative is the integrand, and how to apply this with the chain rule.

Course scope. This topic is shared by Calculus AB and Calculus BC. Everything here is examinable for both.

A note on notation

This page has no equation renderer, so integrals are written in a compact form: ∫ (a to x) f(t) dt means the definite integral of f(t) from t = a to t = x. On paper, write a at the bottom of the integral sign and x at the top. d/dx means “the derivative with respect to x of”.

An integral that makes a new function

In Topic 6.3, ∫ (a to b) f(x) dx was one number: the limit of Riemann sums on a fixed interval. Now fix the left end a but let the right end move. Each position x of the right end gives its own signed area, so the area becomes a function of x:

g(x) = ∫ (a to x) f(t) dt

This is an accumulation function. Read it as “the signed area under f from a up to x”. In context it is the net change accumulated from time a up to time x.

Three things to notice:

  • The input is the upper limit. g takes a number x and returns an area.
  • The letter t is a dummy variable. It labels the horizontal axis while the area is being collected. ∫ (a to x) f(t) dt and ∫ (a to x) f(s) ds are the same function of x. Do not use x inside, because x already means the right end.
  • g(a) = 0. An interval from a to a has no width, so no area.

Two quick examples with geometry.

  • f(t) = 2 and a = 0. The region from 0 to x (for x > 0) is a rectangle 2 high and x wide. So ∫ (0 to x) 2 dt = 2x. The derivative of 2x is 2, which is f(x).
  • f(t) = t and a = 0. For x > 0 the region is a triangle with base x and height x. So ∫ (0 to x) t dt = x²/2. The derivative of x²/2 is x, which is f(x).

In both cases, differentiating the area function gave back the function you were adding up. That is not a coincidence.

Why this matters. Some functions are best defined by an integral. For example, for x > 0 the natural logarithm can be defined as ln x = ∫ (1 to x) (1/t) dt. Other integrands, such as sin(t²), have no antiderivative that can be written with familiar functions, yet ∫ (0 to x) sin(t²) dt is a perfectly good function. The theorem below lets you work with such functions anyway.

The Fundamental Theorem of Calculus (accumulation form)

Theorem. If f is continuous on an interval that contains a, then for every x in that interval d/dx ∫ (a to x) f(t) dt = f(x).

In words: the rate at which area accumulates equals the height of the curve at the moving edge.

The theorem links the two halves of the course. Differentiation measures rate of change; integration measures accumulation. The theorem says that differentiating an accumulation gives back the rate that was accumulated.

Why it is true

Why the derivative of an accumulation function is the integrand The graph of a positive, continuous function y = f(t) is drawn against a horizontal t-axis. The region under the curve from t = a to t = x is shaded with diagonal hatching and labelled g(x), the accumulated area. Immediately to its right, a thin strip from t = x to t = x + h is shaded with dots. The strip is almost a rectangle whose height is f(x) and whose width is h, so its area is about f(x) times h. A label points to the height f(x) at the left edge of the strip. ty y = f(t) height f(x) area = g(x) axx + h strip: width h, area ≈ f(x) · h
Figure 1. g(x) is the hatched area from a to x. Moving the right edge from x to x + h adds the dotted strip, so g(x + h) − g(x) is the strip's area, about f(x) · h. Dividing by h and letting h → 0 gives g′(x) = f(x). Axes are unitless.

Let g(x) = ∫ (a to x) f(t) dt and take a small h > 0.

  1. g(x + h) is the area from a to x + h. g(x) is the area from a to x. Their difference is the area of the thin strip from x to x + h.
  2. Because f is continuous, the height of the curve hardly changes across the strip. Its height is close to f(x), so the strip is close to a rectangle: g(x + h) − g(x) ≈ f(x) · h.
  3. Divide by h: (g(x + h) − g(x))/h ≈ f(x). As h → 0 the strip gets thinner, the approximation gets better, and the left side becomes the derivative g′(x).

So g′(x) = f(x). (A similar strip works for h < 0.)

A numerical check: take f(t) = t² + 1 and a = 1, and look at x = 1. With h = 0.1, 0.01 and 0.001, the ratio (g(1 + h) − g(1))/h is about 2.103, 2.010 and 2.001. These approach f(1) = 2.

Continuity matters. The step “the height hardly changes across the strip” needs f to be continuous at x. If f jumps at x, the strip’s average height on the left and on the right can be different, and g may have a corner there.

A consequence. Every function f that is continuous on an interval has an antiderivative there: the function g(x) = ∫ (a to x) f(t) dt. Changing a only adds a constant to g (the area between the two starting points), so it never changes g′.

Variations you must recognise

Integral Derivative with respect to x Reason
∫ (a to x) f(t) dt f(x) The theorem
∫ (x to b) f(t) dt −f(x) Swapping the limits changes the sign: ∫ (x to b) = −∫ (b to x)
∫ (a to u(x)) f(t) dt f(u(x)) · u′(x) Chain rule: the accumulation function evaluated at u(x)
∫ (u(x) to b) f(t) dt −f(u(x)) · u′(x) Both rules together

Why the chain rule appears. If g(x) = ∫ (a to x) f(t) dt, then ∫ (a to u(x)) f(t) dt is the composite g(u(x)). Its derivative is g′(u(x)) · u′(x) = f(u(x)) · u′(x). Substitute the upper limit into f, then multiply by the derivative of the upper limit.

Worked example 1: an accumulation function from a graph

Graph of f for Worked example 1, with signed areas The graph of f on 0 ≤ t ≤ 6 is made of three line segments. It is horizontal at height 2 from (0, 2) to (2, 2), then falls in a straight line through (3, 0) to (4, −2), then rises in a straight line to (6, 0). Regions above the t-axis are hatched: a rectangle of area 4 from t = 0 to 2 and a triangle of area 1 from t = 2 to 3. Regions below the axis are dotted: a triangle of area 1 from t = 3 to 4 and a triangle of area 2 from t = 4 to 6. Each region is labelled with its signed area: +4, +1, −1 and −2. ty 123456 −2−112 +4+1−1−2 y = f(t)
Figure 2. The graph of f in Worked example 1. Hatched regions lie above the t-axis and count as positive; dotted regions lie below and count as negative. The labels give each region's signed area.

Question. The function f on 0 ≤ t ≤ 6 is shown in Figure 2. Let g(x) = ∫ (0 to x) f(t) dt.

(a) Find g(0), g(2), g(3), g(4) and g(6). (b) Find g′(1), g′(3) and g′(5). (c) Let h(x) = ∫ (2 to x) f(t) dt. Find h(0) and h(6), and explain why h′(x) = g′(x).

(a) Add signed areas from 0 up to x.

  • g(0) = 0, because the interval has no width.
  • g(2) = area of the rectangle from 0 to 2 = 2 × 2 = 4.
  • g(3) = 4 + (triangle from 2 to 3, base 1, height 2) = 4 + 1 = 5.
  • g(4) = 5 − 1 = 4, because the triangle from 3 to 4 lies below the axis.
  • g(6) = 4 − (triangle from 4 to 6, base 2, height 2) = 4 − 2 = 2.

(b) f is continuous on [0, 6], so g′(x) = f(x). Read heights from the graph:

  • g′(1) = f(1) = 2
  • g′(3) = f(3) = 0
  • g′(5) = f(5) = −1, since f(t) = t − 6 on [4, 6]

Notice that g′(2) = f(2) = 2 exists even though the graph of f has a corner at t = 2. The theorem needs f to be continuous, not smooth.

(c) h starts collecting area at 2 instead of 0.

  • h(0) = ∫ (2 to 0) f(t) dt = −∫ (0 to 2) f(t) dt = −4. Going from right to left reverses the sign.
  • h(6) = ∫ (2 to 6) f(t) dt = 1 − 1 − 2 = −2.

In fact h(x) = g(x) − 4 for every x, since g includes the extra 4 units of area from 0 to 2. A constant difference does not affect the derivative, so h′(x) = g′(x) = f(x).

Worked example 2: derivatives of functions defined by integrals

Question. Find each derivative.

(a) d/dx ∫ (2 to x) cos(t³) dt (b) d/dx ∫ (x to 5) √(1 + t⁴) dt (c) d/dx ∫ (0 to x³) 1/(1 + t²) dt, and its value at x = 1

(a) The lower limit is a constant and the upper limit is x. cos(t³) is continuous, so the theorem applies directly: cos(x³). Do not try to find an antiderivative first.

(b) The variable is in the lower limit. Swap the limits: ∫ (x to 5) √(1 + t⁴) dt = −∫ (5 to x) √(1 + t⁴) dt. The derivative is −√(1 + x⁴).

(c) The upper limit is u(x) = x³, with u′(x) = 3x². Substitute u into the integrand and multiply by u′:

d/dx ∫ (0 to x³) 1/(1 + t²) dt = 1/(1 + (x³)²) · 3x² = 3x²/(1 + x⁶)

At x = 1: 3/(1 + 1) = 3/2.

Check. In each answer the variable t has gone and only x remains. A derivative of a function of x must be a function of x.

Worked example 3: a tangent line to a function with no simple formula

Question. Let F(x) = ∫ (2 to x) √(t² + 5) dt. Find the equation of the tangent line to the graph of F at x = 2, and use it to estimate F(2.1).

  1. Point. F(2) = ∫ (2 to 2) √(t² + 5) dt = 0. The point is (2, 0).
  2. Slope. √(t² + 5) is continuous everywhere, so F′(x) = √(x² + 5). Then F′(2) = √9 = 3.
  3. Tangent line. y − 0 = 3(x − 2), so y = 3(x − 2).
  4. Estimate. F(2.1) ≈ 3(0.1) = 0.3.

Interpretation. The strip from 2 to 2.1 is 0.1 wide and about 3 high, so its area is about 0.3. That is exactly what the tangent line computes. (The true value is about 0.3034. The estimate is slightly low because F″(x) = x/√(x² + 5) > 0 near x = 2, so F is concave up there.)

Common misconceptions

  • “g′(x) = f′(x).” The theorem gives back f itself, not its derivative. Differentiating the integrand is a different calculation.
  • “g(a) is f(a).” g(a) = 0 always, whatever f(a) is.
  • Forgetting the chain rule. d/dx ∫ (0 to x³) f(t) dt is f(x³) · 3x², not just f(x³).
  • Forgetting the minus sign when x is the lower limit.
  • Substituting x into the integrand and subtracting: writing f(x) − f(a) as the derivative. The constant lower limit contributes nothing to the derivative.
  • Using x as the variable inside. ∫ (0 to x) f(x) dx mixes the edge of the region with the variable along the axis. Use t.
  • Adding areas without signs. Area below the axis counts as negative in g. Going from right to left (x < a) also reverses the sign.
  • Ignoring the condition. The theorem needs f to be continuous on an interval containing a and x. Corners in f are fine; jumps are not.

Where this leads

You can now build a function from an integral and differentiate it. In Topic 6.5, Interpreting the Behavior of Accumulation Functions Involving Area, you will use g′ = f and g″ = f′ to find where g increases, decreases, has extrema and changes concavity, straight from a graph of f. In Topic 6.7 you will meet the other form of the theorem, which uses an antiderivative to evaluate a definite integral exactly. The limit-of-sums ideas from Topic 6.3 are what make “area” precise here. Students in either course can return to the Calculus AB roadmap or the Calculus BC roadmap.

Try the practice questions now, then use the revision notes and the checklist to consolidate.

Quick questions

Is this page for Calculus AB or Calculus BC?

Both. Topic 6.4 is common content, so the same page serves AB and BC students.

Why is the variable inside the integral t and not x?

x is already used as the upper limit, the input of the new function. The variable inside only labels the horizontal axis while the area is collected, so it needs a different letter. Any letter other than x works.

Is this the same as evaluating an integral with an antiderivative?

No. This topic is about the derivative of an accumulation function. Using an antiderivative to evaluate ∫ (a to b) f(x) dx is the other form of the theorem, in Topic 6.7.

AP® and Advanced Placement® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website. Marlbridge is an independent tuition provider. It is not an authorized AP course provider, an AP school or an exam centre, and these resources are not official College Board materials. Reading them or doing simulations does not meet the laboratory requirement of an AP science course.