76.6k views
4 votes
Integrate the following by parts |xcos x dx​

1 Answer

10 votes


\displaystyle \int x \cos x ~dx\\\\=x\displaystyle \int \cos x ~dx- \displaystyle \int \left((d)/(dx) x \displaystyle \int \cos x ~dx \right) dx\\\\=x\sin x - \displaystyle \int\left( \sin x \right) dx\\ \\=x \sin x - (-\cos x) +C\\\\=x \sin x + \cos x +C

User Nathan Fellman
by
3.2k points