Skip to content
Miscellaneous Exercise · Q21

Q.Integrate the function x2+x+1(x+1)2(x+2)\frac{x^2+x+1}{(x+1)^2(x+2)}

Punjab PsebTextbookSubjective· 3mImportance★★★★★
76% · 283/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 →

Decompose with a repeated factor (A=−2, B=1, C=3A=-2,\,B=1,\,C=3) and integrate to get 3log⁡∣x+2∣−2log⁡∣x+1∣−1x+1+C3\log|x+2|-2\log|x+1|-\dfrac{1}{x+1}+C.

Set-up

The fraction is proper (numerator degree 2<32<3). The denominator has a repeated factor (x+1)2(x+1)^2 and a distinct factor (x+2)(x+2), so we need a term for each power of the repeated factor:

x2+x+1(x+1)2(x+2)=Ax+1+B(x+1)2+Cx+2.\frac{x^2+x+1}{(x+1)^2(x+2)}=\frac{A}{x+1}+\frac{B}{(x+1)^2}+\frac{C}{x+2}.

1. Solve for A,B,CA,B,C

Multiply through by (x+1)2(x+2)(x+1)^2(x+2):

x2+x+1=A(x+1)(x+2)+B(x+2)+C(x+1)2.x^2+x+1=A(x+1)(x+2)+B(x+2)+C(x+1)^2.

  • Put x=−1x=-1: 1−1+1=B(1)⇒B=11-1+1=B(1)\Rightarrow B=1.
  • Put x=−2x=-2: 4−2+1=C(1)⇒C=34-2+1=C(1)\Rightarrow C=3.
  • Compare x2x^2 coefficients: 1=A+C⇒A=−21=A+C\Rightarrow A=-2.

(Quick check of the xx-coefficient: 3A+B+2C=−6+1+6=13A+B+2C=-6+1+6=1 ✓\checkmark.)

So

x2+x+1(x+1)2(x+2)=−2x+1+1(x+1)2+3x+2.\frac{x^2+x+1}{(x+1)^2(x+2)}=\frac{-2}{x+1}+\frac{1}{(x+1)^2}+\frac{3}{x+2}. …

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.