I - Riemann Sums and Numerical Integration Lesson

Riemann Sums and Numerical Integration

Riemann Sums

image of ReimannThe rectangle approximation methods used to find areas involved summing areas of rectangles of equal width. These were special cases of a more general sum where it is not necessary to have subintervals of equal width.

image of right hand versus left hand graphs

Let f be defined on the closed interval [a, b], and let Δ be a partition of [a, b] given by a = x0 < x1 < x2 < . . . < xn-1 < xn = b

where  is the width of the ith subinterval. If ci is any point in the ith subinterval, then the sum LaTeX: \sum_{i=1}^{n}=f(c_{i}) \Lambda x_{i}ni=1=f(ci)Λxi, where xi-1 < ci < xi is a Riemann sum of f for the partition LaTeX: \Delta Δ If f(ci) is positive, the number LaTeX: f(c_{i}) \Lambda x_{i}f(ci)Λxi = height * base is the area of the rectangle. If f(ci) is negative, then LaTeX: f(c_{i}) \Lambda x_{i}f(ci)Λxi is the negative of the area. In general, if the function f takes on both positive and negative values, then the Riemann sum is the sum of the areas of the rectangles lying above the x-axis and the negative of the areas of the rectangles lying below the x-axis.

The width of the largest subinterval of a partition Δ is the norm of the partition and is denoted by LaTeX: \|\Delta \|Δ. If every subinterval is of equal width, the partition is denoted by LaTeX: \|\Delta\| =\Delta x=\frac{b-a}{n}Δ=Δx=ban. For a general partition, the norm is related to the number of subintervals of [a, b] by LaTeX: \frac{b-a}{\|\Delta\|}\le nbaΔn. The number of subintervals in a partition approaches infinity as the norm of the partition approaches 0, i.e., LaTeX: \|\Delta \|\to 0Δ0 implies that LaTeX: n \to \infty n.

Links to an external site.Explore the midpoint and trapezoidal Reimann sum by CLICKING HERE. Links to an external site.

Reimann image caption: The German mathematician Georg Friedrich Bernhard Riemann (1826-1866) made lasting contributions to analysis and differential geometry, some of them enabling the later development of Einstein\'s theory of general relativity.

Numerical Integration

There are times when it is extremely difficult or impossible to find the exact value of a definite integral. This may occur when a definite integral involving an elementary function does not have an elementary function for its antiderivative or when the function to be integrated is determined from a scientific experiment's instrument readings or collected data and no formula for the function is apparent. In situations such as these, numerical approximation techniques offer a viable alternative.   Numerical integration   is the process of approximating the value of an integral (area under a curve) using numerical techniques when it is not possible to find a formula that can be evaluated to give the value of a definite integral.

Trapezoidal Rule

The Trapezoidal Rule is a relatively simple numerical technique for estimating an integral's value. It approximates short sections of a curve with line segments and sums the areas of the trapezoids formed by joining the ends of these segments to the   x- axis.  Click HERE to view the presentation on how such trapezoidal sums form the basis for the Trapezoidal Rule. Links to an external site.

View the video below on the Trapezoidal Rule.

Riemann Sums Practice

1. Find the norm of the partition LaTeX: \Delta=\left\{-2,\:-1.7,\:-0.5,\:0,\:0.9,\:1\right\}Δ={2,1.7,0.5,0,0.9,1}.

Solution: 1.2

2. Use RRAM6 to approximate the area under f(x) = 1/x on the interval [2, 4] to the nearest hundredth.

Solution: .653

3. Use MRAM6 to approximate the area under f(x) = 4x + 3 on the interval [5, 8] to the nearest hundredth.

Solution: 87

4. Use the table and LRAM5 as divided by the table to estimate the area under the curve.

Solution: 605

x

0

5

10

20

30

35

f(x)

0

5

20

30

16

0

Numerical Integration Practice

1. Use the Trapezoidal Rule with n = 5 to approximate the integral LaTeX: \int_1^{2}\frac{1}{x}dx211xdx to 6 decimal places.

Solution: 0.695635

2. Use the Trapezoidal Rule with n = 8 to approximate the integral LaTeX: \int_1^{5}\frac{\cos x}{x}dx51cosxxdx to 6 decimal places.

Solution: -0.495333

Riemann Sums: Even More Problems!

Complete problems from your textbook and/or online resources as needed to ensure your complete understanding of Riemann Sums and Numerical Integration.

IMAGES CREATED BY GAVS