Skip to content
Exercise 7.5 · Q1

Q.Integrate the following function: x(x+1)(x+2)\frac{x}{(x + 1)(x + 2)}

Yanam CbseNCERTSubjective· 3mImportance★★★★★
34% · 127/373 Questions
✓ Free question

We decompose the rational function into simpler partial fractions, integrate each term using the natural logarithm rule, and combine the result. The integral is 2log⁡∣x+2∣−log⁡∣x+1∣+C\boxed{2\log|x+2| - \log|x+1| + C}.

The key idea here is Partial Fraction Decomposition. When you have a rational function (a polynomial divided by another polynomial) and the denominator factors into distinct linear factors, you can break the complicated fraction into a sum of simpler fractions — each with a single linear denominator. This turns a messy integration problem into a sum of easy logarithmic integrals.

Why does this work? The denominator (x+1)(x+2)(x+1)(x+2) is already factored. The numerator xx is of lower degree than the denominator, so we can directly write:

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 we need to find. Once we find them, integrating Ax+1\frac{A}{x+1} gives Alog⁡∣x+1∣A\log|x+1|, and similarly for the other term.

Let’s find AA and BB step by step.

  1. Set up the equation. Multiply both sides by the denominator (x+1)(x+2)(x+1)(x+2) to clear fractions:

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

This identity must hold for all xx.

  1. Solve for AA and BB. There are two efficient methods. I’ll use the substitution method (also called the cover-up method) because it’s fastest for distinct linear factors.
    • To find AA, set x=−1x = -1 (this makes the BB term vanish because x+1=0x+1=0):

−1=A(−1+2)+B(0)  ⟹  −1=A(1)  ⟹  A=−1-1 = A(-1+2) + B(0) \implies -1 = A(1) \implies A = -1

  • To find BB, set x=−2x = -2 (this makes the AA term vanish):

−2=A(0)+B(−2+1)  ⟹  −2=B(−1)  ⟹  B=2-2 = A(0) + B(-2+1) \implies -2 = B(-1) \implies B = 2

Tip

The cover-up method works because plugging in the root of a factor isolates the corresponding constant. For x(x+1)(x+2)\frac{x}{(x+1)(x+2)}, cover (x+1)(x+1) and substitute x=−1x=-1 into the rest: −1−1+2=−1\frac{-1}{-1+2} = -1, so A=−1A=-1. Similarly, cover (x+2)(x+2) and substitute x=−2x=-2: −2−2+1=2\frac{-2}{-2+1} = 2, so B=2B=2. This is a huge time-saver in exams.

  1. Write the decomposed form. Substituting AA and BB back:

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

  1. Integrate term by term. Now the integral becomes:

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

Each term is of the form ∫kax+bdx=kalog⁡∣ax+b∣+C\int \frac{k}{ax+b} dx = \frac{k}{a} \log|ax+b| + C. Here a=1a=1 for both, so:

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

Watch out

A common mistake is forgetting the absolute value signs inside the logarithm. Since the domain of the original function excludes x=−1x=-1 and x=−2x=-2, the integral is defined on intervals not containing these points, so absolute values are necessary for the general antiderivative.

  1. Simplify if desired. Using logarithm properties, 2log⁡∣x+2∣=log⁡(x+2)22\log|x+2| = \log(x+2)^2, so we could also write:

∫x(x+1)(x+2)dx=log⁡((x+2)2∣x+1∣)+C\int \frac{x}{(x+1)(x+2)} dx = \log\left( \frac{(x+2)^2}{|x+1|} \right) + C

But the form −log⁡∣x+1∣+2log⁡∣x+2∣+C-\log|x+1| + 2\log|x+2| + C is perfectly acceptable and often preferred.

✓Final answer

The integral is 2log⁡∣x+2∣−log⁡∣x+1∣+C\boxed{2\log|x+2| - \log|x+1| + 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.