Calculus › Section E · Integrals › Topic E.4

The fundamental theorem of calculus

Derivatives measure how fast things change; definite integrals add up how much has changed. This theorem shows they are inverse processes, and it turns hard area problems into a few lines of algebra.

Two big ideas, one bridge

So far calculus has two separate halves. Derivatives come from tangent lines and describe instantaneous rates of change. Definite integrals come from Riemann sums, adding up thin rectangles to find area or total accumulation, and computing one by taking a limit of sums is slow. The fundamental theorem of calculus, worked out in the late 1600s by Isaac Newton and Gottfried Leibniz independently, shows that the two halves undo each other. It has two parts, and each is useful on its own.

The accumulation function

Fix a starting point \(a\) and let the right edge move. The function

A(x) = \int_a^x f(t)\,dt

gives the signed area under \(f\) from \(a\) up to \(x\). The letter \(t\) is only a placeholder, so that \(x\) can be the moving endpoint. For a constant function \(f(t) = 2\) starting at 0, the region is a rectangle of height 2 and width \(x\), so \(A(x) = 2x\). Notice that \(A'(x) = 2\), which is the original function. That is no accident.

Part 1: accumulation and rate

If \(f\) is continuous, the accumulation function is an antiderivative of \(f\):

\frac{d}{dx}\int_a^x f(t)\,dt = f(x)

Here is why. Moving the right edge from \(x\) to \(x + h\) adds a thin strip of width \(h\) and height about \(f(x)\), so \(A(x + h) - A(x) \approx f(x) \cdot h\). Dividing by \(h\) and letting \(h\) shrink to 0 gives \(A'(x) = f(x)\). The faster area is being added, the taller the function is at the edge.

Worked example: Part 1 with a chain

Part 1 gives derivatives instantly, even when no formula for the integral exists. For \(\frac{d}{dx}\int_1^x \sqrt{1 + t^3}\,dt\), replace \(t\) with \(x\): the answer is \(\sqrt{1 + x^3}\). When the upper limit is itself a function, use the chain rule. For \(\frac{d}{dx}\int_0^{x^2} \cos t\,dt\), substitute the upper limit, giving \(\cos(x^2)\), then multiply by its derivative, \(2x\). The result is \(2x\cos(x^2)\). The lower limit does not matter for the derivative as long as it is a constant.

Part 2: evaluating definite integrals

If \(F\) is any antiderivative of a continuous function \(f\), meaning \(F' = f\), then

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

The shorthand is \(\big[F(x)\big]_a^b\). This is the part that does the everyday work: instead of building Riemann sums and taking a limit, you find an antiderivative and subtract two values. Any antiderivative will do, because adding a constant \(C\) to \(F\) adds \(C\) to both \(F(b)\) and \(F(a)\), and the two cancel.

Worked examples: Part 2

Find \(\int_0^2 x^2\,dx\). An antiderivative of \(x^2\) is \(\frac{x^3}{3}\), so the integral is \(\frac{8}{3} - 0 = \frac{8}{3}\), about 2.67. Computing the same area with Riemann sums needs a sum of squares formula and a limit. Next, \(\int_0^\pi \sin x\,dx\): an antiderivative is \(-\cos x\), so the value is \(-\cos\pi - (-\cos 0) = 1 + 1 = 2\). One arch of the sine curve has an area of exactly 2.

The net change theorem

Read Part 2 with \(F'\) in place of \(f\): \(\int_a^b F'(x)\,dx = F(b) - F(a)\). Integrating a rate of change gives the total change. If \(v(t)\) is velocity, \(\int_a^b v(t)\,dt\) is the displacement between times \(a\) and \(b\). For \(v(t) = 3t^2\) metres per second from \(t = 1\) to \(t = 3\), the displacement is \(\big[t^3\big]_1^3 = 27 - 1 = 26\) metres. The same idea turns a flow rate into a volume, or a growth rate into a population change.

Average value and the mean value theorem for integrals

The average of finitely many numbers is their sum divided by how many there are. The integral version divides the total by the length of the interval: the average value of \(f\) on \([a, b]\) is

f_{\text{avg}} = \frac{1}{b - a}\int_a^b f(x)\,dx

For \(f(x) = x^2\) on \([0, 3]\), that is \(\frac{1}{3} \cdot 9 = 3\). The mean value theorem for integrals adds a guarantee: if \(f\) is continuous on \([a, b]\), some \(c\) in the interval has \(f(c) = f_{\text{avg}}\). Here \(c^2 = 3\) gives \(c = \sqrt{3}\), which does lie in \([0, 3]\). Geometrically, a rectangle of height \(f(c)\) over the interval has exactly the same area as the region under the curve.

Signed area and total area

A definite integral counts area below the axis as negative. That is why \(\int_{-1}^{1} x^3\,dx = 0\) even though the curve encloses real area: the two halves cancel. Over a full period, \(\int_0^{2\pi} \sin x\,dx = 0\) for the same reason. When a question asks for total area, or for total distance travelled, split the interval where the function changes sign and add the absolute values. For distance, integrate the speed \(|v(t)|\), not the velocity.

Worked example: a function defined by an integral

Let \(g(x) = \int_0^x (t^2 - 4)\,dt\). Where is \(g\) increasing or decreasing? You do not need to integrate first. By Part 1, \(g'(x) = x^2 - 4\), which is zero at \(x = -2\) and \(x = 2\). Between those values \(g'(x)\) is negative, so \(g\) is decreasing on \((-2, 2)\), and it is increasing outside that interval. So \(g\) has a local maximum at \(x = -2\) and a local minimum at \(x = 2\). Questions like this, which treat an integral as a function and analyse it with its derivative, are a favourite on AP exams.

Common mistakes to avoid

Subtracting in the wrong order is the most frequent error: it is \(F(b) - F(a)\), upper limit first. Forgetting the chain-rule factor when the upper limit in Part 1 is a function of \(x\) is the second. The third is subtler: the theorem needs \(f\) to be continuous on the whole interval. Applying it blindly to \(\int_{-1}^{1} \frac{1}{x^2}\,dx\) gives \(-2\), which is impossible for a positive function. The function blows up at 0, so this is an improper integral, and in fact it diverges.

Key takeaways

Part 1: if \(f\) is continuous, \(\frac{d}{dx}\int_a^x f(t)\,dt = f(x)\), with a chain-rule factor when the upper limit is a function. Part 2: \(\int_a^b f(x)\,dx = F(b) - F(a)\) for any antiderivative \(F\). Integrating a rate gives the net change, such as displacement from velocity. Definite integrals measure signed area, so total area and distance need absolute values. Always check that the integrand is continuous on the interval first.

Flashcards

Flashcard

Accumulation function

A(x) = ∫ from a to x of f(t) dt

Signed area up to a moving edge.

Test your understanding

Question 1 of 5

What is the value of the integral of 2x from x = 1 to x = 3?

Question 2 of 5

What is d/dx of the integral of t⁴ from t = 2 to t = x?

Question 3 of 5

What is the integral of cos x from x = 0 to x = π/2?

Question 4 of 5

What is d/dx of the integral of e^(t²) from t = 0 to t = 3x?

Question 5 of 5

A cart's velocity is v(t) = 2t + 1 m/s. What is its displacement from t = 0 to t = 4 s?

Standards: 6

← Previous topicNext topic →