01

Differentiation has no unique inverse

Differentiation is not one-to-one, so it has no true inverse function. The derivative of x² is 2x, but so is the derivative of x² + 7 and of x² − 40. Every constant has zero slope, which means all of them disappear when you differentiate.

The power rule, run backwardsd/dx [xⁿ⁺¹/(n+1)] = xⁿ
∫ xⁿ dx = xⁿ⁺¹/(n+1) + C (n ≠ −1)

The rule is mechanical: raise the power by one and divide by the new power. Applied term by term to a polynomial it always works, and the only thing that cannot be recovered is the constant — which is exactly what the +C records.

Two correct answers can differ by a number. x² + C covers every antiderivative of 2x. Without an extra condition — an initial value, a boundary condition — the constant is genuinely undetermined, not merely unknown.

02

Worked example

Take f′(x) = 6x + 2. The first term has power 1, so it becomes 6x²/2 = 3x². The second has power 0, so it becomes 2x¹/1 = 2x. Add C and the antiderivative is F(x) = 3x² + 2x + C.

Check by differentiating: d/dx(3x² + 2x + C) = 6x + 2. The check is always this simple for polynomials, which is why antiderivatives are easy to verify and easy to get wrong in the coefficients.

Term by term
Term of f′PowerNew powerAntiderivative term
6x123x²
2012x
———+ C

The definite integral from 0 to 2 is F(2) − F(0) = (12 + 4) − 0 = 16. Notice that C cancels in the subtraction — which is why a definite integral has a unique value even though the antiderivative does not.

03

Why the constant cancels

The fundamental theorem of calculus says that the definite integral of f′ from a to b equals F(b) − F(a) for any antiderivative F. Adding a constant to F adds it to both terms, so it drops out.

Fundamental theorem∫ₐᵇ f′(x) dx = F(b) − F(a)
(F + C)(b) − (F + C)(a) = F(b) − F(a)

This is the reason the tool asks for limits separately rather than folding them into the answer. The indefinite integral carries the C; the definite integral does not need it.

Geometrically, the definite integral is the signed area between the curve and the x-axis. Area is a concrete quantity, so it cannot depend on an arbitrary constant — the cancellation is the algebra agreeing with the geometry.

04

Reading the output

What each row means
RowMeaning
AntiderivativeThe general solution, with + C
DegreeOne more than the degree of f′
Constant termUndetermined — that is what C represents
Definite integralShown only when both limits are given

The degree row is a useful check. Integrating always raises the degree by one, so a cubic f′ must produce a quartic F. If the tool reports anything else, one of the coefficients was mistyped.

A coefficient of zero is skipped rather than printed, so entering 1, 0, -3 gives x³ − 3x and not x³ + 0x² − 3x. The powers are preserved, so the missing term does not shift the others.

05

What this tool does not integrate

Only polynomials. The power rule covers every term of the form axⁿ with n ≠ −1, and that is the entire scope here. Anything else needs a different technique.

Outside the scope
FunctionAntiderivativeTechnique
1/xln|x| + CThe n = −1 exception
eˣeˣ + CSelf-similar
sin x−cos x + CStandard table
ln xx ln x − x + CIntegration by parts
1/(1+x²)arctan x + CStandard table
x·eˣ(x−1)eˣ + CIntegration by parts

The n = −1 case is the one worth remembering. The power rule would divide by zero there, and the logarithm fills the gap — which is why ln x appears so often in results that look like they should be polynomials.

06

Recovering the constant

In applications the constant is fixed by a condition the problem supplies. If a particle's velocity is v(t) and you integrate to get position, the constant is the starting position. If a curve must pass through a known point, that point determines C.

This is the origin of the phrase "initial value problem": the differential equation gives the family of solutions, and the initial condition selects one member of it. Without the condition, the family is the honest answer.

?

Frequently asked questions

What is the antiderivative of 6x + 2?

3x² + 2x + C. The 6x integrates to 3x², the 2 integrates to 2x, and the constant C accounts for everything that differentiates to zero.

Why is there always a + C?

Because the derivative of any constant is zero, so every constant has the same derivative. Antidifferentiation cannot distinguish between them, and C records that ambiguity.

Why does the definite integral not have a C?

Because it is computed as F(b) − F(a), and the constant appears in both terms and cancels. A definite integral is a number, not a family of functions.

Can this integrate 1/x?

No. The power rule divides by n + 1, which is zero for n = −1. That case needs the logarithm: ∫(1/x)dx = ln|x| + C.

How do I enter a polynomial with missing powers?

Include a zero for the missing term. For x³ − 3x, which has no x² term, enter 1, 0, -3 — the zero holds the x² position so the other coefficients stay aligned.

Does the tool differentiate as well?

No, it only antidifferentiates. Differentiating a polynomial is the easier direction and can be done term by term by hand in a few seconds.