(ctg^2a-cos^2a)tg^2a=(cos^2a/sin^2a -cos^2a)*sin^2a/cos^2a=
=((cos^2a-cos^2a*sin^2a)/sin^2a)*sin^2a/cos^2a=
=(cos^2a*(1-sin^2a))/cos^2a=1-sin^2a=cos^2a
(ctg^2a-cos^2a)tg^2a=(cos^2a/sin^2a -cos^2a)*sin^2a/cos^2a=
=((cos^2a-cos^2a*sin^2a)/sin^2a)*sin^2a/cos^2a=
=(cos^2a*(1-sin^2a))/cos^2a=1-sin^2a=cos^2a