next up previous
Next: Defining The Approximating Sums Up: Example on Teaching the Previous: Introduction

The Approximating Sums

In this section we introduce the notions of left sum, right sum, trapezoidal sum, midpoint sum and Simpson sum of a given function f over a partition of an interval tex2html_wrap_inline308 We begin with a brief review of the definition of a Riemann integral.

In a first course in integral calculus, the Riemann integral  of a bounded function f on an interval tex2html_wrap_inline304 is described as the limit of a sequence of sums of the type tex2html_wrap_inline314where tex2html_wrap_inline316 and where, for each tex2html_wrap_i
nline318 we have tex2html_wrap_inline320 Sums of this type are called Riemann sums  of the function f over the interval The sense in which the limit is taken is that if we define the mesh  of the partition tex2html_wrap_inline326 to be the largest of the lengths of the intervals tex2html_wrap_inline328 then the above Riemann Sum can be made as close as we like to tex2html_wrap_inline300 by making this mesh small enough.

The simplest type of partition of a given interval tex2html_wrap_inline304 is a partition tex2html_wrap_inline326 for which all of the intervals tex2html_wrap_inline328 have the same length. In this case the partition is said to be regular and for each tex2html_wrap_inline318 we have tex2html_wrap_inline340 and tex2html_wrap_inline342Since the mesh of this partition is tex2html_wrap_inline344 we make it approach 0 by letting tex2html_wrap_inline348

Given a<b and a positive integer n, we have described the regular partition tex2html_wrap_inline326 as being the finite sequence of numbers defined by tex2html_wrap_inline356for each tex2html_wrap_inline358 Before we give this definition to Scientific W orkPlace, we shall make the notation a bit more precise. We shall replace the notation xj by tex2html_wrap_inline362 in order to account for the fact that this number depends also upon the value of n and upon the interval that is being partitioned. Accordingly, the first step in the procedure is to point at the equation tex2html_wrap_inline366 and to click on Define and New Definition.

Since the various approximating sums all depend upon the function f that we wish to integrate, we need to let Scientific WorkPlace know that the symbol f stands for a function before we write down the definitions of the approximating sums. In order to achieve this, we make the nominal definition tex2html_wrap_inline372 by pointing at the equation tex2html_wrap_inline372 and clicking on Define and New Definition.

Note that this definition of f is purely temporary. We can change it at any time and all the sums will change accordingly.


next up previous
Next: Defining The Approximating Sums Up: Example on Teaching the Previous: Introduction