Integrals: antiderivatives and the definite integral

Antiderivatives, the table of indefinite integrals, Riemann sums, the definite integral as an area, the Fundamental Theorem of Calculus, properties of integrals, the area between curves and the average value of a function.

  • University
  • 32 min
  • 10 questions
  • Lesson 82 of 92

In this lesson you will learn

  • Find antiderivatives with the table and linearity
  • Explain the definite integral as a limit of Riemann sums
  • Evaluate definite integrals with the Newton–Leibniz formula
  • Find the area between curves and the average value of a function

A car's trip computer records the speed every second. How far has the car gone? If the speed were constant, distance = speed × time, but the speed keeps changing. Split the trip into tiny time intervals, multiply speed by time in each, add up the products and let the intervals shrink: the result is an integral. Surprisingly, it is computed by running differentiation backwards.

Antiderivatives and the indefinite integral

AntiderivativeDefinition

F is an antiderivative of f on an interval if F′(x) = f(x) at every point of it. For example, x³/3 is an antiderivative of x², and so are x³/3 + 5 and x³/3 − π: any two antiderivatives differ by a constant.

∫ f(x) dx = F(x) + CF′(x) = f(x)

Where

∫
the integral sign
f(x)
the integrand
dx
shows that x is the variable of integration
C
an arbitrary constant

The indefinite integral is the whole family of antiderivatives. Linearity: ∫ (a · f + b · g) dx = a ∫ f dx + b ∫ g dx.

f(x)∫ f(x) dxNote
xⁿxⁿ⁺¹ / (n + 1) + Cn ≠ −1; ∫ x³ dx = x⁴/4 + C
1 / xln |x| + Cx ≠ 0; the case n = −1
eˣeˣ + Cits own antiderivative
aˣaˣ / ln a + Ca > 0, a ≠ 1
sin x−cos x + Cmind the minus sign
cos xsin x + Cx in radians
1 / cos² xtan x + Ccos x ≠ 0
1 / sin² x−cot x + Csin x ≠ 0
1 / (1 + x²)arctan x + Call x
1 / √(1 − x²)arcsin x + C|x| < 1
1 / (x² + a²)(1/a) arctan(x/a) + Ca ≠ 0
Table of basic integrals: the table of derivatives read backwards.
∫ f(kx + b) dx = (1/k) · F(kx + b) + C∫ f(kx + b) dx = (1/k) · F(kx + b) + C

Where

F
an antiderivative of f
k, b
constants, k ≠ 0

Linear-argument rule: ∫ cos 3x dx = (1/3) sin 3x + C, ∫ e²ˣ⁺¹ dx = (1/2) e²ˣ⁺¹ + C, ∫ dx/(2x − 5) = (1/2) ln|2x − 5| + C.

Integrating with the table

Problem

a) ∫ (3x² − 4/x + 2eˣ) dx
b) ∫ (√x + 1/x²) dx

Show solutionHide solution

Solution

a) Integrate term by term: 3 · x³/3 − 4 ln|x| + 2eˣ + C = x³ − 4 ln|x| + 2eˣ + C.
b) Write as powers: x^(1/2) + x⁻². ∫ x^(1/2) dx = x^(3/2)/(3/2) = (2/3)x^(3/2); ∫ x⁻² dx = x⁻¹/(−1) = −1/x.
Answer: (2/3)x√x − 1/x + C.
Check: ((2/3)x^(3/2))′ = x^(1/2) = √x and (−1/x)′ = 1/x². ✓

Interactive

Loading simulation…
The first curve is f(x) = x², the second is one of its antiderivatives, F(x) = x³/3 + C. Change C: the graph of F moves up and down, but its slope at every x stays equal to f(x). That is why the constant C is arbitrary.

Sign up free to keep reading

The rest of the lesson, the quiz and your notes open with an Educora account. Signing up takes a minute, and your progress is saved on all your devices.

The definite integral: Riemann sums

Let f be continuous on [a, b]. Divide [a, b] into n equal parts of width Δx = (b − a)/n, pick a point xᵢ* in each part and form the Riemann sum ∑ f(xᵢ*) · Δx, the total area of n thin rectangles. As n → ∞ the sums approach a single number, the definite integral. For f ≥ 0 it is the area under the graph; where f < 0, the area counts with a minus sign (signed area).

∫ₐᵇ f(x) dx = lim (n→∞) ∑ᵢ₌₁ⁿ f(xᵢ*) · ΔxΔx = (b − a)/n∫ₐᵇ f(x) dx = lim (n→∞) ∑ᵢ₌₁ⁿ f(xᵢ*) · ΔxΔx = (b − a)/n

Where

a, b
the lower and upper limits of integration
xᵢ*
a point chosen in the i-th subinterval
Δx
the width of each subinterval

Definition of the definite integral (Riemann). The sign ∫ is a stretched S for “sum” (summa), and dx recalls Δx.

Area with rectangles

Problem

Estimate ∫₀¹ x² dx with n = 4 rectangles, using right and left endpoints.

Show solutionHide solution

Solution

Δx = 1/4. Right endpoints 1/4, 1/2, 3/4, 1:
R₄ = (1/16 + 4/16 + 9/16 + 16/16) · 1/4 = 30/64 ≈ 0.469.
Left endpoints 0, 1/4, 1/2, 3/4: L₄ = (0 + 1/16 + 4/16 + 9/16) · 1/4 = 14/64 ≈ 0.219.
The exact area lies between them. With n rectangles Rₙ = (n + 1)(2n + 1)/(6n²) → 2/6 = 1/3 as n → ∞.

