7.3.2 Integration Using Trigonometric Identities
When the integrand is a power of a trigonometric function, or a product of sines and cosines, the standard integration formulas usually cannot be applied directly. The strategy is to first rewrite the integrand — using a suitable trigonometric identity — as a sum of terms that each match a known integral (typically sinkx or coskx), and then integrate term by term.
Reducing squares (double-angle identities)
sin2x=21−cos2x,cos2x=21+cos2x
For example, ∫sin2xdx=∫21−cos2xdx=2x−4sin2x+C.
Reducing cubes (triple-angle identities)
sin3x=43sinx−sin3x,cos3x=43cosx+cos3x
Converting products into sums (product-to-sum identities)
2sinAcosB=sin(A+B)+sin(A−B)
2cosAcosB=cos(A+B)+cos(A−B)
2sinAsinB=cos(A−B)−cos(A+B)
These let an integral such as ∫sin3xcos2xdx be split into 21∫[sin5x+sinx]dx, which integrates immediately.
Other useful reductions …