How to calculate this?

#int(2x)/((x+2)(x+1))dx#

2 Answers
May 13, 2018

#I=4ln|x+2|-2ln|x+1|+c#

Explanation:

Here,

#I=int(2x)/((x+2)(x+1))dx#

Now,
#4(x+1)-2(x+2)=4x+4-2x-4=2x#

#=int((4(x+1)-2(x+2))/((x+2)(x+1))dx#

#=int[(4(x+1))/((x+2)(x+1))-(2(x+2))/((x+2)(x+1))]dx#

#=int[4/(x+2)-2/(x+1)]dx#

#=4int1/(x+2)dx-2int1/(x+1)dx#

#=4ln|x+2|-2ln|x+1|+c#

May 13, 2018

#= 2 ln ( ((x+2)^2)/(x+1))+ C#

Explanation:

# 2 int \ (x)/((x+2)(x+1))dx#

#= 2 int \ 2/(x+2) - 1/(x+1) \ dx#

#= 2 ( 2ln(x+2) - ln(x+1)) + C#

#= 2 ln ( ((x+2)^2)/(x+1))+ C#