# integration by part

• January 10th 2009, 11:33 AM
stevedave
integration by part
I'm having some trouble with this

$\int{\ln{(2x+1)}dx}$

I set $u = ln(2x+1)$ and $dv = dx$ so that $du=\frac{2}{2x+1}$ and $v = x$.

so after integrating by part once I get:

$x\ln{(2x+1)}-2\int{\frac{x}{2x+1}dx}$

then I tried to integrate by part again with $u=x$ and $dv=(2x+1)^{-1}$

my final answer ends up as $x\ln{(2x+1)}$ but my solution manual tells me differently.

Can anyone tell me what I'm doing wrong?
• January 10th 2009, 11:45 AM
Chris L T521
Quote:

Originally Posted by stevedave
I'm having some trouble with this

$\int{\ln{(2x+1)}dx}$

I set $u = ln(2x+1)$ and $dv = dx$ so that $du=\frac{2}{2x+1}$ and $v = x$.

so after integrating by part once I get:

$x\ln{(2x+1)}-2\int{\frac{x}{2x+1}dx}$

then I tried to integrate by part again with $u=x$ and $dv=(2x+1)^{-1}$

my final answer ends up as $x\ln{(2x+1)}$ but my solution manual tells me differently.

Can anyone tell me what I'm doing wrong?

For the integral $-\int\frac{2x}{2x+1}\,dx$, make the substitution $z=2x+1\implies x=\tfrac{1}{2}\left(z-1\right)$

Thus, $\,dz=2\,dx$.

The integral becomes: $-\int\frac{x\,dz}{z}\implies -\tfrac{1}{2}\int \frac{z-1}{z}\,dz=\tfrac{1}{2}\int\left(\frac{1}{z}-1\right)\,dz$

Can you continue from here?
• January 10th 2009, 11:47 AM
Jester
Quote:

Originally Posted by stevedave
I'm having some trouble with this

$\int{\ln{(2x+1)}dx}$

I set $u = ln(2x+1)$ and $dv = dx$ so that $du=\frac{2}{2x+1}$ and $v = x$.

so after integrating by part once I get:

$x\ln{(2x+1)}-2\int{\frac{x}{2x+1}dx}$

then I tried to integrate by part again with $u=x$ and $dv=(2x+1)^{-1}$

my final answer ends up as $x\ln{(2x+1)}$ but my solution manual tells me differently.

Can anyone tell me what I'm doing wrong?

In the second integral, expand

$\int\frac{x}{2x+1}dx = \int \frac{1}{2} - \frac{1}{2}\frac{1}{2x+1} dx$ and integrate each term separately

BTW $\int \frac{1}{ax+b} dx = \frac{1}{a} \ln| ax + b| + c$
• January 10th 2009, 11:51 AM
skeeter
$\int \ln(2x+1) \, dx = x\ln(2x+1) - \int \frac{2x}{2x+1} \, dx
$

note that $\frac{2x}{2x+1} = \frac{2x+1-1}{2x+1} = 1 - \frac{1}{2x+1}$

$\int \ln(2x+1) \, dx = x\ln(2x+1) - \int 1 - \frac{1}{2x+1} \, dx$

can you finish from here?
• January 10th 2009, 11:56 AM
stevedave
Thank you everyone. That was very helpful.
• January 10th 2009, 12:21 PM
tom@ballooncalculus
How about this for a short cut? Notice that one integral of 1 is x + 1/2, and make that the value of v, for dv/dx = 1 ...

http://www.ballooncalculus.org/parts1.png

As usual, straight lines differentiate down / integrate up with respect to x.

Don't integrate - balloontegrate! Balloon Calculus: worked examples from past papers