Midpoint Riemann sum approximation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
Leo Liu
Messages
353
Reaction score
156
1612402856532.png

Can someone please explain why the formula for midpoint approximation looks like the equation above instead of something like
$$M_n=(f(\frac{x_0+x_1}2)+f(\frac{x_1+x_2}2)+\cdots+f(\frac{x_{n-1}+x_n}2))\frac{b-a}n$$?
Thanks in advance!
 
Physics news on Phys.org
In order to have enough partitions for the Simpson's Rule approximation, they have twice as many partitions as they are using for the midpoint approximation. So each of the midpoints that you are calculating by using an average is actually an exact partition point in their Simpson's Rule partitioning.
 
Last edited:
Reply
  • Like
Likes   Reactions: Leo Liu