Amazingly, all polynomial trignometrical identities (that's basically all the formulae they made you memorise) are an ideal generated by the Pythagorean Theorem. In laymen's terms -- sin2x + cos2x = 1 is all you need to know.