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 sum | Right sum | Midpoint sum | Trapezoid |
|---|---|---|---|---|
| 4 | -1.75 | 3.25 | 0.625 | 0.75 |
| 10 | -0.32 | 1.68 | 0.66 | 0.68 |
| 100 | 0.5668 | 0.7668 | 0.6666 | 0.6668 |
| 1000 | 0.656668 | 0.676668 | 0.666666 | 0.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.