Worked example
∫ sin 3x cos x dx
Answer
−cos 4x/8 + cos 2x/4 + C
Steps
- sin 3x cos xA product of different functions — product-to-sum.
- = ½[sin(3x + x) + sin(3x − x)]sin A cos B = ½[sin(A + B) + sin(A − B)]. · Product to sum: sin A cos B
- = ½[sin 4x + sin 2x]Simplify the angles.
- ∫ = ½[−cos 4x/4 − cos 2x/2] + CIntegrate term by term.
- = −cos 4x/8 − cos 2x/4 + CCollect; check by differentiating.
Answer line above uses the sign convention: ∫sin(kx)dx = −cos(kx)/k.
Identities used
sin A cos B = ½[sin(A + B) + sin(A − B)]
- Product to sum: sin A cos B — A product of sine and cosine that you must integrate, sum, or compare at two frequencies. In calculus this is the standard opening move on ∫sin 3x cos x dx.
Check it yourself
Open the verifier with the main identity pre-filled — substituting your own numbers into a step is the fastest way to find out which line you did not follow.