Consider a function h that is continuous on [a,b] and sampled at n equally spaced points x0=a,x1,…,xn=b with common spacing Δx=nb−a. Denote the left-endpoint sum by Ln=k=0∑n−1h(xk)Δx and the right-endpoint sum by Rn=k=1∑nh(xk)Δx.
For each k, form the quadrilateral bounded by the straight-line segment joining (xk,h(xk)) to (xk+1,h(xk+1)), the x-axis, and the vertical lines x=xk and x=xk+1. The sum of the areas of all such quadrilaterals is denoted Tn.
(a) Show algebraically that Tn=2Ln+Rn for every positive integer n. Provide a clear derivation starting from the definition of Tn.
(b) Let h(x)=x3 on [0,2]. Using n=4 equally spaced subintervals, compute Ln, Rn, and Tn.
(c) Based on the concavity of h, determine whether Tn is an overestimate or an underestimate of ∫02x3dx. Justify completely.