Problem 344
Easy Advanced Techniques

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

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

Explanation of Method

Shifting $u=x+1$ centers the quadratic as $2-u^2$; rationalizing by the conjugate $1-\sqrt{2-u^2}$ splits the integral into a rational piece $\int du/(u^2-1)$ and a radical piece $\int\sqrt{2-u^2}/(u^2-1)\,du$, the latter resolved by the trig substitution $u=\sqrt2\sin\theta$.

  1. Shift $u=x+1$.
  2. Rationalize by the conjugate.
  3. Integrate via $u=\sqrt2\sin\theta$.
  4. Simplify and back-substitute.

Step 1 · Shift

Let $u=x+1$, so $1-2x-x^2=2-u^2$:

$$ I = \int\frac{du}{1+\sqrt{2-u^2}}. $$

Step 2 · Rationalize

Multiplying by $\dfrac{1-\sqrt{2-u^2}}{1-\sqrt{2-u^2}}$, the denominator becomes $1-(2-u^2)=u^2-1$:

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

Step 3 · Trig substitution on the second piece

Let $u=\sqrt2\sin\theta$: this reduces $\int\sqrt{2-u^2}/(u^2-1)\,du$ to a standard rational-trig form, and after simplification (combined with the first piece's $\tfrac12\ln|(u-1)/(u+1)|$), the two logarithmic pieces collapse via the identity $\sec2\theta+\tan2\theta=(1+u\sqrt{2-u^2})/(1-u^2)$:

$$ I = \arcsin\left(\frac u{\sqrt2}\right) + \frac12\ln\left|1+u\sqrt{2-u^2}\right| - \ln|1+u| + C. $$

Step 4 · Back-substitute

With $u=x+1$, $2-u^2=1-2x-x^2$:


Summary Table

PieceAntiderivative
$1/(u^2-1)$$\tfrac12\ln|(u-1)/(u+1)|$
$-\sqrt{2-u^2}/(u^2-1)$combines with above into $\arcsin(u/\sqrt2)+\tfrac12\ln|1+u\sqrt{2-u^2}|-\ln|1+u|$

Additional Notes

Result

The solution to the integral is:

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