## The definite integral

This worksheet, made with **Geogebra**, examines the constructions and accuracies of different approximation methods (*Riemann sums*) for the area of a region underneath a curve and their deviations from the *exact* value provided by the definite integral:

where is a primitive of the function .

## Use of the applet

The check-boxes on the left side allow you to view the exact area and to toggle between rectangular approximations with right, left and middle points and with the trapezoidal approximations.

The extremes of integration and and the number of intervals can be set with the sliders in the upper left side.

The actual area and that of each approximation are shown at the bottom left side of the worksheet.

The area can be exactly calculated with the primitive of the function where .

In fact, using for the function the definition of the differential , it’s possible to prove that

And so, when ,

The “*Show primitive function*” check-box allows to see this construction and to verify that the vlaue of the area is given by the difference .

The primitive function is defined up to an additive constant* C* (whose value can be changed with the slider that is shown when the “*Show primitive function*” check-box is checked).

Anyway the value of , that is the value of the area, doesn’t change whit changes of the constant *C*.

There are two alternative functions and already set in the workbook.

With the check-box *Alternative function* it’s possible to switch from the first one to the second one.

The main function can be changed in the input bar by inserting its definition (i.e. *f(x) =x^3-cos(x)*).

The button in the top right corner can be used to reset the construction to its default values.

**Credits**: Christopher Stover. This worksheet builds up from his original worksheet “Rectangular and Trapezoidal Integral Approximations” (http://personal.bgsu.edu/~stoverc/Geogebra/geogebra4.html)