Beruflich Dokumente
Kultur Dokumente
Madison Kirby
AP Calculus
Mrs. Tallman
23 March 2015
Riemann Sums
With different concepts of calculus come different applications. One such concept is
estimating the area beneath the function, or curve. Finding the area under the curve of a
derivative function will make it possible to calculate the original functions total change. For
example, if the rate of change of a cars distance travelled is given in an equation, the area under
the curve can be used to calculate the total distance the car would travel. Generally, the area is
between an interval which would then give the total distance of the car within that interval. To
calculate this area a few different methods are employed.
The first way to calculate the area under the curve is through the use of the Riemann sum.
The Riemann Sum is an approximation of the definite integral of f (x) , with respect to
and in the interval of [a ,b ] . This operation makes use of rectangles to approximate areas.
Take note of approximate. Riemann Sums do not compute an exact value, but only estimate the
area under the curve. The rectangles stretch from the x-axis to the function, with widths all being
of equal size. The areas of these rectangles are then added together to estimate the total area.
There are three different ways to set up the rectangles: left, right, and midpoint, each shown
below.
Kirby 2
Kirby 3
Kirby 4
calculate the Riemann Sum, the areas of the two rectangles must be found and added together.
Rn= f (c k ) x k . The
k=1
xk
Rn
is the width of the rectangles. To find the Riemann sum by hand, first
calculate the areas of the two rectangles using area=length width . The widths are 2 units and
heights are 13 and 5 units, which result in the areas being 26 and 10 units2, which becomes a
total of 36 units2. Another form to write this in is f ( 1 ) ( 2 )+ f ( 3 ) ( 2 )=36 .
Kirby 5
rectangle is f ( 5 ) =29 . To calculate the Riemann sum, use the same formula as described in
Figure 4 or find the areas of the two rectangles. Each rectangle has a width of 2 units with
heights at 5 and 29 units. This means that the areas are 10 and 58 units2, which comes to a total
of 68 units2. This is also written as f ( 3 ) ( 2 ) +f ( 5 ) ( 2 )=68 .
second rectangle is f ( 4 )=4 . The same formula mentioned with Figure 4 will calculate this
area, however to do this by hand the areas must be found separately and then added together.
Each rectangle still has a width of 2 units and with their heights at 8 and 4 units, the areas come
Kirby 6
out to be 16 and 8 units2, or 24 units2 in total. Another way to write this is
f ( 2 ) ( 2 )+ f ( 4 ) ( 2 )=24 .
the second rectangle is f ( 5 ) =29 . When using a calculator, the formula mentioned earlier is
used again. When calculating by hand, the areas are each found to be 26 and 58 units2, which
totals 84 units2. This can also be written as f ( 1 ) ( 2 )+ f ( 5 ) ( 2 )=84 .
Kirby 7
Figure 8 shows an example of a lower Riemann sum. The same function is used as in
Figure 4. Here, the heights are determined by the lowest y-value within the width of each
rectangle. The height of the first rectangle is f ( 3 ) =5 and the height of the second rectangle is
approximately f ( 3.68 ) =3 .12. With a calculator, use the formula mentioned above. By hand,
the areas must be found and added together. In this problem, the areas come out to be 10 and
approximately 6.25 units2, which total to 16.25 units2. This is also written as
f ( 3 ) ( 2 ) +f ( 3.12 ) ( 2 )=16.25 .
Another way to determine the area under the curve is through the use of the trapezoid
rule, which is a very similar method to Riemann Sums. Instead of using rectangles, the trapezoid
rule uses trapezoids, hence the name. Because the trapezoid rule is able to fit to the curve more
accurately that the rectangles because of the shape of the trapezoids, the results are more accurate
representations, however, this is also just an estimate of the area under the curve and not an exact
computation. Every trapezoid in a problem has the same width for its base along the x-axis. The
length of each leg is the y-value of the function at that particular height of that leg. What this
means is that the legs stretch from the x-axis until they reach the function.
Kirby 8
Figure 9 displays the example for the trapezoid rule using the function from Figure 4.
Here, however, there are four trapezoids because there are four intervals within the interval from
x=1 to x=5. Since there are four trapezoids in the interval and each trapezoid has the same width,
each unit must be 4 units in width. As mentioned earlier, the height of each leg is determined by
the y-value of the function at the same x-value as the leg. This means that the height of the first
leg of the first trapezoid is f ( 1 )=13 , the second leg is f ( 2 )=8 , and so on. As with
Riemann Sums, to find the solution, the sum of the areas of the shapes must be found. This is
1
1
Tn
T n= x [ f ( a ) +f ( x 1 ) +f ( x 2 ) + f ( x3 ) + +f ( x n1 ) + f ( b ) ]
.
is the
2
2
solution, f (x) is the function, a and b are the upper and lower limits of the interval,
and x
x1 , x2 , x3
x=
ba
. In the equation, the values of
n
also be calculated by hand. To properly calculate this way, each area must be found separately
base 1
and base 2 , and the horizontal width of each region is substituted for height .
From here, the areas are computed to be 10.5, 6.5, 4.5, and 16.5 units2, which totals to 38 units2.
Kirby 9
1
1
T n=1[ f ( 1 ) + f ( 2 ) + f ( 3 ) +f ( 4 ) + f ( 5 ) ]
, which also
2
2
results in 38 units2.
Furthermore, there is yet another method one can use to determine the area under a curve.
This method is Simpsons rule. Of all three methods, Simpsons rule is the most accurate and still
has steps similar to the other two. Similar to how Riemann Sums uses rectangles and the
trapezoid rule uses trapezoids, Simpsons rule estimates the area by using parabolas. Their
curved shape is what makes this method able to fit the function more accurately and thus produce
the most accurate solutions of the three. Simpsons rule separates the interval into vertical
sections with equal widths. This method requires that the number of sections to be even so this
means there must be an odd number of data points.
Kirby 10
fit to the curve better. Simpsons rule formula is
1
( x)( y 0 + 4 y 1+ 2 y 2 +4 y 3+ 2 y 4+ +2 y n2+ 4 y n1 + y n )
. Once again, x
3
is the width of
each strip and n is the number of subintervals. If Simpsons rule is calculated using the
function in Figure 4, the values would be substituted in and become
1
(1)(13+ 4 8+2 5+ 4 4+29)
. This calculates the area to be 33.33 units2.
3
To compare and contrast each of these three methods, Riemann Sums, trapezoid rule, and
Simpsons rule, it would be noted how each is used to approximate the area under the curve of a
function within an interval. Each method splits up the interval into subintervals of different
shapes, Riemann Sums using rectangles, trapezoid rule using trapezoids, and Simpsons rule
using parabolas. Of the three, the method that is able to fit the curve the best and thus result in
the most accurate answers is Simpsons rule. Every method becomes more and more accurate
when the number of strips increases. This is because the smaller the intervals, the closer to the
curve the shapes are going to get. The limit of each method as n approaches , or as
x
approaches 0, is the definite integral of the function within the same interval, which
means that
(each method)
f ( x) dx=lim
x 0
a
Kirby 11
f (x) dx
then there exists at least one point x=c in [a, b] for which f ( c )= y = a
av
ba
, or,
f ( c ) ( ab )= f ( x) dx .
a
Keeping MVT in mind and combining it with the idea behind Riemann Sums, the area
under the curve can be found more accurately. The MVT is used to find the average value of the
function within one subinterval. This value is then used as the height. With the function shown in
Figure 11, MVT computes an average value of 8.2 for the first subinterval and a value of 8.2 for
the second subinterval. In the first interval, c=1.9, and the second interval, c=4.37. In Figure 11,
these points are shown with the large black dots. Each rectangle is 8.2 units tall and 2 units wide,
Kirby 12
so their sum can be written as f(1.9)(2)+f(1.9)(2)=32.8, which equals an area of 32.8 units2. This
value is the same as the value that is found from calculating this area with the definite integral
from 1 to 5. So, using the definite integral process or simply using MVT with the concepts of
Riemann Sums will produce the same answer.
Now that all of this calculus information is explained, it is time to apply it to a problem.
For example, there is a spherical hot air balloon that expands as the air inside it is heated. The
balloons radius is represented by a function r (t) , where the radius, r , is measured in feet
Kirby 13
is the approximate radius of the balloon at t=7.2. With this calculation, the result is greater than
the true value because the tangent line used to approximate it will have a positive slope but the
function used to model the true radius is concave down, so the slope ends up decreasing over
time. So, as the value of t moves away from 7, the tangent line at t=7 will become more and
more inaccurate by representing a value higher than the actual value.
Next, the rate of change of the volume of the balloon with respect to time when t=7 must
be found. The rate of change of the volume of the balloon with respect to time when t=7 can be
calculated by differentiating the equation for the volume of a sphere. The formula for volume of
4
2
v = r2
a sphere is
, and the derivative of this is v ' =4 r . Since the radius at t=7 is 32, 32
3
the volume of the balloon is 4096 ft3/sec. The unit ft3/sec is used because this process is
calculating the volume in feet with respect to time in seconds, so feet cubed over seconds.
With this data, a Riemann Sum can be calculated. For this example a right Riemann Sum
with 5 subintervals shall be used. The definite integral from 0 to 12 of r '(t) can be
approximated using the values from Table one and the example previously mentioned, right
Riemann Sum with 5 subintervals. The formula would become
r ' ( 1 ) ( 1 )+ r ' ( 4 ) ( 3 ) +r ' (7)(3)+r '(11)(3)+r ' ( 12 ) (1) , which results in 16.1. What this means is
that the total change of the balloons radius from t=0 to t=12 is 16.1 ft. The units here are feet
because the problem is dealing with the radius, which was in feet. This value is greater than the
Kirby 14
12
true value of
r ' ( t ) dt
0
because it uses a right Riemann sum, which uses the highest value in
Kirby 15
Works Cited
Foerster, Paul A. Calculus: Concepts and Applications. Emeryville, CA: Key Curriculum, 2005.
Print.