§ III · Calculus
Integral Calculator
Closed-form antiderivatives, with a labelled Simpson value when no rule applies.
- Updated 2026-11-25
- Free · no sign-up
- Runs in your browser
Clear both bounds for the indefinite integral. Bounds may be numbers or simple expressions such as pi/2.
∫ f(x) dx
closed formx33+C
x^3/3 + C
Definite integral, 0 to 3
9
Evaluated from the closed form above; the printed number is rounded at the last digit.
Rule applied
power rule: ∫ uⁿ du = uⁿ⁺¹/(n+1)
x2→x33
Try one
How to use it
§ How to use- 01
Type the integrand in f(x). Ordinary notation works: x^2, sin(2x+1), 1/(1+x^2).
- 02
Leave both bounds empty for the indefinite integral, or fill them in for a definite one.
- 03
Read the antiderivative above the rule line. It is simplified, and + C is printed on the end.
- 04
For a definite integral, read the value underneath. Check whether it says closed form or numerical before you quote it.
What this page does that a basic calculator does not
§ 02A keypad can evaluate an expression. It cannot tell you what function it came from.
| Capability | Basic calculator | This page |
|---|---|---|
| Antiderivative in closed form | no | yes, where a rule applies |
| Definite integral | no | closed form first, Simpson as fallback |
| Rule used, named | no | child rules and parent transformations |
| Exact constants | no | π and e stay symbolic |
| Shareable state | no | expression and bounds in the URL |
Two ways to get a number, and which one you got
§ 03Integration is the inverse of differentiation, but unlike differentiation it is not a procedure that always finishes. The page takes the honest route: it first tries to build an antiderivative from the rules it knows, and only falls back to a numerical value when that is impossible.
The closed-form path works from the outside in. A sum is integrated term by term; a constant multiplier is pulled out; a power uⁿ with a linear inner function becomes uⁿ⁺¹/((n+1)a); the standard functions have their standard antiderivatives, with the inner coefficient divided out. Every antiderivative the page produces can be differentiated back to the integrand, which is the check that matters.
Why the fallback is Simpson and not a guess
When no rule applies — e^(−x²) is the classic example — there is a definite value but no elementary antiderivative. Simpson's rule samples the function at evenly spaced points and weights the samples 1, 4, 2, 4, … 1. It is not exact, but its error is checked by comparing non-nested grids of 2,000 and 4,002 subdivisions. Agreement is a numerical convergence check, not a proof of a particular number of accurate digits. A derivative-based resolution guard also rejects phases and narrow peaks that change too quickly for those samples. A conservative interval check first establishes continuity; if it cannot, the page asks you to split the interval. It also refuses finite bounds that cross a pole, rather than silently returning a principal value.
What it will not do
It does not do integration by parts, partial fractions, trigonometric substitution or improper integrals with an infinite bound. Those need a symbolic engine far larger than this page, and a wrong closed form is worse than a clearly labelled numerical one.
Questions
§ 04- Which functions can it integrate?
- Powers of x, reciprocals, sin, cos, tan, exp, sinh, cosh, square and cube roots, and natural logarithms — each composed with a linear inner function such as 2x + 1. Sums, differences and constant multiples of those are handled term by term.
- What happens when there is no closed form?
- If you give bounds, it evaluates the integral with a composite Simpson sum and labels the number as numerical. If you do not, it says plainly that no closed form is available for that shape instead of inventing one.
- Is the definite value exact?
- The antiderivative is exact. The number printed for a definite integral comes from evaluating that antiderivative at the two bounds, so it is rounded at the last digit; the panel says so rather than calling it exact.
- Where is the constant of integration?
- It is printed as + C on the indefinite result. A definite integral does not need it, because the same constant cancels when the two bounds are subtracted.
- Can it do integration by parts?
- No general integration by parts is implemented. Sums and constant multiples are supported, as are affine-expression division and polynomial logarithmic derivatives k·u′/u. Other products usually need bounds for a numerical estimate, and the continuity and convergence checks can still refuse them.
- Why does my answer look different from the textbook?
- Antiderivatives are only unique up to a constant, and several forms can be equivalent. If the shapes agree, the difference between the two answers is a constant — differentiate both and compare, or evaluate both at one point.
- Can the bounds be expressions such as pi/2?
- Yes. Each bound is parsed as an ordinary expression and must evaluate to a finite number; anything containing x is rejected with a message.
- How do I check the result?
- Differentiate the antiderivative with the derivative calculator. You should get the integrand back. For a definite integral, compare the printed value with a rough rectangle estimate over the same interval.
Related calculators
allCalculus
Derivative Calculator
Differentiate term by term and name the rule that applied.
x^2 sin x
Arithmetic
Scientific Calculator
A full keypad that keeps surds exact and records every operation.
√8 + 3/8 + 5/12
Algebra
Graphing Calculator
Plot up to three functions, pan and zoom, and see where the curve has no value.
y = sin x and y = x²/4
Algebra
Equation Solver
Exact roots to degree two, numerical roots above it.
x² − 5x + 6 = 0 → x = 3, 2
Algebra
Quadratic Equation Solver
Exact roots in surd form, with the discriminant worked out first.
x² − 5x + 6 = 0
Arithmetic
fx-991 Style Calculator
A classic scientific keypad with editable expressions, Ans and replayable working.
√8 + 3/8 + 5/12