Find the integral of (x^2+3)/(x^2+9)^1/2
Hello, nath_quam!
Anyway we do it, it's not simple . . .
Let $\displaystyle x = 3\tan\theta\quad\Rightarrow\quad dx = 3\sec^2\!\theta\,d\theta$Find: $\displaystyle \,\int \frac{x^2+3}{\sqrt{x^2+9}}\,dx$
Substitute: $\displaystyle \int\frac{9\tan^2\!\theta + 3}{3\sec\theta}\,3\sec^2\!\theta\,d\theta \;= \;\int(9\tan^2\!\theta + 3)\sec\theta\,d\theta$
. . $\displaystyle = \;\int[9(\sec^2\!\theta - 1) + 3]\sec\theta\,d\theta \;=\;\int(9\sec^2\!\theta - 6)\sec\theta\,d\theta
$
. . $\displaystyle =\;9\int\sec^3\!\theta\,d\theta - 6\int\sec\theta\,d\theta$
The first integral must be done by parts (or a formula can be applied);
. . $\displaystyle \frac{9}{2}\bigg(\sec\theta\tan\theta + \ln|\sec\theta + \tan\theta|\bigg) - 6\ln\left|\sec\theta + \tan\theta\right| + C$
. . $\displaystyle = \;\frac{9}{2}\sec\theta\tan\theta - \frac{3}{2}\ln\left|\sec\theta + \tan\theta\right| + C $
. . $\displaystyle = \;\frac{3}{2}\bigg(3\sec\theta\tan\theta - \ln\left|\sec\theta + \tan\theta\right|\bigg) + C
$
Hello, Malay!
Please give a final touch to your post (change theta into x in the answer you got).
I'd be happy to . . . I'll simplify it to the bitter, bitter end.
We have: .$\displaystyle \frac{3}{2}\left(3\sec\theta\tan\theta - \ln \left|\sec\theta + \tan\theta\right|\right) + C$
From $\displaystyle x = 3\tan\theta$, we have: .$\displaystyle \tan\theta = \frac{x}{3}\quad\Rightarrow\quad\sec\theta = \frac{\sqrt{x^2+9}}{3}$
So we have: .$\displaystyle \frac{3}{2}\left[\,3\cdot\frac{\sqrt{x^2+9}}{3}\cdot\frac{x}{3} - \ln\left|\frac{\sqrt{x^2+9}}{3} + \frac{x}{3}\right|\,\right] + C$
. . $\displaystyle = \;\frac{3}{2}\left[\,\frac{x\sqrt{x^2+9}}{3} - \ln\left|\frac{x + \sqrt{x^2+9}}{3}\right|\,\right] + C$
. . $\displaystyle = \;\frac{3}{2}\left[\,\frac{x\sqrt{x^2+9}}{3} - \left(\ln\left|x + \sqrt{x^2+9}\right| - \ln 3\right)\,\right] + C$
. . $\displaystyle = \;\frac{3}{2}\left[\,\frac{x\sqrt{x^2+9}}{3} - \ln\left|x + \sqrt{x^2 + 9}\right| + \ln 3\,\right] + C$
. . $\displaystyle = \;\frac{1}{2}x\sqrt{x^2+9} \:- \:\frac{3}{2}\ln\left|x + \sqrt{x^2+9}\right| \,+ \,\underbrace{\frac{3}{2}\ln 3 \,+ \,C}$
. . . . . . . . . . . . . . . . . . . . . . . . . $\displaystyle \text{This is a constant}$
Therefore: .$\displaystyle \frac{1}{2}x\sqrt{x^2+9} \:- \:\frac{3}{2}\ln\left|x + \sqrt{x^2+9}\right| \,+ \,C $
See what I mean?