\(\frac{sin^2a-cos^2a+cos^4a}{cos^2a-sin^2a+sin^4a}=\frac{sin^2a-cos^2a\left(1-cos^2a\right)}{cos^2a-sin^2a\left(1-sin^2a\right)}=\frac{sin^2a-cos^2a.sin^2a}{cos^2a-sin^2a.cos^2a}\)
\(=\frac{sin^2a\left(1-cos^2a\right)}{cos^2a\left(1-sin^2a\right)}=\frac{sin^2a.sin^2a}{cos^2a.cos^2a}=tan^4a\)
\(sin^4a+cos^4a=\left(sin^2a+cos^2a\right)^2-sin^2a.cos^2a=1-2sin^2a.cos^2a\)