Problem 213
Easy Roots and Binomials

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

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

Explanation of Method

Factoring the denominator and decomposing into partial fractions reduces the integral to two elementary logarithms.

  1. Factor $x^2-5x+6=(x-2)(x-3)$.
  2. Decompose into partial fractions.
  3. Integrate term by term and combine logs.

Step 1 · Factor and set up partial fractions

$$ x^2-5x+6 = (x-2)(x-3), \qquad \frac{x-4}{(x-2)(x-3)} = \frac{A}{x-2} + \frac{B}{x-3}. $$

Multiplying through: $x-4=A(x-3)+B(x-2)$. Setting $x=2$: $-2=-A$, so $A=2$. Setting $x=3$: $-1=B$.

Step 2 · Integrate

$$ I = \int \left(\frac{2}{x-2} - \frac{1}{x-3}\right) dx = 2\ln|x-2| - \ln|x-3| + C. $$

Step 3 · Combine logarithms

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


Summary Table

Coefficient Value
$A$$2$
$B$$-1$

Additional Notes

Result

The solution to the integral is:

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