AP Calculus AB · Topic 6.4 · Reading guide, about 4 min

Functions defined by an integral and their derivatives

Accumulation functions, the Fundamental Theorem of Calculus part one, and the chain rule for a variable upper limit.

In one minute

If you let the upper limit of an integral be a variable, the integral becomes a function: g(x)=∫axf(t) dtg(x)=\int_a^x f(t)\,dt. It records how much has accumulated from aa up to xx.

The first part of the Fundamental Theorem of Calculus says the derivative of this accumulation function is just the original function. That one fact connects slope and area, which were separate ideas until now.

Key terms

Accumulation function
A function g(x)=∫axf(t) dtg(x)=\int_a^x f(t)\,dt whose output is the accumulated signed area of ff from the fixed number aa to the variable xx.
Fundamental Theorem, part one
When ff is continuous around aa and xx, then g(x)=∫axf(t) dtg(x)=\int_a^x f(t)\,dt has derivative g′(x)=f(x)g'(x)=f(x).
Dummy variable tt
The letter inside the integral. It is used up by the integral so that xx can be the variable of the function.
Variable upper limit
An upper bound that depends on xx, such as x2x^2. It forces the chain rule when you differentiate.
Chain rule version
If h(x)=∫au(x)f(t) dth(x)=\int_a^{u(x)} f(t)\,dt, then h′(x)=f(u(x))⋅u′(x)h'(x)=f(u(x))\cdot u'(x).
Starting value
g(a)=∫aaf(t) dt=0g(a)=\int_a^a f(t)\,dt=0, because there is no width. The accumulation function starts at 0 at its lower limit.
Continuity requirement
The theorem needs ff continuous. This guarantees that the area function is differentiable and that g′=fg'=f.

An integral with a moving end

Take a rate ff in units per second and define g(x)=∫0xf(t) dtg(x)=\int_0^x f(t)\,dt. For each value of xx, you get one number, the net change over the first xx seconds. So gg is a function of xx, and its graph is a picture of how the total builds up. Because the letter tt is a dummy variable, changing it to ss would change nothing.

Two quick facts follow right away. First, g(a)=0g(a)=0, where aa is the lower limit. Second, if you want gg at some particular number, you compute a signed area, which can be done by geometry, or by a graphing calculator when the graph or formula is complicated.

The Fundamental Theorem, part one

How fast does the accumulated area grow when xx increases by a tiny amount Δx\Delta x? The area added is about the height f(x)f(x) times the width Δx\Delta x. So the rate of growth of the area per unit of xx is f(x)f(x). That is exactly the statement g′(x)=f(x)g'(x)=f(x).

Notice what this says: the derivative of an integral gives back the integrand. You can differentiate ∫axf(t) dt\int_a^x f(t)\,dt without computing the integral at all. The answer is f(x)f(x), with xx replacing tt. The lower limit does not appear in the derivative, because changing aa shifts gg by a constant.

If the upper limit is a function u(x)u(x), the area depends on xx through uu, so the chain rule is needed: replace tt by u(x)u(x) and multiply by u′(x)u'(x). If the variable sits in the lower limit, flip the bounds first, which introduces a minus sign: ddx∫x5f(t) dt=−f(x)\frac{d}{dx}\int_x^5 f(t)\,dt=-f(x).

Differentiating integrals with variable limits
ExpressionDerivativeReason
∫axf(t) dt\int_a^x f(t)\,dtf(x)f(x)Part one directly
∫au(x)f(t) dt\int_a^{u(x)} f(t)\,dtf(u(x)) u′(x)f(u(x))\,u'(x)Chain rule with inner function uu
∫xbf(t) dt\int_x^b f(t)\,dt−f(x)-f(x)Reverse bounds, which flips the sign

A fully worked example

Let F(x)=∫3x2(t3−2)dtF(x)=\int_{3}^{x^2}\left(t^3-2\right)dt. Find F′(x)F'(x), then F′(2)F'(2), and find F(3)F(\sqrt{3}).

Step 1. The integrand t3−2t^3-2 is continuous everywhere, so the theorem applies. The upper limit is u(x)=x2u(x)=x^2, so u′(x)=2xu'(x)=2x.

Step 2. Replace tt by x2x^2 in the integrand: (x2)3−2=x6−2(x^2)^3-2=x^6-2. Multiply by u′(x)u'(x): F′(x)=(x6−2)(2x)=2x7−4xF'(x)=(x^6-2)(2x)=2x^7-4x.

Step 3. At x=2x=2: x6=64x^6=64, so (64−2)(4)=62⋅4=248(64-2)(4)=62\cdot 4=248. Equivalently 2(128)−4(2)=256−8=2482(128)-4(2)=256-8=248. Both agree, so F′(2)=248F'(2)=248.

Step 4. The accumulation starts where the upper limit equals the lower limit, which is x2=3x^2=3, that is x=3x=\sqrt{3} (or −3-\sqrt{3}). So F(3)=∫33(t3−2) dt=0F(\sqrt{3})=\int_3^3(t^3-2)\,dt=0.

Step 5, a quick use. The tangent line to FF at x=3x=\sqrt{3} has slope F′(3)=((3)6−2)⋅23F'(\sqrt{3})=\left((\sqrt{3})^6-2\right)\cdot 2\sqrt{3}. Since (3)6=27(\sqrt{3})^6=27, the slope is 25⋅23=50325\cdot 2\sqrt{3}=50\sqrt{3}, and the tangent line is y=503 (x−3)y=50\sqrt{3}\,(x-\sqrt{3}). Notice we never found an antiderivative or a formula for FF.

How it connects

  • Back to 6.3: the definite integral is a number, and putting a variable on its upper limit turns it into a function.
  • Back to 3.1: the chain rule from differentiating nested functions is exactly what handles an upper limit such as x2x^2.
  • Forward to 6.5: reading a graph of ff, you can describe where gg increases, decreases, and has extrema, because g′=fg'=f.
  • Forward to 6.7: the second part of the theorem uses the same link to evaluate definite integrals by antiderivatives.

Common mistakes

  • Forgetting the chain rule factor. With an upper limit x2x^2, the answer is f(x2)⋅2xf(x^2)\cdot 2x, not just f(x2)f(x^2).
  • Substituting the lower limit into the derivative. The lower limit does not appear in g′(x)g'(x).
  • Missing the minus sign when the variable is the lower limit. Reverse the bounds first.
  • Integrating first when not needed. The theorem gives the derivative directly.

How it shows up on the exam

  • A function defined as an integral of a given graph or formula, with a request for g′(x)g'(x) at a point or for gg at a value.
  • A question with a variable upper limit that tests the chain rule version.
  • A table or graph of ff in which you find g′g', then use it to write a tangent line or to compare values.

Check yourself

  1. Why is g(a)=0g(a)=0 for g(x)=∫axf(t) dtg(x)=\int_a^x f(t)\,dt?
  2. What does g′(x)=f(x)g'(x)=f(x) say in words about area and slope?
  3. How do you differentiate ∫1sin⁡xet dt\int_1^{\sin x} e^{t}\,dt, and which rule does it use?
  4. What goes wrong with the theorem if ff has a jump at the point where you differentiate?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.