I want to solve this integral: $$ \int \frac{dx}{x+\sqrt{x^2+x+1}} $$ I converted the quadratic equation into a full squere and got this $$ \int \frac{dx}{x+\sqrt{(x+\frac{1}{2})^2+\frac{3}{4}}} $$ then I put x+1/2 = t and got $$ \int \frac{dt}{t-\frac{1}{2}+\sqrt{t^2+\frac{3}{4}}} $$
And I don't know how to continue from here, what would be the next step and are these steps so far good? Thanks.
Hint: use $t=x+\sqrt{x^2+x+1} \implies t-x=\sqrt{x^2+x+1} \implies t^2-2tx=x+1$
Thus, $x=\frac{t^2-1}{1+2t}, dx=\frac{2(t^2+t+1)}{(1+2t)^2}$
This will lead to integral of rational function which is usually solved by partial fraction decomposition.