Find : \(\int\dfrac{x^2+x+1}{(x+1)^2\ (x+2)}dx\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine you have a big, complicated fraction that is too hard to work with all at once. You can break it into smaller, simpler pieces — just like splitting a large bill among friends. Each small piece is easy to handle on its own. Here, the tricky fraction gets split into three friendly little fractions. Each small fraction is simple enough to integrate using basic rules we already know. Putting all the results together at the end gives us the final answer.
Answer: \[\int \frac{x^2+x+1}{(x+1)^2(x+2)}\,dx = 3\ln|x+2| - 2\ln|x+1| - \frac{1}{x+1} + C.\]
When we integrate a rational function (a ratio of two polynomials) where the degree of the numerator is less than the degree of the denominator, we use the method of partial fractions. Here the denominator is \((x+1)^2(x+2)\). It has a repeated linear factor \((x+1)^2\) and a distinct linear factor \((x+2)\). For a repeated factor \((x+1)^2\) we must include TWO terms: one with \((x+1)\) in the denominator and one with \((x+1)^2\). This splits the hard integral into simple standard integrals that we already know how to solve.
For a repeated linear factor, use the decomposition \[\frac{x^2+x+1}{(x+1)^2(x+2)} = \frac{A}{x+1} + \frac{B}{(x+1)^2} + \frac{C}{x+2}\] and the standard results \[\int \frac{1}{x+a}\,dx = \ln|x+a| + C, \qquad \int (x+a)^{-2}\,dx = -\frac{1}{x+a} + C\]
\[\int \frac{x^2+x+1}{(x+1)^2(x+2)}\,dx = 3\ln|x+2| - 2\ln|x+1| - \frac{1}{x+1} + C.\]
A common mistake is writing only one term \(\frac{A}{x+1}\) for the repeated factor. For \((x+1)^2\) you must include BOTH \(\frac{A}{x+1}\) and \(\frac{B}{(x+1)^2}\), otherwise the decomposition is incomplete and the answer will be wrong.
\[\int \frac{x^2+x+1}{(x+1)^2(x+2)}\,dx = 3\ln|x+2| - 2\ln|x+1| - \frac{1}{x+1} + C.\]
One common mistake: For the repeated factor \((x+1)^2\), students sometimes write only one term \(\frac{A}{(x+1)^2}\) and omit the required \(\frac{B}{x+1}\) term, leading to an incomplete decomposition that cannot match the original numerator for all values of \(x\).
Answer: \[\int \frac{x^2+x+1}{(x+1)^2(x+2)}\,dx = 3\ln|x+2| - 2\ln|x+1| - \frac{1}{x+1} + C.\]
Question: Find: \[\int \frac{2x^2 + 3x + 1}{(x+1)^2(x+3)} \, dx\]
Solution: We use partial fractions. Write: \[\frac{2x^2 + 3x + 1}{(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) \): \[2x^2 + 3x + 1 = A(x+1)(x+3) + B(x+3) + C(x+1)^2\] Substituting \( x = -1 \): \[2(1) + 3(-1) + 1 = A(0) + B(2) + C(0)\] \[0 = 2B \implies B = 0\] Substituting \( x = -3 \): \[2(9) + 3(-3) + 1 = A(0) + B(0) + C(-2)^2\] \[18 - 9 + 1 = 4C \implies 10 = 4C \implies C = \frac{5}{2}\] Substituting \( x = 0 \): \[0 + 0 + 1 = A(1)(3) + B(3) + C(1)\] \[1 = 3A + 0 + \frac{5}{2} \implies 3A = 1 - \frac{5}{2} = -\frac{3}{2} \implies A = -\frac{1}{2}\] So the decomposition is: \[\frac{2x^2 + 3x + 1}{(x+1)^2(x+3)} = \frac{-\frac{1}{2}}{x+1} + \frac{0}{(x+1)^2} + \frac{\frac{5}{2}}{x+3}\] Now integrate: \[\int \frac{2x^2 + 3x + 1}{(x+1)^2(x+3)} \, dx = -\frac{1}{2}\int \frac{1}{x+1} \, dx + \frac{5}{2}\int \frac{1}{x+3} \, dx\] \[= -\frac{1}{2}\ln|x+1| + \frac{5}{2}\ln|x+3| + C\]
Answer: \(-\frac{1}{2}\ln|x+1| + \frac{5}{2}\ln|x+3| + C\)
Question: Find: \[\int \frac{x^2 + 2x + 3}{(x-1)^2(x+2)} \, dx\]
Solution: We use partial fractions. Write: \[\frac{x^2 + 2x + 3}{(x-1)^2(x+2)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+2}\] Multiplying both sides by \( (x-1)^2(x+2) \): \[x^2 + 2x + 3 = A(x-1)(x+2) + B(x+2) + C(x-1)^2\] Substituting \( x = 1 \): \[1 + 2 + 3 = A(0) + B(3) + C(0)\] \[6 = 3B \implies B = 2\] Substituting \( x = -2 \): \[4 - 4 + 3 = A(0) + B(0) + C(-3)^2\] \[3 = 9C \implies C = \frac{1}{3}\] Substituting \( x = 0 \): \[0 + 0 + 3 = A(-1)(2) + B(2) + C(1)\] \[3 = -2A + 4 + \frac{1}{3} \implies -2A = 3 - 4 - \frac{1}{3} = -1 - \frac{1}{3} = -\frac{4}{3} \implies A = \frac{2}{3}\] So the decomposition is: \[\frac{x^2 + 2x + 3}{(x-1)^2(x+2)} = \frac{\frac{2}{3}}{x-1} + \frac{2}{(x-1)^2} + \frac{\frac{1}{3}}{x+2}\] Now integrate: \[\int \frac{x^2 + 2x + 3}{(x-1)^2(x+2)} \, dx = \frac{2}{3}\int \frac{1}{x-1} \, dx + 2\int \frac{1}{(x-1)^2} \, dx + \frac{1}{3}\int \frac{1}{x+2} \, dx\] \[= \frac{2}{3}\ln|x-1| + 2 \cdot \left(\frac{-1}{x-1}\right) + \frac{1}{3}\ln|x+2| + C\] \[= \frac{2}{3}\ln|x-1| + \frac{1}{3}\ln|x+2| - \frac{2}{x-1} + C\]
Answer: \(\frac{2}{3}\ln|x-1| + \frac{1}{3}\ln|x+2| - \frac{2}{x-1} + C\)
Question: Find \[\int \frac{2x^2 + 3x + 1}{(x+1)^2(x+3)} \, dx\]
Answer: \[\int \frac{2x^2+3x+1}{(x+1)^2(x+3)} \, dx = \frac{5}{2}\ln|x+3| - \frac{1}{2}\ln|x+1| + C\]