Evaluate the following integrals:

∫ (tan x + cot x)2 dx

Given:




We know that,


tan2x = sec2x - 1


cot2x = cosec2x - 1







We know that,




I=tanx – cotx - c


25