How do you integrate lnxdx using integration by parts?

1 Answer
Jan 5, 2016

lnxdx=xlnxx+C

Explanation:

The formula for integration by parts, just for reference:

udv=uvvdu

It's not all that obvious what we should set u and dv as, since we only have one function here.

However, let's set u=lnx. Then du=1xdx.

The real trick is to set dv=dx, making v=x. This will allow us to get rid of the ln and simply be left with a polynomial to integrate.

Plugging into our formula we have

lnxdx=xlnxxxdx

xx is just one:

lnxdx=xlnxdx

And we know dx turns out to be x. Don't forget the constant of integration:

lnxdx=xlnxx+C