1. ## proving identity

prove that (cscx-cotx)^2=(1-cosx)/(1+cosx)

my steps are as follows:
LS

(cscx-cotx)^2
(1/sinx-1/tanx)^2
(1/sinx-cosx/sinx)^2
[(1-cosx)/sinx]^2
[(1-2cosx-cos^x)/sin^2x]

now what should I do to get it to equal the other side? I am stuck here

2. $\frac{(1-\cos x)^2}{\sin^2x}=\frac{(1-\cos x)^2}{1-\cos^2x}=\frac{(1-\cos x)^2}{(1-\cos x)(1+\cos x)}=\frac{1-\cos x}{1+\cos x}$