# how to integrate $\frac{1}{\sqrt{e^{2x}+e^x+1}}$ [closed]

I am having troubles with this integral:

$$\int \frac{1}{\sqrt{e^{2x}+e^x+1}}dx.$$

Could anyone help me?

## closed as off-topic by Carl Mummert, heropup, Krish, Aaron Maroja, Najib IdrissiMar 30 '15 at 20:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Carl Mummert, heropup, Krish, Aaron Maroja, Najib Idrissi
If this question can be reworded to fit the rules in the help center, please edit the question.

• Try to substitute $u = e^x$. – user99914 Mar 30 '15 at 9:04

$\bf{My\; Solution}::$ We can write it as $\displaystyle \int\frac{e^{-x}}{\sqrt{1+e^{-x}+e^{-2x}}}dx\;$
Now Let $e^{-x}=t\;,$ Then $e^{-x}dx = -dt$. So our integral becomes $\displaystyle - \int\frac{1}{\sqrt{t^2+t+1}}dt$
Which is equal to $\displaystyle = -\int\frac{1}{\sqrt{\left(t+\frac{1}{2}\right)^2+\left(\frac{\sqrt{3}}{2}\right)^2}}dt$
Now Using $\displaystyle \int\frac{1}{\sqrt{x^2+a^2}}dx = \ln \left|x+\sqrt{x^2+a^2}\right|+\mathcal{C}$
• Your very first integral's central summand in the denominator must be $\;e^{-x}\;$ – Timbuc Mar 30 '15 at 10:34
• Are you sure about the substitution? Shouldnt the integral after substitution be: - int t / sqrt( t^2 + t + 1 )*( dt / e ^ -x ) ? – sykatch Mar 30 '15 at 18:52
• Or is it possible not to substitute every e ^ -x with t so you get: - int e ^ -x / sqrt( t^2 + t + 1 )*( dt / e ^ -x ) – sykatch Mar 30 '15 at 19:41