In mathematics, a Riemann sum is a metho for approximating the total area underneath a curve on a graph, otherwise known as an integral. It may also be used to define the integration operation. The sums are named after the German mathematician Bernhard Riemann.