Hello!

I am trying to solve the following indefinite integral by using integration by parts (as is recommended by the textbook): $\displaystyle \int{(e^x\sin{x})dx}$.

However, I am stuck in the same circle over and over again.

$\displaystyle U = e^x$ and $\displaystyle dU = (e^x)dx$.

$\displaystyle dV = (\sin{x})dx$ and $\displaystyle V = -\cos{x}$.

So: $\displaystyle \int{(U)dV} = UV - \int{(V)dU}$ gives $\displaystyle \int{(e^x\sin{x})dx} = -e^x\cos{x} - \int{(-e^x\cos{x})dx}$.

Resulting in the same problem when trying to find $\displaystyle \int{(-e^x\cos{x})dx}$.

Even when I define $\displaystyle U$ and $\displaystyle dV$ the other way around, I am still stuck with $\displaystyle e^x$ and either $\displaystyle \sin{x}$ or $\displaystyle \cos{x}$.

How do I do this? Please help!