Home / Integral Calculator

Integral Calculator

Enter a polynomial like 3x^2 + 2x - 4 to get the indefinite integral with steps. Enable the definite integral option to evaluate between two bounds a and b.

Enter a polynomial

Use the format: ax^n + bx^m + ... + c. Integer or decimal coefficients, non-negative integer exponents. Example: x^3 - 6x + 1

Result

Integral--
Enter a polynomial above to see the steps.

Worked Example: integrate 3x^2 + 2x - 4

This is the default expression in the calculator. Each term is handled separately.

Term 1: 3x^2 Raise exponent by 1, divide by new exponent.
Integral of 3x^2 dx = (3 / (2+1)) * x^(2+1) = (3/3) * x^3 = x^3

Term 2: 2x Treat as 2 * x^1.
Integral of 2x dx = (2 / (1+1)) * x^2 = (2/2) * x^2 = x^2

Term 3: -4 Treat as -4 * x^0.
Integral of -4 dx = (-4 / (0+1)) * x^1 = -4x

Result: F(x) = x^3 + x^2 - 4x + C

This is the default expression in the calculator, and each term above was handled separately before being recombined.

Worked Example: definite integral from x = 0 to x = 3

Use F(x) = x^3 + x^2 - 4x from above.
F(3) = 27 + 9 - 12 = 24
F(0) = 0 + 0 - 0 = 0
Definite integral = F(3) - F(0) = 24 - 0 = 24

Reference: Integration Rules

RuleFormResult
Reverse power rulea * x^n dx(a / (n+1)) * x^(n+1) + C
Constant termc dxc * x + C
Sum rulef(x) + g(x) dxIntegrate each term separately
Definite integralfrom a to bF(b) - F(a), C cancels out

How It's Calculated

Integration is the reverse of differentiation. For a polynomial, each term is integrated independently using the reverse power rule, then the results are combined and a constant C is added, since differentiating any constant gives zero and integration cannot recover information that was never there to begin with.

For the full theory behind integration, see Wolfram MathWorld's integral page and the MIT OpenCourseWare single-variable calculus course.

This tool covers polynomials. For trig, exponential, or rational integrals, additional techniques such as substitution and integration by parts apply. Paul's Online Math Notes at Lamar University has a thorough introduction.

Nearby calculus tools

Integration and differentiation undo each other, and both lean on the same exponent rules.

FAQs at a glance

Integral calculator: frequently asked

What is an integral?

An integral finds the accumulated area under a curve. The indefinite integral of f(x) is a new function F(x) such that F'(x) = f(x), written as the integral of f(x) dx = F(x) + C, where C is the constant of integration.

What is the reverse power rule for integration?

The reverse power rule states: the integral of a * x^n dx = (a / (n+1)) * x^(n+1) + C, for n not equal to -1. Divide the coefficient by the new exponent and raise the exponent by one.

What is the constant of integration C?

Because differentiation removes any added constant, integration cannot recover it. The + C in the indefinite integral represents that unknown constant. For a definite integral between bounds a and b, C cancels out.

What is a definite integral?

A definite integral evaluates the integral between two bounds a and b. Compute F(b) - F(a) using the antiderivative F(x). The result is a number, not a function, and represents the net area under the curve on that interval.

Can this calculator integrate trig or exponential functions?

This tool integrates polynomial expressions using the reverse power rule. For trig, exponential, or other functions, use a full symbolic solver like Wolfram Alpha or Symbolab.

Marcus Vance
About the author
Marcus Vance
Contributing Writer, Technology & Data, Encore Editorial

Marcus Vance spent a decade building data pipelines and testing calculation logic before he started writing about the math behind the tools. On MathCalcTools he checks every formula against the source math, then writes out the steps so a reader can follow the same path a calculator takes.