The Fundamental Theorem of Calculus

Adding up millions of rectangles is tedious. The great discovery of Newton and Leibniz links area to antiderivatives. Consider the area function A(x) = ∫ₐˣ f(t) dt. Increasing x by h adds a thin strip of width h and height about f(x): A(x + h) − A(x) ≈ f(x) · h. Divide by h and let h → 0: A′(x) = f(x). So the area function is an antiderivative of f!

d/dx ∫ₐˣ f(t) dt = f(x)d/dx ∫ₐˣ f(t) dt = f(x)

Where

∫ₐˣ f(t) dt
the area function A(x), an integral with a variable upper limit
t
the integration variable (a different letter so it is not confused with x)

The Fundamental Theorem, part 1: differentiation undoes integration.

∫ₐᵇ f(x) dx = F(b) − F(a) = F(x) |ₐᵇ

Where

F
any antiderivative of f
F(x) |ₐᵇ
short notation for F(b) − F(a)

The Newton–Leibniz formula (part 2 of the Fundamental Theorem). The constant C cancels in the difference, so any antiderivative will do.

Interactive

Loading simulation…
The shaded area is ∫₀ᵇ x² dx. Move b and compare the value in the top-right corner with the Newton–Leibniz formula: b³/3. For example, b = 2 gives 8/3 ≈ 2.667.

Evaluating with Newton–Leibniz

Problem

a) ∫₀¹ x² dx b) ∫₀^π sin x dx c) ∫₁^e dx/x d) ∫₀² (3x² − 2x + 1) dx

Show solutionHide solution

Solution

a) [x³/3]₀¹ = 1/3 − 0 = 1/3, exactly the limit of the Riemann sums above.
b) [−cos x]₀^π = −cos π + cos 0 = 1 + 1 = 2. One arch of the sine curve has area 2.
c) [ln x]₁^e = ln e − ln 1 = 1.
d) [x³ − x² + x]₀² = 8 − 4 + 2 = 6.
  • Swapping the limits changes the sign; ∫ₐᵃ f dx = 0.
  • Additivity: ∫ₐᵇ f dx = ∫ₐᵐ f dx + ∫ₘᵇ f dx for any m.
  • Linearity: ∫ₐᵇ (αf + βg) dx = α ∫ₐᵇ f dx + β ∫ₐᵇ g dx.
  • Comparison: if f(x) ≤ g(x) on [a, b], then ∫ₐᵇ f dx ≤ ∫ₐᵇ g dx.
  • Symmetry: for odd f, ∫₋ₐᵃ f dx = 0; for even f, ∫₋ₐᵃ f dx = 2 ∫₀ᵃ f dx.

Area between curves and average value

S = ∫ₐᵇ (f(x) − g(x)) dx

Where

f
the upper curve: f(x) ≥ g(x) on [a, b]
g
the lower curve
a, b
usually the x-coordinates where the curves intersect

Area between two curves: “upper minus lower”, then integrate.

Area between a line and a parabola

Problem

Find the area of the region enclosed by y = x and y = x².

Show solutionHide solution

Solution

Intersections: x = x² ⇒ x(x − 1) = 0 ⇒ x = 0 and x = 1.
On [0, 1], x ≥ x² (e.g. at x = 1/2: 1/2 > 1/4), so the line is on top.
S = ∫₀¹ (x − x²) dx = [x²/2 − x³/3]₀¹ = 1/2 − 1/3 = 1/6.
f̄ = 1/(b − a) · ∫ₐᵇ f(x) dxf̄ = 1/(b − a) · ∫ₐᵇ f(x) dx

Where

f̄
the average value of f on [a, b]
b − a
the length of the interval

Mean value theorem for integrals: a continuous f actually takes the value f̄ at some point c of the interval. The rectangle of height f̄ has the same area as the region under the graph.

Average value and average speed

Problem

a) Find the average value of sin x on [0, π].
b) A body moves with speed v(t) = 3t² m/s. Find the distance travelled for 0 ≤ t ≤ 2 s and the average speed.

Show solutionHide solution

Solution

a) f̄ = (1/π) ∫₀^π sin x dx = 2/π ≈ 0.637 (about 64% of the maximum value 1).
b) Distance: s = ∫₀² 3t² dt = [t³]₀² = 8 m.
Average speed: 8/2 = 4 m/s. Check: the speed grows from 0 to 12 m/s, and the average lies in between.

Remember

  • If F′ = f, then F is an antiderivative of f, and ∫ f dx = F + C.
  • ∫ xⁿ dx = xⁿ⁺¹/(n + 1) + C (n ≠ −1), ∫ dx/x = ln|x| + C, ∫ eˣ dx = eˣ + C.
  • The definite integral is the limit of Riemann sums: the signed area under the graph.
  • Newton–Leibniz: ∫ₐᵇ f dx = F(b) − F(a); also d/dx ∫ₐˣ f(t) dt = f(x).
  • Area between curves: ∫ₐᵇ (upper − lower) dx; average value: (1/(b − a)) ∫ₐᵇ f dx.
Spotted a mistake or something inaccurate in this lesson?

Check yourself

10 questions. Every correct answer earns XP.

Question 1 / 10

Question 1 / 10. What is ∫ (4x³ + 2x) dx?