Skip to content
Question

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

CBSECBSE Class XII Board 2019Subjective· 4mImportance★★★★★
🔒 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 →

The integral is solved by partial fraction decomposition. The final result is ln⁡∣x+2∣+12ln⁡(x2+1)+C\boxed{\ln|x+2| + \frac{1}{2} \ln(x^2+1) + C}.

The key here is that the integrand is a rational function — a polynomial divided by a polynomial. When the denominator factors into linear and irreducible quadratic factors, partial fractions are the standard tool. The numerator is of degree 2, the denominator of degree 3, so the fraction is proper (no polynomial division needed). We break it into simpler pieces that integrate directly to logs and arctangents.

Let’s work through it.

  1. Set up the partial fraction decomposition. The denominator is (x+2)(x2+1)(x+2)(x^2+1). The factor x+2x+2 is linear, and x2+1x^2+1 is an irreducible quadratic (no real roots). So we write:

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}

where AA, BB, CC are constants to find.

  1. Clear denominators. Multiply both sides by (x+2)(x2+1)(x+2)(x^2+1):

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

  1. Expand and collect like terms.

A(x2+1)=Ax2+A(Bx+C)(x+2)=Bx2+2Bx+Cx+2C=Bx2+(2B+C)x+2C\begin{aligned} A(x^2+1) &= A x^2 + A \\ (Bx + C)(x+2) &= Bx^2 + 2Bx + Cx + 2C = Bx^2 + (2B + C)x + 2C \end{aligned}

Adding them:

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

  1. Equate coefficients. Comparing coefficients of x2x^2, xx, and the constant term gives the system:

{A+B=12B+C=1A+2C=1\begin{cases} A + B = 1 \\ 2B + C = 1 \\ A + 2C = 1 \end{cases}

  1. Solve the system.

    From the first equation, B=1−AB = 1 - A. Substitute into the second: 2(1−A)+C=1  ⟹  2−2A+C=1  ⟹  C=2A−12(1 - A) + C = 1 \implies 2 - 2A + C = 1 \implies C = 2A - 1.

    Substitute into the third: A+2(2A−1)=1  ⟹  A+4A−2=1  ⟹  5A=3  ⟹  A=35A + 2(2A - 1) = 1 \implies A + 4A - 2 = 1 \implies 5A = 3 \implies A = \frac{3}{5}.

    Then B=1−35=25B = 1 - \frac{3}{5} = \frac{2}{5}, and C=2⋅35−1=65−1=15C = 2\cdot\frac{3}{5} - 1 = \frac{6}{5} - 1 = \frac{1}{5}.

    So:

x2+x+1(x+2)(x2+1)=3/5x+2+(2/5)x+1/5x2+1\frac{x^2 + x + 1}{(x+2)(x^2+1)} = \frac{3/5}{x+2} + \frac{(2/5)x + 1/5}{x^2+1}

  1. Integrate term by term.

∫3/5x+2 dx=35ln⁡∣x+2∣+C1\int \frac{3/5}{x+2}\,dx = \frac{3}{5} \ln|x+2| + C_1

For the second term, split it:

(2/5)x+1/5x2+1=25⋅xx2+1+15⋅1x2+1\frac{(2/5)x + 1/5}{x^2+1} = \frac{2}{5} \cdot \frac{x}{x^2+1} + \frac{1}{5} \cdot \frac{1}{x^2+1}

Now integrate each: …

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.