Approximating discrete sum by integral

  • Context: Undergrad 
  • Thread starter Thread starter Kashmir
  • Start date Start date
  • Tags Tags
    Discrete Integral Sum
Click For Summary
SUMMARY

The discussion focuses on approximating the discrete sum ##\sum_{k=0}^m\left(\frac{k}{m}\right)^n## using the integral ##\int_0^m\left(\frac{x}{m}\right)^n dx##. Participants suggest using Geogebra to visualize the approximation by drawing graphs for moderate values of m, specifically m=20, and for n values of 1 and 2. The concept of Riemann Sums is introduced as a method to understand the relationship between the sum and the integral, emphasizing the area under rectangles representing the discrete sum.

PREREQUISITES
  • Understanding of Riemann Sums
  • Familiarity with integral calculus
  • Basic knowledge of graphing functions
  • Experience using Geogebra for visualizations
NEXT STEPS
  • Explore the concept of Riemann Sums in detail
  • Learn how to use Geogebra for graphing mathematical functions
  • Investigate the properties of definite integrals
  • Study the relationship between discrete sums and continuous integrals
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus, as well as anyone interested in visualizing mathematical concepts through graphing tools like Geogebra.

Kashmir
Messages
466
Reaction score
74
I can't understand how this approximation works ##\sum_{k=0}^m\left(\frac{k}{m}\right)^n\approx\int_0^m\left(\frac{x}{m}\right)^ndx\tag{1}##Can you please help me
 
Physics news on Phys.org
Choose a moderate value of m, not too small, say m=20.
Then set n=1, and draw the graph of ##f(x) = (\frac xm)^n## between 0 and ##m##. On the same set of axes draw the series of m rectangles such that the k-th rectangle (k = 0, ..., m-1) is the set of points (x,y) with ##\frac km\le x\le \frac{k+1}m## and ##(\frac xm)^n\le y\le (\frac{x+1}m)^n##.

Then do the same thing on a new set of axes, for ##n=2##.

That should give you a strong sense for why the approximation works.
 
  • Like
Likes   Reactions: WWGD and Kashmir
andrewkirk said:
Choose a moderate value of m, not too small, say m=20.
Then set n=1, and draw the graph of ##f(x) = (\frac xm)^n## between 0 and ##m##. On the same set of axes draw the series of m rectangles such that the k-th rectangle (k = 0, ..., m-1) is the set of points (x,y) with ##\frac km\le x\le \frac{k+1}m## and ##(\frac xm)^n\le y\le (\frac{x+1}m)^n##.

Then do the same thing on a new set of axes, for ##n=2##.

That should give you a strong sense for why the approximation works.
We first think about the sum as the area under the rectangles having unit width.
This area is roughly the integral of the corresponding continuous function.

Am i right?
 
Kashmir said:
We first think about the sum as the area under the rectangles having unit width.
This area is roughly the integral of the corresponding continuous function.

Am i right?
Yes, that's correct. It is called a Riemann Sum. You can read more about them here, including some nice pictures.
 
  • Informative
  • Like
Likes   Reactions: Kashmir and WWGD
andrewkirk said:
Yes, that's correct. It is called a Riemann Sum. You can read more about them here, including some nice pictures.
Thank you :)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
4K