Last year I posted about an infinite sum involving the mean of the harmonic numbers,
The method I used to evaluate this was to approximate the sum by an integral. This is a technique that is used in various places in physics, such as in the computation of the Fermi surface in metals.
In this particular case, we only cared about the large- limiting behavior of the sum, namely that it grows sublinearly for large . But suppose you wanted to know whether there was, say, a constant term as well. Here's one way to figure that out. Instead of converting the entire sum to an integral, you choose some cutoff value , and keep the first terms in the sum explicitly.
Now you have a value, , that represents a "break" in your sequence, but it's an arbitrary value, so you can choose it to be anything you want. In fact, you can even think of as a "sliding" cutoff, whose value can go up and down arbitrarily. This suggests that you might want to figure out the effect on your sum each time you bump up by one.
- The sum goes from to , for a net increase of
- The logarithm goes from to , for a net decrease of
This whole thing gets plugged into the limit expression from above, giving
Notice that you have a finite value (the sum) divided by , added to . Both of these terms obviously go to zero in the limit as — and specifically, this is true regardless of what value you choose for the cutoff . So now you know you have the freedom to make the cutoff as large as you want, including as many terms as you feel necessary in the actual sum (instead of the integral) to get the error as low as you like.
This behavior where you have a cutoff that you can slide up and down without affecting your result (much) is kind of similar to regularization, but not exactly. Later on this month I'll post a much better example that shows how regularization can actually convert an undefined difference of two infinite expressions into a finite value.