Integral Calculator

Find antiderivatives and evaluate definite integrals with the Fundamental Theorem of Calculus, verified by differentiating — plus Riemann and trapezoid sums (calculus).

Examples: 3x^2 - 2x, sin(2x), e^(3x), 1/x, sqrt(x), 1/(1 + x^2), sec(x)^2
You can use pi, e, sqrt(2)

Results

Definite integral
2/3 ≈ 0.66666667
Antiderivative
x^3/3 + 3x^2/2 − 4x + C
Total area between the curve and the x-axis
5
Average value of f on the interval
0.3333333333
Rectangles (n)Left sumRight sumMidpoint sumTrapezoid
4-1.753.250.6250.75
10-0.321.680.660.68
1000.56680.76680.66660.6668
10000.6566680.6766680.6666660.666668
💡 F(2) − F(0) = 0.6666666667 − 0 = 0.6666666667.
💡 Check by differentiating: d/dx [x^3/3 + 3x^2/2 − 4x] = x^2 + 3x − 4 ✓
💡 The curve crosses the x-axis: area below the axis counts as negative in the integral, so the integral is smaller than the total shaded area.

Formula

∫ f(x) dx = F(x) + C where F′(x) = f(x). Definite: ∫ₐᵇ f(x) dx = F(b) − F(a) (Fundamental Theorem of Calculus)

Rules of thumb

  • Riemann sums (table) approach the exact integral as the number of rectangles grows — that’s the definition of the definite integral.

More Math calculators