Skip to content
Worked Examples · Example 16

Q.Find ∫x2+x+1(x+2)(x2+1) dx\int \dfrac{x^2 + x + 1}{(x+2)(x^2+1)}\, dx

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

Partial fractions give A=35, B=25, C=15A=\tfrac35,\,B=\tfrac25,\,C=\tfrac15, and the integral is 35log⁡∣x+2∣+15log⁡(x2+1)+15tan⁡−1x+C\dfrac35\log|x+2|+\dfrac15\log(x^2+1)+\dfrac15\tan^{-1}x+C.

Choosing the form

The denominator (x+2)(x2+1)(x+2)(x^2+1) has a linear factor (x+2)(x+2) — needing a constant numerator — and an irreducible quadratic (x2+1)(x^2+1) — needing a linear numerator Bx+CBx+C:

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

Solving for the constants

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

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

Match coefficients:

A+B=1,2B+C=1,A+2C=1.A+B=1,\qquad 2B+C=1,\qquad A+2C=1.

From the first, A=1−BA=1-B; substituting into the third gives B=2CB=2C; then 2(2C)+C=1⇒C=152(2C)+C=1\Rightarrow C=\tfrac15, so B=25B=\tfrac25 and A=35A=\tfrac35.

Integrating

∫3/5x+2 dx=35log⁡∣x+2∣.\int\frac{3/5}{x+2}\,dx=\frac35\log|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.