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 2025Subjective· 5mImportance★★★★★
🔒 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 →

To integrate this rational function, we first decompose it into simpler fractions using partial fraction decomposition, then integrate each resulting term. The final result is 35ln⁡∣x+2∣+15ln⁡(x2+1)+15arctan⁡(x)+C\frac{3}{5} \ln|x+2| + \frac{1}{5} \ln(x^2+1) + \frac{1}{5} \arctan(x) + C.

The problem asks us to find the integral of a rational function, which is a ratio of two polynomials. When the denominator of a rational function can be factored, and its degree is greater than the degree of the numerator, a powerful technique called partial fraction decomposition comes into play. This method allows us to break down a complex rational function into a sum of simpler rational functions, each of which is much easier to integrate using standard formulas.

The core idea is that if we have a fraction like P(x)Q(x)\frac{P(x)}{Q(x)}, and Q(x)Q(x) can be factored into linear and/or irreducible quadratic factors, we can express P(x)Q(x)\frac{P(x)}{Q(x)} as a sum of terms. Each term corresponds to a factor in the denominator.

For a linear factor (ax+b)(ax+b), the corresponding partial fraction term is Aax+b\frac{A}{ax+b}.

For an irreducible quadratic factor (ax2+bx+c)(ax^2+bx+c), the corresponding partial fraction term is Bx+Cax2+bx+c\frac{Bx+C}{ax^2+bx+c}.

Once decomposed, we integrate each of these simpler terms.

Let's apply this method step-by-step.

  1. Analyze the integrand and factor the denominator.

    The integrand is x2+x+1(x+2)(x2+1)\displaystyle\frac{x^{2}+x+1}{(x+2)(x^{2}+1)}.

    First, we check the degrees of the numerator and denominator. The degree of the numerator (x2+x+1x^2+x+1) is 2. The degree of the denominator ((x+2)(x2+1)=x3+2x2+x+2(x+2)(x^2+1) = x^3+2x^2+x+2) is 3. Since the degree of the numerator is less than the degree of the denominator, we do not need to perform polynomial long division.

    The denominator is already factored into a linear term (x+2)(x+2) and an irreducible quadratic term (x2+1)(x^2+1). The quadratic x2+1x^2+1 is irreducible over real numbers because its discriminant (b2−4ac=02−4(1)(1)=−4b^2-4ac = 0^2 - 4(1)(1) = -4) is negative.

  2. Set up the partial fraction decomposition.

    Based on the factors in the denominator, we can write the rational function as a sum of partial fractions:

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}

Here, $A$, $B$, and $C$ are constants that we need to determine.

3. Solve for the constants AA, BB, and CC.

To find these constants, we combine the terms on the right-hand side by finding a common denominator, which will be (x+2)(x2+1)(x+2)(x^2+1):

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

Now, we equate the numerators of the original expression and the combined partial fractions:

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

We can find the constants using a combination of strategic substitution and equating coefficients.

*   **Find $A$ using substitution:**
    To find $A$, we can choose a value of $x$ that makes the term $(Bx+C)(x+2)$ zero. This happens when $x+2=0$, i.e., $x=-2$.
    Substitute $x=-2$ into the equation:

(−2)2+(−2)+1=A((−2)2+1)+(B(−2)+C)(−2+2)(-2)^{2} + (-2) + 1 = A((-2)^{2}+1) + (B(-2)+C)(-2+2)

4−2+1=A(4+1)+(B(−2)+C)(0)4 - 2 + 1 = A(4+1) + (B(-2)+C)(0)

3=5A3 = 5A

A=35A = \frac{3}{5}

*   **Find $B$ and $C$ using equating coefficients:**
    Now that we have $A$, we can substitute its value back into the equation and expand the right side:

x2+x+1=35(x2+1)+(Bx+C)(x+2)x^{2}+x+1 = \frac{3}{5}(x^{2}+1) + (Bx+C)(x+2)

x2+x+1=35x2+35+Bx2+2Bx+Cx+2Cx^{2}+x+1 = \frac{3}{5}x^{2} + \frac{3}{5} + Bx^{2} + 2Bx + Cx + 2C

    Group terms by powers of $x$:

x2+x+1=(35+B)x2+(2B+C)x+(35+2C)x^{2}+x+1 = \left(\frac{3}{5}+B\right)x^{2} + (2B+C)x + \left(\frac{3}{5}+2C\right)

    Now, we equate the coefficients of corresponding powers of $x$ on both sides:
    *   **Coefficient of $x^2$:**

1=35+B1 = \frac{3}{5} + B

B=1−35=25B = 1 - \frac{3}{5} = \frac{2}{5}

    *   **Coefficient of $x$:**

1=2B+C1 = 2B + C

        Substitute $B=\frac{2}{5}$:

1=2(25)+C1 = 2\left(\frac{2}{5}\right) + C

1=45+C1 = \frac{4}{5} + C

C=1−45=15C = 1 - \frac{4}{5} = \frac{1}{5}

    *   **Constant term:** (This serves as a check)

1=35+2C1 = \frac{3}{5} + 2C

        Substitute $C=\frac{1}{5}$:

1=35+2(15)1 = \frac{3}{5} + 2\left(\frac{1}{5}\right)

1=35+251 = \frac{3}{5} + \frac{2}{5}

1=551 = \frac{5}{5}

1=11 = 1

        The values are consistent. So, $A=\frac{3}{5}$, $B=\frac{2}{5}$, and $C=\frac{1}{5}$.

4. Rewrite the integral using the partial fractions.

Substitute the values of AA, BB, and CC back into the partial fraction decomposition:

x2+x+1(x+2)(x2+1)=35x+2+25x+15x2+1\frac{x^{2}+x+1}{(x+2)(x^{2}+1)} = \frac{\frac{3}{5}}{x+2} + \frac{\frac{2}{5}x+\frac{1}{5}}{x^{2}+1}

Now, we can rewrite the original integral: …

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.