Riemann Sums

Riemann Sum is a certain kind of approximation of an integral by a finite sum. A Riemann sum is the sum of rectangles or trapezoids that approximate vertical slices of the area in question. German mathematician Bernhard Riemann developed the concept of Riemann Sums.

In this article, we will look into the Riemann sums, their approximation, sum notation, and solved examples in detail.

Table of Content

  • What is Riemann Sums?
  • Riemann Approximation
  • Summation Notation of Riemann Sum
  • Examples Using Riemann Sum Formula
  • FAQs on Riemann Sum

What is Riemann Sums?

Riemann sum is a method used for approximating the definite integral of a function over a given interval by dividing the interval into subintervals and then evaluating the function at specific points within each subinterval. It is named after the German mathematician Bernhard Riemann.

Riemann Approximation

Riemann’s sums are a method for approximating the area under the curve. The intuition behind it is, that if we divide the area into very small rectangles, we can calculate the area of each rectangle and then add them to find the area of the total region. These sums can also be used to approximate and define the definite integrals.

Now let’s start with dividing the given area into several rectangles, assuming the area is divided into ‘n’ rectangles of equal width. Notice that these rectangles do not cover the full area, so it is an approximation of the area. But as the number of rectangles increases, the approximation comes closer and closer to the actual area. 

Riemann Sums

In the definite integral notation, this area will be represented as, 

This area can be approximated by dividing the area under the curve into n equally sized rectangles. So, the interval [a, b] is divided into n-subintervals defined by the points. 

a = x0 < x1 < x2 < …. xn-2< xn-1 < xn = b

Then, the n intervals are, 

[x0, x1], [x1, x2], …. [xn-1, xn]

So, for the ith rectangle, the width will be, [xi-1, xi]. 

The area for ith rectangle Ai = f(xi)(xi — xi-1)

So, the total area will be 

This sum is called the Riemann sum. Since the height of the rectangle is determined by the right limit of the interval, this is called the right-Riemann sum. The figure below shows the left-Riemann sum.

Summation Notation of Riemann Sum

Steps given below should be followed to find the summation notation of the Riemann Integral.

  • Step 1: Find out the width of each interval. Let’s denote the width of interval with 
  • Step 2: Let xi denote the right-endpoint of the rectangle xi = a + .i
  • Step 3: Define Area of Each Rectangle
  • Step 4: Sum the Areas 

Let’s say the goal is to calculate the area under the graph of the function f(x) = x3, the area will be calculated between the limits x = 0 to x = 4.

Divide the interval into four equal parts, the intervals will be [0, 1], [1, 2], [2, 3], and [3, 4]. 

Riemann sum then, can be written as follows, 

A(1) + A(2) + A(3) + A(4) = 

Let’s calculate the right sum Riemann sum. Assume xi denotes the right endpoint of the ith rectangle. 

So, the formula for xi = i. Now, the value of the function at these points becomes, 

f(xi) = (i)3

So, A(i) = (height)(width) = (i)3

Riemann sum becomes, 

 A(1) + A(2) + A(3) + A(4) = 

⇒ A(1) + A(2) + A(3) + A(4) = 

So, this way almost all the Riemann sums can be represented in a sigma notation. 

Let’s work out some problems with these concepts. 

Examples Using Riemann Sum Formula

Example 1: Choose which type of the Riemann integral is shown below in the figure. 

  1. Left-Riemann Sum 
  2. Right-Riemann Sum
  3. Mid-point Riemann Sum 

Solution: 

Since the values of the intervals are decided according to the left-end point of the interval. This is a left-Riemann Sum 

Answer-(1).

Example 2: Calculate the Left-Riemann Sum for the function given in the figure above. 

Solution: 

Dividing the interval into four equal parts that is n = 4. The width of each interval will be, 

x0 = 0, x1 = 1, x2 = 2, x3 = 0 and x4 = 0

The value of the function in each interval will be the value of the function at the right-end of the interval. 

⇒A = 

⇒A = 

⇒A = f(1)(2) + f(2)(2)+ f(3)(2) + f(4)(2)

⇒A = (f(1) + f(2) + f(3)+ f(4))(2)

⇒A = (1 + 2 + 3+ 4)(2)

⇒A = (10)(2)

⇒A = 20

Example 3: Consider a function f(x) = 5 – 2x, its area is calculated from riemann sum from x = 0 to x = 4, the whole area is divided into 4 rectangles. Find the riemann sum in sigma notation

Solution: 

Step (i): Calculate the width

Whole length is divided into 4 equal parts, 

xi = 0 and xl = 4, 

Width of an interval is given by = 

Where xi = initial point, and xl – last point and n= number of parts 

n = 4 

Step(ii): 

a = 0, 

xi = 0 +  i 

⇒ xi = i

Step (iii): 

Ai = Height x Width 

    = f(xi

    = (5 – 2i)(1)

    = 5 – 2i

Total Area = A(1) + A(2) + A(3) + A(4) + A(5)

Example 4: Consider a function f(x) = √x, its area is calculated from riemann sum from x = 0 to x = 4, the whole area is divided into 4 rectangles. Find the riemann sum in sigma notation

Solution: 

Step (i): Calculate the width

Whole length is divided into 4 equal parts, 

xi = 0 and xl = 4, 

Width of an interval is given by = 

Where xi = initial point, and xl – last point and n= number of parts 

n = 4 

Step(ii): 

a = 0, 

xi = 0 + 

⇒ xi = i

Step (iii) 

Ai = Height x Width 

    = f(xi

    = (√i)(1)

    = √i

Total Area = A(1) + A(2) + A(3) + A(4) 

Example 5: Consider a function f(x) = 3(x + 3), its area is calculated from Riemann sum from x = 0 to x = 6, and the whole area is divided into 6 rectangles. Find the Riemann sum in sigma notation

Solution: 

Step (i): Calculate the width

Whole length is divided into 4 equal parts, 

xi = 0 and xl = 6, 

Width of an interval is given by = 

Where xi = initial point, and xl – last point and n= number of parts 

n = 6 

Step(ii): 

a = 0, 

xi = 0 +  i 

⇒ xi = i

Step (iii):

Ai = Height x Width 

    = f(xi

    = (3(i + 3))(1)

    = 3(i + 3)

Total Area = A(1) + A(2) + A(3) + A(4) 

FAQs on Riemann Sum

What is the Purpose of Riemann Sums?

Riemann sums are used to approximate the area under a curve, which corresponds to the definite integral of a function over a given interval.

What are Types of Riemann Sums?

There are several types of Riemann Sums including:

  • Left Riemann Sums
  • Right Riemann Sums
  • Midpoint Riemann Sums
  • Trapezoidal Riemann Sums

How does Accuracy of a Riemann Sum Improves?

Accuracy of a Riemann sum improves as the number of subintervals increases and the width of each subinterval decreases.

What are Applications of Riemann sums?

Riemann sums are widely used in various fields, including physics, engineering, economics, and computer science. They are used to model and analyze continuous phenomena, such as calculating the work done by a force, finding the center of mass of an object, determining the volume of a solid of revolution, and estimating the total revenue or cost in economics.



Contact Us