• Foundation
  • About 18 min
  • 5 practice questions

Integration as the inverse of differentiation

Understand antiderivatives and the constant of integration, use the table of standard integrals and the properties of the indefinite integral, and integrate simple functions by inspection.

If something looks wrong, please tell us.

Differential calculus starts with a function and finds its rate of change. Integral calculus asks the reverse question: if we know the rate of change at every point, can we recover the function? If we know the velocity of a car at every instant, can we find where it is? A second, closely linked question is how to find the area of a region bounded by a curve. These two questions give the two forms of the integral, the indefinite integral and the definite integral. This lesson builds the first one from the derivatives you already know.

Antiderivatives and the constant of integration

Let f be defined on an interval I. A function F with F′(x) = f(x) for every x in I is called an antiderivative (or primitive) of f. For example, d/dx (sin x) = cos x, so sin x is an antiderivative of cos x. But d/dx (sin x + 7) = cos x as well, because the derivative of a constant is zero. So if F is one antiderivative of f, then F + C is also an antiderivative for every real number C. The number C is called the arbitrary constant or constant of integration, and {F + C : C ∈ R} is a whole family of antiderivatives.

This family contains every antiderivative of f. Suppose g and h have the same derivative on I. Put φ = g − h. Then φ′(x) = g′(x) − h′(x) = 0 for every x in I, and a function whose rate of change is zero on an interval is constant there. So g − h = constant: two antiderivatives of the same function differ only by a constant. Geometrically, the graphs y = F(x) + C are copies of one curve shifted up or down; at any given x they all have the same slope.

The whole family is written with the integral sign: ∫ f(x) dx = F(x) + C, read as 'the indefinite integral of f with respect to x'. The process of finding it is called integration (or antidifferentiation).

The language of integration
Symbol or termMeaning
∫ f(x) dxThe indefinite integral of f with respect to x
f(x) in ∫ f(x) dxThe integrand
x in ∫ f(x) dxThe variable of integration
An integral of fA function F such that F′(x) = f(x)
IntegrationThe process of finding the integral
Constant of integration CAny real number, treated as a constant function

Differentiation and integration side by side

  • Differentiation
    • Given F, find F′ = f
    • Answer is a single function
    • d/dx (x³ + 5) = 3x²
    • Gives the slope of a tangent
  • Integration
    • Given f, find F with F′ = f
    • Answer is a family F + C
    • ∫ 3x² dx = x³ + C
    • Linked to the area under a curve
Each process undoes the other, except that integration can only recover the function up to an added constant.

If F′(x) = f(x) on an interval, then ∫ f(x) dx = F(x) + C, where C is an arbitrary real constant.

Standard integrals read off from derivatives

Every derivative formula, read backwards, gives an integral formula. These standard integrals are the building blocks for everything else in the chapter, so learn them in pairs with the derivatives.

Standard integrals (C is the constant of integration)
Known derivativeIntegral obtained
d/dx [xⁿ⁺¹/(n + 1)] = xⁿ∫ xⁿ dx = xⁿ⁺¹/(n + 1) + C, n ≠ −1
d/dx (x) = 1∫ dx = x + C
d/dx (sin x) = cos x∫ cos x dx = sin x + C
d/dx (−cos x) = sin x∫ sin x dx = −cos x + C
d/dx (tan x) = sec² x∫ sec² x dx = tan x + C
d/dx (−cot x) = cosec² x∫ cosec² x dx = −cot x + C
d/dx (sec x) = sec x tan x∫ sec x tan x dx = sec x + C
d/dx (−cosec x) = cosec x cot x∫ cosec x cot x dx = −cosec x + C
d/dx (sin⁻¹ x) = 1/√(1 − x²)∫ dx/√(1 − x²) = sin⁻¹ x + C
d/dx (−cos⁻¹ x) = 1/√(1 − x²)∫ dx/√(1 − x²) = −cos⁻¹ x + C
d/dx (tan⁻¹ x) = 1/(1 + x²)∫ dx/(1 + x²) = tan⁻¹ x + C
d/dx (eˣ) = eˣ∫ eˣ dx = eˣ + C
d/dx (log |x|) = 1/x∫ (1/x) dx = log |x| + C
d/dx (aˣ/log a) = aˣ∫ aˣ dx = aˣ/log a + C (a > 0, a ≠ 1)

Two remarks. First, ∫ dx/√(1 − x²) can be written as sin⁻¹ x + C or as −cos⁻¹ x + C. There is no contradiction: since sin⁻¹ x + cos⁻¹ x = π/2, the two answers differ only by the constant π/2. Second, we write log |x| rather than log x because 1/x is defined for negative x too. For x > 0, d/dx (log x) = 1/x; for x < 0, d/dx [log(−x)] = (−1)/(−x) = 1/x. Both cases are covered by log |x|. Throughout this course log means the natural logarithm (base e).

Properties of the indefinite integral

  1. d/dx [∫ f(x) dx] = f(x), and ∫ f′(x) dx = f(x) + C. Differentiation and integration undo each other, apart from the constant.
  2. Two indefinite integrals with the same derivative describe the same family of curves, so they are treated as equal.
  3. ∫ [f(x) + g(x)] dx = ∫ f(x) dx + ∫ g(x) dx (the integral of a sum is the sum of the integrals).
  4. ∫ k f(x) dx = k ∫ f(x) dx for any real constant k.
  5. In general, ∫ [k₁f₁(x) + k₂f₂(x) + … + kₙfₙ(x)] dx = k₁∫ f₁(x) dx + k₂∫ f₂(x) dx + … + kₙ∫ fₙ(x) dx.

