Solution:
Key idea: The given condition can be rearranged to sinx=1−sin2x, and 1−sin2x is cos2x. So every cos2x can be replaced by sinx. The expression to be proved is a perfect square.
Step 1 — Rearrange the given condition.
We subtract sin2x from both sides of sinx+sin2x=1, and then use 1−sin2x=cos2x.
sinx=1−sin2x
sinx=cos2x
Step 2 — Recognise the perfect square.
The left side has the pattern a2+2ab+b2 with a=cos4x and b=cos2x, so it equals (a+b)2.
cos8x+2cos6x+cos4x=(cos4x)2+2(cos4x)(cos2x)+(cos2x)2
=(cos4x+cos2x)2
Step 3 — Write cos4x in terms of sinx.
Squaring the result of Step 1 gives cos4x.
cos4x=(cos2x)2
=sin2x
Step 4 — Substitute and use the condition again.
We replace cos4x by sin2x and cos2x by sinx; the bracket is then the left side of the given condition, which equals 1.
(cos4x+cos2x)2=(sin2x+sinx)2
=12
=1
Hence proved: cos8x+2cos6x+cos4x=1.