Let x+2=Addx(x2−1)+B ......(1)
⇒x+2=A(2x)+B
Equating the coefficients of x and constant term on both sides, we obtain
2A=1⇒A=12
B=2
From (1), we obtain
(x+2)=12(2x)+2
Then, ∫x+2√x2−1dx=∫12(2x)+2√x2−1dx
=12∫2x√x2−1dx+∫2√x2−1dx ......(2)
For 12∫2x√x2−1dx, let x2−1=t⇒2xdx=dt
⇒12∫2x√x2−1dx=12∫dt√t
=12[2√t]=√t=√x2−1
And, ∫2√x2−1dx=2∫1√x2−1dx=2log|x+√x2−1|
From equation (2), we obtain
∫x+2√x2−1dx=√x2−1+2log|x+√x2−1|+C