SOLVER7 Study. Nothing Else.
2026 Board Paper Q27(b)

Find : \(\int\dfrac{2}{(1-x)(1+x^2)}dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a big, complicated fraction that is hard to swallow whole. Breaking it into smaller, friendlier pieces makes it easy to handle. That is exactly what we do here — we split the tricky fraction into two simpler ones. Each small piece is easy to integrate using basic rules everyone already knows. One piece gives a logarithm, another gives a logarithm too, and the last piece gives an inverse tangent. Putting all three results together gives the final answer.

Answer: \[\int \frac{2}{(1-x)(1+x^2)}\,dx = -\ln|1-x| + \frac{1}{2}\ln(1+x^2) + \tan^{-1} x + C.\]

📖 Integration by Partial Fractions

Detailed Explanation

When we integrate a rational function (a ratio of polynomials), we first check whether the denominator can be factored. Here the denominator \((1-x)(1+x^2)\) has a linear factor \((1-x)\) and an irreducible quadratic factor \((1+x^2)\). We break the fraction into simpler pieces called partial fractions. For a linear factor we use a constant on top, and for an irreducible quadratic factor we use a linear expression \(Bx + C\) on top. Once split, each simpler fraction integrates easily using standard results such as \(\int \frac{1}{u}\,du = \ln|u| + C\) and \(\int \frac{1}{1+x^2}\,dx = \tan^{-1} x + C\).

Formula Used

\[\frac{2}{(1-x)(1+x^2)} = \frac{A}{1-x} + \frac{Bx+C}{1+x^2}\] with the standard results \[\int \frac{1}{u}\,du = \ln|u| + C, \qquad \int \frac{1}{1+x^2}\,dx = \tan^{-1} x + C.\]

Solution

  1. Step 1: Set up the partial fraction decomposition. Since the denominator has a linear factor and an irreducible quadratic factor, write \[\frac{2}{(1-x)(1+x^2)} = \frac{A}{1-x} + \frac{Bx+C}{1+x^2}.\]
  2. Step 2: Clear the denominators by multiplying both sides by \((1-x)(1+x^2)\): \[2 = A(1+x^2) + (Bx+C)(1-x).\]
  3. Step 3: Find \(A\) by substituting a convenient value. Put \(x = 1\), which makes \((1-x)=0\): \[2 = A(1+1^2) = 2A.\] So \(A = 1\).
  4. Step 4: Find \(B\) and \(C\) by comparing coefficients. Expand the right side: \[2 = A + Ax^2 + Bx - Bx^2 + C - Cx.\] Group by powers of \(x\): \[2 = (A - B)x^2 + (B - C)x + (A + C).\] Comparing coefficient of \(x^2\): \(A - B = 0 \Rightarrow B = A = 1\). Comparing constant term: \(A + C = 2 \Rightarrow C = 1\). (Check with \(x\) term: \(B - C = 1 - 1 = 0\), correct.)
  5. Step 5: Rewrite the integral using the found values \(A=1, B=1, C=1\): \[\int \frac{2}{(1-x)(1+x^2)}\,dx = \int \frac{1}{1-x}\,dx + \int \frac{x+1}{1+x^2}\,dx.\]
  6. Step 6: Integrate the first part. For \(\int \frac{1}{1-x}\,dx\), the derivative of \(1-x\) is \(-1\), so \[\int \frac{1}{1-x}\,dx = -\ln|1-x|.\]
  7. Step 7: Split the second part into two easy integrals: \[\int \frac{x+1}{1+x^2}\,dx = \int \frac{x}{1+x^2}\,dx + \int \frac{1}{1+x^2}\,dx.\] For the first, since the derivative of \(1+x^2\) is \(2x\), \[\int \frac{x}{1+x^2}\,dx = \frac{1}{2}\ln(1+x^2).\] For the second, \[\int \frac{1}{1+x^2}\,dx = \tan^{-1} x.\]
  8. Step 8: Combine all the pieces and add the constant of integration \(C\): \[-\ln|1-x| + \frac{1}{2}\ln(1+x^2) + \tan^{-1} x + C.\]

Final Answer

\[\int \frac{2}{(1-x)(1+x^2)}\,dx = -\ln|1-x| + \frac{1}{2}\ln(1+x^2) + \tan^{-1} x + C.\]

Common Mistake

A common mistake is placing a single constant on top of the quadratic factor, i.e. writing \(\frac{A}{1-x} + \frac{B}{1+x^2}\). For an irreducible quadratic denominator you must use a linear numerator \(Bx + C\). Another frequent error is forgetting the negative sign when integrating \(\frac{1}{1-x}\); since the derivative of \(1-x\) is \(-1\), the result is \(-\ln|1-x|\), not \(\ln|1-x|\).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the partial fraction structure: Write the integrand as a sum of simpler fractions. For the linear factor \(1-x\), place a constant \(A\) in the numerator; for the irreducible quadratic \(1+x^2\), place a linear expression \(Bx+C\) in the numerator: \[\frac{2}{(1-x)(1+x^2)} = \frac{A}{1-x} + \frac{Bx+C}{1+x^2}\] — Reason: A linear factor always gets a constant numerator, while an irreducible quadratic always gets a linear numerator; this is the standard partial fraction rule.
  2. Step 2: Clear the denominators: Multiply both sides of the equation by \((1-x)(1+x^2)\) to remove all fractions: \[2 = A(1+x^2) + (Bx+C)(1-x)\] — Reason: Clearing denominators converts the equation into a polynomial identity, which is easier to work with when comparing coefficients or substituting values.
  3. Step 3: Find A by substituting a root of the linear factor: Substitute \(x = 1\) (the root of \(1-x = 0\)) into the identity: \[2 = A(1+1^2) + (B \cdot 1 + C)(1-1)\] which simplifies to \[2 = 2A\] giving \(A = 1\). — Reason: Choosing \(x=1\) makes the \((Bx+C)(1-x)\) term vanish instantly, so we can solve for \(A\) with a single step.
  4. Step 4: Expand and group by powers of x: Substitute \(A = 1\) and expand the right-hand side of \(2 = A(1+x^2) + (Bx+C)(1-x)\): \[2 = (1+x^2) + (Bx + C - Bx^2 - Cx)\] Collecting like powers of \(x\): \[2 = (1-B)x^2 + (B-C)x + (1+C)\] — Reason: Expanding and grouping lets us compare the coefficient of each power of \(x\) on both sides to find the remaining unknowns \(B\) and \(C\).
  5. Step 5: Compare coefficients to find B and C: Match coefficients of \(x^2\), \(x\), and the constant term on both sides. From \(x^2\): \(1 - B = 0\), so \(B = 1\). From the constant term: \(1 + C = 2\), so \(C = 1\). Check with \(x^1\): \(B - C = 1 - 1 = 0\), which matches the left side coefficient of 0. — Reason: A polynomial identity holds for all \(x\), so coefficients of matching powers must be equal; this system gives us \(B\) and \(C\) without ambiguity.
  6. Step 6: Rewrite the integral using the partial fractions: With \(A = 1\), \(B = 1\), \(C = 1\), substitute back: \[\int \frac{2}{(1-x)(1+x^2)}\,dx = \int \frac{1}{1-x}\,dx + \int \frac{x+1}{1+x^2}\,dx\] Split the second integral further: \[\int \frac{x+1}{1+x^2}\,dx = \int \frac{x}{1+x^2}\,dx + \int \frac{1}{1+x^2}\,dx\] — Reason: Breaking into three recognisable integrals allows us to apply standard formulas directly to each piece.
  7. Step 7: Evaluate each integral separately: Evaluate term by term using standard results. First: \[\int \frac{1}{1-x}\,dx = -\ln|1-x| + C_1\] Second (use substitution \(u = 1+x^2\), \(du = 2x\,dx\)): \[\int \frac{x}{1+x^2}\,dx = \frac{1}{2}\ln(1+x^2) + C_2\] Third: \[\int \frac{1}{1+x^2}\,dx = \tan^{-1}x + C_3\] — Reason: Each piece now matches a memorised standard integral formula, so no further technique is needed.
  8. Step 8: Combine all parts for the final answer: Add the three results together, merging the arbitrary constants into a single constant \(C\): \[\int \frac{2}{(1-x)(1+x^2)}\,dx = -\ln|1-x| + \frac{1}{2}\ln(1+x^2) + \tan^{-1}x + C\] — Reason: The sum of all partial integral results gives the complete antiderivative of the original expression.

Final Answer

\[\int \frac{2}{(1-x)(1+x^2)}\,dx = -\ln|1-x| + \frac{1}{2}\ln(1+x^2) + \tan^{-1} x + C.\]

Common Mistake

One common mistake: Students often write \(\frac{A}{1-x} + \frac{B}{1+x^2}\) (using a constant \(B\) instead of a linear \(Bx+C\) over the quadratic factor). Since \(1+x^2\) is an irreducible quadratic, its numerator in a partial fraction must be a linear expression \(Bx+C\), not just a constant — using only a constant leads to wrong values of the unknowns and an incorrect final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Partial Fractions — Find Constants: Multiply both sides by \((1-x)(1+x^2)\): \[2 = A(1+x^2) + (Bx+C)(1-x).\] Set \(x=1\): \(2 = 2A \Rightarrow A = 1\). Compare \(x^2\) coefficients: \(A - B = 0 \Rightarrow B = 1\). Compare constant terms: \(A + C = 2 \Rightarrow C = 1\).
  2. Step 2: Rewrite the Integrand: \[\frac{2}{(1-x)(1+x^2)} = \frac{1}{1-x} + \frac{x+1}{1+x^2} = \frac{1}{1-x} + \frac{x}{1+x^2} + \frac{1}{1+x^2}.\]
  3. Step 3: Integrate Term by Term: \[\int \frac{1}{1-x}\,dx + \int \frac{x}{1+x^2}\,dx + \int \frac{1}{1+x^2}\,dx = -\ln|1-x| + \frac{1}{2}\ln(1+x^2) + \tan^{-1} x + C.\]

Answer: \[\int \frac{2}{(1-x)(1+x^2)}\,dx = -\ln|1-x| + \frac{1}{2}\ln(1+x^2) + \tan^{-1} x + C.\]

➕ More Examples

More Examples

Example 1

Question: Find: \[\int \frac{3}{(1+x)(1+x^2)} \, dx\]

Solution: We decompose the integrand using partial fractions. Write: \[\frac{3}{(1+x)(1+x^2)} = \frac{A}{1+x} + \frac{Bx + C}{1+x^2}\] Multiplying both sides by \( (1+x)(1+x^2) \): \[3 = A(1+x^2) + (Bx+C)(1+x)\] Expanding the right side: \[3 = A + Ax^2 + Bx + Bx^2 + C + Cx\] Grouping by powers of \( x \): \[3 = (A+B)x^2 + (B+C)x + (A+C)\] Comparing coefficients on both sides gives the system: Coefficient of \( x^2 \): \( A + B = 0 \), Coefficient of \( x \): \( B + C = 0 \), Constant term: \( A + C = 3 \). From \( A + B = 0 \), we get \( B = -A \). From \( B + C = 0 \), we get \( C = -B = A \). Substituting into \( A + C = 3 \): \[A + A = 3 \implies 2A = 3 \implies A = \frac{3}{2}\] So \( B = -\dfrac{3}{2} \) and \( C = \dfrac{3}{2} \). The integral becomes: \[\int \left( \frac{3/2}{1+x} + \frac{-\frac{3}{2}x + \frac{3}{2}}{1+x^2} \right) dx\] \[= \frac{3}{2}\int \frac{1}{1+x} \, dx - \frac{3}{2}\int \frac{x}{1+x^2} \, dx + \frac{3}{2}\int \frac{1}{1+x^2} \, dx\] Evaluating each integral: \[= \frac{3}{2}\ln|1+x| - \frac{3}{4}\ln(1+x^2) + \frac{3}{2}\tan^{-1} x + C\]

Answer: \[\frac{3}{2}\ln|1+x| - \frac{3}{4}\ln(1+x^2) + \frac{3}{2}\tan^{-1} x + C\]

Example 2

Question: Find: \[\int \frac{5x}{(x-1)(x^2+4)} \, dx\]

Solution: We decompose using partial fractions. Write: \[\frac{5x}{(x-1)(x^2+4)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+4}\] Multiplying both sides by \( (x-1)(x^2+4) \): \[5x = A(x^2+4) + (Bx+C)(x-1)\] Substituting \( x = 1 \): \[5 = A(1+4) + 0 \implies 5 = 5A \implies A = 1\] Expanding the right side with \( A = 1 \): \[5x = x^2 + 4 + Bx^2 - Bx + Cx - C\] \[5x = (1+B)x^2 + (-B+C)x + (4-C)\] Comparing coefficients: Coefficient of \( x^2 \): \( 1 + B = 0 \implies B = -1 \), Coefficient of \( x \): \( -B + C = 5 \implies 1 + C = 5 \implies C = 4 \), Constant: \( 4 - C = 0 \implies C = 4 \) (consistent). The integral becomes: \[\int \left( \frac{1}{x-1} + \frac{-x+4}{x^2+4} \right) dx\] \[= \int \frac{1}{x-1} \, dx - \int \frac{x}{x^2+4} \, dx + 4\int \frac{1}{x^2+4} \, dx\] For the second integral, note that the derivative of \( x^2+4 \) is \( 2x \), so: \[\int \frac{x}{x^2+4} \, dx = \frac{1}{2}\ln(x^2+4)\] For the third integral: \[4\int \frac{1}{x^2+4} \, dx = 4 \cdot \frac{1}{2}\tan^{-1}\left(\frac{x}{2}\right) = 2\tan^{-1}\left(\frac{x}{2}\right)\] Combining all parts: \[= \ln|x-1| - \frac{1}{2}\ln(x^2+4) + 2\tan^{-1}\left(\frac{x}{2}\right) + C\]

Answer: \[\ln|x-1| - \frac{1}{2}\ln(x^2+4) + 2\tan^{-1}\left(\frac{x}{2}\right) + C\]

🎯 Try a Similar Question

Try a Similar Question

Question: Find: \[\int \frac{4}{(1+x)(1+x^2)} \, dx\]

Solution

  1. Step 1: Set up Partial Fractions: We write the integrand as a sum of partial fractions. Let \(\frac{4}{(1+x)(1+x^2)} = \frac{A}{1+x} + \frac{Bx+C}{1+x^2}\) where A, B, C are constants to be determined.
  2. Step 2: Multiply both sides by \((1+x)(1+x^2)\): Multiplying through gives: \[4 = A(1+x^2) + (Bx+C)(1+x)\]
  3. Step 3: Find constant A: Substitute \(x = -1\) into the equation: \[4 = A(1+1) + 0\] So \(4 = 2A\), which gives \(A = 2\).
  4. Step 4: Find constants B and C: Expand the right-hand side with \(A = 2\): \[4 = 2 + 2x^2 + Bx + Bx^2 + C + Cx\] Collecting by powers of x: \[4 = (2+B)x^2 + (B+C)x + (2+C)\] Comparing coefficients of \(x^2\): \(2 + B = 0\) so \(B = -2\). Comparing constant terms: \(2 + C = 4\) so \(C = 2\). We verify with the coefficient of x: \(B + C = -2 + 2 = 0\), which is consistent.
  5. Step 5: Rewrite the integral: Substituting the values \(A=2\), \(B=-2\), \(C=2\): \[\int \frac{4}{(1+x)(1+x^2)} \, dx = \int \frac{2}{1+x} \, dx + \int \frac{-2x+2}{1+x^2} \, dx\]
  6. Step 6: Split the second integral: The second integral is split as: \[\int \frac{-2x+2}{1+x^2} \, dx = \int \frac{-2x}{1+x^2} \, dx + \int \frac{2}{1+x^2} \, dx\] So the full expression becomes: \[\int \frac{2}{1+x} \, dx - \int \frac{2x}{1+x^2} \, dx + \int \frac{2}{1+x^2} \, dx\]
  7. Step 7: Evaluate each integral: For the first integral: \(\int \frac{2}{1+x} \, dx = 2\ln|1+x|\). For the second integral, note that the derivative of \(1+x^2\) is \(2x\), so: \(\int \frac{2x}{1+x^2} \, dx = \ln(1+x^2)\). For the third integral: \(\int \frac{2}{1+x^2} \, dx = 2\tan^{-1}x\).
  8. Step 8: Combine all results: Putting all three results together: \[\int \frac{4}{(1+x)(1+x^2)} \, dx = 2\ln|1+x| - \ln(1+x^2) + 2\tan^{-1}x + C\]

Answer: \[\int \frac{4}{(1+x)(1+x^2)} \, dx = 2\ln|1+x| - \ln(1+x^2) + 2\tan^{-1}x + C\]

Everything you get with Solver7

More questions in Integrals

Chapter 7 Examples Q1(i) 65/2/2 2023 / Section A Q1 Chapter 7 Examples Q1(ii) 65/2/1 2022 / Section A Q2(a) Chapter 7 Examples Q1(iii) 65/2/1 2022 / Section A Q2(b) Chapter 7 Examples Q2(i) Chapter 7 Examples Q2(ii) 65/1/1 2023 / Section A Q5 Chapter 7 Examples Q2(iii) 65/1/1 2023 / Section A Q6 65/1/1 2024 / Section A Q6 65/2/1 2024 / Section A Q6 65/3/1 2023 / Section A Q6 65/3/1 2024 / Section A Q6 Chapter 7 Examples Q3(i) 65/3/1 2023 / Section A Q7 Chapter 7 Examples Q3(ii) 65(B) 2026 / Section A Q8 65/1/1 2026 / Section A Q8 65/4/1 2022 / Section A Q6 65/4/1 2023 / Section A Q8 65/4/2 2024 / Section A Q8 Chapter 7 Examples Q3(iii) 65(B) 2026 / Section A Q9 65/1/1 2026 / Section A Q9 65/2/1 2022 / Section B Q8(a) 65/2/2 2023 / Section A Q9 65/4/1 2022 / Section B Q7 65/4/1 2023 / Section A Q9 65/4/1 2026 / Section A Q9 Chapter 7 Examples Q4 65/2/1 2022 / Section B Q8(b) 65/3/1 2026 / Section A Q10 65/4/1 2022 / Section B Q8(a) 65/4/1 2026 / Section A Q10 65/5/1 2026 / Section A Q10 Chapter 7 Examples Q5(i) 65/3/1 2026 / Section A Q11 65/4/1 2022 / Section B Q8(b) 65/5/1 2026 / Section A Q11 Chapter 7 Examples Q5(ii) 65/2/3 2026 / Section A Q12 Chapter 7 Examples Q5(iii) Chapter 7 Examples Q5(iv) Chapter 7 Examples Q6(i) 65/2/1 2022 / Section C Q12 Chapter 7 Examples Q6(ii) Chapter 7 Examples Q6(iii) Chapter 7 Examples Q7(i) 65/4/1 2022 / Section C Q13 Chapter 7 Examples Q7(ii) Chapter 7 Examples Q7(iii) Chapter 7 Examples Q8(i) Chapter 7 Examples Q8(ii) Chapter 7 Examples Q9(i) Chapter 7 Examples Q9(ii) 65/1/1 2024 / Section B Q23(a) 65/3/1 2024 / Section B Q23(a) Chapter 7 Examples Q9(iii)