Ganitha Lokaಗಣಿತ ಲೋಕ ಅಕಾಡೆಮಿ

Area under a curve (Riemann sums)

Approximate a definite integral with left, right or midpoint rectangles or trapeziums. Increase the number of strips and watch the error shrink compared with the accurate value.

Loading the simulation…

How to use

  1. Choose a function and the limits a and b.
  2. Pick a method.
  3. Increase n.

Formula

$\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i^*)\,\Delta x$

Level: PU (I & II PUC / Class 11–12), UG (BSc / BE / BCA) · Topic: Calculus

Frequently asked questions

What is a Riemann sum?

An approximation of the area under a curve by adding the areas of thin rectangles.

Which method is most accurate?

For smooth functions the midpoint and trapezium rules are much better than left or right rectangles.

Related tools

← All maths tools