How do I solve this integral via integration by parts when it shows a recursion-like behavior?

Your working is correct, but the way you're using IBP is not helping you to get to the answer.

If I asked you to "solve $2x = 4$", you could add $3$ to both sides then times both sides by $50$, but that wouldn't help get to the answer (find x). That's what you're doing here. You're not using the formula in the intended way in order to get to the answer.

Have a look at the formula at the top of:

https://en.wikipedia.org/wiki/Integration_by_parts

With IBP, you're meant to choose $v^\prime(x)$ and $u(x)$ in a way that the integral "reduces" to something "simpler" at each stage, so that eventually you "reduce" the initial integral to an integral you are more familiar with.

So you chose $u(x) =$ the exponential part and $v^\prime(x) = x$

Try it the other way round. Choose $u(x) = x$ and $v^\prime(x) =$ the exponential part.

Because $v^\prime(x)$ goes to $v(x)$, that's basically integrating $v^\prime(x)$ and carrying it over to both terms on the RHS of the equation.

The $u(x)$ gets differentiated on the RHS, and $d/dx(x) = 1$, which gets you a "simpler" integral.

Usually when you have a polynomial and something else in the original integral, you should choose the polynomial $= u(x)$ because then it gets "reduced down" when integrating by parts.

Tags:

Integration