Open In App

Definite Integral as the Limit of a Riemann Sum

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

Definite integrals are an important part of calculus. They are used to calculate the areas, volumes, etc of arbitrary shapes for which formulas are not defined. Analytically they are just indefinite integrals with limits on top of them, but graphically they represent the area under the curve. The limits denote the boundaries between which the area should be calculated. These concepts hold a lot of importance in the field of electrical engineering, robotics, etc. For defining integrals, Riemann sums are used in which we calculate the area under any curve using infinitesimally small rectangles. Let’s look at this interpretation of definite integrals in detail. 

Riemann Sums

Riemann’s sums and integrals were developed by German mathematician Bernhard Riemann who made significant contributions to the field of differential geometry, number theory, and its analysis. These sums calculate the area under any curve using infinite rectangles and summing up their area. Let’s understand these sums through an example, consider a function f(x), the objective is to calculate the area under this curve between x = a to x = b. 

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

\int^{b}_{a}f(x)dx

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(\frac{x_{i-1} + x_{i}}{2})(xi — xi-1)

So, the total area will be \sum^{n}_{i = 1}A_{i}

This sum is called Riemann sum.

Definite Integrals through Riemann Sums

Through Riemann sums, the area under the curve can be calculated for arbitrarily complex functions. So, definite integrals can be defined using the Riemann sums. Intuitively, as we increase the number of rectangles in the region, their width decreases and the area becomes close and close to the exact area under the curve. 

Let P be the width of the largest interval. 

A = \lim_{|P| \to 0}\sum^{n}_{i = 1}f(\frac{x_i + x_{i-1}}{2})\Delta x

This limit is the definite integral of the function f(x) between the limits a to b and is denoted by \int^{b}_{a}f(x)dx. Let n be the number of divisions we make in the limits and R(n) be the value of riemann sum with n-divisions as n ⇢ ∞, R(n) becomes closer and closer to the actual area. Let’s see some problems on these concepts. 

Sample Problems

Question 1: Find the value of riemann sum for n = 3 for the function f(x) = 5 between x = 0 to x = 6. 

Solution: 

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

\Delta x = \frac{6 - 0}{3} = \frac{6 - 0}{3} = 2

The value of the function in each interval will be the value of the function at the mid-point of the interval. 

A = \sum^{n}_{i = 1}f(\frac{x_i + x_{i-1}}{2})\Delta x

⇒A =  f(\frac{x_1 + x_{0}}{2})\Delta x + f(\frac{x_2 + x_{1}}{2})\Delta x + f(\frac{x_3 + x_{2}}{2})\Delta x

⇒A =  f(\frac{2 + 0}{2})\Delta x + f(\frac{4 + 2}{2})\Delta x + f(\frac{6 + 4}{2})\Delta x

⇒A =  f(1)\Delta x + f(3)\Delta x + f(5)\Delta x

⇒A = (f(1) + f(2)+ f(3))\Delta x

⇒A = (5 + 5 + 5)2

⇒A = 30

Question 2: Find the value of riemann sum for n = 4 for the function f(x) = \frac{x^2}{5} between x = 0 to x = 4. 

Solution: 

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

\Delta x = \frac{4 - 0}{n} = \frac{4 - 0}{4} = 1

The value of the function in each interval will be the value of the function at the mid-point of the interval. 

A = \sum^{n}_{i = 1}f(\frac{x_i + x_{i-1}}{2})\Delta x

⇒A =  f(\frac{x_1 + x_{0}}{2})\Delta x + f(\frac{x_2 + x_{1}}{2})\Delta x + f(\frac{x_3 + x_{2}}{2})\Delta x + f(\frac{x_4 + x_{3}}{2})\Delta x

⇒A =  f(\frac{1 + 0}{2})\Delta x + f(\frac{2 + 1}{2})\Delta x + f(\frac{3 + 2}{2})\Delta x + f(\frac{4 + 3}{2})\Delta x

⇒A =  f(0.5)\Delta x + f(1.5)\Delta x + f(2.5)\Delta x + f(3.5)\Delta x

⇒A = (f(0.5) + f(1.5)+ f(2.5) + f(3.5))\Delta x

⇒A = (0.05 + 0.45 + 1.25+ 2.45)\Delta x

⇒A = 4.2

Question 3: Find the value of riemann sum for n = 6 for the function f(x) = x between x = 0 to x = 6. 

