How do you find the antiderivative of #int (xe^x) dx#?

1 Answer
Nov 2, 2016

# intxe^xdx = e^x(x-1) + C #

Explanation:

If you are studying maths, then you should learn the formula for Integration By Parts (IBP), and practice how to use it:

# intu(dv)/dxdx = uv - intv(du)/dxdx #, or less formally # intudv=uv-intvdu #

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 as 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 #xe^x#, hopefully you can see that #x# simplifies when differentiated and #e^x# remains unchanged under differentiation or integration.

Let # { (u=x, => , (du)/dx=1), ((dv)/dx=e^x, =>, v=e^x ) :}#

Then plugging into the IBP formula givs us:
# int(x)(e^x)dx = (x)(e^x) - int(e^x)(1)dx #
# :. intxe^xdx = xe^x - inte^xdx #
# :. intxe^xdx = xe^x - e^x + C #
# :. intxe^xdx = e^x(x-1) + C #