Consider the L.H.S.
=tanθ1−cotθ+cotθ1−tanθ
=sinθcosθsinθ−cosθsinθ+cosθsinθcosθ−sinθcosθ
=sin2θcosθ(sinθ−cosθ)+cos2θsinθ(cosθ−sinθ)
=sin2θcosθ(sinθ−cosθ)−cos2θsinθ(sinθ−cosθ)
=sin3θ−cos3θsinθcosθ(sinθ−cosθ)
=(sin2θ+cos2θ+cosθsinθ)(sinθ−cosθ)sinθcosθ(sinθ−cosθ)
=(1+cosθsinθ)sinθcosθ
=1 sinθcosθ+1
=1+secθcosecθ
Henced, proved.