Why property 3 holds: differentiate each side. By property 1 the left side gives f(x) + g(x); the right side gives d/dx ∫ f dx + d/dx ∫ g dx = f(x) + g(x). Both sides have the same derivative, so by property 2 they are the same family. Property 4 is proved in the same way.

Integration by inspection. For simple integrands we search for a function whose derivative is the integrand. For example, d/dx (cos 3x) = −3 sin 3x, so sin 3x = d/dx (−⅓ cos 3x), and an antiderivative of sin 3x is −(1/3) cos 3x. In the same way, an antiderivative of e⁵ˣ is e⁵ˣ/5, because d/dx (e⁵ˣ) = 5e⁵ˣ.

Worked examples

Worked example 1: a sum of standard forms

Find ∫ (2x³ − 5x + 3/x + 4eˣ) dx. Using property 5 term by term: ∫ 2x³ dx = 2 · x⁴/4 = x⁴/2; ∫ 5x dx = 5x²/2; ∫ 3/x dx = 3 log |x|; ∫ 4eˣ dx = 4eˣ. So the integral is x⁴/2 − 5x²/2 + 3 log |x| + 4eˣ + C. Each term could carry its own constant, but their sum is just another constant, so one C is written in the final answer.

Worked example 2: fractional powers

Find ∫ (x + 1)²/√x dx. Expand and divide: (x² + 2x + 1)x^(−1/2) = x^(3/2) + 2x^(1/2) + x^(−1/2). Now use the power rule on each term: ∫ x^(3/2) dx = x^(5/2)/(5/2) = (2/5)x^(5/2); ∫ 2x^(1/2) dx = 2 · x^(3/2)/(3/2) = (4/3)x^(3/2); ∫ x^(−1/2) dx = x^(1/2)/(1/2) = 2x^(1/2). Answer: (2/5)x^(5/2) + (4/3)x^(3/2) + 2√x + C.

Worked example 3: rewrite before integrating

(i) ∫ cos x/sin² x dx = ∫ (1/sin x)(cos x/sin x) dx = ∫ cosec x cot x dx = −cosec x + C. (ii) ∫ tan² x dx: there is no standard form for tan² x, but tan² x = sec² x − 1, so ∫ tan² x dx = ∫ sec² x dx − ∫ dx = tan x − x + C. Rewriting the integrand with an identity is often the whole trick.

Worked example 4: fixing the constant

Find the antiderivative F of f(x) = 6x² − 2x + 5 that satisfies F(1) = 10. The general antiderivative is F(x) = 2x³ − x² + 5x + C. Put x = 1: F(1) = 2 − 1 + 5 + C = 6 + C. Since F(1) = 10, C = 4. So F(x) = 2x³ − x² + 5x + 4. An extra condition of this kind picks out one member of the family.

A word of caution: not every function has an antiderivative that can be written with polynomials, exponentials, logarithms, trigonometric functions and their inverses. A famous example is e^(−x²); no such elementary function has it as its derivative, so ∫ e^(−x²) dx cannot be found by inspection.

Key takeaways

  • An antiderivative F of f satisfies F′ = f; all antiderivatives are F + C.
  • Every standard derivative gives a standard integral; learn them in pairs.
  • The integral of a sum is the sum of integrals, and constants come outside.
  • ∫ xⁿ dx = xⁿ⁺¹/(n + 1) + C needs n ≠ −1; for n = −1 the answer is log |x| + C.
  • A condition such as F(1) = 10 fixes the value of C.

Check your understanding

  1. 1. What is ∫ x⁻³ dx?

    1. −1/(2x²) + C
    2. −3x⁻⁴ + C
    3. x⁻²/2 + C
    4. −1/(4x⁴) + C
    Show answer

    Answer: A. Use ∫ xⁿ dx = xⁿ⁺¹/(n + 1) + C with n = −3: x⁻²/(−2) + C = −1/(2x²) + C. The option −3x⁻⁴ is the derivative, not the integral.

  2. 2. ∫ (sec² x − cosec² x) dx equals

    1. tan x − cot x + C
    2. tan x + cot x + C
    3. −tan x − cot x + C
    4. sec x + cosec x + C
    Show answer

    Answer: B. ∫ sec² x dx = tan x and ∫ cosec² x dx = −cot x. Subtracting: tan x − (−cot x) = tan x + cot x, plus C.

  3. 3. F′(x) = 4x³ − 6x and F(2) = 5. What is F(0)?

    1. 5
    2. 0
    3. −3
    4. 1
    Show answer

    Answer: D. F(x) = x⁴ − 3x² + C. F(2) = 16 − 12 + C = 4 + C = 5, so C = 1. Then F(0) = 0 − 0 + 1 = 1.

  4. 4. Assertion (A): ∫ dx/√(1 − x²) may be written as sin⁻¹ x + C and also as −cos⁻¹ x + C. Reason (R): sin⁻¹ x + cos⁻¹ x = π/2, so the two answers differ only by a constant.

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. A is false, but R is true
    Show answer

    Answer: A. Both sin⁻¹ x and −cos⁻¹ x have derivative 1/√(1 − x²), so A is true. R is a true identity, and it is exactly why the two forms are both correct: −cos⁻¹ x = sin⁻¹ x − π/2, which is sin⁻¹ x plus a constant.

  5. 5. ∫ tan² x dx equals

    1. tan³ x/3 + C
    2. sec x tan x + C
    3. tan x − x + C
    4. tan x + x + C
    Show answer

    Answer: C. Write tan² x = sec² x − 1. Then ∫ tan² x dx = ∫ sec² x dx − ∫ 1 dx = tan x − x + C. (tan³ x/3 would need a factor sec² x in the integrand.)

Privacy · Terms · Refunds · Delivery