Problem 257
Medium Partial Fractions

Evaluate the integral: I = integral dx/((x²-4x+4)

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

Explanation of Method

Recognizing both factors as expressions in $x-2$ and substituting $u=x-2$ reduces the integral to the standard $\int du/[u^2(u^2+1)]$ pattern.

  1. Rewrite both quadratic factors in terms of $x-2$.
  2. Substitute $u=x-2$.
  3. Decompose into partial fractions.
  4. Integrate and substitute back.

Step 1 · Recognize the structure

$$ x^2-4x+4=(x-2)^2, \qquad x^2-4x+5=(x-2)^2+1. $$

Step 2 · Substitute

Let $u=x-2$, $du=dx$:

$$ I = \int \frac{du}{u^2(u^2+1)}. $$

Step 3 · Partial fractions

$$ \frac{1}{u^2(u^2+1)} = \frac Au + \frac{B}{u^2} + \frac{Cu+D}{u^2+1}. $$

Multiplying through and matching coefficients gives $A=0$, $B=1$, $C=0$, $D=-1$.

Step 4 · Integrate and substitute back

$$ \frac{1}{u^2(u^2+1)} = \frac{1}{u^2} - \frac{1}{u^2+1}, \qquad \int \left(\frac{1}{u^2}-\frac{1}{u^2+1}\right) du = -\frac1u - \arctan u + C. $$

With $u=x-2$:

$$ I = -\frac{1}{x-2} - \arctan(x-2) + C. $$


Summary Table

Coefficient Value
$A$$0$
$B$$1$
$C$$0$
$D$$-1$

Additional Notes

Result

The solution to the integral is:

$$ I = -\frac{1}{x-2} - \arctan(x-2) + C. $$