A little context. A clearer answer.
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
| Input | What it means | Example value |
|---|---|---|
| Expression | 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. | x^2 |
| Variable | Choose the integration variable; other variable parameters are not supported in this tool. | x |
| Integration mode | Choose symbolic antiderivative, finite definite symbolic integral, or explicitly numerical approximation. Unsupported symbolic integration never silently switches to numerical mode. | Symbolic antiderivative |
| Lower limit | Finite real lower endpoint, for example 0 or pi/2. Maximum absolute endpoint is 1000000. | — |
| Upper limit | Finite real upper endpoint. Reversed limits reverse the sign. Singularities and unsupported continuity checks block the result. | — |
How the calculation works
- Enter the function and select symbolic or numerical mode.
- For a definite integral, enter two finite endpoints within the real domain.
- Read + C for an antiderivative, the endpoint result for a symbolic definite integral, or the estimate with its numerical error.
F′(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 enterThis 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.