cos^2x-(cos^4x-sin^4x)=cos^2x-(cos^2x-sin^2x)(cos^2x+sin^2x)=cos^2x-(cos^2x-sin^2x)=cos^2x-cos^2x+sin^2x=sin^2x
cos^2x-(cos^4x-sin^4x)=cos^2x-(cos^2x-sin^2x)(cos^2x+sin^2x)=cos^2x-(cos^2x-sin^2x)=cos^2x-cos^2x+sin^2x=sin^2x