Let 5x−2=Addx(1+2x+3x2)+B
⇒5x−2=A(2+6x)+B
Equating the coefficient of x and constant term on both sides, we obtain
5=6A⇒A=56
and 2A+B=−2⇒B=−113
∴5x−2=56(2+6x)+(−113)
⇒∫5x−21+2x+3x2dx=∫56(2+6x)−1131+2x+3x2dx
Let I1=∫2+6x1+2x+3x2dx and I2=∫11+2x+3x2dx
∴∫5x−21+2x+3x2dx=56I1−113I2 ............. (1)
I1=∫2+6x1+2x+3x2dx
Let 1+2x+3x2=t
⇒(2+6x)dx=dt
∴I1=∫dtt
=log|t|=log|1+2x+3x2| .....(2)
I2=∫11+2x+3x2dx
1+2x+3x2+ can be written as 1+3(x2+23x).
Therefore,
1+3(x2+23x)
=1+3(x2+23x+19−19)
=1+3(x+13)2−13
=23+3(x+13)2
=3[(x+13)2+29]
=3⎡⎣(x+13)2+(√23)2⎤⎦
I2=13∫1⎡⎣(x+13)2+(√23)2⎤⎦dx
=13⎡⎢⎣1√23tan−1(x+13√23)⎤⎥⎦
=13[3√2tan−1(3x+1√2)]
=1√2tan−1(3x+1√2) ..........(3)
Substituting equations (2) and (3) in equation (1), we obtain
∫5x−21+2x+3x2dx=56[log|1+2x+3x2|]−113[1√2tan−1(3x+1√2)]+C
=56log|1+2x+3x2|−113√2tan−1(3x+1√2)+C