Integration by Partial Fractions — ∫dx/((x-1)(x+2))

medium CBSE JEE-MAIN JEE-ADVANCED CBSE 2025 Sample Paper 3 min read

Question

Evaluate:

dx(x1)(x+2)\int \frac{dx}{(x-1)(x+2)}

Solution — Step by Step

We write the integrand as a sum of simpler fractions:

1(x1)(x+2)=Ax1+Bx+2\frac{1}{(x-1)(x+2)} = \frac{A}{x-1} + \frac{B}{x+2}

Why this form? Because each linear factor in the denominator gets its own constant numerator. This is the standard decomposition for non-repeated linear factors.

Multiply both sides by (x1)(x+2)(x-1)(x+2):

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

Now use the cover-up method — substitute the root of each factor:

  • Put x=1x = 1: 1=A(3)+B(0)A=13\quad 1 = A(3) + B(0) \Rightarrow A = \dfrac{1}{3}
  • Put x=2x = -2: 1=A(0)+B(3)B=13\quad 1 = A(0) + B(-3) \Rightarrow B = -\dfrac{1}{3}
dx(x1)(x+2)=(1/3x11/3x+2)dx\int \frac{dx}{(x-1)(x+2)} = \int \left(\frac{1/3}{x-1} - \frac{1/3}{x+2}\right) dx =13dxx1    13dxx+2= \frac{1}{3} \int \frac{dx}{x-1} \;-\; \frac{1}{3} \int \frac{dx}{x+2}

Both integrals are of the form duu=lnu+C\int \frac{du}{u} = \ln|u| + C:

=13lnx113lnx+2+C= \frac{1}{3}\ln|x-1| - \frac{1}{3}\ln|x+2| + C

Using lnalnb=lnab\ln a - \ln b = \ln\dfrac{a}{b}:

13lnx1x+2+C\boxed{\frac{1}{3} \ln\left|\frac{x-1}{x+2}\right| + C}

Why This Works

Partial fractions work because every rational function P(x)Q(x)\frac{P(x)}{Q(x)} — where degree of PP < degree of QQ — can be decomposed into simpler fractions whose integrals we already know. The key insight: dxxa=lnxa+C\int \frac{dx}{x-a} = \ln|x-a| + C is a direct consequence of the chain rule in reverse.

The cover-up method (substituting roots) is not a trick — it’s what you get when you isolate each constant algebraically. It just saves two minutes per problem, which adds up fast in JEE Main’s 3-minute-per-question pace.

CBSE marking scheme alert: CBSE 2025 Sample Paper awards 1 mark for correct decomposition, 1 mark for finding A and B, and 1 mark for the final integrated answer. Even if you make an arithmetic error finding A or B, you can recover marks if your method is shown clearly.


Alternative Method

Instead of the cover-up method, we can compare coefficients.

After clearing denominators: 1=A(x+2)+B(x1)=(A+B)x+(2AB)1 = A(x+2) + B(x-1) = (A+B)x + (2A - B)

Comparing coefficients on both sides:

  • Coefficient of xx: A+B=0A + B = 0
  • Constant term: 2AB=12A - B = 1

Adding both equations: 3A=1A=133A = 1 \Rightarrow A = \frac{1}{3}, then B=13B = -\frac{1}{3}.

Same result. This method is more systematic when you have repeated factors or quadratic factors in the denominator — the cover-up method doesn’t work cleanly there.


Common Mistake

Forgetting the negative sign on B. Students correctly find A=13A = \frac{1}{3} but then write the decomposition as 1/3x1+1/3x+2\frac{1/3}{x-1} + \frac{1/3}{x+2} (positive BB). Check: 1/3x1+1/3x+2=(x+2)+(x1)3(x1)(x+2)=2x+13(x1)(x+2)\frac{1/3}{x-1} + \frac{1/3}{x+2} = \frac{(x+2) + (x-1)}{3(x-1)(x+2)} = \frac{2x+1}{3(x-1)(x+2)} — clearly not 1(x1)(x+2)\frac{1}{(x-1)(x+2)}. Always verify by recombining your partial fractions before integrating.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next