Problem 205
Easy Roots and Binomials

Evaluate the integral: I = integral sqrt(x²-2x-1) dx

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

Explanation of Method

Completing the square converts the radicand into the standard $u^2-a^2$ form, resolved by the well-known formula $\int\sqrt{u^2-a^2}\,du=\tfrac u2\sqrt{u^2-a^2}-\tfrac{a^2}2\ln|u+\sqrt{u^2-a^2}|$.

  1. Complete the square for $x^2-2x-1$.
  2. Substitute $u=x-1$.
  3. Apply the standard formula for $\int\sqrt{u^2-a^2}\,du$.
  4. Substitute back.

Step 1 · Complete the square

$$ x^2-2x-1 = (x-1)^2-2. $$

Step 2 · Substitute

Let $u=x-1$, $du=dx$, $a^2=2$:

$$ I = \int \sqrt{u^2-2}\,du. $$

Step 3 · Apply the standard formula

$$ I = \frac u2\sqrt{u^2-2} - \ln\left|u+\sqrt{u^2-2}\right| + C. $$

Step 4 · Substitute back

With $u=x-1$:

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


Summary Table

Quantity Value
Completed square$(x-1)^2-2$
Substitution$u=x-1$

Additional Notes

Result

The solution to the integral is:

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