Integrate the functions in Exercises 1 to 23 \(\dfrac{x^2+x+1}{(x+1)^2\ (x+2)}\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine you have a big, messy fraction that is hard to work with all at once. Breaking it into smaller, friendlier pieces makes everything easier — just like splitting a large bill into smaller payments. Here, the bottom of the fraction has repeated and distinct parts, so we split the whole thing into simple fractions. Each small piece is easy to integrate using basic rules. Putting all the results together gives the final neat answer.
Answer: \[ \int \frac{x^2+x+1}{(x+1)^2(x+2)} \, dx = 3\log|x+2| - 2\log|x+1| - \frac{1}{x+1} + C \]
When we integrate a rational function \( \dfrac{P(x)}{Q(x)} \) where the degree of the numerator is less than the degree of the denominator, and the denominator factorises into linear factors, we use partial fractions. Here the denominator \( (x+1)^2(x+2) \) has a repeated linear factor \( (x+1) \) and a distinct linear factor \( (x+2) \). For a repeated factor \( (x+1)^2 \) we must include TWO fractions: one with denominator \( (x+1) \) and one with denominator \( (x+1)^2 \). Once we split the expression, each simple piece can be integrated using standard results.
For a repeated linear factor, decompose as \[ \frac{x^2+x+1}{(x+1)^2(x+2)} = \frac{A}{x+1} + \frac{B}{(x+1)^2} + \frac{C}{x+2} \] Standard results used: \[ \int \frac{1}{x+a} \, dx = \log|x+a| + C, \qquad \int \frac{1}{(x+a)^2} \, dx = -\frac{1}{x+a} + C \]
\[ \int \frac{x^2+x+1}{(x+1)^2(x+2)} \, dx = 3\log|x+2| - 2\log|x+1| - \frac{1}{x+1} + C \]
A very common error is forgetting the extra fraction for the repeated factor. Students often write only \( \dfrac{A}{x+1} + \dfrac{C}{x+2} \), missing the term \( \dfrac{B}{(x+1)^2} \). For a factor raised to power 2, you must include BOTH \( \dfrac{A}{x+1} \) and \( \dfrac{B}{(x+1)^2} \), otherwise the decomposition is incorrect.
\[ \int \frac{x^2+x+1}{(x+1)^2(x+2)} \, dx = 3\log|x+2| - 2\log|x+1| - \frac{1}{x+1} + C \]
One common mistake: Writing only one term \( \frac{A}{(x+1)^2} \) for the repeated factor instead of two separate terms \( \frac{A}{x+1} + \frac{B}{(x+1)^2} \) — this makes the decomposition incomplete and leads to incorrect values of the constants.
Answer: \[ \int \frac{x^2+x+1}{(x+1)^2(x+2)} \, dx = 3\log|x+2| - 2\log|x+1| - \frac{1}{x+1} + C \]
Question: Evaluate: \[ \int \frac{2x^2 + 3x + 1}{(x+2)^2(x-1)} \, dx \]
Solution: We use partial fractions. Write: \[ \frac{2x^2 + 3x + 1}{(x+2)^2(x-1)} = \frac{A}{x+2} + \frac{B}{(x+2)^2} + \frac{C}{x-1} \] Multiplying both sides by \( (x+2)^2(x-1) \): \[ 2x^2 + 3x + 1 = A(x+2)(x-1) + B(x-1) + C(x+2)^2 \] Substituting \( x = 1 \): \[ 2(1) + 3(1) + 1 = C(3)^2 \Rightarrow 6 = 9C \Rightarrow C = \frac{2}{3} \] Substituting \( x = -2 \): \[ 2(4) + 3(-2) + 1 = B(-3) \Rightarrow 8 - 6 + 1 = -3B \Rightarrow 3 = -3B \Rightarrow B = -1 \] Expanding the right-hand side and comparing coefficients of \( x^2 \): \[ 2 = A + C \Rightarrow A = 2 - \frac{2}{3} = \frac{4}{3} \] Verification using the constant term: RHS constant \( = A(2)(-1) + B(-1) + C(4) = -2A - B + 4C = -\frac{8}{3} + 1 + \frac{8}{3} = 1 \). LHS constant \( = 1 \). Confirmed. So: \[ \int \frac{2x^2 + 3x + 1}{(x+2)^2(x-1)} \, dx = \int \frac{4/3}{x+2} \, dx + \int \frac{-1}{(x+2)^2} \, dx + \int \frac{2/3}{x-1} \, dx \] Integrating term by term: \[ = \frac{4}{3} \ln|x+2| + \frac{1}{x+2} + \frac{2}{3} \ln|x-1| + C \]
Answer: \[ \frac{4}{3} \ln|x+2| + \frac{1}{x+2} + \frac{2}{3} \ln|x-1| + C \]
Question: Evaluate: \[ \int \frac{x^2 - x + 2}{(x-1)^2(x+3)} \, dx \]
Solution: We use partial fractions. Write: \[ \frac{x^2 - x + 2}{(x-1)^2(x+3)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+3} \] Multiplying both sides by \( (x-1)^2(x+3) \): \[ x^2 - x + 2 = A(x-1)(x+3) + B(x+3) + C(x-1)^2 \] Substituting \( x = 1 \): \[ 1 - 1 + 2 = B(4) \Rightarrow 2 = 4B \Rightarrow B = \frac{1}{2} \] Substituting \( x = -3 \): \[ 9 + 3 + 2 = C(-4)^2 \Rightarrow 14 = 16C \Rightarrow C = \frac{7}{8} \] Comparing coefficients of \( x^2 \) on both sides: \[ 1 = A + C \Rightarrow A = 1 - \frac{7}{8} = \frac{1}{8} \] Verification using constant term: RHS constant \( = A(-1)(3) + B(3) + C(1) = -3A + 3B + C = -\frac{3}{8} + \frac{3}{2} + \frac{7}{8} = -\frac{3}{8} + \frac{12}{8} + \frac{7}{8} = \frac{16}{8} = 2 \). LHS constant \( = 2 \). Confirmed. So: \[ \int \frac{x^2 - x + 2}{(x-1)^2(x+3)} \, dx = \int \frac{1/8}{x-1} \, dx + \int \frac{1/2}{(x-1)^2} \, dx + \int \frac{7/8}{x+3} \, dx \] Integrating term by term: \[ = \frac{1}{8} \ln|x-1| - \frac{1}{2(x-1)} + \frac{7}{8} \ln|x+3| + C \]
Answer: \[ \frac{1}{8} \ln|x-1| - \frac{1}{2(x-1)} + \frac{7}{8} \ln|x+3| + C \]
Question: Integrate the function \(\dfrac{2x^2 + 3x + 1}{(x+1)^2(x+3)}\) with respect to \(x\).
Answer: \[\int \frac{2x^2+3x+1}{(x+1)^2(x+3)} \, dx = \frac{5}{2}\log|x+3| - \frac{1}{2}\log|x+1| + C\]