How do you integrate #xe^(2x)dx#?
2 Answers
I would use Integration by Parts:
Explanation:
We can use the formula for Integration By Parts (IBP):
# int \ u(dv)/dx \ dx = uv - int \ v(du)/dx \ dx # , or less formally
# " " int \ u \ dv=uv-int \ v \ du #
I was taught to remember the less formal rule in word; "The integral of udv equals uv minus the integral of vdu". If you struggle to remember the rule, then it may help to see that it comes a s a direct consequence of integrating the Product Rule for differentiation.
Essentially we would like to identify one function that simplifies when differentiated, and identify one that simplifies when integrated (or is at least is integrable).
So for the integrand
Let
# { (u,=x, => , (du)/dx,=1), ((dv)/dx,=e^(2x), =>, v,=1/2e^(2x) ) :}#
Then plugging into the IBP formula:
# int \ (u)((dv)/dx) \ dx = (u)(v) - int \ (v)((du)/dx) \ dx #
gives us
# int \ (x)(e^(2x)) \ dx = (x)(1/2 e^(2x)) - int \ (1/2 e^(2x))(1) \ dx #
# int \ xe^(2x) \ dx = 1/2 xe^(2x) - 1/2 int \ e^(2x) \ dx #
# " " = 1/2 xe^(2x) - 1/4 e^(2x) + C #
# " " = 1/4 e^(2x)( 2x - 1) + C #