Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Evaluate a Definite Integral with the Fundamental Theorem

Find an antiderivative FF, then compute F(b)−F(a)F(b) - F(a). That is the Fundamental Theorem of Calculus, Part 2, and it turns an area problem into two substitutions. Part 1 runs the other way: the derivative of an accumulation function is the integrand.

Recognize the task

A definite integral ∫abf(x) dx\int_a^b f(x)\,dx of a function you can antidifferentiate: ∫03(x2+1) dx\int_0^3 (x^2 + 1)\,dx, ∫0πsin⁡x dx\int_0^\pi \sin x\,dx, ∫1edxx\int_1^e \frac{dx}{x}. Or a derivative of an integral with a variable limit: ddx∫0x2cos⁡t dt\frac{d}{dx}\int_0^{x^2}\cos t\,dt. Test: a number is wanted, not a function, and the integrand is continuous on [a,b][a, b].
Both parts are stated in the integration rules lesson: Part 1 and Part 2; the meaning of the number as signed area is in the definite integrals lesson.

Two ways to do it

Part 2: evaluate F(b) − F(a)usual choice
∫abf(x) dx=F(b)−F(a),F′=f\int_a^b f(x)\,dx = F(b) - F(a), \qquad F' = f
Fundamental Theorem, Part 2. Any antiderivative works; the constant cancels in the subtraction.
Part 1: differentiate an accumulation functionno integration needed
ddx∫axf(t) dt=f(x),ddx∫ag(x)f(t) dt=f(g(x)) g′(x)\frac{d}{dx}\int_a^x f(t)\,dt = f(x), \qquad \frac{d}{dx}\int_a^{g(x)} f(t)\,dt = f(g(x))\,g'(x)
Fundamental Theorem, Part 1. Replace tt by the upper limit and, if that limit is a function of xx, multiply by its derivative.

Steps

StepOn ∫03(x2+1) dx\int_0^3 (x^2 + 1)\,dx
1Check that the integrand is continuous on [a, b]. If it blows up anywhere on the interval, this is an improper integral and the theorem does not apply directly.a polynomial: continuous everywhere
2Find an antiderivative F. Term by term with the power rule; no +C+C is needed.Power rule for integrals ↗F(x)=x33+xF(x) = \frac{x^3}{3} + x
3Evaluate at the upper limit, then at the lower, and subtract. Write [F(x)]ab=F(b)−F(a)\big[F(x)\big]_a^b = F(b) - F(a). Put the lower value in parentheses so its sign survives.F(3)−F(0)=(9+3)−(0)=12F(3) - F(0) = (9 + 3) - (0) = 12
4Interpret the sign. Area above the axis counts positive, area below counts negative. For the total geometric area, split where ff changes sign.1212; the graph is above the axis on [0,3][0, 3]

Worked examples

Example 1 · polynomial

basic
∫03(x2+1) dx=[x33+x]03\int_0^3 (x^2 + 1)\,dx = \Big[\frac{x^3}{3} + x\Big]_0^3
antiderivative
=(9+3)−0=12= (9 + 3) - 0 = 12

Example 2 · sine over a half period

watch the signs
∫0πsin⁡x dx=[−cos⁡x]0π\int_0^\pi \sin x\,dx = \big[-\cos x\big]_0^\pi
antiderivative of sine
=(−cos⁡π)−(−cos⁡0)=1+1=2= (-\cos\pi) - (-\cos 0) = 1 + 1 = 2
two minus signs

Example 3 · signed area

part below the axis
∫−12x3 dx=[x44]−12\int_{-1}^2 x^3\,dx = \Big[\frac{x^4}{4}\Big]_{-1}^2
=4−14=154= 4 - \frac{1}{4} = \frac{15}{4}
the area below the axis on [−1,0][-1, 0] was subtracted

Example 4 · Part 1 with a variable upper limit

chain rule
ddx∫0x2cos⁡t dt\frac{d}{dx}\int_0^{x^2}\cos t\,dt
upper limit g(x)=x2g(x) = x^2
=cos⁡(x2)⋅2x= \cos(x^2)\cdot 2x
f(g(x)) g′(x)f(g(x))\,g'(x)

See it happen

Quadraticf(t) = t²F(x) = x³/3 − a³/3
×
880 × 460
f(t) = t² (integrand)F(x) = ∫ₐˣ f(t) dt (accumulator)shaded area
At the moving point xx = 2  (a = 0)
Area ∫ₐˣ f(t) dt
2.667
shaded region under f
F(x)
2.667
height on F
f(x) = F'(x)
4
slope of F at x
The shaded area from a to x equals the height of F at x; and the slope of F at x equals f(x).FTC
Applieda=0x=2F'(x) = f(x)
Move the upper limit and watch the accumulated area grow. Its rate of growth is the height of the integrand at that point: that is Part 1. Reading the accumulation at bb and at aa and subtracting is Part 2.

Common mistakes

Sign slip in the subtraction

✗ [−cos⁡x]0π=−cos⁡π−cos⁡0=0\big[-\cos x\big]_0^\pi = -\cos\pi - \cos 0 = 0
✓ F(b)−F(a)=−cos⁡π−(−cos⁡0)=2F(b) - F(a) = -\cos\pi - (-\cos 0) = 2

Applying the theorem across a discontinuity

✗ ∫−11dxx2=[−1x]−11=−2\int_{-1}^1 \frac{dx}{x^2} = \Big[-\frac{1}{x}\Big]_{-1}^1 = -2
✓ the integrand is not continuous on [−1,1][-1, 1]; the integral is improper and diverges

Forgetting the chain rule in Part 1

✗ ddx∫0x2cos⁡t dt=cos⁡(x2)\frac{d}{dx}\int_0^{x^2}\cos t\,dt = \cos(x^2)
✓ cos⁡(x2)⋅2x\cos(x^2)\cdot 2x

Reading a signed integral as an area

✗ ∫−12x3 dx=154\int_{-1}^2 x^3\,dx = \frac{15}{4} "is the area between the curve and the axis"
✓ the area is ∫−10∣x3∣ dx+∫02x3 dx=14+4=174\int_{-1}^0 |x^3|\,dx + \int_0^2 x^3\,dx = \frac{1}{4} + 4 = \frac{17}{4}