← Back to learning objective

Right-endpoint Riemann sum vs. exact integral

Consider the function f(x)=x2−4x+5f(x) = x^2 - 4x + 5 on the interval [1,5][1, 5], partitioned into n=4n = 4 equal subintervals.

Partition [1,5][1,5] into n=4n = 4 equal subintervals and use right endpoints to approximate ∫15(x2−4x+5) dx\int_1^5 (x^2 - 4x + 5)\, dx. Compute the right-endpoint Riemann sum, then compute the exact value of the integral using antiderivatives, and state whether the right sum is an overestimate or underestimate of the exact value.

Hint

First find Δx=(5−1)/4\Delta x = (5-1)/4 and list the right endpoints x1,x2,x3,x4x_1, x_2, x_3, x_4. Evaluate ff at each and sum, multiplying by Δx\Delta x. Then find an antiderivative of ff and use the Fundamental Theorem of Calculus to get the exact area; compare the two numbers and think about whether ff is increasing or decreasing on each subinterval.

Step-by-step solution

With Δx=(5−1)/4=1\Delta x = (5-1)/4 = 1, the right endpoints are x1=2,x2=3,x3=4,x4=5x_1=2, x_2=3, x_3=4, x_4=5. Evaluating f(x)=x2−4x+5f(x)=x^2-4x+5 gives f(2)=1f(2)=1, f(3)=2f(3)=2, f(4)=5f(4)=5, f(5)=10f(5)=10. The right-endpoint sum is Δx[f(2)+f(3)+f(4)+f(5)]=1(1+2+5+10)=18\Delta x [f(2)+f(3)+f(4)+f(5)] = 1(1+2+5+10) = 18.

An antiderivative of ff is F(x)=x33−2x2+5xF(x) = \frac{x^3}{3} - 2x^2 + 5x. Then F(5)=1253−2(25)+5(5)=1253−50+25=1253−25=503F(5) = \frac{125}{3} - 2(25) + 5(5) = \frac{125}{3} - 50 + 25 = \frac{125}{3} - 25 = \frac{50}{3} and F(1)=13−2(1)+5(1)=13−2+5=103F(1) = \frac{1}{3} - 2(1) + 5(1) = \frac{1}{3} - 2 + 5 = \frac{10}{3}. Thus ∫15f(x) dx=F(5)−F(1)=503−103=403≈13.33\int_1^5 f(x)\,dx = F(5) - F(1) = \frac{50}{3} - \frac{10}{3} = \frac{40}{3} \approx 13.33.

Since the right sum (18) is greater than the exact value (40/3≈13.3340/3 \approx 13.33), the right-endpoint sum overestimates the integral. This is because f(x)=x2−4x+5f(x) = x^2 - 4x + 5 has f′(x)=2x−4f'(x) = 2x - 4. On the subinterval [1,2][1,2], f′(x)<0f'(x) < 0, so ff is decreasing and the right endpoint gives a value below the average on that interval, resulting in an underestimate for that subinterval. On the three subintervals [2,3][2,3], [3,4][3,4], and [4,5][4,5], f′(x)>0f'(x) > 0, so ff is increasing and the right endpoints give values above the average on each interval, resulting in overestimates for those three subintervals. Since the function grows more steeply as xx increases (the parabola opens upward), the three overcounts on the increasing subintervals outweigh the one undercount on the decreasing subinterval, producing a net overestimate.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap