Help on indefinite integral

54 Views Asked by At

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.

2

There are 2 best solutions below

0
On BEST ANSWER

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.

0
On

Let $y=\sqrt{t^2+\frac34}$, we have $y^2-t^2=\frac34$, so

$$\int\frac{d(y+t)}{y+t-\frac12}=\log\left|y+t-\frac12\right|+c_+,$$ $$\int\frac{d(y-t)}{y+t-\frac12}=\int\frac{(y-t)d(y-t)}{\frac34-\frac12(y-t)}=-3\log\left|\frac34-\frac12(y-t)\right|-2(y-t)+c_-,$$

Therefore $$\int\frac{dt}{y+t-\frac12}=\frac12\log\left|y+t-\frac12\right|+\frac32\log\left|\frac34-\frac12(y-t)\right|+y-t+c.$$