#(tan^2 theta csc^2 theta-1) / sec^2 theta#
#=(tan^2 theta(1+ cot^2 theta)-1) / sec^2 theta#
#=(tan^2 theta+ tan^2thetacot^2 theta-1) / sec^2 theta#
#=(sin^2 theta/cos^2theta+ 1-1) / (1/cos^2 theta)#
#=sin^2 theta/cos^2thetaxxcos^2 theta#
#=sin^2theta#