For the equation cot2x - cos2x = cos2x - cot2x, the two sides are negatives of each other. The only way that they can be equal is when both sides are equal to zero. The equation as written is not an identity.
Are you sure that you typed the equation correctly??