# Evaluate using Riemann sums $\int_a^b \frac{1}{x^2}\mathrm{d}x$

This time there's another example from Riemann sums that I don't know how to approach I guess I have to use a different way of partitioning than even parts.

$$\int_a^b \frac{1}{x^2}\mathrm{d}x$$

where $0<a<b$. Any help would be great! Thanks in advance!

-
What are you asking? How to evaluate the integral using riemann sums? –  gt6989b May 7 '13 at 15:30
Have you written out this integral using Riemann sums? If not, where are you stuck? If so, with what you are having difficulties? –  JavaMan May 7 '13 at 15:31
@gt6989b exactly, I've written it as $\lim_{n\rightarrow\infty}\frac{b-a}{n}\sum_{k=1}^{n}\frac{1}{(a+\frac{k(b-a)}{n‌​})^2}$ and I'm kinda lost there –  darenn May 7 '13 at 16:04
@darenn You're right, looks pretty nasty. –  gt6989b May 7 '13 at 16:42

You can use any subdivision; for instance, set $r=(b/a)^{1/n}$ and use $x_0=a$, $x_1=ar$, …, $x_n=ar^n=b$:
Since $\lim_{n\to\infty}\sqrt[n]{a/b}=1$ and so you have the limit of these Riemann sums is $$\frac{1}{a}-\frac{1}{b}$$ as required.
Note that this method actually works for $x^k$, except when $k=-1$, and only requires computing the sum of terms of a geometric progression.