$\int e^x\sin x\ dx$: how many substitutions?

60 Views Asked by At

I got the answer of $-\frac12e^x\cos x$ after substituting twice. Do I always have to substitute twice for all simple integration-by-parts problems?

1

There are 1 best solutions below

0
On BEST ANSWER

Hint:

$$\int e^x \sin{x} dx=\frac{1}{2} \int e^x((\sin{x}-\cos{x})+(\cos{x}+\sin{x}))dx$$

Then, use $$\int e^x(f(x)+f'(x))dx=e^xf(x)+c$$