\[\tan\left(2z\right)=\frac{2\tan z}{1-{\tan}^{2}z}=\frac{2\cot z}{{\cot}^{2}z-1%
}=\frac{2}{\cot z-\tan z}.\]