I have a specific question for this equation :
$$\frac{1}{x+1} $$
Using Standard Integration,
$$\int_{0}^{1} \frac{1}{x+1} $$
which is approximately 0.69
Using Riemann Sum (right end point), however, I get this
$$ \lim _{n \to \infty } \Sigma ^n _{i=1} \frac{1}{n+i} $$
$$ = \lim _{n \to \infty } ( \frac {1} {n+1} + \frac {1} {n+2} + \frac {1} {n+3} + ... +\frac {1} {2n} ) $$
$$ = \lim _{n \to \infty } (\frac{1}{n})( \frac {1} {1+\frac{1}{n}} + \frac {1} {1+\frac{2}{n}} + \frac {1} {1+\frac{3}{n}} + ... +\frac {1} {2} ) $$
$$= (\frac{1}{\infty})( \frac {1} {1+0} + \frac {1} {1+0} + \frac {1} {1+0} + ... +\frac {1} {2} ) $$
$$= 0 $$
Is this right?
You cannot simply "plug in infinity" in the limit here and conclude the product is zero, because the number of terms in the sum is also increasing.
As to the broader question of under what conditions a Riemann sum can be computed by taking an antiderivative, see https://en.wikipedia.org/wiki/Fundamental_theorem_of_calculus#Second_part