2(cos^4x-cos^2x+1/4)
=2(cos^2x-1/2)^2
=2((cosx-2^1/2/2)(cosx+2^1/2/2))^2
=2(cosx-2^1/2/2)^2(cosx+2^1/2/2)^2