Definite Integral Calculator (Polynomials)

Integrate a polynomial exactly from a to b: the antiderivative F(x), F(b) − F(a) with steps, and the answer as a fraction and a decimal.

1, 0, −4 means x² − 4. Use 0 for a missing power. Up to degree 20. Use a point for decimals (1.5), no thousands separators, and separate numbers with spaces or a comma and a space.
If b is less than a, the integral changes sign.

Results

∫ from −2 to 2 of f(x) dx
-10.667
Negative: more of the area lies below the x-axis than above it (net signed area).
Exact value
−32/3
Antiderivative F(x)
F(x) = x³/3 − 4x + C
Fundamental theorem: F(b) − F(a)
F(2) = −5.333333333 F(−2) = 5.333333333 F(2) − F(−2) = −5.333333333 − 5.333333333 = −32/3 ≈ −10.66666667
Integrand
f(x) = x² − 4

How it’s calculated

To integrate a polynomial exactly, find an antiderivative F(x) term by term with the reverse power rule, then use the Fundamental Theorem of Calculus: the definite integral is F(b) − F(a). The constant C cancels, so it can be left out.

∫ c·xⁿ dx = c·xⁿ⁺¹ / (n + 1) + C ∫ from a to b of f(x) dx = F(b) − F(a)

The result is the net signed area: area above the x-axis counts as positive and area below it as negative. For the total area regardless of sign, or the area between two curves, use the area between curves calculator. When every input is a whole number or a short decimal, the calculator also gives the exact fraction.

Example: ∫ from −2 to 2 of (x² − 4) dx. An antiderivative is F(x) = x³/3 − 4x. F(2) = 8/3 − 8 = −16/3 and F(−2) = −8/3 + 8 = 16/3, so the integral is −16/3 − 16/3 = −32/3 ≈ −10.6667. It is negative because the parabola lies below the x-axis between −2 and 2.

Frequently asked questions

Why is my integral negative?

A definite integral measures net signed area. Parts of the graph below the x-axis count as negative. For the total area, split the interval where f crosses zero and add the absolute values, which the area between curves calculator does for you (use g(x) = 0).

What happened to the + C?

Every antiderivative has an arbitrary constant C, but in F(b) − F(a) it cancels. It is shown on the antiderivative for completeness.

What if a is greater than b?

Then the integral is the negative of the integral from b to a. If a = b the integral is 0.

How do I enter x⁴ − 3x?

Type 1, 0, 0, −3, 0: one coefficient for every power from the highest down to the constant.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator