I'm trying to integrate $\dfrac{1}{x^2}$ from $1$ to $\infty$ using Riemann sums. I know the answer is supposed to be $1$ (using the Fundamental Theorem of Calculus), but I don't know how to get there using Riemann sums.
To clarify what I mean by "using Riemann sums", I mean calculating the area of rectangles under the curve, and taking the limit as the number of rectangles approaches infinity. Apologies if I am using the term "Riemann sum" incorrectly, but that is what I mean.
I find evaluating integrals this way to be an interesting exercise.
Technically it's impossible to form a Riemann sum for a positive function over an unbounded interval, because any partition of the domain into finitely many pieces will contain one unbounded interval, for which the corresponding summand is infinite.
That said, you can finesse things here by "partitioning" the interval $1 \leq x$ into infinitely many pieces: Fix a real number $r > 1$, consider the "infinite geometric partition" $(r^{k})_{k=0}^{\infty}$, and note that for each integer $k \geq 1$, you have $$ \frac{1}{r^{2k}} = \frac{1}{(r^{k})^{2}} \leq \frac{1}{x^{2}} \leq \frac{1}{(r^{k-1})^{2}} = \frac{r^{2}}{r^{2k}} $$ on the interval $[r^{k-1}, r^{k}]$, whose length is $\Delta r_{k} = r^{k} - r^{k-1} = r^{k-1}(r - 1)$. The respective "lower" and "upper sums" are \begin{align*} L(f, P) &= \sum_{k=1}^{\infty} \frac{r^{k-1}(r - 1)}{r^{2k}} = (r - 1) \sum_{k=1}^{\infty} \frac{1}{r^{k + 1}} = (r - 1) \frac{(1/r)^{2}}{1 - (1/r)} = \frac{1}{r}, \\ U(f, P) &= \sum_{k=1}^{\infty} \frac{r^{k+1}(r - 1)}{r^{2k}} = r^{2}\, L(f, P) = r. \end{align*} Letting $r \to 1$ gives the integral. (Of course, this argument doesn't exactly pass muster in the 21st century, but it can be tightened up easily enough, and is in the spirit of what you seek.)