0

So,once I asked to know the integral $$\int \frac{\sqrt{x^2+1}}{x}dx$$ ... and the advice I got was to subsitute $x=\tan u$.

How about substituting $\sqrt{x^2+1}=u$? Will it work that way?

apnorton
  • 17,706

3 Answers3

2

Yes, that will work. Rewrite our integral as $$\int \frac{x\sqrt{x^2+1}}{x^2}\,dx.$$

Make your substitution. I prefer to write it as $x^2+1=u^2$. So $2x\,dx=2u\,du$. We end up with $$\int \frac{u^2}{u^2-1} \, du.$$ This will be familiar if you have already covered partial fractions.

André Nicolas
  • 507,029
  • so the result with be smth like sqrt(x^2+1) +1/2*[sqrt(x^2+1)-1]/[sqrt(x^2+1)+1]? – user60290 Jan 30 '13 at 19:24
  • Our integrand turns out to be $1+\frac{1}{u^2-1}=1+\frac{1}{2}\left(\frac{1}{u-1}-\frac{1}{u+1}\right)$. When you integrate you will get logarithms. This is routine partial fractions, so I assume you have not yet covered that method. – André Nicolas Jan 30 '13 at 19:33
  • I have ,sweet french man,thank you anyway :) – user60290 Jan 30 '13 at 19:37
1

Hint: If you are familiar to hyperbolic trigonometric functions, try to substitute $$x=\sinh(t)$$ We know that $\cosh^2(t)-\sinh^2(t)=1$

Mikasa
  • 67,374
0

Yes, it works. It's not pretty, but it works.

$$\int \frac{\sqrt{x^2 + 1}}{x} dx$$ $$u = \sqrt{x^2 + 1}\implies x = \pm \sqrt{u^2-1}$$ $$du = -(x^2 + 1)^{-\frac{1}{2}}2x dx \implies dx = -(\sqrt{x^2+1})\frac{1}{2x}du$$ $$dx = -\left(\sqrt{u^2 - 1+1}\right)\frac{1}{\pm2\sqrt{u^2-1}}du = \mp\frac{u}{2\sqrt{u^2-1}}du$$

Substitute into the integral: $$\int \frac{u}{\pm \sqrt{u^2-1}}\left(\mp\frac{u}{2\sqrt{u^2-1}}\right)du$$ $$\int \frac{u^2}{u^2-1}du$$

$$\int 1 + \frac{1}{(u-1)(u+1)}du$$ Note that, by partial fractions, $$\frac{1}{(u-1)(u+1)} = \frac{1}{2(u-1)} - \frac{1}{2(u+1)}$$

Thus, you have the integral: $$\int 1 + \frac{1}{2(u-1)} - \frac{1}{2(u+1)}du$$

Evaluating: $$u + \frac{1}{2}\ln(u-1) - \frac{1}{2}\ln(u+1) + C$$ Simplify: $$u + \frac{1}{2}\ln\left(\frac{u-1}{u+1}\right) + C$$

Now substitute back in: $$\sqrt{x^2 + 1} + \frac{1}{2}\ln\left(\frac{\sqrt{x^2 + 1}-1}{\sqrt{x^2 + 1}+1}\right) + C$$ $$\sqrt{x^2 + 1} + \frac{1}{2}\ln\left(\frac{x^2 + 1 - 1}{\left(\sqrt{x^2 + 1}+1\right)^2}\right) + C$$ $$\sqrt{x^2 + 1} + \frac{1}{2}\ln(x^2) - \frac{1}{2}\ln\left({\left(\sqrt{x^2 + 1}+1\right)^2}\right) + C$$

Yielding the solution:

$$\sqrt{x^2 + 1} + \ln(x) - \ln\left({\sqrt{x^2 + 1}+1}\right) + C$$

Verification from W|A.

apnorton
  • 17,706