calculator.onl
Categories50

Antiderivative and integral calculator

Find supported symbolic antiderivatives, evaluate finite definite integrals, or choose a clearly labelled numerical approximation.

A worked example

Move the upper limit and compare the shaded area under the curve.

Integral result((1/3)*(x^3)) + CAntiderivative((1/3)*(x^3)) + C
Enter one-variable function, such as x^2, sin(2*x), x*exp(x), or 1/(x^2+1). Use +, -, *, /, ^, parentheses and decimal points; trigonometric arguments are in radians.

Choose the integration variable; other variable parameters are not supported in this tool.

Choose symbolic antiderivative, finite definite symbolic integral, or explicitly numerical approximation. Unsupported symbolic integration never silently switches to numerical mode.

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Integral result

((1/3)*(x^3)) + C

Calculated from your inputs

Antiderivative((1/3)*(x^3)) + C
Real-domain conditionsℝ
Verification / estimated absolute errorExact identity verified
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Keep three different questions separate: an antiderivative with + C, an integral between two finite limits, or a numerical area estimate. A symbolic candidate must pass an exact derivative check. For a related calculation, try Derivative calculator.

What to enter

InputWhat it meansExample value
ExpressionEnter one-variable function, such as x^2, sin(2*x), x*exp(x), or 1/(x^2+1). Use +, -, *, /, ^, parentheses and decimal points; trigonometric arguments are in radians.x^2
VariableChoose the integration variable; other variable parameters are not supported in this tool.x
Integration modeChoose symbolic antiderivative, finite definite symbolic integral, or explicitly numerical approximation. Unsupported symbolic integration never silently switches to numerical mode.Symbolic antiderivative
Lower limitFinite real lower endpoint, for example 0 or pi/2. Maximum absolute endpoint is 1000000.—
Upper limitFinite real upper endpoint. Reversed limits reverse the sign. Singularities and unsupported continuity checks block the result.—

How the calculation works

  1. Enter the function and select symbolic or numerical mode.
  2. For a definite integral, enter two finite endpoints within the real domain.
  3. Read + C for an antiderivative, the endpoint result for a symbolic definite integral, or the estimate with its numerical error.
The formulaF′(x) = f(x); ∫ₐᵇf(x) dx = F(b) − F(a)

A worked example

For x^2, the antiderivative is x^3/3 + C. Between 0 and 1 the symbolic result is 1/3, approximately 0.3333333333.

Example you can load

What to enter
Result for this example · Integral result((1/3)*(x^3)) + C

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Use +, -, *, /, ^ and parentheses; write decimal points. Functions: sin, cos, tan, exp, log/ln, sqrt, asin, acos, atan, sinh, cosh and abs. Trigonometric arguments use radians. Variables are x, y, z and t; constants pi and e. Use explicit multiplication between variables. At most 600 characters. Calculations run locally and can be cancelled; the tool does not save the input or put it in a share link. Symbolic families include rational polynomials, powers of affine expressions, elementary functions of affine expressions, recognizable substitutions, polynomial × exp/sin/cos/sinh/cosh, and supported rational partial fractions. No general special-function solver. Definite and numerical modes require a finite interval whose continuity can be established by conservative interval arithmetic; improper integrals and infinite limits are rejected. Numerical mode uses adaptive Simpson quadrature with an estimated, not certified, error. Affine function arguments require rational coefficients; for example sin(2*x) is supported while sin(pi*x) is outside this release’s symbolic recognition.

Frequently asked questions

Why can a symbolic integral be refused?

The engine supports a stated set of algebraic and elementary rules. It rejects unresolved integrals and any candidate it cannot verify by exact symbolic differentiation. This does not prove the integral is impossible.

Will the integral of 1/x from −1 to 1 return zero?

No. The interval crosses a pole, so the ordinary finite-interval calculation is refused. The calculator does not replace an improper integral with a Cauchy principal value.

What does numerical mode guarantee?

It reports adaptive Simpson quadrature and an estimated absolute error after the continuity check. The estimate is not a certified bound and difficult oscillatory functions can need specialist methods. A failed error target returns no result.