show that 1-cos^2t divided by sin^2t =TANt

Your "identity" statement is not true.

(1-cos^2 t)/sin^2 t= sin^2 t/sin^2 t = 1

tan t is not, for all t, equal to 1