eagle SG integrate cot^2 x dx= integrate cosec^2 x - 1 dx= -cot x - x + c because differentiate cot x gives you - cosec^2 x