Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Indefinite Integrals






Reversing Differentiation


Differentiation takes a function and produces its rate of change. The indefinite integral reverses this process: given a rate of change, find the original function.

If F(x)=f(x)F'(x) = f(x), then FF is an antiderivative of ff. The indefinite integral collects all such antiderivatives:

f(x)dx=F(x)+C\int f(x)\, dx = F(x) + C


The constant CC reflects a fundamental ambiguity. Since the derivative of any constant is zero, functions differing by a constant share the same derivative. The family F(x)+CF(x) + C captures every function whose derivative equals f(x)f(x).

Finding antiderivatives is the central challenge. Unlike differentiation, which follows mechanical rules, integration demands pattern recognition, technique, and sometimes ingenuity.



Antiderivatives


A function FF is an antiderivative of ff if:

F(x)=f(x)F'(x) = f(x)


The antiderivative reverses differentiation. Given f(x)=2xf(x) = 2x, the function F(x)=x2F(x) = x^2 is an antiderivative because (x2)=2x(x^2)' = 2x.

But F(x)=x2+5F(x) = x^2 + 5 is also an antiderivative—its derivative is likewise 2x2x. So is x217x^2 - 17, or x2+πx^2 + \pi. Any function of the form x2+Cx^2 + C differentiates to 2x2x.

Antiderivatives are not unique. They form a family of functions, all differing by constants.

The Constant of Integration


If F(x)F(x) is one antiderivative of f(x)f(x), then every antiderivative has the form:

F(x)+CF(x) + C


where CC is an arbitrary constant. This follows from a basic fact: if two functions have the same derivative on an interval, they differ by a constant.

The "+C+ C" in indefinite integrals is not optional notation—it represents the complete answer. Omitting it gives only one member of the family when infinitely many exist.

Initial conditions pin down CC. If you know that F(0)=3F(0) = 3, for instance, you can solve for the specific constant that satisfies this requirement.

Notation


The indefinite integral is written:

f(x)dx=F(x)+C\int f(x)\, dx = F(x) + C


The integral sign \int without limits indicates an indefinite integral. The integrand f(x)f(x) is the function being integrated. The differential dxdx specifies the variable.

The result is a function (or family of functions), not a number. This contrasts with the definite integral, which produces a numerical value.

The notation mirrors the definite integral deliberately. The Fundamental Theorem of Calculus connects them: indefinite integrals provide the antiderivatives that definite integrals evaluate.

Basic Antiderivative Formulas


Several antiderivatives appear constantly and should be memorized.

Power rule (for n1n \neq -1):

xndx=xn+1n+1+C\int x^n\, dx = \frac{x^{n+1}}{n+1} + C


Reciprocal:

1xdx=lnx+C\int \frac{1}{x}\, dx = \ln|x| + C


Exponential:

exdx=ex+C\int e^x\, dx = e^x + C


Trigonometric:

cosxdx=sinx+Csinxdx=cosx+C\int \cos x\, dx = \sin x + C \qquad \int \sin x\, dx = -\cos x + C


The special integrals page provides a more complete list.

Linearity of Indefinite Integrals


Indefinite integrals obey the same linearity rules as definite integrals.

Sum rule:

[f(x)+g(x)]dx=f(x)dx+g(x)dx\int [f(x) + g(x)]\, dx = \int f(x)\, dx + \int g(x)\, dx


Constant multiple rule:

cf(x)dx=cf(x)dx\int c \cdot f(x)\, dx = c \int f(x)\, dx


These rules reduce complex integrands to combinations of simpler ones. For example:

(3x2+5x2)dx=3x33+5x222x+C=x3+5x222x+C\int (3x^2 + 5x - 2)\, dx = 3 \cdot \frac{x^3}{3} + 5 \cdot \frac{x^2}{2} - 2x + C = x^3 + \frac{5x^2}{2} - 2x + C


Verifying Antiderivatives


Integration has a built-in check: differentiate your answer.

If f(x)dx=F(x)+C\int f(x)\, dx = F(x) + C, then F(x)F'(x) must equal f(x)f(x). If it doesn't, an error occurred.

For example, suppose you compute:

sec2xdx=tanx+C\int \sec^2 x\, dx = \tan x + C


Verify: (tanx)=sec2x(\tan x)' = \sec^2 x. Correct.

This check catches sign errors, missing constants, and algebraic mistakes. It works because differentiation is mechanical—once you have a candidate antiderivative, verification is straightforward.

Connection to Definite Integrals


Indefinite and definite integrals serve different purposes but are linked by the Fundamental Theorem of Calculus.

The indefinite integral finds antiderivatives:

f(x)dx=F(x)+C\int f(x)\, dx = F(x) + C


The definite integral uses an antiderivative to compute accumulated quantity:

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


The constant CC cancels when evaluating F(b)F(a)F(b) - F(a), so any antiderivative works. This connection, detailed on the rules page, is why mastering indefinite integration enables computation of definite integrals.