Question
Question: $\int \frac{x^2+1}{x(x^2-1)} dx =$...
∫x(x2−1)x2+1dx=

log x(x2−1)+c, where c is a constant of integration.
log (xx2−1)+c, where c is a constant of integration.
log(x2−1)+c, where c is a constant of integration.
log(xx2+1)+c, where c is a constant of integration.
log (xx2−1)+c, where c is a constant of integration.
Solution
The integral we need to solve is ∫x(x2−1)x2+1dx. The denominator can be factored as x(x−1)(x+1). We can use partial fraction decomposition for the integrand:
x(x2−1)x2+1=x(x−1)(x+1)x2+1=xA+x−1B+x+1C
Multiplying both sides by x(x−1)(x+1):
x2+1=A(x−1)(x+1)+Bx(x+1)+Cx(x−1)
Substituting the roots of the denominator:
x=0⟹1=A(−1)(1)⟹A=−1
x=1⟹2=B(1)(2)⟹B=1
x=−1⟹2=C(−1)(−2)⟹C=1
So, x(x2−1)x2+1=x−1+x−11+x+11
Integrating each term:
∫x(x2−1)x2+1dx=∫(x−1+x−11+x+11)dx=−log∣x∣+log∣x−1∣+log∣x+1∣+C
Using logarithm properties:
−log∣x∣+log∣x−1∣+log∣x+1∣=logxx2−1+C