Problem 264
Easy Partial Fractions

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

Evaluate the integral: $$ I = \int \frac{x^8-1}{x\left(x^8+1\right)}\,dx. $$

Explanation of Method

Writing $x^8-1=(x^8+1)-2$ splits the integrand into a simple $1/x$ piece and a derivative-matching logarithmic piece.

  1. Rewrite the numerator as $(x^8+1)-2$.
  2. Split into two simpler pieces.
  3. Integrate each piece.

Step 1 · Rewrite and split

$$ \frac{x^8-1}{x(x^8+1)} = \frac{(x^8+1)-2}{x(x^8+1)} = \frac1x - \frac{2}{x(x^8+1)}. $$

Using the identity $\dfrac{1}{x(x^8+1)}=\dfrac1x-\dfrac{x^7}{x^8+1}$ (since $(x^8+1)-x^8=1$):

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

Step 2 · Integrate each piece

Let $w=x^8+1$, $dw=8x^7\,dx$:

$$ I = -\int \frac{dx}{x} + 2\int \frac{x^7}{x^8+1}\,dx = -\ln|x| + \frac14\ln\left(x^8+1\right) + C. $$


Summary Table

Piece Antiderivative
$-1/x$$-\ln|x|$
$2x^7/(x^8+1)$$\tfrac14\ln(x^8+1)$

Additional Notes

Result

The solution to the integral is:

$$ I = \frac14\ln\left(x^8+1\right) - \ln|x| + C. $$