Approximating the Area Under a Curve via Riemann Sums

Approximating the Area Under a Curve via Riemann Sums
Loading the math board and drawing, please wait…
2012-07-15 15:26
This interactive GeoGebra applet demonstrates how to approximate the area under a curve using Riemann sums, providing a visual and numerical bridge to the concept of definite integration. The core mathematical concepts involved include definite integrals, limits, and the different types of Riemann sums, specifically left sums, right sums, upper sums, and lower sums, which approximate the area of the region bounded by a function curve, the x-axis, and vertical boundary lines. To construct this dynamic model, various GeoGebra commands and objects are utilized: the `Textfield` command creates user-friendly input boxes and display texts, while functions like `UpperSum`, `LowerSum`, `LeftSum`, and `RectangleSum` calculate the sum of rectangular areas under the function `f`. The precise integral is computed using the `Integral` command. Key parameters such as the number of subintervals `n`, the lower bound, and the upper bound are controlled dynamically through slider variables and input boxes, with auxiliary functions `Max` and `Min` helping to define rectangle heights. This applet is highly suitable for high school and college-level calculus students, instructors, and self-learners seeking an intuitive, hands-on visualization of how partition refinement leads to the exact area under a curve.

GeoGebra Commands & Parameters

  1. Textfield(f) → inputBox2
  2. UpperSum(f, LowerBound, UpperBound, n) → c
  3. LowerSum(f, LowerBound, UpperBound, n) → d
  4. Integral(f, LowerBound, UpperBound) → p
  5. LeftSum(f, LowerBound, UpperBound, n) → a
  6. RectangleSum(f, LowerBound, UpperBound, n, 1) → r
  7. Max(q, t) → v
  8. Min(q, t) → w
  9. Max(f, LowerBound, UpperBound) → C
  10. Min(f, LowerBound, UpperBound) → D
  11. Max(v, g) → v2
  12. Min(w, i) → w2
  13. Max(v2, j) → v3
  14. Min(w2, k) → w3