# Question Video: Use a Right Riemann Sum to Approximate the Area under a Curve

Use a right Riemann sum to approximate the area under the curve of 𝑓(𝑥) = √(3 − 𝑥) in the interval [0, 2]. Use subintervals with 𝑛 = 4. Approximate your answer to three decimal places.

05:08

### Video Transcript

Use a right Riemann sum to approximate the area under the curve of 𝑓 of 𝑥 equals the square root of three minus 𝑥 in the interval zero, two. Use subintervals with 𝑛 equals four. Approximate your answer to three decimal places.

So what does it mean by a right Riemann sum? Well, we use Riemann sums to approximate the area under a curve by using rectangles. For example, say we wanted to approximate the area under this curve in the interval between 𝑎 and 𝑏 using three rectangles. It would look something like this. And notice how the top right-hand corners of each rectangle touch the curve. So we call this a right Riemann sum. Instead, we could’ve drawn the rectangles in this way, and this would’ve been a left Riemann sum. In both cases, we approximate the area under the curve by finding the total area of these rectangles. In mathematics, this can be helpful to approximate an integral because, remember, definite intervals represent the area under a curve of a function.

Let’s draw a quick sketch of this function so we can visualize what we’re doing here. We’re wanting to estimate the area under this curve in the interval between zero and two. But instead of finding this exact area, we’re going to use a right Riemann sum. So we want to use rectangles with the top right-hand corner of each rectangle touching the curve. We’ve been asked to use subintervals with 𝑛 equal to four. This means we’re using four rectangles, so let’s draw in those rectangles now. We want four rectangles between zero and two, so we can calculate that each rectangle must have a width of 0.5.

Alternatively, there is a handy formula Δ𝑥 equals 𝑏 minus 𝑎 over 𝑛, where 𝑎, 𝑏 is the interval and 𝑛 is the number of subintervals. So this is two minus zero over four, and that gives us 0.5. So that’s the width of each rectangle. So let’s draw our four rectangles, each with a width of 0.5. Notice how it’s the top right-hand corner of each rectangle that touches the curve rather than the left. Then we can go ahead and find the area of each rectangle. We know that we find the area of a rectangle by multiplying the width by the height. In fact, the Riemann method has a formula for this. This says the area under the curve is approximately the sum from 𝑖 equals one to 𝑛 of Δ𝑥 multiplied by 𝑓 of 𝑥𝑖, where 𝑛 is the number of subintervals which, in this case, that’s four.

So if we find this sum with 𝑛 equal to four, we have Δ𝑥 𝑓 of 𝑥 one add Δ𝑥 𝑓 of 𝑥 two add Δ𝑥 𝑓 of 𝑥 three add Δ𝑥 𝑓 of 𝑥 four. The 𝑥 one, 𝑥 two, 𝑥 three, and 𝑥 four are the right endpoints of each interval. In this case, that’s 0.5, one, 1.5, and two. Note that these values would be different if we were doing a left Riemann sum. So I’m going to replace 𝑥 one, 𝑥 two, 𝑥 three, and 𝑥 four with 0.5, one, 1.5, and two in our working. So then, 𝑓 of 0.5, 𝑓 of one, 𝑓 of 1.5, and 𝑓 of two simply give us these values at the top right-hand corner of each rectangle. In other words, 𝑓 of 0.5, 𝑓 of one, 𝑓 of 1.5, and 𝑓 of two are just the heights of each rectangle. And we know that Δ𝑥 is the width of each rectangle, so we can see how this formula works by finding the area of each rectangle and then summing them together.

So let’s go ahead and calculate the values of 𝑓 of 0.5, 𝑓 of one, 𝑓 of 1.5, and 𝑓 of two. Remember, 𝑓 of 𝑥 is the square root of three minus 𝑥. So, 𝑓 of 0.5 is the square root of three minus 0.5, which is the square root of 2.5. 𝑓 of one is the square root of three minus one, which is the square root of two. 𝑓 of 1.5 is the square root of three minus 1.5, which is the square root of 1.5. And 𝑓 of two is the square root of three minus two, which is the square root of one, although we know that this is just one. So let’s go ahead and sum the areas of the rectangles together.

The area of the first rectangle is 0.5, which is the width, Δ𝑥, multiplied by the height, which is 𝑓 of 0.5, which we found to be the square root of 2.5. The area of the second rectangle from the left is the width, which is 0.5 or Δ𝑥, multiplied by the height, which is 𝑓 of one or root two. The area of the third rectangle from the left is the width, which is 0.5, that’s Δ𝑥, multiplied by the height, which is 𝑓 of 1.5, which we found to be the square root of 1.5. And for the fourth rectangle from the right, the width is 0.5, which is Δ𝑥, and the height is 𝑓 of two, which we found to be one. And when we calculate these and add them together, we work this out to be 2.610 to three decimal places. Remember that this is just an estimate to the area under the curve.