SOLVER7 Study. Nothing Else.
Exercise 7.5 Q13

Integrate the rational functions in Exercises 1 to 21. \(\dfrac{2}{(1-x)(1+x^2)}\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a big, complicated fraction that is hard to work with directly. Breaking it into smaller, friendlier pieces makes the job much easier — like splitting a large bill among friends so each person pays a manageable amount. Here, the fraction gets split into simpler parts that we already know how to handle. One part gives a logarithm answer, another gives an inverse tangent answer. Putting all the pieces back together at the end gives the complete result.

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

📖 Integration by Partial Fractions

Detailed Explanation

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, we break it into simpler fractions called partial fractions. Here the denominator is \( (1-x)(1+x^2) \), which has a linear factor \( (1-x) \) and an irreducible quadratic factor \( (1+x^2) \). For a linear factor we use a constant numerator, and for a quadratic factor we use a linear numerator of the form \( Bx + C \). After splitting, each piece can be integrated using standard logarithmic and inverse trigonometric formulas.

Formula Used

\[ \frac{Bx + C}{1+x^2} \text{ integrates using } \int \frac{1}{1+x^2}\,dx = \tan^{-1}x + C \] \[ \int \frac{f'(x)}{f(x)}\,dx = \log|f(x)| + C \]

Solution

  1. Step 1: Set up the partial fraction decomposition. Since \( (1-x) \) is linear and \( (1+x^2) \) is an irreducible quadratic, 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 \( x = 1 \), which removes the second term: \[ 2 = A(1+1) \Rightarrow 2 = 2A \Rightarrow A = 1. \]
  4. Step 4: Expand the right side and compare coefficients. \[ 2 = A + Ax^2 + Bx - Bx^2 + C - Cx. \] Grouping terms: \[ 2 = (A - B)x^2 + (B - C)x + (A + C). \] Comparing coefficient of \( x^2 \): \( A - B = 0 \Rightarrow B = A = 1 \). Comparing coefficient of \( x \): \( B - C = 0 \Rightarrow C = B = 1 \). (Check constant term: \( A + C = 1 + 1 = 2 \), correct.)
  5. Step 5: Substitute the values into the decomposition: \[ \frac{2}{(1-x)(1+x^2)} = \frac{1}{1-x} + \frac{x + 1}{1+x^2}. \]
  6. Step 6: Split the integral into three simpler integrals: \[ \int \frac{2}{(1-x)(1+x^2)}\,dx = \int \frac{1}{1-x}\,dx + \int \frac{x}{1+x^2}\,dx + \int \frac{1}{1+x^2}\,dx. \]
  7. Step 7: Integrate the first term. Since the derivative of \( 1-x \) is \( -1 \), \[ \int \frac{1}{1-x}\,dx = -\log|1-x|. \]
  8. Step 8: Integrate the second term. The numerator \( x \) is half the derivative of \( 1+x^2 \), so \[ \int \frac{x}{1+x^2}\,dx = \frac{1}{2}\log|1+x^2| = \frac{1}{2}\log(1+x^2). \]
  9. Step 9: Integrate the third term using the standard result: \[ \int \frac{1}{1+x^2}\,dx = \tan^{-1}x. \]
  10. Step 10: Combine all three results and add the constant of integration: \[ -\log|1-x| + \frac{1}{2}\log(1+x^2) + \tan^{-1}x + C. \]

Final Answer

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

Common Mistake

A common mistake is forgetting the negative sign when integrating \( \dfrac{1}{1-x} \). Because the derivative of \( 1-x \) is \( -1 \), the result is \( -\log|1-x| \), not \( \log|1-x| \). Another frequent error is using only a constant numerator over the quadratic factor \( 1+x^2 \) instead of the correct linear form \( Bx + C \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write the partial fraction form: The denominator \( (1-x)(1+x^2) \) has a linear factor \( (1-x) \) and an irreducible quadratic factor \( (1+x^2) \). Over a linear factor we place a constant, and over an irreducible quadratic we place a linear expression. So we write: \[ \frac{2}{(1-x)(1+x^2)} = \frac{A}{1-x} + \frac{Bx+C}{1+x^2} \] Reason: This is the standard partial-fraction template — the form of each numerator must be one degree lower than its denominator.
  2. Step 2: Clear the denominators: Multiply both sides by \( (1-x)(1+x^2) \) to eliminate all fractions: \[ 2 = A(1+x^2) + (Bx+C)(1-x) \] Reason: Clearing denominators converts the equation into a polynomial identity, which is much easier to work with when comparing coefficients.
  3. Step 3: Find A by substituting a convenient value: Set \( x = 1 \) so that the factor \( (1-x) \) becomes zero and the second term vanishes: \[ 2 = A(1+1^2) + (B\cdot 1+C)(1-1) \] \[ 2 = 2A \] Therefore \( A = 1 \). Reason: Choosing \( x = 1 \) isolates \( A \) immediately, avoiding the need to solve a simultaneous system at this stage.
  4. Step 4: Expand and group by powers of x: Substitute \( A = 1 \) and expand the right-hand side: \[ 2 = (1)(1+x^2) + (Bx+C)(1-x) \] \[ 2 = 1 + x^2 + Bx - Bx^2 + C - Cx \] Grouping by degree: \[ 2 = (1-B)x^2 + (B-C)x + (1+C) \] Reason: Expanding and regrouping turns the equation into a comparison of polynomial coefficients, which gives us a system to find \( B \) and \( C \).
  5. Step 5: Compare coefficients to find B and C: Match coefficients of each power on both sides (left side: \( 0 \cdot x^2 + 0 \cdot x + 2 \)): Coefficient of \( x^2 \): \( 1 - B = 0 \) so \( B = 1 \). Coefficient of \( x \): \( B - C = 0 \) so \( C = B = 1 \). Constant term (check): \( 1 + C = 1 + 1 = 2 \) — this matches. Reason: A polynomial identity holds for all \( x \), so the coefficient of every power must agree on both sides.
  6. Step 6: Rewrite the integrand using the partial fractions: With \( A = 1,\, B = 1,\, C = 1 \), the decomposition becomes: \[ \frac{2}{(1-x)(1+x^2)} = \frac{1}{1-x} + \frac{x+1}{1+x^2} \] Split the second fraction for easier integration: \[ \frac{x+1}{1+x^2} = \frac{x}{1+x^2} + \frac{1}{1+x^2} \] Reason: Writing \( \frac{x+1}{1+x^2} \) as two separate terms lets us match each term to a standard integral formula directly.
  7. Step 7: Integrate each term separately: Now integrate term by term: For \( \frac{1}{1-x} \): note the derivative of \( (1-x) \) is \( -1 \), so \[ \int \frac{1}{1-x}\,dx = -\log|1-x| \] For \( \frac{x}{1+x^2} \): the derivative of \( (1+x^2) \) is \( 2x \), so \[ \int \frac{x}{1+x^2}\,dx = \frac{1}{2}\log(1+x^2) \] For \( \frac{1}{1+x^2} \): this is the standard inverse-tangent form, \[ \int \frac{1}{1+x^2}\,dx = \tan^{-1}x \] Reason: Each piece now matches the formula \( \int \frac{f'(x)}{f(x)}\,dx = \log|f(x)| + C \) or the formula \( \int \frac{1}{1+x^2}\,dx = \tan^{-1}x + C \).
  8. Step 8: Combine all results: Adding the three integrals and including the constant of integration \( C \): \[ \int \frac{2}{(1-x)(1+x^2)}\,dx = -\log|1-x| + \frac{1}{2}\log(1+x^2) + \tan^{-1}x + C \] Reason: The integral of a sum equals the sum of the integrals, so we simply collect all three results into one expression.

Final Answer

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

Common Mistake

One common mistake: Students often write \( \frac{B}{1+x^2} \) (a constant) instead of \( \frac{Bx+C}{1+x^2} \) (a linear numerator) for the irreducible quadratic factor — the numerator over a quadratic must be one degree lower than the quadratic, i.e., linear, not constant. Using just a constant causes the system of equations for the coefficients to be inconsistent, giving a wrong decomposition.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Partial Fraction Setup: Write \[ \frac{2}{(1-x)(1+x^2)} = \frac{A}{1-x} + \frac{Bx+C}{1+x^2} \] so that \[ 2 = A(1+x^2) + (Bx+C)(1-x). \] Substituting \( x = 1 \): \( 2 = 2A \Rightarrow A = 1 \).
  2. Step 2: Find B and C: Expanding and grouping by powers: \[ 2 = (A-B)x^2 + (B-C)x + (A+C). \] Comparing coefficients: \( A - B = 0 \Rightarrow B = 1 \); \( B - C = 0 \Rightarrow C = 1 \).
  3. Step 3: Integrate Each Partial Fraction: \[ \int \frac{2}{(1-x)(1+x^2)}\,dx = \int \frac{1}{1-x}\,dx + \int \frac{x}{1+x^2}\,dx + \int \frac{1}{1+x^2}\,dx \] \[ = -\log|1-x| + \frac{1}{2}\log(1+x^2) + \tan^{-1}x + C. \]

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

➕ More Examples

More Examples

Example 1

Question: Integrate the rational function \[\frac{3}{(1+x)(1+x^2)}\]

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)\] Substituting \(x = -1\): \[3 = A(1+1) + 0 = 2A\] so \(A = \frac{3}{2}\). Expanding the right side: \[3 = A + Ax^2 + Bx + Bx^2 + C + Cx\] Collecting terms: \[3 = (A+C) + (B+C)x + (A+B)x^2\] Comparing constant terms: \(A + C = 3\), so \(C = 3 - \frac{3}{2} = \frac{3}{2}\). Comparing coefficients of \(x^2\): \(A + B = 0\), so \(B = -\frac{3}{2}\). (Check coefficient of \(x\): \(B + C = -\frac{3}{2} + \frac{3}{2} = 0\). Consistent.) Therefore: \[\frac{3}{(1+x)(1+x^2)} = \frac{3/2}{1+x} + \frac{-\frac{3}{2}x + \frac{3}{2}}{1+x^2}\] Now integrate: \[I = \int \frac{3}{(1+x)(1+x^2)} \, 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\] For the first integral: \[\int \frac{1}{1+x} \, dx = \ln|1+x|\] For the second integral, let \(u = 1+x^2\), \(du = 2x \, dx\): \[\int \frac{x}{1+x^2} \, dx = \frac{1}{2}\ln(1+x^2)\] For the third integral: \[\int \frac{1}{1+x^2} \, dx = \tan^{-1} x\] Combining: \[I = \frac{3}{2}\ln|1+x| - \frac{3}{4}\ln(1+x^2) + \frac{3}{2}\tan^{-1} x + C\]

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

Example 2

Question: Integrate the rational function \[\frac{x^2+1}{(x-1)(x^2+4)}\]

Solution: We use partial fractions. Write \[\frac{x^2+1}{(x-1)(x^2+4)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+4}\] Multiplying both sides by \((x-1)(x^2+4)\): \[x^2 + 1 = A(x^2+4) + (Bx+C)(x-1)\] Substituting \(x = 1\): \[1 + 1 = A(1+4) + 0 = 5A\] so \(A = \frac{2}{5}\). Expanding the right side: \[x^2+1 = Ax^2 + 4A + Bx^2 - Bx + Cx - C\] Collecting by powers of \(x\): \[x^2+1 = (A+B)x^2 + (-B+C)x + (4A-C)\] Comparing coefficients of \(x^2\): \(A + B = 1\), so \(B = 1 - \frac{2}{5} = \frac{3}{5}\). Comparing constant terms: \(4A - C = 1\), so \(C = 4A - 1 = \frac{8}{5} - 1 = \frac{3}{5}\). (Check coefficient of \(x\): \(-B + C = -\frac{3}{5} + \frac{3}{5} = 0\). Consistent.) Therefore: \[\frac{x^2+1}{(x-1)(x^2+4)} = \frac{2/5}{x-1} + \frac{\frac{3}{5}x + \frac{3}{5}}{x^2+4}\] Now integrate: \[I = \frac{2}{5}\int \frac{1}{x-1} \, dx + \frac{3}{5}\int \frac{x}{x^2+4} \, dx + \frac{3}{5}\int \frac{1}{x^2+4} \, dx\] For the first integral: \[\int \frac{1}{x-1} \, dx = \ln|x-1|\] For the second integral, let \(u = x^2+4\), \(du = 2x \, dx\): \[\int \frac{x}{x^2+4} \, dx = \frac{1}{2}\ln(x^2+4)\] For the third integral: \[\int \frac{1}{x^2+4} \, dx = \frac{1}{2}\tan^{-1}\left(\frac{x}{2}\right)\] Combining: \[I = \frac{2}{5}\ln|x-1| + \frac{3}{10}\ln(x^2+4) + \frac{3}{10}\tan^{-1}\left(\frac{x}{2}\right) + C\]

Answer: \(\dfrac{2}{5}\ln|x-1| + \dfrac{3}{10}\ln(x^2+4) + \dfrac{3}{10}\tan^{-1}\!\left(\dfrac{x}{2}\right) + C\)

🎯 Try a Similar Question

Try a Similar Question

Question: Integrate the rational function: \[\frac{3}{(1+x)(1+x^2)}\]

Solution

  1. Step 1: Set up Partial Fractions: We write the integrand as a sum of partial fractions. Since \( (1+x) \) is a linear factor and \( (1+x^2) \) is an irreducible quadratic factor, we assume: \[\frac{3}{(1+x)(1+x^2)} = \frac{A}{1+x} + \frac{Bx + C}{1+x^2}\] where \( A \), \( B \), and \( C \) are constants to be determined.
  2. Step 2: Multiply Both Sides by the Common Denominator: Multiplying both sides by \( (1+x)(1+x^2) \): \[3 = A(1+x^2) + (Bx+C)(1+x)\] Expanding the right-hand 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)\]
  3. Step 3: Compare Coefficients: Comparing coefficients of \( x^2 \), \( x \), and the constant term on both sides: \[A + B = 0\] \[B + C = 0\] \[A + C = 3\]
  4. Step 4: Solve the System of Equations: 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}\] Therefore \( B = -\frac{3}{2} \) and \( C = \frac{3}{2} \).
  5. Step 5: Rewrite the Integrand: Substituting the values of \( A \), \( B \), \( C \): \[\frac{3}{(1+x)(1+x^2)} = \frac{3/2}{1+x} + \frac{-\frac{3}{2}x + \frac{3}{2}}{1+x^2}\] This simplifies to: \[\frac{3}{(1+x)(1+x^2)} = \frac{3}{2} \cdot \frac{1}{1+x} - \frac{3}{2} \cdot \frac{x}{1+x^2} + \frac{3}{2} \cdot \frac{1}{1+x^2}\]
  6. Step 6: Integrate Term by Term: Now we integrate each term separately: \[\int \frac{3}{(1+x)(1+x^2)} \, 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\] For the first integral: \[\frac{3}{2}\int \frac{1}{1+x} \, dx = \frac{3}{2}\log|1+x|\] For the second integral, we use the substitution \( u = 1+x^2 \), so \( du = 2x \, dx \): \[\frac{3}{2}\int \frac{x}{1+x^2} \, dx = \frac{3}{2} \cdot \frac{1}{2}\log(1+x^2) = \frac{3}{4}\log(1+x^2)\] For the third integral: \[\frac{3}{2}\int \frac{1}{1+x^2} \, dx = \frac{3}{2}\tan^{-1} x\]
  7. Step 7: Combine the Results: Putting all the pieces together: \[\int \frac{3}{(1+x)(1+x^2)} \, dx = \frac{3}{2}\log|1+x| - \frac{3}{4}\log(1+x^2) + \frac{3}{2}\tan^{-1} x + C\]

Answer: \[\int \frac{3}{(1+x)(1+x^2)} \, dx = \frac{3}{2}\log|1+x| - \frac{3}{4}\log(1+x^2) + \frac{3}{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)