In the previous section we defined the definite integral of a function on to be the signed area between the curve and the -axis. Some areas were simple to compute; we ended the section with a region whose area was not simple to compute. In this section we develop a technique to find such areas.
A fundamental calculus technique is to first answer a given problem with an approximation, then refine that approximation to make it better, then use limits in the refining process to find the exact answer. That is exactly what we will do here.
Consider the region given in Figure 5.3.1, which is the area under on . What is the signed area of this region — i.e., what is ?
We start by approximating. We can surround the region with a rectangle with height and width of 4 and find the area is approximately 16 square units. This is obviously an over-approximation; we are including area in the rectangle that is not under the parabola.
We have an approximation of the area, using one rectangle. How can we refine our approximation to make it better? The key to this section is this answer: use more rectangles.
Let’s use 4 rectangles of equal width of 1. This partitions the interval into 4 subintervals, , , and . On each subinterval we will draw a rectangle.
There are three common ways to determine the height of these rectangles: the Left Hand Rule, the Right Hand Rule, and the Midpoint Rule. The Left Hand Rule says to evaluate the function at the left-hand endpoint of the subinterval and make the rectangle that height. In Figure 5.3.2, the rectangle drawn on the interval has height determined by the Left Hand Rule; it has a height of . (The rectangle is labeled “LHR.”)
The Right Hand Rule says the opposite: on each subinterval, evaluate the function at the right endpoint and make the rectangle that height. In the figure, the rectangle drawn on is drawn using as its height; this rectangle is labeled “RHR.”.
The Midpoint Rule says that on each subinterval, evaluate the function at the midpoint and make the rectangle that height. The rectangle drawn on was made using the Midpoint Rule, with a height of . That rectangle is labeled “MPR.”
These are the three most common rules for determining the heights of approximating rectangles, but one is not forced to use one of these three methods. The rectangle on has a height of approximately , very close to the Midpoint Rule. It was chosen so that the area of the rectangle is exactly the area of the region under on . (Later you’ll be able to figure how to do this, too.)
The following example will approximate the value of using these rules.
Approximate the value of using the Left Hand Rule, the Right Hand Rule, and the Midpoint Rule, using 4 equally spaced subintervals.
SolutionWe break the interval into four subintervals as before. In Figure 5.3.3 we first see 4 rectangles drawn on using the Left Hand Rule. (The areas of the rectangles are given in each figure.)
Note how in the first subinterval, , the rectangle has height . We add up the areas of each rectangle (height width) for our Left Hand Rule approximation:
Figure 5.3.3 next shows 4 rectangles drawn under using the Right Hand Rule; note how the subinterval has a rectangle of height 0.
These rectangle seem to be the mirror image of those found with the Left Hand Rule. (This is because of the symmetry of our shaded region.) Our approximation gives the same answer as before, though calculated a different way:
Figure 5.3.3 last shows 4 rectangles drawn under using the Midpoint Rule. This gives an approximation of as:
Our three methods provide two approximations of : 10 and 11.
It is hard to tell at this moment which is a better approximation: 10 or 11? We can continue to refine our approximation by using more rectangles. The notation can become unwieldy, though, as we add up longer and longer lists of numbers. We introduce summation notation to ameliorate this problem.
Suppose we wish to add up a list of numbers , , , …, . Instead of writing
we use summation notation and write
Lets analyze this notation.
The upper case sigma, , represents the term “sum.” The index of summation in this example is ; any symbol can be used. By convention, the index takes on only the integer values between (and including) the lower and upper bounds.
Let’s practice using this notation.
Let the numbers be defined as for integers , where . So , , , etc. (The output is the positive odd integers). Evaluate the following summations:
Solution
Note the starting value is different than 1:
It might seem odd to stress a new, concise way of writing summations only to write each term out as we add them up. It is. The following theorem gives some of the properties of summations that allow us to work with them without writing individual terms. Examples will follow.
Note: In practice we will sometimes need variations on formulas 5, 6, and 7 above. For example, we note that
so we see that
Similarly, we find that
Revisit Example 5.3.2 and, using Theorem 5.3.1, evaluate
Solution
(Theorem 5.3.1(2)) | ||||
(Theorem 5.3.1(3)) | ||||
(Theorem 5.3.1(1,5)) | ||||
We obtained the same answer without writing out all six terms. When dealing with small sizes of , it may be faster to write the terms out by hand. However, Theorem 5.3.1 is incredibly important when dealing with large sums as we’ll soon see.
Consider again . We will approximate this definite integral using 16 equally spaced subintervals and the Right Hand Rule in Example 5.3.4. Before doing so, it will pay to do some careful preparation.
Figure 5.3.5 shows a number line of subdivided into 16 equally spaced subintervals. We denote as ; we have marked the values of , , , and . We could mark them all, but the figure would get crowded. While it is easy to figure that , in general, we want a method of determining the value of without consulting the figure. Consider:
So .
If we had partitioned into 100 equally spaced subintervals, each subinterval would have length . We could compute as
(That was far faster than creating a sketch first.)
Given any subdivision of , the first subinterval is ; the second is ; the subinterval is .
When using the Left Hand Rule, the height of the rectangle will be .
When using the Right Hand Rule, the height of the rectangle will be .
When using the Midpoint Rule, the height of the rectangle will be .
Thus approximating with 16 equally spaced subintervals can be expressed as follows, where :
Left Hand Rule:
Right Hand Rule:
Midpoint Rule:
Watch the video:
Calculating a Definite Integral Using Riemann Sums — Part 1 from https://youtu.be/gFpHHTxsDkI
We use these formulas in the next two examples. The following example lets us practice using the Left Hand Rule and the summation formulas introduced in Theorem 5.3.1.
Approximate using the Right Hand Rule and summation formulas with 16 and 1000 equally spaced intervals.
SolutionUsing the formula derived before, using 16 equally spaced intervals and the Right Hand Rule, we can approximate the definite integral as
We have , , and . Using the summation formulas, we see:
(from above) | ||||
(Theorem 5.3.1(2)) |
(*) | (Theorem 5.3.1(3)) | |||
(Theorem 5.3.1(5,6)) | ||||
We were able to sum up the areas of 16 rectangles with very little computation. In Figure 5.3.6 the function and the 16 rectangles are graphed. While some rectangles over-approximate the area, others under-approximate the area by about the same amount. Thus our approximate area of 10.625 is likely a fairly good approximation.
Notice Equation (*); by changing the 16’s to 1000’s and changing the value of to , we can use the equation to sum up the areas of 1000 rectangles. We do so here, skipping from the original summand to the equivalent of Equation (*) to save space.
Using many, many rectangles, we likely have a good approximation of . That is,
Before the above example, we stated what the summations for the Left Hand, Right Hand and Midpoint Rules looked like. Each had the same basic structure, which was:
each rectangle has the same width, which we referred to as , and
each rectangle’s height is determined by evaluating at a particular point in each subinterval. For instance, the Left Hand Rule states that each rectangle’s height is determined by evaluating at the left hand endpoint of the subinterval the rectangle lives on.
One could partition an interval with subintervals that did not have the same size. We refer to the length of the first subinterval as , the length of the second subinterval as , and so on, giving the length of the subinterval as . Also, one could determine each rectangle’s height by evaluating at any point in the subinterval. We refer to the point picked in the first subinterval as , the point picked in the second subinterval as , and so on, with representing the point picked in the subinterval. Thus the height of the subinterval would be , and the area of the rectangle would be .
Summations of rectangles with area are named after mathematician Georg Friedrich Bernhard Riemann, as given in the following definition.
Let be defined on the closed interval and let be a partition of , with
Let denote the length of the subinterval and let denote any value in the subinterval. The sum
is a Riemann sum of on .
Figure 5.3.7 shows the approximating rectangles of a Riemann sum of . While the rectangles in this example do not approximate well the shaded area, they demonstrate that the subinterval widths may vary and the heights of the rectangles can be determined without following a particular rule.
Usually, Riemann sums are calculated using one of the three methods we have introduced. The uniformity of construction makes computations easier. We have and the term of the partition is . Then the Left Hand Rule uses , the Right Hand Rule uses , and the Midpoint Rule uses .
Let’s do another example.
Approximate using the Midpoint Rule and 10 equally spaced intervals.
SolutionWe see that
As we are using the Midpoint Rule, we will also need and . Since , . This gives
We now construct the Riemann sum and compute its value using summation formulas.
Note the graph of in Figure 5.3.8. The regions whose area is computed by the definite integral are triangles, meaning we can find the exact answer without summation techniques. We find that the exact answer is indeed 22.5. One of the strengths of the Midpoint Rule is that often each rectangle includes area that should not be counted, but misses other area that should. When is small, these two amounts are about equal and these errors almost “subtract each other out.” In this example, since our function is a line, these errors are exactly equal and they do subtract each other out, giving us the exact answer.
Note too that when the function is negative, the rectangles have a “negative” height. When we compute the area of the rectangle, we use ; when is negative, the area is counted as negative.
Notice in the previous example that while we used 10 equally spaced intervals, the number “10” didn’t play a big role in the calculations until the very end. Mathematicians love to abstract ideas; let’s approximate the area of another region using subintervals, where we do not specify a value of until the very end.
Revisit yet again. Approximate this definite integral using the Right Hand Rule with equally spaced subintervals.
SolutionWe see that . We also find .
We construct the Right Hand Rule Riemann sum as follows. Be sure to follow each step carefully. If you get stuck, and do not understand how one line proceeds to the next, you may skip to the result and consider how this result is used. You should come back, though, and work through each step for full understanding.
The result is an amazing, easy to use formula. To approximate the definite integral with 10 equally spaced subintervals and the Right Hand Rule, set and compute
Recall how earlier we approximated the definite integral with 4 subintervals; with , the formula gives 10, our answer as before.
It is now easy to approximate the integral with 1,000,000 subintervals! Hand-held calculators will round off the answer a bit prematurely giving an answer of . (The actual answer is .)
We now take an important leap. Up to this point, our mathematics has been limited to geometry and algebra (finding areas and manipulating expressions). Now we apply calculus. For any finite , we know that
Both common sense and high-level mathematics tell us that as gets large, the approximation gets better. In fact, if we take the limit as , we get the exact area described by . That is,
This is a fantastic result. By considering equally-spaced subintervals, we obtained a formula for an approximation of the definite integral that involved our variable . As grows large — without bound — the error shrinks to zero and we obtain the exact area.
This section started with a fundamental calculus technique: make an approximation, refine the approximation to make it better, then use limits in the refining process to get an exact answer. That is precisely what we just did.
Let’s practice this again.
Find a formula that approximates using the Right Hand Rule and equally spaced subintervals, then take the limit as to find the exact area.
SolutionWe see that and .
The Riemann sum corresponding to the Right Hand Rule is (followed by simplifications):
Once again, we have found a compact formula for approximating the definite integral with equally spaced subintervals and the Right Hand Rule. Using 10 subintervals, we have an approximation of (these rectangles are shown in Figure 5.3.9). Using gives an approximation of .
Now find the exact answer using a limit:
We have used limits to find the exact value of certain definite integrals. Will this always work? We will show, given not-very-restrictive conditions, that yes, it will always work.
The previous two examples demonstrated how an expression such as
can be rewritten as an expression explicitly involving , such as .
Viewed in this manner, we can think of the summation as a function of . An value is given (where is a positive integer), and the sum of areas of equally spaced rectangles is returned, using the Left Hand, Right Hand, or Midpoint Rules.
Given a definite integral , let:
, the sum of equally spaced rectangles formed using the Left Hand Rule,
, the sum of equally spaced rectangles formed using the Right Hand Rule, and
, the sum of equally spaced rectangles formed using the Midpoint Rule.
Recall the definition of a limit as : if, given any , there exists such that
The following theorem states that we can use any of our three rules to find the exact value of a definite integral . It also goes two steps further. The theorem states that the height of each rectangle doesn’t have to be determined following a specific rule, but could be , where is any point in the subinterval, as discussed before Riemann Sums where defined in Definition 5.3.1.
The theorem goes on to state that the rectangles do not need to be of the same width. Using the notation of Definition 5.3.1, let denote the length of the subinterval in a partition of . Now let represent the length of the largest subinterval in the partition: that is, is the largest of all the ’s (this is sometimes called the size of the partition). If is small, then must be partitioned into many subintervals, since all subintervals must have small lengths. “Taking the limit as goes to zero” implies that the number of subintervals in the partition is growing to infinity, as the largest subinterval length is becoming arbitrarily small. We then interpret the expression
as “the limit of the sum of rectangles, where the width of each rectangle can be different but getting small, and the height of each rectangle is not necessarily determined by a particular rule.” The theorem states that this Riemann Sum also gives the value of the definite integral of over .
Let be continuous on the closed interval and let , and be defined as before. Then:
,
, and
.
Now that we have more tools to work with, we can now justify the remaining properties in Theorem 5.2.1.
To see why this property holds note that for any Riemann sum we have , from which we see that:
Applying Theorem 5.3.2(2), we have:
When we compute , we can use the same partitions and the same points , so the heights will remain the same. Since we want to start at and finish at , we use . We now have:
(Theorem 5.3.2(2)) | ||||
(using Theorem 5.3.1(3)) | ||||
(Theorem 5.3.2(2)) |
This property was justified previously.
The justification of this property is left as an exercise.∎
Let be continuous on the interval and let , , and be constants. The following hold:
.
If for all in , then .
If for all in , then .
Before justifying these properties, note that for any subdivision of we have:
To see why (a) holds, let be a constant. We apply Theorem 5.3.2 to see that:
(using Theorem 5.3.1) | ||||
We can now use this property to see why (b) holds. Let and be as given. Then we have:
(Theorem 5.3.2) | ||||
(Theorem 5.3.2) |
Justifying property (c) is similar and is left as an exercise. ∎
We summarize what we have learned over the past few sections here.
Knowing the “area under the curve” can be useful. One common example is: the area under a velocity curve is displacement.
We have defined the definite integral, , to be the signed area under on the interval .
While we can approximate a definite integral many ways, we have focused on using rectangles whose heights can be determined using: the Left Hand Rule, the Right Hand Rule and the Midpoint Rule.
Sums of rectangles of this type are called Riemann sums.
The exact value of the definite integral can be computed using the limit of a Riemann sum. We generally use one of the above methods as it makes the algebra simpler.
We first learned of derivatives through limits then learned rules that made the process simpler. We know of a way to evaluate a definite integral using limits; in the next section we will see how the Fundamental Theorem of Calculus makes the process simpler. The key feature of this theorem is its connection between the indefinite integral and the definite integral.
A fundamental calculus technique is to use to refine approximations to get an exact answer.
What is the upper bound in the summation ?
This section approximates definite integrals using what geometric shape?
T/F: A sum using the Right Hand Rule is an example of a Riemann Sum.
In Exercises 5–12, write out each term of the summation and compute the sum.
In Exercises 13–16, write each sum in summation notation.
In Exercises 17–24, evaluate the summation using Theorem 5.3.1.
Theorem 5.3.1 states
, so
.
Use this fact, along with other parts of Theorem 5.3.1, to evaluate the summations given in Exercises 25–28.
In Exercises 29–32, express the limit as a definite integral.
In Exercises 33–36, express the definite integral as a limit of a sum.
In Exercises 37–42, a definite integral is given.
Graph on .
Add to the sketch rectangles using the provided rule.
Approximate by summing the areas of the rectangles.
, with 6 rectangles using the Left Hand Rule.
, with 4 rectangles using the Midpoint Rule.
, with 6 rectangles using the Right Hand Rule.
with 4 rectangles using the Right Hand Rule.
, with 3 rectangles using the Midpoint Rule.
, with 4 rectangles using the Right Hand Rule.
In Exercises 43–48, a definite integral is given. As demonstrated in Examples 5.3.6 and 5.3.7, do the following.
Find a formula to approximate using subintervals and the provided rule.
Evaluate the formula using , and .
Find the limit of the formula, as , to find the exact value of .
, using the Right Hand Rule.
, using the Left Hand Rule.
, using the Midpoint Rule.
, using the Left Hand Rule.
, using the Right Hand Rule.
, using the Right Hand Rule.
(sec) | 0 | 5 | 10 | 15 | 20 | 25 | 30 |
---|---|---|---|---|---|---|---|
(mph) | 0 | 6 | 14 | 23 | 30 | 36 | 40 |
In Exercises 53–58, find an antiderivative of the given function.