What is a Definite Integral?
The definite integral ∫ab f(x) dx measures the signed area between a curve and the x-axis. The idea behind it is Riemann sums: slice the interval [a, b] into n equal strips, build a rectangle on each strip whose height matches the function at the midpoint, then add up all the rectangle areas. As n grows, the rectangles fit the curve more tightly, and the sum converges to the exact integral.
The animation below shows this for sin(x) on [0, π]. The exact value is ∫0π sin(x) dx = 2. Watch the midpoint-rule sum approach 2.00000 as more rectangles are added.
Midpoint rule with n rectangles. Each strip has width Δx = π/n; height is sin(x) at the strip’s midpoint.