If I'm asked to prove that an equation holds for all integers, how should I go about it?
My initial reaction would be to conduct two tests. The first one I plug in 2x into both sides of the equation and reduce and see if it comes out to the same thing on both sides. Then plug in 2x-1 into both sides and reduce and see if its the same. That would take care of both even and odd cases, but the more I think about this, the more incorrect it feels. I don't actually think that this proves anything since you are plugging the same formula into both sides. I don't know where I've seen this done before, but I know it is something that used to test something similar.
My next guess would be something like induction. Which is correct?
Proof by consideration of exhaustive subsets (evens and odds):
If $n$ is even, then $n\mod 2 = 0 = -n\mod 2$.
If $n$ is odd, then $n\mod 2 = 1 = -n\mod 2$.
$\blacksquare$