Can you give me the step by step instructions on how to do this problem? I'm having difficulty understanding Riemann Sum.

Let f(x) = 2/x

a. Compute the Riemann sum for R4 using 4 subintervals and right endpoints for the function on the interval [1,5].

b. Draw a figure with the appropriate rectangles labeled corresponding to the Riemann sum R4.

c. Find the exact value of the integral from [1, 5] of f(x)dx = F(5) - F(1), by finding an antiderivative F(x) of f(x) = 2/x

~~This is from my assignment that I got back, which I thought I did right, but I didn't. I really want to understand the concept of Riemann sums. Thanks a lot!! :)

the sums are an approximation of the area under a curve, using rectangles. The area of each rectangle is its width times its height. The width, naturally, is the length of the interval, divided by how may subintervals you use. The height is just the value of the function at some point on the top of the rectangle: either at the left, middle, or right.

That's all there is to it. What did you do, to get the wrong answers? I know it's easy just to post a question and wait for the answers, but when you say you already tried and got it wrong, it's helpful to show what you did; maybe your mistake is just a simple algebra error.

Well for part a, this would be my work:

f(x) = 2/x
f'(x)= 2ln|x|
= pi(2/(pi/4) + 2/(pi/2) + 2/(3pi/4) + 2/(pi)
= pi(2/pi + 4/pi + 8/3pi + 2/pi)
= 2+4+8/3+2 = 8/3 + 8 = 32/3

b. I realized my mistake with the graph. One question though, what do they mean when they say "with the appropriate rectangles labeled"

c. I got right.

they want you to use rectangles where the top of the rectangle is determined by the value of f(x) on the right side of the subinterval.

For [1,5] with 4 subintervals, each subinterval is of width 1, so you rectangles will have heights 2/2, 2/3, 2/4, 2/5

If using left sides, they would have heights 2/1, 2/2, 2/3, 2/4

For part a, it is customary to use the names f(x) and F(x) where you are approximating the area under the curve for f(x)

In this case, f'(x) = -2/x^2
F(x) = ∫f(x) = 2 ln x

What's all this pi/4 stuff? I don't see any pi needed anywhere. There are no trig functions or circles involved, and you're not rotating any section of area.

Oh. I thought you needed to use pi in Riemann.

Ok, so you would just add the intervals, and that would be your answer, correct?
1+2/3+1/2+2/5 = 77/30 ?

& the labeling, would you just label each rectangle 'R1' R2' 'R3' and 'R4' ?

In this case, since the width is 1, you are correct. I would label the rectangles as you did. Make it clear that the curve passes through the upper right corner of each rectangle.

A good diagram is at

http://www2.seminolestate.edu/lvosbury/CalculusI_Folder/RiemannSumDemo.htm

Since your curve is descending, the rectangles will all be below the curve.

Yep I saw the diagram. Ok so the width is always one? If it asks for say 8 intervals, would it still be a width of 1?

and the interval would be from [0,9]

No, the width is not always 1.

Divide the interval into the desired number of intervals.

In this case, interval=4, number of divisions=4.

If you want 8 intervals on [0,9], each would be 9/8 in width.

(b-a)/n is the subinterval width to divide [a,b] into n equal pieces. Don't forget your algebra I just because you're taking calculus now!

And, of course, the subintervals don't have to be all the same width. That's just makes the math easier. For more accurate estimates in areas where the graph is very curvy, you might want to use narrower intervals, and wider ones where the graph is relatively straight.

Whoa, you just summed up my professor's 2 lectures on Riemann Sums into a mere 4 text posts. Thank you so much!!!

Sure, I'd be happy to help you understand Riemann sums and guide you through solving this problem step by step.

a. To compute the Riemann sum for R4 with 4 subintervals and right endpoints on the interval [1,5], we'll follow these steps:

Step 1: Determine the size of each subinterval
The interval [1,5] is divided into 4 subintervals because we have R4. To find the size of each subinterval, we subtract the left endpoint from the right endpoint and divide by the number of subintervals:
Size of each subinterval = (5 - 1) / 4 = 4 / 4 = 1

Step 2: Identify the right endpoints of each subinterval
Since we're using right endpoints for this Riemann sum, the right endpoints will be the numbers that mark the end of each subinterval. In this case, they are: 2, 3, 4, and 5.

Step 3: Evaluate the function at the right endpoints
Now, we need to evaluate the function at each of the right endpoints found in step 2. The function in this case is f(x) = 2/x, so we compute:
f(2) = 2/2 = 1,
f(3) = 2/3,
f(4) = 2/4 = 1/2,
f(5) = 2/5.

Step 4: Compute the sum of the areas of the rectangles
Finally, we calculate the sum of the areas of the rectangles. Each rectangle's area is the width (size of the subinterval) multiplied by the corresponding function value (height). So, the Riemann sum for R4 is:
R4 = (1) * f(2) + (1) * f(3) + (1) * f(4) + (1) * f(5).

b. To draw a figure with the appropriate rectangles labeled corresponding to R4, visualize the four subintervals on the x-axis from 1 to 5. Mark each right endpoint on the x-axis. Then, draw rectangles for each subinterval with the height corresponding to the function value at the right endpoint. Label each rectangle with its corresponding function value.

c. To find the exact value of the integral from [1, 5] of f(x)dx = F(5) - F(1), we'll find the antiderivative F(x) of f(x) = 2/x:
F(x) = 2ln|x| + C, where C is the constant of integration.

To find F(5) - F(1), substitute 5 and 1 into the antiderivative:
F(5) - F(1) = 2ln|5| - 2ln|1|.

Since ln|1| = 0, the expression simplifies to:
F(5) - F(1) = 2ln|5|.

So, the exact value of the integral from [1, 5] of f(x)dx is 2ln|5|.

I hope this explanation helps you understand Riemann sums better, and that you are able to solve your assignment successfully.