Problem 238
Easy Roots and Binomials

Evaluate the integral: I = integral dx/(x^4-1)

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

Explanation of Method

Factoring $x^4-1$ as a difference of squares and decomposing into partial fractions over $x^2-1$ and $x^2+1$ splits the integral into a logarithm and an arctangent term.

  1. Factor $x^4-1=(x^2-1)(x^2+1)$.
  2. Decompose into partial fractions.
  3. Integrate each piece, decomposing $1/(x^2-1)$ further.

Step 1 · Factor and set up partial fractions

$$ x^4-1=(x^2-1)(x^2+1), \qquad \frac{1}{(x^2-1)(x^2+1)} = \frac{A}{x^2-1} + \frac{B}{x^2+1}. $$

Multiplying through: $1=A(x^2+1)+B(x^2-1)$. Matching coefficients: $A+B=0$ and $A-B=1$, giving $A=\tfrac12$, $B=-\tfrac12$.

Step 2 · Decompose $1/(x^2-1)$ further

$$ \frac{1}{x^2-1} = \frac12\left(\frac{1}{x-1}-\frac{1}{x+1}\right). $$

Step 3 · Integrate each piece

$$ \frac12\int \frac{dx}{x^2-1} = \frac14\ln|x-1| - \frac14\ln|x+1|, \qquad -\frac12\int \frac{dx}{x^2+1} = -\frac12\arctan x. $$

Step 4 · Combine

$$ I = \frac14\ln\left|\frac{x-1}{x+1}\right| - \frac12\arctan x + C. $$


Summary Table

Coefficient Value
$A$$1/2$
$B$$-1/2$

Additional Notes

Result

The solution to the integral is:

$$ I = \frac14\ln\left|\frac{x-1}{x+1}\right| - \frac12\arctan x + C. $$