Let I=∫x+2√x2+5x+6dx
Put x+2=λ(ddx(x2+5x+6))+μ
x+2=2λx+5λ+μ
Comparing coefficients of x both sides
1=2λ⇒λ=12
Comparing constant terms both sides,
2=5λ+μ
or, 2=5(12)+μ
μ=2−52=−12
Therefore, ∫x+2√x2+5x+6dx=∫12(2x+5)−12√x2+5x+6dx (x+2=λ(2x+5)+μ)
I=∫12(2x+5)√x2+5x+6dx−12∫dx√x2+5x+6
Therefore, I=I1−I2---- (1)
I1=∫12(2x+5)√x2+5x+6dx
Put x2+5x+6=t
∴(2x+5)dx=dt
=12∫dt√t=12⎛⎜
⎜
⎜⎝t−12+1−12+1⎞⎟
⎟
⎟⎠+C
=t12+C=√t+C⇒√x2+5x+6+C
I2=12∫dx√x2+5x+6
12∫dx√x2+5x+254−254+6=12∫dx√(x+52)2−(12)2
12.log⎡⎣(x+52)+√(x+52)2−(12)2⎤⎦+C
12.log[(x+52)+√x2+5x+6]+C
Substituting the values, of I1 and I2 in (1),
I=√x2+5x+6+12.log[(x+52)+√x2+5x+6]+C