Definite Integral Introduction and Approximation

Definite Integral Introduction and Approximation
Loading the math board and drawing, please wait…
2020-09-03 03:49
This GeoGebra example demonstrates the geometric meaning of a definite integral over a closed interval and its numerical approximation using rectangular sums. Core mathematical concepts include definite integrals, Riemann sums, function graphs, interval partitioning, and limit-based approximation. The construction employs GeoGebra commands such as Textfield, Sequence, Integral, Sum, and Segment, with InputBox objects controlling the function f, lower and upper limits a and b, and the number of rectangles n. It generates left, right, and midpoint rectangle approximations (Dx, Lr, Lh, L, etc.) and displays explanatory text labels to visualize convergence. Suitable for high school calculus introductions and undergraduate mathematical analysis courses, ideal for classroom demonstrations of integral definition and numerical approximation.

GeoGebra Commands & Parameters

  1. Textfield(f) → InputBox1
  2. Textfield(a) → InputBox2
  3. Textfield(b) → InputBox3
  4. Textfield(n) → InputBox4
  5. Sequence(Polygon[(a + (k * Dx), 0), (a + (k * Dx), f(a + (k * Dx))), (a + ((k + 1) * Dx), f(a + (k * Dx))), (a + ((k + 1) * Dx), 0)], k, 0, n - 1) → Lr
  6. Sequence(f(a + (k * Dx)), k, 0, n - 1) → Lh, {9, 1.5999999999999996, 2.2, 6, 8.2}
  7. Sequence(f(a + (k * Dx)), k, 1, n) → Rh, {1.5999999999999996, 2.2, 6, 8.2, 4}
  8. Sequence(Polygon[(a + (j * Dx), 0), (a + (j * Dx), f(a + (j * Dx))), (a + ((j - 1) * Dx), f(a + (j * Dx))), (a + ((j - 1) * Dx), 0)], j, 1, n) → Rr
  9. Sequence(Polygon[(a + ((k - 1) * Dx), 0), (a + ((k - 1) * Dx), f(a + ((k - 0.5) * Dx))), (a + (k * Dx), f(a + ((k - 0.5) * Dx))), (a + (k * Dx), 0)], k, 1, n) → Mr
  10. Sequence(f(a + ((k - 0.5) * Dx)), k, 1, n) → Mh, {4, 1.2000000000000002, 4, 7.6, 7.2}
  11. Integral(f, a, b) → i
  12. Sequence(Polygon[(a + ((k - 1) * Dx), 0), (a + ((k - 1) * Dx), f(a + ((k - 1) * Dx))), (a + (k * Dx), f(a + (k * Dx))), (a + (k * Dx), 0)], k, 1, n) → Tt
  13. Sequence(Polygon[(a + ((k - 1) * Dx), 0), (a + ((k - 1) * Dx), (f(a + ((k - 1) * Dx)) + f(a + (k * Dx))) / 2), (a + (k * Dx), (f(a + ((k - 1) * Dx)) + f(a + (k * Dx))) / 2), (a + (k * Dx), 0)], k, 1, n) → Tr
  14. Sequence(Polygon[(a + ((k - 1) * Dx), 0), (a + ((k - 1) * Dx), (f'(a + ((k - 1 / 2) * Dx)) * ((-Dx)) / 2) + f(a + ((k - 1 / 2) * Dx))), (a + (k * Dx), (f'(a + ((k - 1 / 2) * Dx)) * Dx / 2) + f(a + ((k - 1 / 2) * Dx))), (a + (k * Dx), 0)], k, 1, n) → Mt
  15. Sequence(Polygon[(a + ((k - 1) * Dx), 0), (a + ((k - 1) * Dx), (1 / Dx * Integral[f, a + ((k - 1) * Dx), a + (k * Dx)])), (a + (k * Dx), (1 / Dx * Integral[f, a + ((k - 1) * Dx), a + (k * Dx)])), (a + (k * Dx), 0)], k, 1, n) → Av
  16. Sum(Av) → j
  17. Sequence(If[a + ((k - 1) * Dx) < x < a + (k * Dx), Polynomial[{(a + ((k - 1) * Dx), f(a + ((k - 1) * Dx))), (a + ((k - 0.5) * Dx), f(a + ((k - 0.5) * Dx))), (a + (k * Dx), f(a + (k * Dx)))}]], k, 1, n) → St
  18. Sequence(Segment[(a + (k * Dx), 0), (a + (k * Dx), f(a + (k * Dx)))], k, 0, n) → Ss
  19. Segment((a, 0), (b, 0)) → m

AI Drawing Prompt Reference

Create a function graph illustrating the geometric interpretation of a definite integral and its numerical approximation. The graph should feature a function curve, the x-axis interval from a to b, and rectangular sums partitioning the interval into n subintervals. Specifically, include left, right, and midpoint Riemann sums, along with trapezoidal and average approximations, while displaying the actual integral area. Add explanatory text labels to visualize convergence. The construction sequence begins with setting the function and parameters, followed by plotting the curve, then generating rectangles and segments, and finally annotating the integral and labels.
The prompt above was compiled from the original drawing commands and is for reference only.