It's maybe a slightly different definition of "trick", but one of my favourite "magic tricks" in maths is the "collapsing series" trick.
Here is an example: let's say that we are interested in what you get when you add up the first N powers of 2. We experiment by calculating the first few:
2^1 = 1.
2^1 + 2^2 = 2 + 4 = 6.
2^1 + 2^2 + 2^3 = 2 + 4 + 8 = 14.
2^1 + 2^2 + 2^3 + 2^4 = 2 + 4 + 8 + 16 = 30.
Well, is there any obvious pattern here? In other words, is there a nice formula which will quickly tell us what (2^1 + ... + 2^N) is, for any natural number N?
Here is the magic trick: we simply
define S(N) = 2^1 + ... + 2^N, for any natural number N, and we say the following magic words:
Quote:
S(N) = 2^1 + ... + 2^N.
So 2*S(N) = 2*(2^1 + ... + 2^N) = 2^2 + ... + 2^(N+1).
So S(N) = 2*S(N) - S(N) = (2^2 + ... + 2^(N+1)) - (2^1 + ... + 2^N) = 2^(N+1) - 2^1.
In other words, 2^1 + ... + 2^N = 2^(N+1) - 2, for any natural number N.
There is a well-known generalization of this "trick", the sum of a geometric series.
r^0 + r^1 + r^2 + ... + r^n = ( r^(n+1) - 1 ) / ( r - 1 )
I discovered this formula when I was bored with the regular curriculum in high school math class. It was things like this that caused my otherwise rather strict teacher not to care whether or not I did my math homework