The integrand simplifies dramatically using algebraic identities and the Pythagorean identity, reducing to −cos2x. The integral is therefore −21sin2x+C.
Why this approach works
When you see high powers of sine and cosine together, your first instinct should be to look for factorisation. The numerator sin8x−cos8x is a difference of fourth powers, which itself is a difference of squares. The denominator 1−2sin2xcos2x looks suspiciously like something that might cancel with part of that factorisation — and indeed it does.
The key insight: sin8x−cos8x=(sin4x−cos4x)(sin4x+cos4x). And sin4x−cos4x is itself (sin2x−cos2x)(sin2x+cos2x)=(sin2x−cos2x)⋅1. So the numerator contains a factor sin2x−cos2x=−cos2x.
Meanwhile, the denominator 1−2sin2xcos2x turns out to equal sin4x+cos4x — a neat identity worth remembering.
sin4x+cos4x=1−2sin2xcos2x
This is derived from (sin2x+cos2x)2=1, expanding to sin4x+cos4x+2sin2xcos2x=1, then rearranging.
So the denominator exactly cancels the sin4x+cos4x factor from the numerator, leaving only −cos2x.
Step-by-step solution
1. Factor the numerator
sin8x−cos8x=(sin4x)2−(cos4x)2=(sin4x−cos4x)(sin4x+cos4x)
Now factor the first bracket again:
sin4x−cos4x=(sin2x)2−(cos2x)2=(sin2x−cos2x)(sin2x+cos2x)
Since sin2x+cos2x=1, this simplifies to sin2x−cos2x.
So the numerator becomes (sin2x−cos2x)(sin4x+cos4x).
2. Recognise the double-angle form
sin2x−cos2x=−(cos2x−sin2x)=−cos2x …