Practice Maths

Anti-differentiation and Indefinite Integrals

Key Terms

Anti-differentiation is the reverse of differentiation: find F(x) such that F′(x) = f(x)
The indefinite integral ∫ f(x) dx = F(x) + c, where c is an arbitrary constant
The constant c is essential — there are infinitely many antiderivatives of any function
An initial condition (e.g. f(0) = 3) pins down the exact value of c
Always add + c for indefinite integrals; never add + c for definite integrals
Standard Integrals:
∫ xn dx = xn+1/(n+1) + c    (n ≠ −1)
∫ ex dx = ex + c
∫ sin x dx = −cos x + c
∫ cos x dx = sin x + c
∫ 1/x dx = ln|x| + c    (x ≠ 0)

Linearity rules:
∫ k f(x) dx = k ∫ f(x) dx    ∫ [f(x) ± g(x)] dx = ∫ f(x) dx ± ∫ g(x) dx
Worked Example 1: Find ∫ (3x² − 4x + 5) dx

Integrate term by term:
∫ 3x² dx = 3 · x³/3 = x³
∫ −4x dx = −4 · x²/2 = −2x²
∫ 5 dx = 5x

Answer: x³ − 2x² + 5x + c

Check: d/dx(x³ − 2x² + 5x + c) = 3x² − 4x + 5 ✓
Worked Example 2: Given f′(x) = 2ex − cos x and f(0) = 3, find f(x).

Step 1: Integrate: f(x) = 2ex − sin x + c
Step 2: Apply initial condition f(0) = 3:
2e0 − sin 0 + c = 3
2 − 0 + c = 3
c = 1

Answer: f(x) = 2ex − sin x + 1
Hot Tip: Never forget + c on an indefinite integral — examiners deduct marks for omitting it. After integrating, always verify by differentiating your answer to check you recover the original integrand.

What Is Anti-differentiation?

Differentiation takes a function and produces its rate of change. Anti-differentiation reverses this process: given a rate of change (derivative), we reconstruct the original function. This is one of the two fundamental operations of calculus, and it underpins everything from finding displacement from velocity to computing areas under curves.

Formally, if F′(x) = f(x), then F(x) is called an antiderivative of f(x). The process of finding F(x) from f(x) is called anti-differentiation or integration. We write this using integral notation:

∫ f(x) dx = F(x) + c

The symbol ∫ is an elongated S (for "sum"), dx tells us the variable of integration, f(x) is the integrand, and c is the constant of integration.

Why the Constant of Integration?

When we differentiate any constant, the result is zero. This means that d/dx[F(x) + 3] = F′(x), and d/dx[F(x) − 7] = F′(x) as well. So any function of the form F(x) + c is an antiderivative of f(x), for any constant c. Without additional information, we cannot determine c, so we write + c to acknowledge this family of antiderivatives.

For example, ∫ 2x dx could be x² + 3, or x² − 5, or x² + 1000. All are correct antiderivatives. We write the general answer as x² + c.

Standard Integration Rules

The power rule is the most commonly applied rule: ∫ xn dx = xn+1/(n+1) + c, valid for n ≠ −1. Notice that the index increases by 1 (the opposite of differentiation) and we divide by the new index.

The special case n = −1 gives ∫ x−1 dx = ∫ 1/x dx = ln|x| + c. The absolute value is important because ln is only defined for positive inputs, but 1/x exists for all non-zero x.

For exponentials: ∫ ex dx = ex + c. The exponential function is its own derivative, so it is also its own antiderivative — one of the remarkable properties of ex.

For trigonometric functions: ∫ sin x dx = −cos x + c (note the negative sign), and ∫ cos x dx = sin x + c. These follow directly from reversing the known derivatives: d/dx(sin x) = cos x, and d/dx(−cos x) = sin x.

Finding a Specific Antiderivative from an Initial Condition

The general antiderivative F(x) + c contains an unknown constant. An initial condition provides the value of f at a specific point — for example, f(0) = 5 or f(1) = −2. Substituting this information into F(x) + c allows us to solve for c exactly.

This process converts a family of antiderivatives into a unique function. It appears throughout mechanics (finding position from velocity given an initial position), in growth/decay models, and in any problem where a rate of change and a starting value are both known.

Procedure: (1) Integrate to find F(x) + c. (2) Substitute the initial condition. (3) Solve for c. (4) Write the particular solution.

Integration as Reverse Differentiation: Verification

A powerful self-check is to differentiate your answer and verify you recover the original integrand. If ∫ f(x) dx = F(x) + c, then F′(x) must equal f(x). This check catches sign errors, forgotten constants, and incorrect index arithmetic. Developing the habit of checking will save marks on exams.

Exam strategy: Always write your working in the order: write the integral, apply each rule term by term, simplify, then add + c. A missing + c typically costs one mark even if all other working is perfect.

Mastery Practice

  1. Find ∫ (x³ + 2x − 7) dx.
  2. Find ∫ (4ex + 3 sin x) dx.
  3. Find ∫ (5 cos x − 2/x) dx.
  4. Find ∫ (6x² − 4x + 1/x) dx.
  5. Find ∫ (x4 − x−2) dx. Simplify your answer.
  6. Given f′(x) = 3x² − 6x + 2 and f(1) = 4, find f(x).
  7. Given f′(x) = sin x + ex and f(0) = 2, find f(x).
  8. A student claims that ∫ x−1 dx = x0/0 + c. Explain why this is incorrect and state the correct result.
  9. The gradient function of a curve is f′(x) = 4x − 3/x². The curve passes through the point (1, 6). Find the equation of the curve.
  10. The acceleration of a particle is a(t) = 6t − 4 m/s². At t = 0 the velocity is −2 m/s, and the particle is at position s = 5 m. Find expressions for v(t) and s(t).