Is there an easier way to get the Riemann sum of a function

areacalculusriemann sum

We are asked to get to approximate the area between the function $f(x) = x^{2}$ and the $x$-axis from $x = 0$ to $x = 2$ in $10$ regular partitions. All types of Riemann sums are asked: Left endpoint, right endpoint, and the midpoint Riemann sum.

The width can be observed to be $\frac{2 – 0}{10} = \frac{1}{5}$.

For the left endpoint Riemann sum, we can write and simplify as

$$A = \frac{1}{5}\sum_{i = 1}^{10}f\left(\frac{i-1}{5}\right)$$

When evaluated one by one, we get

$$A=\frac{1}{5}\left(\left(\frac{0}{5}\right)^{2} + \left(\frac{1}{5}\right)^{2} + \left(\frac{2}{5}\right)^{2} + \left(\frac{3}{5}\right)^{2} + \cdots + \left(\frac{7}{5}\right)^{2} + \left(\frac{8}{5}\right)^{2} + \left(\frac{9}{5}\right)^{2}\right)$$

Solving for this, we get $\frac{57}{25}$. However, it seems as if the process is too tedious. Is there a much more easier way for problems like this?


Edit: I am looking for ways to simplify the process of solving the Riemann sum of a general Riemann integrable function, not for an easier solution of the function that I mentioned.

Best Answer

There is no "general" formula to get the result of a Riemann sum. However,

  • For functions of the form $x^{n}$, Faulhaber's formula may be used.
  • For functions $\sin x$ or $\cos x$, the product-to-sum formula may be used to simplify the entire sum. See this page to get the full answer.