Skip to content
Family Table Math
Auto

Evaluating Definite Integrals with the FTC

Riemann sums and limits get the exact value of a definite integral, but they are slow. The second part of the Fundamental Theorem of Calculus gives a shortcut that is almost magical: to find the area under ff from aa to bb, find any antiderivative FF and compute F(b)−F(a)F(b) - F(a). This is how you’ll evaluate most definite integrals from now on.

If ff is continuous on [a,b][a, b] and FF is any antiderivative of ff (so F′(x)=f(x)F'(x) = f(x)), then

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

The shorthand [F(x)]ab\Big[F(x)\Big]_a^b means F(b)−F(a)F(b) - F(a).

Why it works: by the first part of the FTC, g(x)=∫axf(t) dtg(x) = \displaystyle\int_a^x f(t)\,dt is an antiderivative of ff. Any other antiderivative is F(x)=g(x)+CF(x) = g(x) + C. So

F(b)−F(a)=(g(b)+C)−(g(a)+C)=g(b)−0=∫abf(x) dx.F(b) - F(a) = \big(g(b) + C\big) - \big(g(a) + C\big) = g(b) - 0 = \int_a^b f(x)\,dx .

The +C+ C always cancels, so you can leave it out of definite integrals.

  1. Rewrite the integrand if needed (powers, split fractions, expand).
  2. Find an antiderivative using the rules from indefinite integrals.
  3. Substitute the upper limit, then the lower limit, and subtract. Use brackets so the subtraction applies to everything.

Applying the FTC to a function’s own derivative gives

∫abF′(x) dx=F(b)−F(a).\int_a^b F'(x)\,dx = F(b) - F(a).

The integral of a rate of change is the net change. Rearranged, this lets you find a later value from an earlier one:

F(b)=F(a)+∫abF′(x) dx.F(b) = F(a) + \int_a^b F'(x)\,dx .

This is a favourite on exams. When the antiderivative is hard or impossible to find, the question usually allows a calculator (AP calls these parts calculator-active), and you evaluate the integral numerically. On the AP exam, give decimal answers correct to three decimal places (IB’s default is three significant figures).

Evaluate ∫13x2 dx\displaystyle\int_1^3 x^2\,dx.

Solution. An antiderivative of x2x^2 is x33\tfrac{x^3}{3}:

∫13x2 dx=[x33]13=273−13=263\int_1^3 x^2\,dx = \left[\frac{x^3}{3}\right]_1^3 = \frac{27}{3} - \frac{1}{3} = \frac{26}{3}
The parabola y = x squared with the region under it from x = 1 to x = 3 shaded. The area is 26/3, about 8.667. 26/3 y = x² −1 1 2 3 2 4 6 8 10
The shaded area under y=x2y = x^2 from 11 to 33 is exactly 263≈8.667\tfrac{26}{3} \approx 8.667.

Evaluate (a) ∫0π/2cos⁡x dx\displaystyle\int_0^{\pi/2} \cos x\,dx and (b) ∫0πsin⁡x dx\displaystyle\int_0^{\pi} \sin x\,dx. (Angles are in radians.)

Solution.

(a) ∫0π/2cos⁡x dx=[sin⁡x]0π/2=sin⁡π2−sin⁡0=1−0=1\displaystyle\int_0^{\pi/2} \cos x\,dx = \Big[\sin x\Big]_0^{\pi/2} = \sin\frac{\pi}{2} - \sin 0 = 1 - 0 = 1

(b) An antiderivative of sin⁡x\sin x is −cos⁡x-\cos x:

∫0πsin⁡x dx=[−cos⁡x]0π=−cos⁡π−(−cos⁡0)=−(−1)+1=2\int_0^{\pi} \sin x\,dx = \Big[-\cos x\Big]_0^{\pi} = -\cos\pi - (-\cos 0) = -(-1) + 1 = 2

So one “hump” of the sine curve has area exactly 22.

Evaluate ∫14(3x−2x2)dx\displaystyle\int_1^4 \left(3\sqrt{x} - \frac{2}{x^2}\right)dx.

Solution. Write the terms as powers: 3x1/2−2x−23x^{1/2} - 2x^{-2}. Antidifferentiate each term with the power rule:

3⋅x3/23/2−2⋅x−1−1=2x3/2+2x3 \cdot \frac{x^{3/2}}{3/2} - 2 \cdot \frac{x^{-1}}{-1} = 2x^{3/2} + \frac{2}{x} ∫14(3x−2x2)dx=[2x3/2+2x]14=(2(8)+24)−(2(1)+21)=16.5−4=252\begin{aligned} \int_1^4 \left(3\sqrt{x} - \frac{2}{x^2}\right)dx &= \left[2x^{3/2} + \frac{2}{x}\right]_1^4 \\ &= \left(2(8) + \frac{2}{4}\right) - \left(2(1) + \frac{2}{1}\right) \\ &= 16.5 - 4 = \frac{25}{2} \end{aligned}

A function ff satisfies f(2)=5f(2) = 5 and f′(x)=1+x3f'(x) = \sqrt{1 + x^3}. Find f(4)f(4).

Solution. By the net change theorem,

f(4)=f(2)+∫24f′(x) dx=5+∫241+x3 dx.f(4) = f(2) + \int_2^4 f'(x)\,dx = 5 + \int_2^4 \sqrt{1 + x^3}\,dx .

There’s no simple antiderivative of 1+x3\sqrt{1 + x^3}, so use a calculator’s numerical integration: ∫241+x3 dx≈10.742\displaystyle\int_2^4 \sqrt{1 + x^3}\,dx \approx 10.742.

f(4)≈5+10.742=15.742f(4) \approx 5 + 10.742 = 15.742

On a test, write the integral expression (with the 5+5 +) before giving the number. That setup is worth points on its own.

Subtracting in the wrong order. It’s F(upper)−F(lower)F(\text{upper}) - F(\text{lower}), always.

Losing a sign when subtracting. Put the whole F(a)F(a) in brackets. In Example 3, −(2+2)-\big(2 + 2\big), not −2+2-2 + 2.

Antidifferentiating sine with the wrong sign. ddx(−cos⁡x)=sin⁡x\dfrac{d}{dx}(-\cos x) = \sin x, so ∫sin⁡x dx=−cos⁡x+C\int \sin x\,dx = -\cos x + C. Check by differentiating.

Using degrees. cos⁡π2\cos\tfrac{\pi}{2} means radians. Make sure your calculator is in radian mode for calculus.

Thinking a zero integral means zero area. ∫−12(x2−2x) dx=0\int_{-1}^{2} (x^2 - 2x)\,dx = 0 (see Practice 6), but the graph has regions above and below the axis whose signed areas cancel.

Forgetting the starting value. In net change problems, the integral is the change. Add it to the initial value.

1. (Warm-up) Evaluate ∫02(3x2+1) dx\displaystyle\int_0^2 (3x^2 + 1)\,dx.

Solution[x3+x]02=(8+2)−0=10\Big[x^3 + x\Big]_0^2 = (8 + 2) - 0 = 10

2. (Warm-up) Evaluate ∫124x3 dx\displaystyle\int_1^2 4x^3\,dx.

Solution[x4]12=16−1=15\Big[x^4\Big]_1^2 = 16 - 1 = 15

3. (Warm-up) Evaluate ∫01ex dx\displaystyle\int_0^1 e^x\,dx.

Solution[ex]01=e−1≈1.718\Big[e^x\Big]_0^1 = e - 1 \approx 1.718

4. (Core) Evaluate ∫0π/4sec⁡2x dx\displaystyle\int_0^{\pi/4} \sec^2 x\,dx.

Solution

ddxtan⁡x=sec⁡2x\dfrac{d}{dx}\tan x = \sec^2 x, so

[tan⁡x]0π/4=tan⁡π4−tan⁡0=1\Big[\tan x\Big]_0^{\pi/4} = \tan\frac{\pi}{4} - \tan 0 = 1

5. (Core) Evaluate ∫19x−1x dx\displaystyle\int_1^9 \frac{x - 1}{\sqrt{x}}\,dx.

Solution

Split the fraction: x−1x=x1/2−x−1/2\dfrac{x - 1}{\sqrt{x}} = x^{1/2} - x^{-1/2}.

∫19(x1/2−x−1/2)dx=[23x3/2−2x1/2]19=(23(27)−2(3))−(23−2)=12−(−43)=403\begin{aligned} \int_1^9 \left(x^{1/2} - x^{-1/2}\right)dx &= \left[\frac{2}{3}x^{3/2} - 2x^{1/2}\right]_1^9 \\ &= \left(\frac{2}{3}(27) - 2(3)\right) - \left(\frac{2}{3} - 2\right) \\ &= 12 - \left(-\frac{4}{3}\right) = \frac{40}{3} \end{aligned}

6. (Core) Evaluate ∫−12(x2−2x) dx\displaystyle\int_{-1}^{2} (x^2 - 2x)\,dx. What does the answer tell you about the graph?

Solution[x33−x2]−12=(83−4)−(−13−1)=−43−(−43)=0\left[\frac{x^3}{3} - x^2\right]_{-1}^{2} = \left(\frac{8}{3} - 4\right) - \left(-\frac{1}{3} - 1\right) = -\frac{4}{3} - \left(-\frac{4}{3}\right) = 0

The net signed area is 00: the region above the axis (from −1-1 to 00) has exactly the same area as the region below the axis (from 00 to 22).

7. (Core) Evaluate ∫1e(2x+x)dx\displaystyle\int_1^e \left(\frac{2}{x} + x\right)dx.

Solution[2ln⁡∣x∣+x22]1e=(2+e22)−(0+12)=32+e22≈5.195\left[2\ln|x| + \frac{x^2}{2}\right]_1^e = \left(2 + \frac{e^2}{2}\right) - \left(0 + \frac{1}{2}\right) = \frac{3}{2} + \frac{e^2}{2} \approx 5.195

8. (Challenge) A tank holds 200200 L of water at t=0t = 0. Water drains out at a rate of r(t)=10e−0.1tr(t) = 10e^{-0.1t} litres per minute. How much water is in the tank after 55 minutes? (Calculator active.)

Solution

The water is leaving, so subtract the amount drained:

200−∫0510e−0.1t dt≈200−39.347=160.653200 - \int_0^5 10e^{-0.1t}\,dt \approx 200 - 39.347 = 160.653

There are about 160.653160.653 L left. (Exactly, the integral is 100(1−e−0.5)100(1 - e^{-0.5}).)

9. (Challenge) Evaluate ∫02∣x2−1∣ dx\displaystyle\int_0^2 |x^2 - 1|\,dx.

Solution

x2−1x^2 - 1 is negative on [0,1)[0, 1) and positive on (1,2](1, 2], so split at x=1x = 1:

∫02∣x2−1∣ dx=∫01(1−x2) dx+∫12(x2−1) dx=[x−x33]01+[x33−x]12=23+(23−(−23))=23+43=2\begin{aligned} \int_0^2 |x^2 - 1|\,dx &= \int_0^1 (1 - x^2)\,dx + \int_1^2 (x^2 - 1)\,dx \\ &= \left[x - \frac{x^3}{3}\right]_0^1 + \left[\frac{x^3}{3} - x\right]_1^2 \\ &= \frac{2}{3} + \left(\frac{2}{3} - \left(-\frac{2}{3}\right)\right) = \frac{2}{3} + \frac{4}{3} = 2 \end{aligned}

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site. State an antiderivative and show the upper value minus the complete lower value. Check continuity before applying the FTC. Trigonometric angles are in radians. Round numerical answers only at the end.

H1. (Foundations) Evaluate ∫−12(4x3−2x+3) dx\displaystyle\int_{-1}^2(4x^3-2x+3)\,dx.

H2. (Foundations) Evaluate ∫2−1x2 dx\displaystyle\int_2^{-1}x^2\,dx using the given bound order, and check your sign by reversal.

H3. (Core) Evaluate ∫14(2x+3x2)dx\displaystyle\int_1^4\left(2\sqrt{x}+\frac3{x^2}\right)dx. Rewrite both terms as powers first.

H4. (Core) Evaluate ∫0π/3(3sin⁡x+2cos⁡x) dx\displaystyle\int_0^{\pi/3}(3\sin x+2\cos x)\,dx exactly. Check your trigonometric antiderivative by differentiation.

H5. (Core) Evaluate ∫1e2(3/x+ex) dx\displaystyle\int_1^{e^2}(3/x+e^x)\,dx exactly. Explain why no constant of integration is added to the final numerical value.

H6. (Core) A function satisfies f(1)=4f(1)=4 and f′(x)=2+x3f'(x)=\sqrt{2+x^3} for 1≤x≤31\le x\le3. Set up the net-change expression for f(3)f(3) and evaluate numerically to three decimal places.

H7. (Challenge) Evaluate ∫03∣x2−4∣ dx\displaystyle\int_0^3|x^2-4|\,dx by splitting at a sign change. Compare it with ∫03(x2−4) dx\int_0^3(x^2-4)\,dx and explain what each represents.

H8. (Challenge) A tank starts with 150 L. Over 0≤t≤50\le t\le5 minutes, inflow is I(t)=5+2tI(t)=5+2t L/min and outflow is O(t)=12e−t/5O(t)=12e^{-t/5} L/min.

  • (a) Find the amount at five minutes exactly and to three decimal places.
  • (b) Find the least amount over the five-minute interval and when it occurs, to three decimal places. Justify that no endpoint or other critical time gives a smaller amount.

H9. (Challenge) Find all real kk such that ∫−22(x3+kx2−3) dx=0\displaystyle\int_{-2}^2(x^3+kx^2-3)\,dx=0. Show the endpoint subtraction. Does zero integral imply that the integrand is zero everywhere? Check explicit function values for your resulting kk.

H10. (Challenge) A student uses the antiderivative −1/x-1/x to claim ∫−111/x2 dx=−2\displaystyle\int_{-1}^1 1/x^2\,dx=-2.

  • (a) Explain why the FTC calculation is invalid and why the claimed sign is impossible for a finite integral of this integrand.
  • (b) For 0<ε<10\lt\varepsilon\lt1, evaluate the valid integral from ε\varepsilon to 1 and describe what happens as ε\varepsilon approaches zero. What does this show about accumulating a finite area across zero?