The expression tanA1−cotA+cotA1−tanA can be written as:
tan A / 1- cot A + cot A / 1- tan A = 1+ sec A cosec A.