# $\int \frac{x}{\sqrt{x^2+2}} \, \operatorname d\!x$ via substitution

How would you do this using u-substitution?

$$\int \frac{x}{\sqrt{x^2+2}} \, \operatorname d\!x$$

-
I've converted the image to $\LaTeX$. Check this page to learn how to do it yourself next time: meta.math.stackexchange.com/q/5020/4583 –  Ayman Hourieh Feb 4 '13 at 20:10
thank you. still trying to get used to this –  Ak47 Feb 4 '13 at 20:14

$$\int \frac{\bf{x}}{\sqrt{x^2+2}} \, \bf{dx}$$

Let $u=x^2+2\,;\;$ then $\;du =2x\,dx \implies\; \color{blue}{\bf{\frac 12 \,du}} \,=\, \bf{x\,dx}\,;\;$ this gives us

$$\int \color{blue}{\bf{\frac 12}} \frac{\color{blue}{\bf{du}}}{\sqrt{u}} \, = \,\frac 12 \int\; u^{-1/2}\,du$$

$$\,\frac 12 \int\; u^{-1/2}\,du = \frac 12 \left(\frac{u^{1/2}}{\large\frac 12} + C \right)\;=\; \sqrt u + C = \sqrt{x^2 + 2} + C$$

Just remember after integrating in terms of $u$, to replace $u$ with $x^2 + 2$.

-
Is the protocol to give complete solutions to questions tagged as homework? –  JohnD Feb 12 '13 at 20:13

Let $u=x^2+2$ so that $du =2x\,dx$. That should get you started.

-

Take $u=\sqrt{x^2+2}$. Then $du=\cdots$.

-

$u=x^2+2\Rightarrow du=2xdx\Rightarrow xdx=\frac{1}{2}du$

-
For questions tagged as (homework), the protocol is to avoid complete/nearly complete solutions. –  JohnD Feb 4 '13 at 20:10
oh,i'm sorry,i don't know that,thank you :) –  A Ricko Maulidar Feb 4 '13 at 20:16
No problem. Thanks for being understanding. –  JohnD Feb 4 '13 at 20:20
you're welcome :) –  A Ricko Maulidar Feb 4 '13 at 20:27

The "hard" part is that there is a bunch of stuff under a square root sign. So you make a substitution to simplify that. The simplest way is $u = x^2+2$. Other options are $x^2 = 2 \tan^2 u$ and $x^2 = 2 \sinh^2 u$ (so as to invoke the pythagorean identities to simplify the square root), but in this case they are more complicated than you need.

-

Directly: if $\,f(x)\,$ is a derivable function, then

$$\int\frac{f'(x)}{\sqrt{f(x)}}dx=2\sqrt{f(x)}+C$$

In our case

$$\frac{d}{dx}\left(x^2+2\right)=2x\Longrightarrow \frac{1}{2}\int\frac{2x}{\sqrt{x^2+2}}dx=\sqrt{x^2+2}+C$$

-
That is incorrect. –  Ak47 Feb 4 '13 at 21:16
Barely, but true. Thanks and edited –  DonAntonio Feb 4 '13 at 21:32

Keep in mind, in order for your substitution to be successful it is usually the case that you must see a multiple of the derivative of the thing you're substituting as a factor in your integrand. Observe that the $x^2$ term under the radical has as its derivative $2x$, and $x$ is a factor of the integrand. So any substitution involving $x^2$ has a chance of working.

-