Question
Question: How do you calculate the right hand and left hand Riemann sum using \[4\] sub intervals of \[f\left(...
How do you calculate the right hand and left hand Riemann sum using 4 sub intervals of f(x)=3x on the interval [1,5]?
Solution
Here we will first find all the subintervals of the given function on the given interval. For this we divide the length of [1,5] by 4 and from this value we will get the partition interval of the given interval. Putting the elements of the partition interval into the given function, we will get the 4 subintervals of the function. For the left-hand Riemann sum, we will multiply the first element of each of the 4 subintervals with their lengths and find their sum. And for the right-hand Riemann sum, we will multiply the second element of each of the intervals with their lengths and find the sum.
Complete step-by-step solution:
According to the question, the given interval is [1,5]. From this we have
a=1\b=5
Now if we divide this intervals into 4 equal subintervals, then the length of each of the sub intervals is given by
h=nb−a
⇒h=45−1
Subtracting the terms, we get
⇒h=1
So the partition interval of the given interval becomes
P=[1,1+h,1+2h,1+3h,1+4h]
Putting h=1 we get
P=[1,2,3,4,5]
Putting each element in the given function, we get the sub intervals of f(x) as [f(1),f(2)];[f(2),f(3)];[f(3),f(4)];[f(4),f(5)]
According to the question, f(x)=3x. So the sub-intervals becomes
[3(1),3(2)];[3(2),3(3)];[3(3),3(4)];[3(4),3(5)] ⇒[3,6];[6,9];[9,12];[12,15]
From these sub-intervals, we get the greatest lower bounds (glb) as
m1=3,m2=6,m3=9,m4=12
Also, the least upper bounds (lub) are
M1=6,M2=9,M3=12,M4=15
Now, we know that the left hand Riemann sum is given by
L=m1h1+m2h2+m3h3+m4h4
Since all the intervals are of equal length of h=1, so we have
⇒L=1(m1+m2+m3+m4) ⇒L=m1+m2+m3+m4
Putting the values of greatest lower bounds, we get
⇒L=3+6+9+12 ⇒L=30
Similarly, we get the right hand Riemann sum as
R=M1+M2+M3+M4 ⇒R=6+9+12+15 ⇒R=42
Hence, the left hand and the right-hand Riemann sums are 30 and 42 respectively.
Note:
A subinterval is an interval that is present inside another interval. It is not necessary to divide the given interval into equal subintervals. The given interval can be divided in any manner. We divided it into equal subintervals for easing out the calculations. Riemann sum is used to find the area under the curve on a particular graph. We do this by finding the endpoints of the right and left of the subintervals.