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 f f f from a a a to b b b , find any antiderivative F F F and compute F ( b ) − F ( a ) F(b) - F(a) F ( b ) − F ( a ) . This is how you’ll evaluate most definite integrals from now on.
If f f f is continuous on [ a , b ] [a, b] [ a , b ] and F F F is any antiderivative of f f f (so F ′ ( x ) = f ( x ) F'(x) = f(x) F ′ ( x ) = f ( x ) ), then
∫ a b f ( x ) d x = F ( b ) − F ( a ) . \int_a^b f(x)\,dx = F(b) - F(a). ∫ a b f ( x ) d x = F ( b ) − F ( a ) .
The shorthand [ F ( x ) ] a b \Big[F(x)\Big]_a^b [ F ( x ) ] a b means F ( b ) − F ( a ) F(b) - F(a) F ( b ) − F ( a ) .
Why it works: by the first part of the FTC, g ( x ) = ∫ a x f ( t ) d t g(x) = \displaystyle\int_a^x f(t)\,dt g ( x ) = ∫ a x f ( t ) d t is an antiderivative of f f f . Any other antiderivative is F ( x ) = g ( x ) + C F(x) = g(x) + C F ( x ) = g ( x ) + C . So
F ( b ) − F ( a ) = ( g ( b ) + C ) − ( g ( a ) + C ) = g ( b ) − 0 = ∫ a b f ( x ) d x . F(b) - F(a) = \big(g(b) + C\big) - \big(g(a) + C\big) = g(b) - 0 = \int_a^b f(x)\,dx . F ( b ) − F ( a ) = ( g ( b ) + C ) − ( g ( a ) + C ) = g ( b ) − 0 = ∫ a b f ( x ) d x .
The + C + C + C always cancels, so you can leave it out of definite integrals.
Rewrite the integrand if needed (powers, split fractions, expand).
Find an antiderivative using the rules from indefinite integrals .
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
∫ a b F ′ ( x ) d x = F ( b ) − F ( a ) . \int_a^b F'(x)\,dx = F(b) - F(a). ∫ a b F ′ ( x ) d x = 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 ) + ∫ a b F ′ ( x ) d x . F(b) = F(a) + \int_a^b F'(x)\,dx . F ( b ) = F ( a ) + ∫ a b F ′ ( x ) d x .
This is a favourite on the AP exam. When the antiderivative is hard or impossible to find, the question is usually calculator-active , and you evaluate the integral numerically. Give decimal answers correct to three decimal places.
Evaluate ∫ 1 3 x 2 d x \displaystyle\int_1^3 x^2\,dx ∫ 1 3 x 2 d x .
Solution. An antiderivative of x 2 x^2 x 2 is x 3 3 \tfrac{x^3}{3} 3 x 3 :
∫ 1 3 x 2 d x = [ x 3 3 ] 1 3 = 27 3 − 1 3 = 26 3 \int_1^3 x^2\,dx = \left[\frac{x^3}{3}\right]_1^3 = \frac{27}{3} - \frac{1}{3} = \frac{26}{3} ∫ 1 3 x 2 d x = [ 3 x 3 ] 1 3 = 3 27 − 3 1 = 3 26
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.
−1
1
2
3
2
4
6
8
10
26/3
y = x²
The shaded area under y = x 2 y = x^2 y = x 2 from 1 1 1 to 3 3 3 is exactly 26 3 ≈ 8.667 \tfrac{26}{3} \approx 8.667 3 26 ≈ 8.667 .
Evaluate (a) ∫ 0 π / 2 cos x d x \displaystyle\int_0^{\pi/2} \cos x\,dx ∫ 0 π /2 cos x d x and (b) ∫ 0 π sin x d x \displaystyle\int_0^{\pi} \sin x\,dx ∫ 0 π sin x d x . (Angles are in radians.)
Solution.
(a) ∫ 0 π / 2 cos x d x = [ 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 ∫ 0 π /2 cos x d x = [ sin x ] 0 π /2 = sin 2 π − sin 0 = 1 − 0 = 1
(b) An antiderivative of sin x \sin x sin x is − cos x -\cos x − cos x :
∫ 0 π sin x d x = [ − 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 ∫ 0 π sin x d x = [ − cos x ] 0 π = − cos π − ( − cos 0 ) = − ( − 1 ) + 1 = 2
So one “hump” of the sine curve has area exactly 2 2 2 .
Evaluate ∫ 1 4 ( 3 x − 2 x 2 ) d x \displaystyle\int_1^4 \left(3\sqrt{x} - \frac{2}{x^2}\right)dx ∫ 1 4 ( 3 x − x 2 2 ) d x .
Solution. Write the terms as powers: 3 x 1 / 2 − 2 x − 2 3x^{1/2} - 2x^{-2} 3 x 1/2 − 2 x − 2 . Antidifferentiate each term with the power rule:
3 ⋅ x 3 / 2 3 / 2 − 2 ⋅ x − 1 − 1 = 2 x 3 / 2 + 2 x 3 \cdot \frac{x^{3/2}}{3/2} - 2 \cdot \frac{x^{-1}}{-1} = 2x^{3/2} + \frac{2}{x} 3 ⋅ 3/2 x 3/2 − 2 ⋅ − 1 x − 1 = 2 x 3/2 + x 2
∫ 1 4 ( 3 x − 2 x 2 ) d x = [ 2 x 3 / 2 + 2 x ] 1 4 = ( 2 ( 8 ) + 2 4 ) − ( 2 ( 1 ) + 2 1 ) = 16.5 − 4 = 25 2 \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} ∫ 1 4 ( 3 x − x 2 2 ) d x = [ 2 x 3/2 + x 2 ] 1 4 = ( 2 ( 8 ) + 4 2 ) − ( 2 ( 1 ) + 1 2 ) = 16.5 − 4 = 2 25
A function f f f satisfies f ( 2 ) = 5 f(2) = 5 f ( 2 ) = 5 and f ′ ( x ) = 1 + x 3 f'(x) = \sqrt{1 + x^3} f ′ ( x ) = 1 + x 3 . Find f ( 4 ) f(4) f ( 4 ) .
Solution. By the net change theorem,
f ( 4 ) = f ( 2 ) + ∫ 2 4 f ′ ( x ) d x = 5 + ∫ 2 4 1 + x 3 d x . f(4) = f(2) + \int_2^4 f'(x)\,dx = 5 + \int_2^4 \sqrt{1 + x^3}\,dx . f ( 4 ) = f ( 2 ) + ∫ 2 4 f ′ ( x ) d x = 5 + ∫ 2 4 1 + x 3 d x .
There’s no simple antiderivative of 1 + x 3 \sqrt{1 + x^3} 1 + x 3 , so use a calculator’s numerical integration: ∫ 2 4 1 + x 3 d x ≈ 10.742 \displaystyle\int_2^4 \sqrt{1 + x^3}\,dx \approx 10.742 ∫ 2 4 1 + x 3 d x ≈ 10.742 .
f ( 4 ) ≈ 5 + 10.742 = 15.742 f(4) \approx 5 + 10.742 = 15.742 f ( 4 ) ≈ 5 + 10.742 = 15.742
On the AP exam, write the integral expression (with the 5 + 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}) F ( upper ) − F ( lower ) , always.
Losing a sign when subtracting. Put the whole F ( a ) F(a) F ( a ) in brackets. In Example 3, − ( 2 + 2 ) -\big(2 + 2\big) − ( 2 + 2 ) , not − 2 + 2 -2 + 2 − 2 + 2 .
Antidifferentiating sine with the wrong sign. d d x ( − cos x ) = sin x \dfrac{d}{dx}(-\cos x) = \sin x d x d ( − cos x ) = sin x , so ∫ sin x d x = − cos x + C \int \sin x\,dx = -\cos x + C ∫ sin x d x = − cos x + C . Check by differentiating.
Using degrees. cos π 2 \cos\tfrac{\pi}{2} cos 2 π means radians. Make sure your calculator is in radian mode for calculus.
Thinking a zero integral means zero area. ∫ − 1 2 ( x 2 − 2 x ) d x = 0 \int_{-1}^{2} (x^2 - 2x)\,dx = 0 ∫ − 1 2 ( x 2 − 2 x ) d x = 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 ∫ 0 2 ( 3 x 2 + 1 ) d x \displaystyle\int_0^2 (3x^2 + 1)\,dx ∫ 0 2 ( 3 x 2 + 1 ) d x .
Solution [ x 3 + x ] 0 2 = ( 8 + 2 ) − 0 = 10 \Big[x^3 + x\Big]_0^2 = (8 + 2) - 0 = 10 [ x 3 + x ] 0 2 = ( 8 + 2 ) − 0 = 10
2. (Warm-up) Evaluate ∫ 1 2 4 x 3 d x \displaystyle\int_1^2 4x^3\,dx ∫ 1 2 4 x 3 d x .
Solution [ x 4 ] 1 2 = 16 − 1 = 15 \Big[x^4\Big]_1^2 = 16 - 1 = 15 [ x 4 ] 1 2 = 16 − 1 = 15
3. (Warm-up) Evaluate ∫ 0 1 e x d x \displaystyle\int_0^1 e^x\,dx ∫ 0 1 e x d x .
Solution [ e x ] 0 1 = e − 1 ≈ 1.718 \Big[e^x\Big]_0^1 = e - 1 \approx 1.718 [ e x ] 0 1 = e − 1 ≈ 1.718
4. (Core) Evaluate ∫ 0 π / 4 sec 2 x d x \displaystyle\int_0^{\pi/4} \sec^2 x\,dx ∫ 0 π /4 sec 2 x d x .
Solution d d x tan x = sec 2 x \dfrac{d}{dx}\tan x = \sec^2 x d x d 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 [ tan x ] 0 π /4 = tan 4 π − tan 0 = 1
5. (Core) Evaluate ∫ 1 9 x − 1 x d x \displaystyle\int_1^9 \frac{x - 1}{\sqrt{x}}\,dx ∫ 1 9 x x − 1 d x .
Solution Split the fraction: x − 1 x = x 1 / 2 − x − 1 / 2 \dfrac{x - 1}{\sqrt{x}} = x^{1/2} - x^{-1/2} x x − 1 = x 1/2 − x − 1/2 .
∫ 1 9 ( x 1 / 2 − x − 1 / 2 ) d x = [ 2 3 x 3 / 2 − 2 x 1 / 2 ] 1 9 = ( 2 3 ( 27 ) − 2 ( 3 ) ) − ( 2 3 − 2 ) = 12 − ( − 4 3 ) = 40 3 \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} ∫ 1 9 ( x 1/2 − x − 1/2 ) d x = [ 3 2 x 3/2 − 2 x 1/2 ] 1 9 = ( 3 2 ( 27 ) − 2 ( 3 ) ) − ( 3 2 − 2 ) = 12 − ( − 3 4 ) = 3 40
6. (Core) Evaluate ∫ − 1 2 ( x 2 − 2 x ) d x \displaystyle\int_{-1}^{2} (x^2 - 2x)\,dx ∫ − 1 2 ( x 2 − 2 x ) d x . What does the answer tell you about the graph?
Solution [ x 3 3 − x 2 ] − 1 2 = ( 8 3 − 4 ) − ( − 1 3 − 1 ) = − 4 3 − ( − 4 3 ) = 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 [ 3 x 3 − x 2 ] − 1 2 = ( 3 8 − 4 ) − ( − 3 1 − 1 ) = − 3 4 − ( − 3 4 ) = 0 The net signed area is 0 0 0 : the region above the axis (from − 1 -1 − 1 to 0 0 0 ) has exactly the same area as the region below the axis (from 0 0 0 to 2 2 2 ).
7. (Core) Evaluate ∫ 1 e ( 2 x + x ) d x \displaystyle\int_1^e \left(\frac{2}{x} + x\right)dx ∫ 1 e ( x 2 + x ) d x .
Solution [ 2 ln ∣ x ∣ + x 2 2 ] 1 e = ( 2 + e 2 2 ) − ( 0 + 1 2 ) = 3 2 + e 2 2 ≈ 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 [ 2 ln ∣ x ∣ + 2 x 2 ] 1 e = ( 2 + 2 e 2 ) − ( 0 + 2 1 ) = 2 3 + 2 e 2 ≈ 5.195
8. (Challenge) A tank holds 200 200 200 L of water at t = 0 t = 0 t = 0 . Water drains out at a rate of r ( t ) = 10 e − 0.1 t r(t) = 10e^{-0.1t} r ( t ) = 10 e − 0.1 t litres per minute. How much water is in the tank after 5 5 5 minutes? (Calculator active.)
Solution The water is leaving, so subtract the amount drained:
200 − ∫ 0 5 10 e − 0.1 t d t ≈ 200 − 39.347 = 160.653 200 - \int_0^5 10e^{-0.1t}\,dt \approx 200 - 39.347 = 160.653 200 − ∫ 0 5 10 e − 0.1 t d t ≈ 200 − 39.347 = 160.653 There are about 160.653 160.653 160.653 L left. (Exactly, the integral is 100 ( 1 − e − 0.5 ) 100(1 - e^{-0.5}) 100 ( 1 − e − 0.5 ) .)
9. (Challenge) Evaluate ∫ 0 2 ∣ x 2 − 1 ∣ d x \displaystyle\int_0^2 |x^2 - 1|\,dx ∫ 0 2 ∣ x 2 − 1∣ d x .
Solution x 2 − 1 x^2 - 1 x 2 − 1 is negative on [ 0 , 1 ) [0, 1) [ 0 , 1 ) and positive on ( 1 , 2 ] (1, 2] ( 1 , 2 ] , so split at x = 1 x = 1 x = 1 :
∫ 0 2 ∣ x 2 − 1 ∣ d x = ∫ 0 1 ( 1 − x 2 ) d x + ∫ 1 2 ( x 2 − 1 ) d x = [ x − x 3 3 ] 0 1 + [ x 3 3 − x ] 1 2 = 2 3 + ( 2 3 − ( − 2 3 ) ) = 2 3 + 4 3 = 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} ∫ 0 2 ∣ x 2 − 1∣ d x = ∫ 0 1 ( 1 − x 2 ) d x + ∫ 1 2 ( x 2 − 1 ) d x = [ x − 3 x 3 ] 0 1 + [ 3 x 3 − x ] 1 2 = 3 2 + ( 3 2 − ( − 3 2 ) ) = 3 2 + 3 4 = 2