Posted on

Riemann Sum Visualizer on Desmos

So, I’ve been doing a lot of work lately on Desmos and one thing I thought I’d try was to create Desmos graphs that helped teachers show students Riemann sums and how they converge for large numbers of partitions. It took a bit, but I think I’ve created some nice Desmos graphs for right, left, and midpoint Riemann sums.

I’m embedding the code here for each. Just click on the graph and you will be taken to the Desmos graph corresponding to the particular type of Riemann sum. Feel free to change the function, the bounds, and (of course) the number of partition intervals.

Right Riemann Sum:

Left Riemann Sum:

Midpoint Riemann Sum: