Problem 256
Medium Partial Fractions

Evaluate the integral: I = integral (x^5+1)/(x^4(x²+1)) dx

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

Explanation of Method

Splitting off the $x^5$ part of the numerator leaves a simple $x/(x^2+1)$ integral plus a proper rational function requiring partial fractions.

  1. Split the numerator into $x^5$ and $1$.
  2. Integrate the $x/(x^2+1)$ piece directly.
  3. Decompose $1/[x^4(x^2+1)]$ into partial fractions.
  4. Integrate each term and combine.

Step 1 · Split the integrand

$$ \frac{x^5+1}{x^4(x^2+1)} = \frac{x}{x^2+1} + \frac{1}{x^4(x^2+1)}. $$

Step 2 · Integrate the first piece

$$ \int \frac{x}{x^2+1}\,dx = \frac12\ln\left(x^2+1\right). $$

Step 3 · Partial fractions for the second piece

Since the integrand is even, write $\dfrac{1}{x^4(x^2+1)}=\dfrac{B}{x^2}+\dfrac{D}{x^4}+\dfrac{F}{x^2+1}$. Multiplying through: $1=Bx^2(x^2+1)+D(x^2+1)+Fx^4$. Matching coefficients gives $D=1$, $B=-1$, $F=1$.

Step 4 · Integrate the second piece

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

$$ \int \frac{1}{x^4(x^2+1)}\,dx = \frac1x - \frac{1}{3x^3} + \arctan x. $$

Step 5 · Combine

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


Summary Table

Coefficient Value
$B$ (coeff. of $1/x^2$)$-1$
$D$ (coeff. of $1/x^4$)$1$
$F$ (coeff. of $1/(x^2+1)$)$1$

Additional Notes

Result

The solution to the integral is:

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