How do you integrate #int ln(2x+1)# by integration by parts method?

2 Answers
Nov 8, 2016

#xln(2x+1)-x+1/2lnabs(2x+1)+c#

Explanation:

#int1*(2x+1)dx=xln(2x+1)-2intx/(2x+1)dx#

Substituting #y=2x+1\ \ \ => x=(y-1)/2\ \ \=> dx=1/2dy#
#intx/(2x+1)dx = int(y-1/2)*1/y*1/2dy=1/4int(1-1/y)dy=1/4(y-lnabsy)+c=1/4(2x-lnabs(2x+1))+c#

#int(2x+1)dx=xln(2x+1)-x+1/2lnabs(2x+1)+c#

Nov 8, 2016

# intln(2x+1)dx = xln(2x+1) - x + 1/2ln(2x+1) + C #

Which can also be written:
# intln(2x+1)dx = 1/2(2x+1)ln(2x+1) - x + 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 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 #ln(2x+1)#, you will first note that we don't actually have a product of two functions but we can use the "trick" of writing it as #(1)ln(2x+1)# hopefully now you can see that #1# remains simple when integrated and ln(2x+1) also simplifies when differentiation.

Let # { (u=ln(2x+1), => , (du)/dx=2/(2x+1),"By the chain rule"), ((dv)/dx=1, =>, v=x, ) :}#

Then plugging into the IBP formula givs us:
# int(u)((dv)/dx)dx = (u)(v) - int(v)((du)/dx)dx #
# :. int(ln(2x+1))(1)dx = (ln(2x+1))(x) - int(x)(2/(2x+1))dx #
# :. intln(2x+1)dx = xln(2x+1) - int(2x)/(2x+1)dx #
# :. intln(2x+1)dx = xln(2x+1) - int(2x)/(2x+1)dx #

So although it may not look like it we are making good progress, as we can deal with this next integral by substitution as follows:

# { ("Let",u= 2x+1,=> (du)/dx=2 => int ... 2xdx = int ... du), ("Then",x=1/2(u-1),) :} #

Substituting into the integral gives:

# int(2x)/(2x+1)dx = int (1/2(u-1))/udu #
# :. int(2x)/(2x+1)dx = 1/2int 1-1/udu #
# :. int(2x)/(2x+1)dx = 1/2(u-lnu) #
# :. int(2x)/(2x+1)dx = 1/2(2x+1 - ln(2x+1) #
# :. int(2x)/(2x+1)dx = x+1/2 - 1/2ln(2x+1) #

Combining these results we get:

# :. intln(2x+1)dx = xln(2x+1) - {x+1/2 - 1/2ln(2x+1)} + C'#
# :. intln(2x+1)dx = xln(2x+1) - x-1/2 + 1/2ln(2x+1) + C'#
# :. intln(2x+1)dx = xln(2x+1) - x + 1/2ln(2x+1) + C #

(NB In the last step I have eliminated the constant -1/2 by writing #C=C'-1/2#)

Which can also be written as:
# intln(2x+1)dx = 1/2(2x+1)ln(2x+1) - x + C #