AP Calculus AB and BC

Accumulation Functions: Derivatives and Graph Behavior

An accumulation function g(x) is the integral of f(t) from a fixed number a to x. Its value is the net signed area under f from a to x. Its derivative is the integrand: g'(x) = f(x) when f is continuous. So g increases where f is positive, has extrema where f changes sign, and is concave up where f is increasing.

A function defined by an integral

An accumulation function has the variable in a limit of integration:

g(x)=∫axf(t) dtg(x) = \int_a^x f(t)\,dt

The lower limit aa is a fixed number, and the input xx is the upper limit. For each xx, the output is the net signed area between the graph of ff and the horizontal axis from aa to xx. As xx moves, the area collected so far changes, and gg keeps the running total. The letter tt is a placeholder for the variable of integration; it is used so that xx can serve as the limit.

Two values come straight from the definition. First, g(a)=∫aaf(t) dt=0g(a) = \int_a^a f(t)\,dt = 0, because no area has accumulated yet. Second, for an input to the left of aa the limits run backward, so g(x)=−∫xaf(t) dtg(x) = -\int_x^a f(t)\,dt when x<ax < a.

The derivative is the integrand

The Fundamental Theorem of Calculus says that if ff is continuous on an interval containing aa, then gg is differentiable there and its derivative is the integrand evaluated at xx. This is CED Topic 6.4, The Fundamental Theorem of Calculus and Accumulation Functions.

ddx[∫axf(t) dt]=f(x)\frac{d}{dx}\left[\int_a^x f(t)\,dt\right] = f(x)

The rate at which area accumulates equals the current height of the graph. When ff is tall, a small step to the right adds a lot of area; when ff is negative, the step subtracts. The lower limit aa does not appear in the derivative. Changing aa changes gg by a constant, and constants disappear when you differentiate.

When the upper limit is a function of xx, the chain rule adds a factor. When the variable is in the lower limit, reversing the limits adds a negative sign.

FunctionDerivative
∫axf(t) dt\int_a^x f(t)\,dtf(x)f(x)
∫au(x)f(t) dt\int_a^{u(x)} f(t)\,dtf(u(x))⋅u′(x)f(u(x)) \cdot u'(x)
∫xaf(t) dt\int_x^a f(t)\,dt−f(x)-f(x)

Evaluating g from a graph of f

Many accumulation problems give the graph of ff and no formula. A value such as g(5)g(5) is then a definite integral you compute with signed areas: add the areas of regions above the axis between aa and 55 and subtract the areas of regions below it.

Three values often get asked together, and each comes from a different place.

QuantityWhere it comes from
g(c)g(c)Signed area under ff from aa to cc
g′(c)g'(c)Height of the graph of ff at cc, since g′(c)=f(c)g'(c) = f(c)
g′′(c)g''(c)Slope of the graph of ff at cc, since g′′(c)=f′(c)g''(c) = f'(c)

Analyzing the behavior of g

Because g′=fg' = f, the graph of ff is the graph of the derivative of gg. Every tool for reading a function from its derivative applies, with ff in the role of g′g'. This is CED Topic 6.5, Interpreting the Behavior of Accumulation Functions Involving Area.

Feature of ggWhat to look for on the graph of ff
Increasingff is positive (above the axis)
Decreasingff is negative (below the axis)
Relative maximumff changes from positive to negative
Relative minimumff changes from negative to positive
Concave upff is increasing
Concave downff is decreasing
Inflection pointff changes from increasing to decreasing or the reverse

For absolute extrema of gg on a closed interval, use the candidates test: compute gg at each endpoint and at each interior point where ff is zero, then compare. Those values of gg are signed areas.

Justifications use the same logic with the names made explicit. For example: gg has a relative maximum at x=2x = 2 because g′(x)=f(x)g'(x) = f(x) changes from positive to negative at x=2x = 2.

Where students lose points

  • Writing g′(x)=f(x)−f(a)g'(x) = f(x) - f(a). The derivative of the accumulation function is f(x)f(x) alone.
  • Leaving out the chain rule factor when the upper limit is something other than xx.
  • Missing the negative sign when the variable is the lower limit.
  • Reading the graph of ff as if it were the graph of gg: for example, placing the maximum of gg at the highest point of ff. The highest point of ff is where gg is growing fastest (when ff is positive there).
  • Assuming g(0)=0g(0) = 0 when the lower limit is some other number. gg is zero at x=ax = a.
  • Using the height of ff for a value of gg. Values of gg are areas; values of g′g' are heights.

Worked examples

Worked example

Value and derivatives of an accumulation function

Let g(x)=∫1xt3+1 dtg(x) = \int_1^x \sqrt{t^3 + 1}\,dt. Find g(1)g(1), g′(2)g'(2), and g′′(2)g''(2).

  1. Value: g(1)=∫11t3+1 dt=0g(1) = \int_1^1 \sqrt{t^3 + 1}\,dt = 0, because the limits are equal.
  2. First derivative: the integrand is continuous for t≥−1t \geq -1, so by the Fundamental Theorem g′(x)=x3+1g'(x) = \sqrt{x^3 + 1}. Then g′(2)=8+1=3g'(2) = \sqrt{8 + 1} = 3.
  3. Second derivative: differentiate g′(x)=(x3+1)1/2g'(x) = (x^3 + 1)^{1/2} with the chain rule to get g′′(x)=3x22x3+1g''(x) = \frac{3x^2}{2\sqrt{x^3 + 1}}. Then g′′(2)=3⋅42⋅3=2g''(2) = \frac{3 \cdot 4}{2 \cdot 3} = 2.

g(1)=0g(1) = 0, g′(2)=3g'(2) = 3, and g′′(2)=2g''(2) = 2

Worked example

Variable limits that need the chain rule or a sign change

Find h′(x)h'(x) for h(x)=∫0x21+t3 dth(x) = \int_0^{x^2} \sqrt{1 + t^3}\,dt, and find k′(x)k'(x) for k(x)=∫x5et2 dtk(x) = \int_x^5 e^{t^2}\,dt.

  1. For hh, the upper limit is u(x)=x2u(x) = x^2 with u′(x)=2xu'(x) = 2x. Substitute the upper limit into the integrand and multiply by its derivative: h′(x)=1+(x2)3⋅2xh'(x) = \sqrt{1 + (x^2)^3} \cdot 2x.
  2. Simplify: h′(x)=2x1+x6h'(x) = 2x\sqrt{1 + x^6}. As a check on one value, h′(1)=22h'(1) = 2\sqrt{2}.
  3. For kk, the variable is in the lower limit. Reverse the limits first: k(x)=−∫5xet2 dtk(x) = -\int_5^x e^{t^2}\,dt.
  4. Differentiate: k′(x)=−ex2k'(x) = -e^{x^2}.

h′(x)=2x1+x6h'(x) = 2x\sqrt{1 + x^6} and k′(x)=−ex2k'(x) = -e^{x^2}

Worked example

Analyzing g from the graph of f

The graph of ff on [0,8][0, 8] consists of two line segments: from (0,2)(0, 2) to (4,−2)(4, -2) and from (4,−2)(4, -2) to (8,2)(8, 2). Let g(x)=∫2xf(t) dtg(x) = \int_2^x f(t)\,dt. Find g(0)g(0), g(6)g(6), the relative extrema of gg, the inflection point of gg, and the absolute maximum value of gg on [0,8][0, 8].

  1. Locate the zeros of ff. The first segment has slope −1-1 and crosses the axis at t=2t = 2; the second has slope 11 and crosses at t=6t = 6. So f>0f > 0 on (0,2)(0, 2), f<0f < 0 on (2,6)(2, 6), and f>0f > 0 on (6,8)(6, 8).
  2. Compute the signed areas. Each region is a triangle with base 22 and height 22, so each has area 22: ∫02f(t) dt=2\int_0^2 f(t)\,dt = 2, ∫24f(t) dt=−2\int_2^4 f(t)\,dt = -2, ∫46f(t) dt=−2\int_4^6 f(t)\,dt = -2, and ∫68f(t) dt=2\int_6^8 f(t)\,dt = 2.
  3. Evaluate gg. g(2)=0g(2) = 0. g(0)=∫20f(t) dt=−∫02f(t) dt=−2g(0) = \int_2^0 f(t)\,dt = -\int_0^2 f(t)\,dt = -2. g(4)=−2g(4) = -2. g(6)=−2+(−2)=−4g(6) = -2 + (-2) = -4. g(8)=−4+2=−2g(8) = -4 + 2 = -2.
  4. Relative extrema: g′(x)=f(x)g'(x) = f(x) changes from positive to negative at x=2x = 2, so gg has a relative maximum there. g′g' changes from negative to positive at x=6x = 6, so gg has a relative minimum there.
  5. Inflection point: ff is decreasing on (0,4)(0, 4) and increasing on (4,8)(4, 8), so gg is concave down then concave up, with an inflection point at x=4x = 4, the point (4,−2)(4, -2).
  6. Absolute maximum: the candidates are the endpoints and the interior zeros of ff. g(0)=−2g(0) = -2, g(2)=0g(2) = 0, g(6)=−4g(6) = -4, g(8)=−2g(8) = -2. The largest is 00.

g(0)=−2g(0) = -2 and g(6)=−4g(6) = -4. gg has a relative maximum at x=2x = 2, a relative minimum at x=6x = 6, and an inflection point at (4,−2)(4, -2). The absolute maximum value of gg on [0,8][0, 8] is 00, at x=2x = 2.

Frequently asked questions

Why is the derivative of an accumulation function just f(x)?

By the Fundamental Theorem of Calculus, the rate at which ∫axf(t) dt\int_a^x f(t)\,dt changes as xx increases is the height of ff at xx. The lower limit aa only sets the starting point of the accumulation, which shifts gg by a constant and has no effect on its rate of change.

How do I differentiate an integral with x2x^2 as the upper limit?

Use the chain rule: substitute the upper limit into the integrand, then multiply by the derivative of the upper limit. For example, ddx∫0x2cos⁡t dt=cos⁡(x2)⋅2x\frac{d}{dx}\int_0^{x^2} \cos t\,dt = \cos(x^2) \cdot 2x.

Where does an accumulation function have a maximum?

g(x)=∫axf(t) dtg(x) = \int_a^x f(t)\,dt has a relative maximum where ff changes from positive to negative, because g′=fg' = f. For the absolute maximum on a closed interval, compare the values of gg at the endpoints and at every interior point where ff is zero.

Where this shows up outside calculus class

  • Impulse-momentum theorem on PhysicsLearn. In calculus terms, impulse is the accumulated force over time: the integral of force with respect to time.