AP Calculus AB/BC

Part 6 · integration

The Fundamental Theorem

Differentiation and integration are inverse operations. That is the theorem, and it is why nobody computes a Riemann sum by hand twice.

By the end of this chapter you can

  • State both parts of the Fundamental Theorem
  • Evaluate a definite integral using an antiderivative
  • Differentiate a function defined by an integral, including with the chain rule
  • Explain why the theorem is true, not just what it says

Chapter 6.1 defined the integral as a limit of sums, which is honest and unusable — nobody evaluates 02x2dx\int_0^2 x^2\,dx by summing rectangles. The Fundamental Theorem of Calculus is the shortcut, and calling it fundamental is not decoration. It says that the two central operations of the subject undo each other.

Part 2: evaluating integrals

Most-used first. If FF is any antiderivative of ff — that is, F=fF' = f — then

abf(x)dx=F(b)F(a)\int_a^b f(x)\,dx = F(b) - F(a)

  • x2dx=x33\int x^{2}\, dx = \frac{x^{3}}{3}
  • cos(x)dx=sin(x)\int \cos{\left(x \right)}\, dx = \sin{\left(x \right)}
  • 1x2dx=1x\int \frac{1}{x^{2}}\, dx = - \frac{1}{x}
  • 83=83\frac{8}{3} = \frac{8}{3}
checked by the build

So 02x2dx=233033=83\int_0^2 x^2\,dx = \tfrac{2^3}{3} - \tfrac{0^3}{3} = \tfrac83 — the number the rectangles were converging on, obtained in one line.

Any antiderivative works. x33\tfrac{x^3}{3} and x33+17\tfrac{x^3}{3} + 17 are both antiderivatives of x2x^2, and the constant cancels in the subtraction: (F(b)+C)(F(a)+C)=F(b)F(a)(F(b) + C) - (F(a) + C) = F(b) - F(a). That is why the +C+C that matters so much for indefinite integrals is irrelevant for definite ones.

Part 1: the derivative of an accumulation

Define a function by an integral with a variable upper limit:

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

Then g(x)=f(x)g'(x) = f(x).

Read that slowly, because it is the surprising half. Accumulating ff and then differentiating gives ff back. Integration and differentiation are inverses, and this is the precise statement of it.

Why it is true, in one sentence: g(x+h)g(x)g(x + h) - g(x) is the area of a thin strip of width hh and height about f(x)f(x), so the difference quotient g(x+h)g(x)h\tfrac{g(x+h) - g(x)}{h} is about f(x)f(x), and exactly f(x)f(x) in the limit.

That is the whole proof, and it explains the theorem rather than asserting it: the rate at which accumulated area grows is the height of the curve at the edge where it is growing.

With the chain rule

The upper limit is often a function of xx, not xx itself. Then Part 1 composes with the chain rule:

ddxau(x)f(t)dt=f(u(x))u(x)\frac{d}{dx}\int_a^{u(x)} f(t)\,dt = f\big(u(x)\big)\cdot u'(x)

For g(x)=0x2sintdt\displaystyle g(x) = \int_0^{x^2}\sin t\,dt:

g(x)=sin(x2)2xg'(x) = \sin(x^2)\cdot 2x

  • ddx(cos(x2))=2xsin(x2)\frac{d}{d x} \left(- \cos{\left(x^{2} \right)}\right) = 2 x \sin{\left(x^{2} \right)}
checked by the build

That verified line is the check: the integral evaluates to cos(x2)+1-\cos(x^2) + 1 by Part 2, and differentiating it gives 2xsin(x2)2x\sin(x^2) — the same answer the chain rule route produced, from an entirely different direction.

When the lower limit varies instead, the sign flips, because swapping the limits of an integral negates it:

ddxu(x)bf(t)dt=f(u(x))u(x)\frac{d}{dx}\int_{u(x)}^{b} f(t)\,dt = -f\big(u(x)\big)\cdot u'(x)

The properties you get for free

All of these follow from the definition and are worth recognising rather than deriving under time pressure:

aaf=0baf=abfacf=abf+bcf\int_a^a f = 0 \qquad \int_b^a f = -\int_a^b f \qquad \int_a^c f = \int_a^b f + \int_b^c f

The middle one is a convention, and it is the right convention: it makes the third hold even when bb lies outside [a,c][a, c], which keeps the algebra uniform instead of full of special cases.

  • (3x2+2x)dx=x3+x2\int \left(3 x^{2} + 2 x\right)\, dx = x^{3} + x^{2}
  • (sin(x)+cos(x))dx=sin(x)cos(x)\int \left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)\, dx = \sin{\left(x \right)} - \cos{\left(x \right)}
checked by the build

Linearity comes across from differentiation unchanged — integrals split over sums and let constants out front — because the sums defining them do.