# integration by part

• Jan 10th 2009, 12:33 PM
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?
• Jan 10th 2009, 12:45 PM
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?
• Jan 10th 2009, 12:47 PM
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$
• Jan 10th 2009, 12:51 PM
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?
• Jan 10th 2009, 12:56 PM
stevedave
Thank you everyone. That was very helpful.
• Jan 10th 2009, 01: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