Compute $$I=\int(x+3)\sqrt\frac{x+2}{x-2}\mathrm dx$$
The way I approach this problem was to:
- Set $u=\sqrt{x-2}$ and arrive at $$I=2\int\frac{u^2(u^2+1)}{\sqrt{u^2-4}}\mathrm du$$
- Set $u=2\sec t\implies\mathrm du=2\sec t\tan t\mathrm dt$ to get $I=8\int\sec^3(t)(4\sec^2(t)+1)\mathrm dt$
Now this integral involves $\sec^5t$ and $\sec^3t$ which does not make me very happy. I think there should be a simpler method. Can anyone show me simpler steps? (the first few steps/substitutions would suffice)
Note: This is a long, long stretch.
Final Answer:$$\dfrac{16\ln\left(\left|\sqrt{\frac{x^2}4-1}\right|\right)+(x+10)\sqrt{x^2-4}}2+C$$
After applying long division on $\dfrac{(x+3)\sqrt{x^2-4}}{x-2}$ and rewriting the integral, you get: $$5\int\frac{\sqrt{x^2-4}}{x-2}dx+\int\sqrt{x^2-4} dx$$
Let $x=2\sec(u)\rightarrow u=\text{arcsec}\left(\dfrac x2\right) \rightarrow dx=2\sec(u)\tan(u)du$.$$\int\frac{\sqrt{x^2-4}}{x-2}dx=\int\dfrac{2\sec(u)\sqrt{4\sec^2(u)-4}\tan(u)}{2\sec(u)-2}=2\left(\int\cos(u)\sec^2(u)du+\int\sec^2(u)du \right)$$
$$=2\left(\int\sec(u)+\int\sec^2(u)du \right)=2\Big{(}\ln\big{(}\tan(u)+\sec(u)\big{)}+\tan(u)\Big{)}$$
Substituting from $u$ to $x$: $$2\Big{(}\ln\big{(}\tan(u)+\sec(u)\big{)}+\tan(u)\Big{)}=2\ln\left(\sqrt{\frac {x^2}4-1}+\frac x2\right)+2\sqrt{\frac {x^2}4-1}$$ Then: $$\int\sqrt{x^2-4}=x\sqrt{\frac {x^2}4-1}-2\ln\left(\sqrt{\frac {x^2}4-1}+\frac x2\right)$$
So putting together our steps:
$$5\int\frac{\sqrt{x^2-4}}{x-2}dx+\int\sqrt{x^2-4} dx=$$$$5\cdot \left(2\ln\left(\sqrt{\frac {x^2}4-1}+\frac x2\right)+2\sqrt{\frac {x^2}4-1}\right)+x\sqrt{\frac {x^2}4-1}-2\ln\left(\sqrt{\frac {x^2}4-1}+\frac x2\right)$$
Which finally helps you arrive at the answer. Whew!