Detailed Explanation
When we integrate a rational function like \( \dfrac{x}{(x-1)(x-2)} \), the denominator is factored into linear factors. Such a fraction can be broken into a sum of simpler fractions called partial fractions. Since the numerator has a lower degree than the denominator, we can directly write \( \dfrac{x}{(x-1)(x-2)} = \dfrac{A}{x-1} + \dfrac{B}{x-2} \). Each simple fraction of the form \( \dfrac{1}{x-a} \) integrates to \( \log|x-a| \), which lets us finish the integration easily.
Formula Used
\[ \int \frac{1}{x-a}\, dx = \log|x-a| + C \] and \[ m\log p + n\log q = \log\left| p^{m} q^{n} \right| \]
Solution
- Step 1: Set up the partial fraction decomposition. Write \[ \frac{x}{(x-1)(x-2)} = \frac{A}{x-1} + \frac{B}{x-2}. \] Multiplying both sides by \( (x-1)(x-2) \) gives \[ x = A(x-2) + B(x-1). \]
- Step 2: Find A by substituting \( x = 1 \). This makes the term with B vanish. \[ 1 = A(1-2) + B(0) \] So \[ 1 = -A \quad\Rightarrow\quad A = -1. \]
- Step 3: Find B by substituting \( x = 2 \). This makes the term with A vanish. \[ 2 = A(0) + B(2-1) \] So \[ 2 = B \quad\Rightarrow\quad B = 2. \]
- Step 4: Rewrite the integral using these values. \[ \int \frac{x}{(x-1)(x-2)}\, dx = \int \left( \frac{-1}{x-1} + \frac{2}{x-2} \right) dx. \]
- Step 5: Integrate each term using \( \int \frac{1}{x-a}\, dx = \log|x-a| \). \[ = -\log|x-1| + 2\log|x-2| + C. \]
- Step 6: Combine the logarithms using logarithm laws. Since \( 2\log|x-2| = \log|x-2|^2 \) and \( -\log|x-1| \) subtracts, \[ = \log\left| \frac{(x-2)^2}{x-1} \right| + C. \] This matches option (B).
Final Answer
\[ \int \frac{x}{(x-1)(x-2)}\, dx = \log\left| \frac{(x-2)^2}{x-1} \right| + C \] Correct option: (B).
Common Mistake
A common mistake is mixing up the signs or the coefficients while combining logarithms, for example writing \( \log\left|\frac{(x-1)^2}{x-2}\right| \) (option A) by attaching the power to the wrong factor. Remember the factor with coefficient 2 (here \( x-2 \)) is the one that gets squared, and the factor with the negative sign goes to the denominator.