Question
Question: How do you use Riemann sums to evaluate the area under the curve of \[f(x) = {x^3}\] on the closed i...
How do you use Riemann sums to evaluate the area under the curve of f(x)=x3 on the closed interval [1,3], with n=4rectangles using right, left and midpoints?
Solution
Hint : Before getting into the problem let us know about Riemann sum. Riemann sum is a kind of approximation of an integration by a finite sum. Riemann sum is mainly used for approximating the area of lines, functions or curves on a graph. The idea behind the Riemann sum is to divide the region into the known shapes such as rectangles, trapezoids, parabolas or Cubic’s, which form the new region that is somewhat similar to the region we needed to measure, and then add all of the regions to find the area. In the question given here, it is given that the function f(x)=x3, forms a curve, and the area of the curve between the points 1,3 is divided into 4 rectangles. Now we are going to find the area of the regions by right, left and midpoints Riemann sum.
Formula used:
Δx=nb−a
Right Riemann sum =Δx[f(a+Δx)+f(a+2Δx)+...+f(b)]
Left Riemann sum =Δx[f(a)+f(a+Δx)+f(a+2Δx)+...+f(b−Δx)]
Midpoint rule =Δx[f(a+2Δx)+f(a+33Δx)+...+f(b−2Δx)]
Complete step-by-step answer :
The given question can be mathematically represented as 1∫3x3dx, where f(x)=x3, a=1,b=3 and n=4.
Δx is the subinterval, in each subinterval we will get a rectangle.
Δx=nb−a=43−1=42=21
Now we have the subinterval as 21.
Add the subintervals with the existing points in [1,3] to get new points.
1+21=23 and 2+21=25
Divide the interval [1,3] into n=4 subintervals of the length Δx=21 with the following endpoints: 1,23,225,3
Now we have four rectangles with points: (1,23),(23,2),(2,25) and (25,3)
Now the Riemann sum is the sum of the area of the 4 rectangles.
Right sum
For the right sum, we have to use the right end points of the subintervals. Therefore points are 23,225,3.
Here we do not consider the interval 1 because it is the left end point.
We have the formula Right Riemann sum =Δx[f(a+Δx)+f(a+2Δx)+...+f(b)]. Here each term inside the bracket represents the points of the rectangles. Already we have found the points of the rectangle on the right.
Therefore the formula of area can be written as: =Δx[f(x1)+f(x2)+f(x3)+f(x4)]
Substitute the values: Δx=21,x1=23,x2=2,x3=25 and x4=3.
=21[f(23)+f(2)+f(25)+f(3)]
Now evaluate the functions of the right endpoints of the subintervals with function f(x)=x3,
f(x1)=f(23), now applying f(x)=x3, =(23)3=827 on further division we will get, 827=3.375, that is,
f(x1)=f(23)=827=3.375
Similarly, f(x2)=f(2)=8
f(x3)=f(25)=8125=15.625
f(x4)=f(3)=27
Substitute the values in the formula,
=21[3.375+8+15.625+27]
Adding the values,
=21[54]
Dividing 54 by 2 we will get,
=27
Hence by Right Riemann sum, 1∫3x3dx≈27.
Left sum
For the left sum, we have to use the left endpoints of the subintervals. Therefore points are 1,23,225.
Here we do not consider the interval 3 because it is the right end point.
We have the formula Left Riemann sum =Δx[f(a)+f(a+Δx)+f(a+2Δx)+...+f(b−Δx)]. Here each term inside the bracket represents the points of the rectangles. Already we have found the points of the rectangle on the left.
Therefore the formula of area can be written as: =Δx[f(x1)+f(x2)+f(x3)+f(x4)]
Substitute the values: Δx=21,x1=1,x2=23,x3=2 and x4=25.
=21[f(1)+f(23)+f(2)+f(25)]
Now evaluate the functions of the right endpoints of the subintervals with function f(x)=x3,
f(x1)=f(1), now applying f(x)=x3, we will get, 13=1, that is,
f(x1)=f(1)=1
Similarly, f(x2)=f(23)=827=3.375
f(x3)=f(2)=8
f(x4)=f(25)=8125=15.625
Substitute the values in the formula,
=21[1+3.375+8+15.625]
Adding the values,
=21[28]
Dividing 28 by 2 we will get,
=14
Hence by Left Riemann sum, 1∫3x3dx≈14.
Midpoint rule
The midpoints use the midpoints of the subintervals (1,23),(23,2),(2,25) and (25,3).
We have the formula Left Riemann sum =Δx[f(a+2Δx)+f(a+33Δx)+...+f(b−2Δx)]. Here each term inside the bracket represents the midpoint of an interval.
Midpoint of an interval is the average of its end points.
Therefore the formula of area can be written as: =Δx[f(x1)+f(x2)+f(x3)+f(x4)]
Midpoint of the point (1,23), x1=21+23=225=25×21=45
Midpoint of the point (23,2), x2=223+2=227=27×21=47
Midpoint of the point (2,25), x3=22+25=229=29×21=49
Midpoint of the point (25,3), x4=225+3=2211=211×21=411
Substitute the values: Δx=21,x1=45,x2=47,x3=49 and x4=411.
=21[f(45)+f(47)+f(49)+f(411)]
Now evaluate the functions of the right endpoints of the subintervals with function f(x)=x3,
f(x1)=f(45), now applying f(x)=x3, =(45)3=64125 we will get, 64125=1.953, that is,
f(x1)=f(45)=64125=1.953
Similarly, f(x2)=f(47)=64343=5.359
f(x3)=f(49)=64729=11.390
f(x4)=f(411)=641331=20.796
Substitute the values in the formula,
=21[1.953+5.359+11.390+20.796]
Adding the values,
=21[39.498]
Dividing 39.498 by 2 we will get,
=19.749
By rounding the decimal we will get,
=19.75
Hence by midpoint rule, 1∫3x3dx≈19.75 Sq units.
Note : In the left sum the right endpoint will be excluded and in the right sum the left end point will be excluded. The values we got from right, left and midpoint are not the exact values because the region filled by the small shapes is usually not exactly the same shape as the region being measured. Thus Riemann sum is an approximation method the area we get will be approximately equal to function.