Solution:
Key idea: Use the sum of cubes, a3+b3=(a+b)(a2−ab+b2), with a=sinθ and b=cosθ. Then a2+b2 is 1.
Step 1 — Factorise the sum of cubes.
We apply the sum-of-cubes formula to the left side.
LHS=(sinθ+cosθ)(sin2θ−sinθcosθ+cos2θ)
Step 2 — Regroup the second bracket.
We bring the two squared terms together, because they form the basic identity.
LHS=(sinθ+cosθ)((sin2θ+cos2θ)−sinθcosθ)
Step 3 — Use the basic identity.
We replace sin2θ+cos2θ by 1.
LHS=(sinθ+cosθ)(1−sinθcosθ)
This is the right side.
Hence proved: sin3θ+cos3θ=(sinθ+cosθ)(1−sinθcosθ).