Here are two ideas that appear often.
Changing the order of summation
This one you definitely know. Addition is commutative. Namely,
If you want we can imagine that there are zeros in the empty spaces
The set
We could add all these values in any order.
The sum
The sum
Other orders are possible, and interesting, too. For example, we could add by diagonals. The key is to always be alert for the possibility of changing the order of summation. In some problems, it can yield interesting results, or make the computation simpler.
Sticking our neck out to look at the future, this idea of swapping the order of summation you will all see again in Calculus (or Mathematical Analysis), in the form of Fubini’s theorem. This theorem is about when we can and how to swap integrals. Sums are a particular case of integrals.
Looking at the inverse function
The idea is as simple as the title. Sometimes we could be working with some function, that is a bit annoying to play with, but it has an inverse function, and this inverse is nicer somehow. Then, instead of studying the original function, we study the inverse and through it we gain knowledge about the original function.
One important event in the history of mathematics in which this idea was applied, was when Niels Abel did exactly this to to study elliptic integrals (it doesn’t matter what that is). He looked at the inverse function, which turn out much nicer to study (elliptic functions).
Let’s review first inverse functions. The inverse
Algebraically: The value
Geometrically: If
We see now why I put these two ideas in the same note. What happens with a table of numbers, if we reflect them with respect to a diagonal, for example
Examples can be any function that you think is not so nice in some sense (this is always relative) and the inverse nice in some other sense. For instance:
has problems at among other inconveniences. However its inverse is nice in many senses. It is even periodic . is annoying to add, but its inverse is even a polynomial. is at least as spooky as the two previous examples combined, but its inverse is is nicer.
Applications
The ideas above are so general that they could be useful in many situations. Here I will only consider a set of problems that have all a similar flavor.
Suppose that we want to compute
for some given function
Let’s count how many integer points are in each horizontal line and then sum. Let’s look at a horizontal line
Exercise 1: Prove that
Hint: Think on the problem geometrically and mixing in the ideas above. Look at the integer points, in the Cartesian plane, that are inside an
Exercise 2: Prove that
Don’t get spooked by the look of the right hand side. This exercise is a direct application of the ideas above. You can do first the case of