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.
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
- Calculus Volume 1, §5.3 The Fundamental Theorem of Calculus — OpenStax
- Calculus Volume 1, §4.10 Antiderivatives (power rule for integrals) — OpenStax
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