\(cot^2a+tan^2a=\frac{cos^2a}{sin^2a}+\frac{sin^2a}{cos^2a}=\frac{cos^4a+sin^4a}{sin^2a.cos^2a}=\frac{8\left(\frac{1+cos2a}{2}\right)^2+8\left(\frac{1-cos2a}{2}\right)^2}{2\left(2sina.cosa\right)^2}\)
\(=\frac{2+4cos2a+2cos^22a+2-4cos2a+2cos^22a}{2sin^22a}=\frac{4+4cos^22a}{2sin^22a}\)
\(=\frac{4+4\left(\frac{1+cos4a}{2}\right)}{2\left(\frac{1-cos4a}{2}\right)}=\frac{6+2cos4a}{1-cos4a}\)