Tested tool guide
Tested browser tools
Checked August 16, 2026
What Integral Visualizer does, with a checked example
Enter a function of x, choose lower and upper bounds, and set the number of subdivisions to see a definite integral alongside left, right, midpoint, and trapezoidal approximations. The diagram shows how each rule represents the curve over equal-width subintervals, while the numerical results make overestimates and underestimates easy to compare. The most common surprise is that a definite integral is signed: regions below the x-axis contribute negative values instead of being added as positive geometric area.
Worked example
A concrete input and expected output from the current implementation.
Input
f(x) = x, lower bound = 0, upper bound = 2, n = 2
->
Expected output
Definite integral = 2; left sum = 1; right sum = 3; midpoint sum = 2; trapezoidal sum = 2.
Each subinterval has width 1. The left heights are 0 and 1, the right heights are 1 and 2, and the midpoint heights are 0.5 and 1.5. The trapezoidal and midpoint rules both reproduce the integral of this linear function exactly.