Solution: 

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

\Delta x = \frac{6 - 0}{n} = \frac{6 - 0}{6} = 1

The value of the function in each interval will be the value of the function at the mid-point of the interval. 

A = \sum^{n}_{i = 1}f(\frac{x_i + x_{i-1}}{2})\Delta x

⇒A =  f(\frac{x_1 + x_{0}}{2})\Delta x + f(\frac{x_2 + x_{1}}{2})\Delta x + f(\frac{x_3 + x_{2}}{2})\Delta x + f(\frac{x_4 + x_{3}}{2})\Delta x + ....

⇒A =  f(\frac{1 + 0}{2})\Delta x + f(\frac{2 + 1}{2})\Delta x + f(\frac{3 + 2}{2})\Delta x + f(\frac{4 + 3}{2})\Delta x + ...

⇒A =  f(0.5)\Delta x + f(1.5)\Delta x + f(2.5)\Delta x + f(3.5)\Delta x + f(4.5)\Delta x + f(5.5)\Delta x

⇒A = + (f(0.5) + f(1.5)+ f(2.5) + f(3.5) + f(4.5) + f(5.5))\Delta x

⇒A = (0.5 + 1.5 + 2.5 + 3.5 + 4.5 + 5.5)\Delta x

⇒A = 18

Question 4: Find the value of definite integral f(x) = \int^{5}_{0}sin(x)dx

Solution: 

f(x) = \int^{5}_{0}sin(x)dx

⇒f(x) = [-cos(x)]^{5}_{0}

⇒f(x) = [cos(x)]^{0}_{5}

⇒f(x) = 1 – cos(5)

Question 5: Find the value of definite integral f(x) = \int^{1}_{0}sec^2(x) + cos(x) dx

Solution: 

f(x) = \int^{1}_{0}sec^2(x) + cos(x) dx

⇒f(x) = \int^{1}_{0}sec^2(x) + \int^{1}_{0}cos(x) dx

⇒f(x) = [tan(x)]^{1}_{0} + [sin(x)]^1_0

⇒f(x) = tan(1) – tan(0) + sin(1) – sin(0) 

⇒f(x) = tan(1) + sin(1)

Question 6: Find the value of riemann sum for n = 3 for the function f(x) = log(x) between x = 1 to x = 4. 

Solution: 

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

\Delta x = \frac{4 - 1}{n} = \frac{4 - 1}{3} = 1

The value of the function in each interval will be the value of the function at the mid-point of the interval. 

A = \sum^{n}_{i = 1}f(\frac{x_i + x_{i-1}}{2})\Delta x

⇒A =  f(\frac{x_1 + x_{0}}{2})\Delta x + f(\frac{x_2 + x_{1}}{2})\Delta x + f(\frac{x_3 + x_{2}}{2})\Delta x

⇒A =  f(\frac{1 + 2}{2})\Delta x + f(\frac{2 + 3}{2})\Delta x + f(\frac{3 + 4}{2})\Delta x

⇒A =  f(1.5)\Delta x + f(2.5)\Delta x + f(3.5)\Delta x

⇒A = (f(1.5)+ f(2.5) + f(3.5))\Delta x

⇒A = (log(1.5) + log(2.5) + log(3.5))\Delta x

⇒A = (0.17 + 0.39 + 0.54) 

⇒A = 0.56 + 0.54

⇒A = 1.1

Question 7: Find the value of riemann sum for n = 2 for the function f(x) = ex between x = 0 to x = 4. 

Solution: 

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

\Delta x = \frac{4 - 0}{n} = \frac{4 - 0}{2} = 2

The value of the function in each interval will be the value of the function at the mid-point of the interval. 

A = \sum^{n}_{i = 1}f(\frac{x_i + x_{i-1}}{2})\Delta x

⇒A =  f(\frac{x_1 + x_{0}}{2})\Delta x + f(\frac{x_2 + x_{1}}{2})\Delta x

⇒A =  f(\frac{0 + 2}{2})\Delta x + f(\frac{2 + 4}{2})\Delta x

⇒A =  f(1)\Delta x + f(3)\Delta x

⇒A = (f(1)+ f(3))\Delta x

⇒A = (e^1 + e^3)\Delta x

⇒A = (2.7 + 20)2 

⇒A = (22.7)(2)

⇒A = 45.4



Last Updated : 16 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads