We split up the interval [a,b][a,b] into subintervals Ij=[a+(j-1)h,a+jh]I_{j}=[a+(j-1)h,a+jh] of length hh, where j=1,2,…,nj=1,2,\dots,n and b-a=nhb-a=nh. Supposing that mj≤f(x)≤Mjm_{j}\leq f(x)\leq M_{j} for xx in IjI_{j}, we find it evident that
Since the area of a rectangle is simply (base)⋅(height)(base)\cdot(height), we have
On summing over jj, we obtain