Numeravo

Numeravo

Smart calculators

← Student calculators

Math

Integral Calculator

Enter a function of one variable. A closed form is shown only when differentiating it gives the integrand back. Otherwise the page says so, and a definite integral can still be estimated numerically.

The calculator runs in this browser.

How it works

Indefinite integrals are antiderivatives. The result includes + C because adding a constant does not change the derivative. The page accepts a form only after differentiating it and matching the integrand. Power, sum, constant, and substitution steps are tagged only when that is how the form was built. A standard form such as the integral of x e^x can be shown with no rule tag when it was checked by differentiation and was not built as a substitution.

A definite integral on a closed interval uses F(upper) - F(lower) only when the antiderivative stays finite on that interval. If the integrand blows up inside the interval, that difference is not the integral. 1/x^2 on [-1, 1] diverges. F(1) - F(-1) = -2 is not the answer, and this page does not report -2.

If no closed form is found, a definite integral is estimated with adaptive Simpson quadrature and the result is labeled numeric. Infinite bounds are improper integrals. When a checked antiderivative has a numeric limit, that limit is labeled as a numeric limit. When the estimate does not settle, the page says the integral did not converge. The graph shades signed area: green above the axis and rose below it. Trig functions are in radians.

Formulas

These are integration rules the page can tag or check. Each example is an example, not a result from your expression.

Integral Calculator rules
RuleFormulaExample
PowerIntegral of x^n dx = x^(n+1)/(n+1) + C, when n is not -1Example: the integral of x^2 dx is x^3/3 + C.
Constant and sumA constant factor comes out. A sum is integrated one term at a time.Example: the integral of 3x^2 + 2 dx is x^3 + 2x + C.
ReciprocalThe integral of x^(-1) dx is ln|x| + C. This is not the power rule.Example: the integral of 1/x dx is ln|x| + C.
SubstitutionIf the integrand is f(u) times u', the integral is the antiderivative of f, written back in x.Example: the integral of 2x e^(x^2) dx is e^(x^2) + C.

Worked examples

  1. Example: the integral of x^2 from 0 to 1 is 1/3

    An antiderivative is x^3/3. F(1) - F(0) = 1/3 - 0 = 1/3. The constant C cancels, so it is not part of the definite value.

  2. Example: the integral of 1/x^2 from -1 to 1 diverges

    An antiderivative is -1/x on each side of 0, and -1/x is not finite at 0. The integrand is discontinuous inside [-1, 1]. The integral diverges. It is not -2.

Pro tips

  • Add + C to an indefinite integral. A definite integral does not keep + C, because the constant cancels in F(b) - F(a).
  • Do not use an antiderivative across a discontinuity. 1/x^2 on [-1, 1] is the usual warning: the two-sided integral diverges.
  • Sine, cosine, and tangent use radians. The integral of sin(x) from 0 to pi is 2.
  • Check an antiderivative by differentiating it. If this page cannot verify a closed form, it says so and does not invent symbolic steps.
  • A numeric value, including a numeric limit at infinity, is an approximation. It is labeled numeric on the page.

FAQ

What does +C mean?

C is an arbitrary constant. The derivative of a constant is 0, so every antiderivative of a function differs by a constant. The indefinite result includes + C. A definite integral does not, because the constant cancels when the antiderivative is evaluated at the two bounds.

Why is the integral of 1/x^2 from -1 to 1 not -2?

An antiderivative is -1/x, and -1/1 - (-1/(-1)) = -2. That arithmetic ignores the discontinuity at x = 0. The integrand is unbounded inside [-1, 1], so the Fundamental Theorem does not apply on that interval. The integral diverges.

What if no closed form is found?

The page says that no closed-form antiderivative was found. It does not fill in symbolic steps. For a definite integral it can show a numeric approximation and labels that value as numeric. e^(-x^2) is one function with no elementary antiderivative.

Are the trigonometric functions in radians?

Yes. The integral of sin(x) from 0 to pi is 2. The same integral from 0 to 180 would be a different number, because 180 is 180 radians on this page.

Sources