Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

What is midpoint Riemann sum?

Answer
VerifiedVerified
451.8k+ views
like imagedislike image
Hint: Before giving the answer to the above question, first I will like to tell you what the Riemann sum. In mathematics, a Riemann sum is a certain kind of approximation of an integral by a finite sum. The very common application of Riemann sum is that it is the approximating the area of functions or lines on a graph, but also the length of curves and other approximations.

Complete step by step solution:
Let f:[a,b]R be a function defined on a closed interval [a,b] of the real numbers,R, and P={[x0,x1],[x1,x2]..........[xn1,xn]} be the partition of I, where a=x0<x1<x2<...........<xn=b .
A Riemann sum S of f over I with partition P is defined as S=i=1nf(xi)Δxi where Δxi=xixi1 and xi[xi1,xi].
One might produce different Riemann sums depending on which xi`s chosen. In the end this will not matter, if the function is Riemann integrable, when the difference or width of the summands Δxiapproaches zero.
Now we will discuss the midpoint Riemann sum. As we discussed above the Riemann sum is an approximation of the area under a curve by dividing it into multiple simple shapes. And in the midpoint Riemann sum, the height of each rectangle is equal to the value of the function at the midpoint of its base.
Let's take an example to simplify it. Let for the interval [1,3] and for n=4.
Now first as we do in Riemann sum, we will find Δx.
Δx=banΔx=314=12
Now the end points of the subintervals are:
1,32,2,52,3
Now the left Riemann sum uses the left endpoints to find the height of the rectangle. The midpoint sum uses the midpoints of the subintervals:
[1,32][32,2][2,52][52,3]
The midpoint of an interval is the average of the endpoints, that is:
m1=12(1+32)=54
Similarly for others endpoints are:
m2=12(32+2)=74m3=12(2+52)=94m4=12(52+3)=114
Now for any functionf, we get the Riemann sum:
sum=Δx(f(m1)+f(m2)+f(m3)+f(m4))
Now putting values, we get
sum=12(f(54)+f(74)+f(94)+f(114))

Note: The point to be noted is that the midpoint Riemann sum is one for which we evaluate the function we are integrating at the midpoint of each interval, and use those values to determine the height of the rectangles. And if the curve is decreasing then the right sum are underestimates and the left sums are overestimates.