Unit 5, lesson 52

Accumulation Functions and the Fundamental Theorem, Part 1

Why the integral of a continuous function from a fixed point up to x is a function of x whose derivative is the integrand, and how to differentiate integrals with variable bounds.

  • Theory part 103
  • Practice part 104
  • The Fundamental Theorem of Calculus

Picture water running into a tank at a rate that changes over time. The amount in the tank at time xx is the integral of the flow rate from the start up to xx. Ask how fast that amount is changing right now, and the obvious answer is the flow rate right now. That obvious answer is the first half of the fundamental theorem of calculus, and it ties integrals to derivatives.

Key terms

Accumulation function

Definition Let ff be integrable on every closed subinterval of an interval II and let aa be a point of II. The accumulation function of ff starting at aa is

g(x)=∫axf(t) dt,x∈I.g(x) = \int_a^x f(t) \, dt, \qquad x \in I.

The variable xx is in the bound, and tt is the dummy variable inside. Every such gg is continuous on II, and g(a)=0g(a) = 0.

In plain words Fix a starting point, move the right edge to xx and record the integral so far. As xx moves, the recorded number traces out a new function.

Example For f(t)=tf(t) = t and a=0a = 0, the region from 00 to x≥0x \ge 0 is a triangle of area x22\frac{x^2}{2}.

xx00112233
g(x)g(x)000.50.5224.54.5

For x<0x < 0 the reversed bounds rule gives

g(x)=−∫x0t dt=−(−x22)=x22g(x) = -\int_x^0 t \, dt = -\left(-\frac{x^2}{2}\right) = \frac{x^2}{2}

too. So g(x)=x22g(x) = \frac{x^2}{2} for all xx.

Signed area and the shape of an accumulation function

Definition Let g(x)=∫axf(t) dtg(x) = \int_a^x f(t) \, dt. For x1<x2x_1 < x_2 in II, interval additivity gives

g(x2)−g(x1)=∫x1x2f(t) dt.g(x_2) - g(x_1) = \int_{x_1}^{x_2} f(t) \, dt.

So gg is nondecreasing on any interval where f≥0f \ge 0 and nonincreasing on any interval where f≤0f \le 0. The value g(x)g(x) itself is the signed area from aa to xx, with area below the axis counted negatively.

In plain words The accumulation function goes up while the integrand is above the axis and down while it is below. Its peaks occur where ff crosses from positive to negative.

Example Let g(x)=∫0xsin⁡t dtg(x) = \int_0^x \sin t \, dt on [0,2π][0, 2\pi]. Since sin⁡t>0\sin t > 0 on (0,π)(0, \pi), gg increases there. Since sin⁡t<0\sin t < 0 on (π,2π)(\pi, 2\pi), gg decreases there. So gg is largest at x=πx = \pi. The negative hump on [π,2π][\pi, 2\pi] is the positive hump flipped, so it cancels exactly and g(2π)=0g(2\pi) = 0.

Derivative of an integral with variable upper bound

Definition (Fundamental theorem of calculus, part 1.) If ff is continuous on [a,b][a, b] and

g(x)=∫axf(t) dt(a≤x≤b),g(x) = \int_a^x f(t) \, dt \qquad (a \le x \le b),

then gg is continuous on [a,b][a, b], differentiable on (a,b)(a, b), and

g′(x)=f(x)for a<x<b.g'(x) = f(x) \qquad \text{for } a < x < b.

At the endpoints the matching one-sided derivatives also equal f(a)f(a) and f(b)f(b). In particular every continuous function on an interval has an antiderivative there.

In plain words The rate at which the accumulated area grows is the height of the curve at the moving edge. Integrating and then differentiating gets you back where you started.

Example For f(t)=tf(t) = t we found g(x)=x22g(x) = \frac{x^2}{2}, and g′(x)=x=f(x)g'(x) = x = f(x), as promised. The theorem also handles cases with no simple formula. For g(x)=∫0x1+t3 dtg(x) = \int_0^x \sqrt{1 + t^3} \, dt with x≥0x \ge 0,

g′(x)=1+x3.g'(x) = \sqrt{1 + x^3}.

Continuity at the evaluation point

Definition The theorem is local. If ff is integrable on [a,b][a, b] and continuous at a particular point cc in (a,b)(a, b), then g(x)=∫axf(t) dtg(x) = \int_a^x f(t) \, dt is differentiable at cc and g′(c)=f(c)g'(c) = f(c). The reason is that for h≠0h \neq 0 small,

g(c+h)−g(c)h=1h∫cc+hf(t) dt,\frac{g(c + h) - g(c)}{h} = \frac{1}{h} \int_c^{c + h} f(t) \, dt,

which is the average of ff over a tiny interval at cc, and continuity at cc forces that average toward f(c)f(c). Without continuity at cc the conclusion can fail.

In plain words What matters is that ff is continuous at the point where you take the derivative. At a jump of ff, the accumulation function has a corner.

Example Let f(t)=0f(t) = 0 for t<0t < 0 and f(t)=1f(t) = 1 for t≥0t \ge 0, and g(x)=∫−1xf(t) dtg(x) = \int_{-1}^{x} f(t) \, dt. Then g(x)=0g(x) = 0 for x≤0x \le 0 and g(x)=xg(x) = x for x>0x > 0. The left derivative of gg at 00 is 00 and the right derivative is 11, so g′(0)g'(0) does not exist. At every c≠0c \neq 0, ff is continuous and g′(c)=f(c)g'(c) = f(c).

Variable bounds and the chain rule

Definition Let ff be continuous on an interval II, and let uu and vv be differentiable on an interval JJ with all their values in II. Then for every xx in JJ

ddx∫u(x)v(x)f(t) dt=f(v(x)) v′(x)−f(u(x)) u′(x).\frac{d}{dx} \int_{u(x)}^{v(x)} f(t) \, dt = f\big(v(x)\big) \, v'(x) - f\big(u(x)\big) \, u'(x).

To see why, fix aa in II, let F(y)=∫ayf(t) dtF(y) = \int_a^y f(t) \, dt, write the integral as F(v(x))−F(u(x))F(v(x)) - F(u(x)), and apply part 1 together with the chain rule.

In plain words Plug the upper bound into ff and multiply by its derivative. Then subtract the same thing for the lower bound.

Example For ∫0x22t dt\int_0^{x^2} 2t \, dt the formula gives 2x2⋅2x=4x32x^2 \cdot 2x = 4x^3. A direct check agrees, since

∫0x22t dt=(x2)2=x4,\int_0^{x^2} 2t \, dt = (x^2)^2 = x^4,

whose derivative is 4x34x^3. A case with no formula is

ddx∫xx3et2 dt=ex6⋅3x2−ex2.\frac{d}{dx} \int_x^{x^3} e^{t^2} \, dt = e^{x^6} \cdot 3x^2 - e^{x^2}.

Check yourself

  1. Find ddx∫x5sin⁡(t2) dt\frac{d}{dx} \int_x^5 \sin(t^2) \, dt.
Show the answer

Reverse the bounds to get −∫5xsin⁡(t2) dt-\int_5^x \sin(t^2) \, dt, whose derivative is −sin⁡(x2)-\sin(x^2).

  1. Find ddx∫0sin⁡x1+t2 dt\frac{d}{dx} \int_0^{\sin x} \sqrt{1 + t^2} \, dt.
Show the answer

By the chain rule version, 1+sin⁡2x⋅cos⁡x\sqrt{1 + \sin^2 x} \cdot \cos x.

  1. On which interval is g(x)=∫0x(t−1)(t−3) dtg(x) = \int_0^x (t - 1)(t - 3) \, dt decreasing?
Show the answer

By part 1, g′(x)=(x−1)(x−3)g'(x) = (x - 1)(x - 3), which is negative exactly for 1<x<31 < x < 3. So gg is decreasing on [1,3][1, 3].

How this lesson connects

It also uses accumulation.