Similar questions 2 more →
Calculus


Answer & solution
Answer: 0. (no official key was published)
Let g(x)=x cos x. Since cosine is even, g(−x)=−x cos(−x)=−x cos x=−g(x), so g is odd. Its integral over the symmetric interval [−π,π] therefore cancels pairwise and equals zero.
Integration by parts provides an independent derivation. Take u=x and dv=cos x dx, giving du=dx and v=sin x. Then ∫x cos x dx=x sin x−∫sin x dx=x sin x+cos x+C. At π this antiderivative has value π·0+(−1)=−1; at −π it has value (−π)·0+(−1)=−1. Subtracting lower from upper again gives 0.
The printed bounds are −π and π, not an indefinite integral or the interval [0,π]. On [0,π] the value would be −2. The sign and symmetry of the lower bound are consequently essential to the result.