Recall that the product rule for derivatives tells us that, for two functions

and

,
![(\mathrm d)/(\mathrm dx)[fg]=(\mathrm df)/(\mathrm dx)g+f(\mathrm dg)/(\mathrm dx)](https://img.qammunity.org/2018/formulas/mathematics/high-school/924xs9zrgu0lqebce5weeo09wa59u8o647.png)
Integrating both sides with respect to

gives the reverse "rule" for integration:
![\displaystyle\int(\mathrm d)/(\mathrm dx)[fg]\,\mathrm dx=\int(\mathrm df)/(\mathrm dx)g\,\mathrm dx+\int f(\mathrm dg)/(\mathrm dx)\,\mathrm dx](https://img.qammunity.org/2018/formulas/mathematics/high-school/56y11pfrrckom0ijlb1gl86vlcw2bnhgzo.png)

You might know this process by the name "integration by parts". This is the standard method for the given integral.
Take


and so

The remaining integral is trivial, and the overall result is
