Skip to content
Exercise 7.5 · Q22

Q.Integrate the following function: ∫x dx(x−1)(x−2)\int \frac{x \ dx}{(x-1)(x-2)} equals (A) log⁡∣(x−1)2x−2∣+C\log \left| \frac{(x-1)^2}{x-2} \right| + \text{C} (B) log⁡∣(x−2)2x−1∣+C\log \left| \frac{(x-2)^2}{x-1} \right| + \text{C} (C) log⁡∣(x−1x−2)2∣+C\log \left| \left( \frac{x-1}{x-2} \right)^2 \right| + \text{C} (D) log⁡∣(x−1)(x−2)∣+C\log |(x-1)(x-2)| + \text{C}

Uttar Pradesh UpmspTextbookSubjective· 1mImportance★★★★★
Appeared in past exams:MHT-CET 2025· Set pcm-2025-04-19-E· 2mrewordedGUJCET 2022· Set 08· 1mexact
40% · 148/373 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

We decompose the integrand into simpler fractions using partial fractions, integrate term by term, and combine the logs to match one of the given options. The result is log⁡∣(x−2)2x−1∣+C\log \left| \frac{(x-2)^2}{x-1} \right| + C, which is option (B).

The integrand x(x−1)(x−2)\frac{x}{(x-1)(x-2)} is a rational function where the denominator is already factored into distinct linear factors. Partial fraction decomposition lets us break this into a sum of simpler fractions, each with a single linear denominator. The reason this works is that the original fraction has a numerator of degree 1 and a denominator of degree 2 — so it's a proper fraction, and we can express it as:

x(x−1)(x−2)=Ax−1+Bx−2\frac{x}{(x-1)(x-2)} = \frac{A}{x-1} + \frac{B}{x-2}

where AA and BB are constants to be found. Once we find them, integrating becomes straightforward because ∫dxx−a=log⁡∣x−a∣+C\int \frac{dx}{x-a} = \log|x-a| + C.

Let's find AA and BB.

  1. Set up the equation Multiply both sides by (x−1)(x−2)(x-1)(x-2):

x=A(x−2)+B(x−1)x = A(x-2) + B(x-1)

  1. Solve for AA and BB Expand the right side:

x=Ax−2A+Bx−B=(A+B)x+(−2A−B)x = A x - 2A + B x - B = (A+B)x + (-2A - B)

Compare coefficients of xx and the constant term:

{A+B=1−2A−B=0\begin{cases} A + B = 1 \\ -2A - B = 0 \end{cases}

From the second equation, B=−2AB = -2A. Substitute into the first:

A−2A=1⇒−A=1⇒A=−1A - 2A = 1 \quad \Rightarrow \quad -A = 1 \quad \Rightarrow \quad A = -1

Then B=−2(−1)=2B = -2(-1) = 2.

So:

x(x−1)(x−2)=−1x−1+2x−2\frac{x}{(x-1)(x-2)} = \frac{-1}{x-1} + \frac{2}{x-2}

Tip

A faster way: for AA, cover up (x−1)(x-1) in the denominator and evaluate the rest at x=1x=1: A=11−2=−1A = \frac{1}{1-2} = -1. For BB, cover up (x−2)(x-2) and evaluate at x=2x=2: B=22−1=2B = \frac{2}{2-1} = 2. This "cover-up" method works only for distinct linear factors.

  1. Integrate term by term

∫x dx(x−1)(x−2)=∫(−1x−1+2x−2)dx\int \frac{x \, dx}{(x-1)(x-2)} = \int \left( \frac{-1}{x-1} + \frac{2}{x-2} \right) dx

=−∫dxx−1+2∫dxx−2= -\int \frac{dx}{x-1} + 2 \int \frac{dx}{x-2}

=−log⁡∣x−1∣+2log⁡∣x−2∣+C= -\log|x-1| + 2\log|x-2| + C …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.