Department of Fundamentals of Computer Science
The lower Riemann sum sn and the upper Rieman sum (Sn) for the function f(x)=x2 on the interval [0,1] for the partition of the interval [0,1] of the form σn = {[0,1n), [1n,2n)), [2n,3n), ... , [n−1n,1]} can be calculated as follow:
sn(f)=n−1∑k=0((kn)2⋅1n)=1n3⋅(12+22+…+(n−1)2) ,Therefore Sn(f)−sn(f)=1n, so limn→∞(Sn(f)−sn(f))=0, hence the function f is Riemann - integrable on the interval [0,1]. Check it yoursef on the following aplet:
Using the formula 12+22+…+n2=16⋅n⋅(n+1)⋅(2n+1), we deduce that ∫10x2dx=limn→∞16⋅(1+1n)⋅(2+1n)=13 .