One of the cleverest, most useful identities I've seen is the Sophie Germain Identity.
Problem: Factor a4+4b4.
Solution: Factoring these simple expressions has always seen bizarre to me. The trick here is to create a difference of squares. Adding and subtracting 4a2b2
Follow-up: do any other cool identities like Sophie Germain exist? It is derived from x2−y2=((x+y)+2xy)((x+y)−2xy) and then substituting to get integer coefficients. I don't think so; I think it is a consequence of difference of squares which is a very fundamental factorization with not many other identities like it.
Sophie Germain Identity is a very common and useful tactic in number theory. It is basically just a factorization identity.
\begin{eqnarray*}
a^4+4b^4 & = & (a^2+2ab+2b^2)(a^2-2ab+2b^2)
\end{eqnarray*}
The proof is quite straightforward. It seems to be a fairly regular identity, but it has quite a lot of applications. Let's start with following problem from IMO.
Problem If n>1, prove that n4+4n is composite.
If n is even, then clearly n4+4n is even and greater than 2, so composite. Let's deal with odd n=2k+1 now.
\begin{eqnarray*}
n^4+4^n & = & n^4+4^{2k+1}\newline
& = & n^4+4\cdot(2^k)^4\newline
& = & (n^2+2n\cdot2^k+2\cdot(2^k)^2)(n^2-2n\cdot2^k+2(2^k)^2)
\end{eqnarray*}
n2−2n⋅2k+2(2k)2=(n−2k)2+22k, this is the smaller part and clearly greater than 1. Therefore, n4+4n is a product of two numbers greater than 1 and is not a prime.
The following problem is from Russian Olympiad for junior students, which only a few participants could solve.
Problem Is 5454+4545 a prime?
5454+4545=(545)4+4⋅(4136)4. With this I encourage you to use the Sophie Germain Identity to finish the problem.
We are going to derive the Sophie Germain Identity. It seems quite easy to multiply the factorization after you have been given the factorization, but how does one find it in the first place?
When you see a4+4b4, your first thought should be, "It looks like a perfect square!". Whenever you have just even powers, this should be your first thought. However, it isn't quite a square.
What can I add to this expression to make it a perfect square? Give the simplest possible reasonable positive answer.
Thus, a4+4b4=a4+4b4+4a2b2−4a2b2. Look carefully. This is a difference of squares!
The two expressions being squared are 2ab and what?
Therefore, the entire expression factorizes as
a4+4b4=(a2+2b2)2−(2ab)2=(a2+2ab+2b2)(a2−2ab+2b2)
which was to be desired.
Remember, look for even powers; these can be signs that an expression is a perfect square. Also, sometimes you must complicate an expression to make it simpler in the end.