Find \(\int\dfrac{x^2+x+1\ dx}{(x+2)(x^2+1)}\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine you have a big, messy fraction that is hard to add up all at once. Breaking it into smaller, friendlier pieces makes the job easy. That is exactly what we do here: we split one complicated fraction into two simpler ones. Each small piece is something we already know how to handle, like finding a log or an inverse tangent. After solving each piece separately, we simply add the results together to get our final answer.
Answer: \[\int \frac{x^2+x+1}{(x+2)(x^2+1)}\,dx = \frac{3}{5}\log|x+2| + \frac{1}{5}\log(x^2+1) + \frac{1}{5}\tan^{-1}x + C.\]
When we integrate a rational function (a fraction where numerator and denominator are polynomials) and the degree of the numerator is less than the degree of the denominator, we use the method of partial fractions. The idea is to break one complicated fraction into a sum of simpler fractions that we already know how to integrate. Here the denominator is \((x+2)(x^2+1)\). Since \(x+2\) is a linear factor and \(x^2+1\) is an irreducible quadratic (it cannot be factorised further using real numbers), the correct partial fraction form uses a constant over the linear factor and a linear expression over the quadratic factor. After finding the unknown constants, each piece integrates into either a logarithm or an inverse tangent.
For an irreducible quadratic factor: \(\dfrac{x^2+x+1}{(x+2)(x^2+1)} = \dfrac{A}{x+2} + \dfrac{Bx+C}{x^2+1}\). Useful results: \(\int \dfrac{1}{x+a}\,dx = \log|x+a| + C\), \(\int \dfrac{x}{x^2+1}\,dx = \dfrac{1}{2}\log(x^2+1) + C\), and \(\int \dfrac{1}{x^2+1}\,dx = \tan^{-1}x + C\).
\[\int \frac{x^2+x+1}{(x+2)(x^2+1)}\,dx = \frac{3}{5}\log|x+2| + \frac{1}{5}\log(x^2+1) + \frac{1}{5}\tan^{-1}x + C.\]
A very common error is writing the numerator over \(x^2+1\) as a single constant \(\frac{B}{x^2+1}\) instead of a linear term \(\frac{Bx+C}{x^2+1}\). For an irreducible quadratic factor, the numerator must be of the form \(Bx+C\), otherwise you cannot match all coefficients and the answer will be wrong.
\[\int \frac{x^2+x+1}{(x+2)(x^2+1)}\,dx = \frac{3}{5}\log|x+2| + \frac{1}{5}\log(x^2+1) + \frac{1}{5}\tan^{-1}x + C.\]
One common mistake: Writing the partial fraction for the irreducible quadratic factor as \(\dfrac{B}{x^2+1}\) (a constant numerator) instead of \(\dfrac{Bx+C}{x^2+1}\) (a linear numerator). A quadratic denominator always requires a linear numerator in the partial fraction decomposition, otherwise the system of equations is inconsistent and you will get wrong values for the constants.
Answer: \[\int \frac{x^2+x+1}{(x+2)(x^2+1)}\,dx = \frac{3}{5}\log|x+2| + \frac{1}{5}\log(x^2+1) + \frac{1}{5}\tan^{-1}x + C.\]
Question: Evaluate \(\int \dfrac{2x^2 - x + 3}{(x-1)(x^2+4)}\,dx\).
Solution: We write the integrand using partial fractions: \[\frac{2x^2 - x + 3}{(x-1)(x^2+4)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+4}\] Multiplying both sides by \((x-1)(x^2+4)\): \[2x^2 - x + 3 = A(x^2+4) + (Bx+C)(x-1)\] Setting \(x = 1\): \(2(1) - 1 + 3 = A(1+4)\), so \(4 = 5A\), giving \(A = \dfrac{4}{5}\). Expanding the right side: \[2x^2 - x + 3 = Ax^2 + 4A + Bx^2 - Bx + Cx - C\] \[2x^2 - x + 3 = (A+B)x^2 + (-B+C)x + (4A - C)\] Comparing coefficients of \(x^2\): \(A + B = 2\), so \(B = 2 - \dfrac{4}{5} = \dfrac{6}{5}\). Comparing constant terms: \(4A - C = 3\), so \(C = 4\left(\dfrac{4}{5}\right) - 3 = \dfrac{16}{5} - 3 = \dfrac{1}{5}\). Verification with \(x\)-coefficient: \(-B + C = -\dfrac{6}{5} + \dfrac{1}{5} = -\dfrac{5}{5} = -1\). This matches. So the integral becomes: \[\int \left(\frac{4/5}{x-1} + \frac{\frac{6}{5}x + \frac{1}{5}}{x^2+4}\right)dx\] \[= \frac{4}{5}\int \frac{dx}{x-1} + \frac{6}{5}\int \frac{x\,dx}{x^2+4} + \frac{1}{5}\int \frac{dx}{x^2+4}\] Evaluating each integral: First: \(\dfrac{4}{5}\ln|x-1|\) Second: \(\dfrac{6}{5} \cdot \dfrac{1}{2}\ln(x^2+4) = \dfrac{3}{5}\ln(x^2+4)\) Third: \(\dfrac{1}{5} \cdot \dfrac{1}{2}\tan^{-1}\!\left(\dfrac{x}{2}\right) = \dfrac{1}{10}\tan^{-1}\!\left(\dfrac{x}{2}\right)\) Therefore the final answer is: \[\frac{4}{5}\ln|x-1| + \frac{3}{5}\ln(x^2+4) + \frac{1}{10}\tan^{-1}\!\left(\frac{x}{2}\right) + C\]
Answer: \(\dfrac{4}{5}\ln|x-1| + \dfrac{3}{5}\ln(x^2+4) + \dfrac{1}{10}\tan^{-1}\!\left(\dfrac{x}{2}\right) + C\)
Question: Evaluate \(\int \dfrac{3x^2 + 5x - 2}{(x+3)(x^2+2)}\,dx\).
Solution: We decompose using partial fractions: \[\frac{3x^2 + 5x - 2}{(x+3)(x^2+2)} = \frac{A}{x+3} + \frac{Bx+C}{x^2+2}\] Multiplying both sides by \((x+3)(x^2+2)\): \[3x^2 + 5x - 2 = A(x^2+2) + (Bx+C)(x+3)\] Setting \(x = -3\): \(3(9) + 5(-3) - 2 = A(9+2)\), so \(27 - 15 - 2 = 11A\), giving \(10 = 11A\), hence \(A = \dfrac{10}{11}\). Expanding the right side: \[3x^2 + 5x - 2 = (A+B)x^2 + (3B+C)x + (2A+3C)\] Comparing coefficients of \(x^2\): \(A + B = 3\), so \(B = 3 - \dfrac{10}{11} = \dfrac{23}{11}\). Comparing constant terms: \(2A + 3C = -2\), so \(3C = -2 - \dfrac{20}{11} = -\dfrac{42}{11}\), giving \(C = -\dfrac{14}{11}\). Verification with \(x\)-coefficient: \(3B + C = \dfrac{69}{11} - \dfrac{14}{11} = \dfrac{55}{11} = 5\). This matches. So the integral becomes: \[\int \left(\frac{10/11}{x+3} + \frac{\frac{23}{11}x - \frac{14}{11}}{x^2+2}\right)dx\] \[= \frac{10}{11}\int \frac{dx}{x+3} + \frac{23}{11}\int \frac{x\,dx}{x^2+2} - \frac{14}{11}\int \frac{dx}{x^2+2}\] Evaluating each integral: First: \(\dfrac{10}{11}\ln|x+3|\) Second: \(\dfrac{23}{11} \cdot \dfrac{1}{2}\ln(x^2+2) = \dfrac{23}{22}\ln(x^2+2)\) Third: \(\dfrac{14}{11} \cdot \dfrac{1}{\sqrt{2}}\tan^{-1}\!\left(\dfrac{x}{\sqrt{2}}\right) = \dfrac{14}{11\sqrt{2}}\tan^{-1}\!\left(\dfrac{x}{\sqrt{2}}\right)\) Therefore the final answer is: \[\frac{10}{11}\ln|x+3| + \frac{23}{22}\ln(x^2+2) - \frac{14}{11\sqrt{2}}\tan^{-1}\!\left(\frac{x}{\sqrt{2}}\right) + C\]
Answer: \(\dfrac{10}{11}\ln|x+3| + \dfrac{23}{22}\ln(x^2+2) - \dfrac{14}{11\sqrt{2}}\tan^{-1}\!\left(\dfrac{x}{\sqrt{2}}\right) + C\)
Question: Find \[\int \frac{2x^2 + 3x + 5}{(x+1)(x^2+4)}\,dx.\]
Answer: \[\int \frac{2x^2+3x+5}{(x+1)(x^2+4)}\,dx = \frac{4}{5}\log|x+1| + \frac{3}{5}\log(x^2+4) + \frac{9}{10}\tan^{-1}\frac{x}{2} + C.\]