Решение:След отделяне на точен квадрат получаваме:
[tex]x^{2}+6x+12=\left( x+3\right)^{2}+3\Longrightarrow \int \frac{x}{\sqrt{
x^{2}+6x+12}}dx=\int \frac{x}{\sqrt{\left( x+3\right) ^{2}+3}}dx[/tex]
Полагаме
[tex]u=x+3\Longrightarrow du=dx,x=u-3[/tex] Следователно
[tex]\int \frac{x}{\sqrt{\left( x+3\right) ^{2}+3}}dx=\int \frac{\left(
u-3\right) }{\sqrt{u^{2}+3}}du[/tex]
След това правим тригонометричната смяна [tex]u=\sqrt{3}\tan \theta [/tex]
[tex]du=\sqrt{3}\sec ^{2}\theta d\theta [/tex]
[tex]\int \frac{\left( u-3\right) }{\sqrt{u^{2}+3}}du=\int \frac{\left( \sqrt{3}
\tan \theta -3\right) }{\sqrt{3\left( \tan ^{2}\theta +1\right) }}\sqrt{3}
\sec ^{2}\theta d\theta =\int \frac{\left( \sqrt{3}\tan \theta -3\right) }{\sqrt{\sec ^{2}\theta }}
\sec ^{2}\theta d\theta =\sqrt{3}\int \sec \theta \tan \theta d\theta -3\int \sec \theta d\theta =\sqrt{3}\sec \theta -3\ln \left\vert \sec \theta +\tan \theta \right\vert
+C[/tex]
От триъгълника по-долу, където [tex]a=\sqrt{3},u=x[/tex]
Следователно [tex]=\sqrt{3}\frac{\sqrt{3+u^{2}}}{\sqrt{3}}-3\ln \left\vert \frac{\sqrt{
3+u^{2}}}{\sqrt{3}}+\frac{u}{\sqrt{3}}\right\vert +C[/tex]
Връщаме се към променливата x
[tex]u=x+3[/tex]
[tex]\int \frac{x}{\sqrt{x^{2}+6x+12}}dx=\sqrt{3}\frac{\sqrt{3+\left( x+3\right)^{2}}}{\sqrt{3}}-3\ln \left\vert \frac{\sqrt{3+\left( x+3\right) ^{2}}}{\sqrt{3}}+\frac{\left( x+3\right) }{\sqrt{3}}\right\vert +C[/tex]
