Skip to content
LoveToCalc

Concept — what does that mean?

Antiderivatives

An antiderivative of f is a function whose derivative is f. x² is an antiderivative of 2x, and so is x² + 5.

In Swedish: Primitiv funktion

What it is

F is an antiderivative of f on an interval if F′(x) = f(x) for every x in the interval. You look for a function that gives f when it is differentiated, and you check the answer by differentiating it.

A few pairs worth knowing. The right-hand column is the check.

f(x) An antiderivative F(x) F′(x)
3x² x³ 3x²
x x²/2 x
5 5x 5
cos x sin x cos x
eˣ eˣ eˣ
1/x, x > 0 ln x 1/x

Not antiderivatives:

A function that is continuous on an interval has an antiderivative there, but it cannot always be written as a formula. e^(−x²) has an antiderivative, but no formula for it built from powers, roots, exponentials, logarithms and trigonometric functions.

Why it matters

A definite integral is computed with an antiderivative. If f is continuous on [a, b] and F is an antiderivative of f, then ∫ₐᵇ f(x) dx = F(b) − F(a); see definite integral. With F(x) = x², ∫₁³ 2x dx = 3² − 1² = 8. The choice of antiderivative does not change the answer, because C appears in both F(b) and F(a) and cancels. Why this works is the fundamental theorem of calculus.

The integral calculator finds antiderivatives, and the derivative calculator checks them.

Common misconceptions

Common questions

How do I check that F is an antiderivative of f? Differentiate F. If you get f, F is an antiderivative of f. F(x) = x³/3 + 2x has derivative x² + 2, so it is an antiderivative of x² + 2.

Why is + C sometimes written and sometimes not? The answer to an indefinite integral is a family of functions, and C stands for any member of it. The answer to a definite integral is a number, and there C cancels. A condition gives C a value: F(x) = x² + C and F(0) = 5 give C = 5.

Does every function have an antiderivative? Every function that is continuous on an interval has one. A function with a jump does not: f(x) = 0 for x < 1 and f(x) = 1 for x ≥ 1 has no antiderivative on any interval with points on both sides of x = 1. And where an antiderivative exists, a formula for it may not, as for e^(−x²). A definite integral is then computed numerically, for example with the trapezoidal rule.

Last reviewed October 22, 2026 ·How pages are reviewed

Calculate it in practice

CalculusAll formulas