Problem 310
Medium Substitutions

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

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

Explanation of Method

The reciprocal substitution $t=1/(1+x)$ turns the linear factor in the denominator into a constant and reduces the quadratic under the radical to a simple $t^2+t-1$, collapsing the whole integral to the standard form $\int dt/\sqrt{u^2-a^2}$.

  1. Substitute $t=1/(1+x)$.
  2. Simplify the radical in terms of $t$.
  3. Integrate using the standard logarithm formula.
  4. Back-substitute.

Step 1 · Substitute

Let $t=\dfrac1{1+x}$, so $x=\dfrac{1-t}t$ and $dx=-\dfrac{dt}{t^2}$. A direct computation gives:

$$ 1-x-x^2 = \frac{t^2+t-1}{t^2}. $$

Step 2 · Substitute into the integral

For $t>0$ (i.e. $1+x>0$):

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

Step 3 · Complete the square and integrate

$$ t^2+t-1=\left(t+\frac12\right)^2-\frac54 \quad\Rightarrow\quad -\int\frac{dt}{\sqrt{(t+1/2)^2-5/4}} = -\ln\left|t+\frac12+\sqrt{t^2+t-1}\right| + C. $$

Step 4 · Back-substitute

Since $t+\tfrac12=\dfrac{3+x}{2(1+x)}$ and $\sqrt{t^2+t-1}=\dfrac{\sqrt{1-x-x^2}}{1+x}$:

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


Summary Table

QuantityValue
$t$$1/(1+x)$
$t^2+t-1$$(1-x-x^2)/(1+x)^2$

Additional Notes

Result

The solution to the integral is:

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