Problem 222
Easy Roots and Binomials

Evaluate the integral: I = integral dx/(x sqrt(x²+x+1))

Evaluate the integral: $$ I = \int \frac{dx}{x\sqrt{x^2+x+1}}. $$

Explanation of Method

The reciprocal substitution $x=1/t$ turns a radical with an $x$-multiplied denominator into a plain $\int dt/\sqrt{t^2+t+1}$ integral, which is resolved with the standard logarithmic formula.

  1. Substitute $x=1/t$.
  2. Simplify the transformed integral.
  3. Apply the standard logarithmic formula.
  4. Substitute back and simplify into a single combined logarithm.

Step 1 · Reciprocal substitution

Let $x=1/t$, $dx=-dt/t^2$ (taking $t>0$, i.e. $x>0$). Then:

$$ x^2+x+1 = \frac{1+t+t^2}{t^2}, \qquad \sqrt{x^2+x+1} = \frac{\sqrt{t^2+t+1}}{t}. $$

Step 2 · Simplify

$$ I = \int \frac{-dt/t^2}{\dfrac1t\cdot\dfrac{\sqrt{t^2+t+1}}{t}} = -\int \frac{dt}{\sqrt{t^2+t+1}}. $$

Step 3 · Apply the standard logarithmic formula

$$ I = -\ln\left|t+\frac12+\sqrt{t^2+t+1}\right| + C. $$

Step 4 · Substitute back and combine

With $t=1/x$, multiplying the argument of the log by $2x$ and absorbing the resulting constant into $C$ gives the cleaner combined form:

$$ I = -\ln\left|2+x+2\sqrt{x^2+x+1}\right| + \ln|x| + C. $$


Summary Table

Quantity Value
Substitution$x=1/t$
Reduced integral$-\int dt/\sqrt{t^2+t+1}$

Additional Notes

Result

The solution to the integral is:

$$ I = \ln|x| - \ln\left|2+x+2\sqrt{x^2+x+1}\right| + C. $$