Sigma Notation and Riemann Sums
Site: | Saylor Academy |
Course: | MA005: Calculus I |
Book: | Sigma Notation and Riemann Sums |
Printed by: | Guest user |
Date: | Tuesday, October 22, 2024, 4:25 AM |
Description
Read this section to learn about area. Work through practice problems 1-9.
Sigma Notation and Riemann Sums
One strategy for calculating the area of a region is to cut the region into simple shapes, calculate the area of each simple shape, and then add these smaller areas together to get the area of the whole region. We will use that approach, but it is useful to have a notation for adding a lot of values together: the sigma notation.
The variable (typically , , or ) used in the summation is called the counter or index variable. The function to the right of the sigma is called the summand, and the numbers below and above the sigma are called the lower and upper limits of the summation. (Fig. 1)
Practice 1: Write the summation denoted by each of the following:
In practice, the sigma notation is frequently used with the standard function notation:
1 | 2 | 4 | 3 |
2 | 3 | 1 | 3 |
3 | 1 | -2 | 3 |
4 | 0 | 3 | 3 |
5 | 3 | 5 | 3 |
Table 1
Example 1: Use the values in Table 1 to evaluate and .
Practice 2: Use the values of , and in Table 1 to evaluate the following:
Practice 3: For , evaluate and .
The summand does not have to contain the index variable explicitly: a sum from to of the constant function can be written as
Since the sigma notation is simply a notation for addition, it has all of the familiar properties of addition
Summation Properties
Problems 16 and 17 illustrate that similar patterns for sums of products and quotients are not valid.
Source: Dale Hoffman, https://s3.amazonaws.com/saylordotorg-resources/wwwresources/site/wp-content/uploads/2012/12/MA005-5.2-Sigma-Notation-and-Riemann-Sums.pdf
This work is licensed under a Creative Commons Attribution 3.0 License.
Sums of Areas of Rectangles
In Section 4.2 we will approximate the areas under curves by building rectangles as high as the curve, calculating the area of each rectangle, and then adding the rectangular areas together.
Example 3: Evaluate the sum of the rectangular areas in Fig. 2, and write the sum using the sigma notation.
Solution:
Using the sigma notation,
Practice 4: Evaluate the sum of the rectangular areas in Fig. 3, and write the sum using the sigma notation.
The bases of the rectangles do not have to be equal. For the rectangular areas in Fig. 4
rectangle | base | height | area |
---|---|---|---|
1 | |||
2 | |||
3 |
so the sum of the rectangular areas is .
Example 4: Write the sum of the areas of the rectangles in Fig. 5 using the sigma notation.
Solution: The area of each rectangle is .
rectangle | base | height | area |
---|---|---|---|
1 | |||
2 | |||
3 |
The area of the Kthrectangle is . and the total area of the rectangles is the sum .
Practice 5: Write the sum of the areas of the shaded rectangles in Fig. 6 using the sigma notation.
Area Under A Curve – Riemann Sums
Suppose we want to calculate the area between the graph of a positive function and the interval on the x–axis (Fig. 7). The Riemann Sum method is to build several rectangles with bases on the interval and sides that reach up to the graph of f (Fig. 8). Then the areas of the rectangles can be calculated and added together to get a number called a Riemann Sum of f on [a, b]. The area of the region formed by the rectangles is an approximation of the area we want.
Example 5: Approximate the area in Fig. 9a between the graph of and the interval on the x–axis by summing the areas of the rectangles in Fig. 9b.
Solution: The total area of rectangles is square units.
In order to effectively describe this process, some new vocabulary is helpful: a partition of an interval and the mesh of the partition.
A partition of a closed interval into subintervals is a set of points in increasing order, .
(A partition is a collection of points on the axis and it does not depend on the function in any way.)
The points of the partition divide the interval into subintervals (Fig. 10): with lengths , and . The points of the partition P are the locations of the vertical lines for the sides
of the rectangles, and the bases of the rectangles have lengths .
The mesh or norm of partition is the length of the longest of the subintervals , or, equivalently, the maximum of .
For example, the set is a partition of the interval (Fig. 11) and divides the interval into 4 subintervals with lengths . The mesh of this partition is 1.6, the maximum of the lengths of the subintervals. (If the mesh of a partition is "small," then the length of each one of the subintervals is the same or smaller.)
Practice 6: is a partition of what interval? How many subintervals does it create? What is the mesh of the partition? What are the values of and ?
A function, a partition, and a point in each subinterval determine a Riemann sum.
Suppose is a positive function on the interval
is an x–value in the kth subinterval .
Then the area of the kth rectangle is . (Figure 12)
Definition: A summation of the form is called a Riemann Sum of for the partition .
This Riemann sum is the total of the areas of the rectangular regions and is an approximation of the area between the graph of f and the x–axis.
Example 6:
Find the Riemann sum for and the partition using the values and . (Fig. 13)
Solution: The 2 subintervals are and so and .
Then the Riemann sum for this partition is
Practice 7:
Calculate the Riemann sum for on the partition using the values .Practice 8: What is the smallest value a Riemann sum for and the partition can have? (You will need to select values for and .) What is the largest value a Riemann sum can have for this function and partition?
Table 2 shows the results of a computer program that calculated Riemann sums for the function with different numbers of subintervals and different ways of selecting the points in each subinterval.
When the mesh of the partition is small (and the number of subintervals large), all of the ways of selecting the lead to approximately the same number for the Riemann sums. For this decreasing function, using the left endpoint of the subinterval always resulted in a sun that was larger than the area. Choosing the right end point gave a value smaller that the area. Why?
Table 2: Riemann sums for on the interval
Values of the Riemann sum for different choices of
As the mesh gets smaller, all of the Riemann Sums seem to be approaching the same value, approximately .
Example 7: Find the Riemann sum for the function on the interval using the partition with .
Solution: The 3 subintervals (Fig. 14) are , and so and . The Riemann sum for this partition is
Practice 9: Find the Riemann sum for the function and partition in the previous example, but use .
Two Special Riemann Sums: Lower and Upper Sums
Two particular Riemann sums are of special interest because they represent the extreme possibilities for Riemann sums for a given partition.
Definition: Suppose is a positive function on , and is a partition of . Let be the x–value in the kth subinterval so that is the minimum value of in that interval, and let be the x–value in the kth subinterval so that is the maximum value of in that interval.
is the lower sum of f for the partition .
is the upper sum of f for the partition .
Geometrically, the lower sum comes from building rectangles under the graph of (Fig. 15a), and the lower sum (every lower sum) is less than or equal to the exact area for every partition . The upper sum comes from building rectangles over the graph of f (Fig. 15b), and the upper sum (every upper sum) is greater than or equal to the exact area :
for every partition . The lower and upper sums provide bounds on the size of the exact area:
For any value in the kth subinterval, , so, for any choice of the values, the Riemann sum satisfies
The lower and upper sums provide bounds on the size of all Riemann sums. The exact area and every Riemann sum for partition both lie between the lower sum and the upper sum for (Fig. 16). Therefore, if the lower and upper sums are
close together then the area and any Riemann sum for must also be close together. If we know that the upper and lower sums for a partition are within 0.001 units of each other, then we can be sure that every Riemann sum for partition is within
0.001 units of the exact area.
Unfortunately, finding minimums and maximums can be a time–consuming business, and it is usually not practical to determine lower and upper sums for "wiggly" functions. If f is monotonic, however, then it is easy to find the values for and , and sometimes we can explicitly calculate the limits of the lower and upper sums.
For a monotonic bounded function we can guarantee that a Riemann sum is within a certain distance of the exact value of the area it is approximating.
Theorem: If is a positive, montonically increasing, bounded function on , then for any partition and any Riemann sum for ,
Proof: The Riemann sum and the exact area are both between the upper and lower sums so the distance between the Riemann sum and the exact area is less than or equal to the distance between the upper and lower sums. Since is monotonically increasing, the areas representing the difference of the upper and lower sums can be slid into a rectangle (Fig. 17) whose height equals and whose base equals the mesh of . Then the total difference of the upper and lower sums is less than or equal to the area of the rectangle, .