Question:medium

Find the value of \(\displaystyle\int \dfrac{x}{(x^2+1)(x-1)}\,dx\).

Show Hint

Use partial fractions \(\dfrac{x}{(x^2+1)(x-1)} = \dfrac{1/2}{x-1} + \dfrac{(-x+1)/2}{x^2+1}\) and integrate each term.
Updated On: Nov 19, 2026
Show Solution

Solution and Explanation

Step 1: Peel off the linear factor first.
The cover-up rule gives the part for $(x-1)$ quickly: put $x = 1$ in everything except $(x-1)$. The remaining factor is $\dfrac{x}{x^2+1}$, which equals $\dfrac{1}{2}$ at $x=1$. So the $(x-1)$ part is $\dfrac{1}{2(x-1)}$.

Step 2: Subtract it and simplify.
\[ \frac{x}{(x^2+1)(x-1)} - \frac{1}{2(x-1)} = \frac{2x - (x^2+1)}{2(x^2+1)(x-1)} = \frac{-(x-1)^2}{2(x^2+1)(x-1)} \]
The factor $(x-1)$ cancels once:
\[ = -\frac{x-1}{2(x^2+1)} = -\frac{x}{2(x^2+1)} + \frac{1}{2(x^2+1)} \]
So $\dfrac{x}{(x^2+1)(x-1)} = \dfrac{1}{2(x-1)} - \dfrac{x}{2(x^2+1)} + \dfrac{1}{2(x^2+1)}$.

Step 3: Integrate with standard results.
We use $\int\dfrac{dx}{x-1} = \log|x-1|$, $\int\dfrac{2x\,dx}{x^2+1} = \log(x^2+1)$ and $\int\dfrac{dx}{x^2+1} = \tan^{-1}x$. The middle term is $-\dfrac14 \cdot \dfrac{2x}{x^2+1}$, so
\[ I = \frac12\log|x-1| - \frac14\log(x^2+1) + \frac12\tan^{-1}x + C \]

Step 4: Differentiate to check.
\[ \frac{d}{dx}(I) = \frac{1}{2(x-1)} - \frac{x}{2(x^2+1)} + \frac{1}{2(x^2+1)} = \frac{(x^2+1) - x(x-1) + (x-1)}{2(x-1)(x^2+1)} = \frac{2x}{2(x-1)(x^2+1)} \]
This equals $\dfrac{x}{(x-1)(x^2+1)}$, which is the original integrand.

Final Answer:
\[ \boxed{\frac12\log|x-1| - \frac14\log(x^2+1) + \frac12\tan^{-1}x + C} \]
Was this answer helpful?
0