SOLVER7 Study. Nothing Else.
Exercise 7.5 Q7

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

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a big, complicated fraction that is very hard to work with. You can break it into smaller, friendlier pieces — like splitting a large bill into smaller coins. Each small piece is easy to handle on its own. Here, the fraction gets split into parts that each match a simple pattern we already know how to solve. Adding all the easy answers together gives us the final result.

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

📖 Integrating a Rational Function by Partial Fractions

Detailed Explanation

A rational function is a ratio of two polynomials. When the degree of the numerator is less than the degree of the denominator, we can split it into simpler fractions called partial fractions, which are easy to integrate. Here the denominator is \((x^2+1)(x-1)\). The factor \(x-1\) is linear, so it contributes a term \(\dfrac{A}{x-1}\). The factor \(x^2+1\) is an irreducible quadratic (it cannot be factorised into real linear factors), so it contributes a term of the form \(\dfrac{Bx+C}{x^2+1}\). After finding the constants, each piece integrates using standard results.

Formula Used

Partial fraction form: \[\frac{x}{(x^2+1)(x-1)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+1}\] Standard integrals used: \[\int \frac{dx}{x-1} = \ln|x-1| + C, \quad \int \frac{x}{x^2+1}\,dx = \tfrac{1}{2}\ln(x^2+1) + C, \quad \int \frac{dx}{x^2+1} = \tan^{-1} x + C\]

Solution

  1. Step 1: Set up the partial fraction decomposition. Since the denominator has a linear factor \(x-1\) and an irreducible quadratic \(x^2+1\), write \[\frac{x}{(x^2+1)(x-1)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+1}.\]
  2. Step 2: Multiply both sides by \((x^2+1)(x-1)\) to clear denominators: \[x = A(x^2+1) + (Bx+C)(x-1).\] This identity must hold for all values of \(x\).
  3. Step 3: Find \(A\) by substituting \(x = 1\): \[1 = A(1^2+1) + (B\cdot 1 + C)(1-1).\] The second term vanishes, so \[1 = 2A \Rightarrow A = \tfrac{1}{2}.\]
  4. Step 4: Find \(B\) and \(C\) by comparing coefficients. Expand the right side: \[x = A x^2 + A + Bx^2 - Bx + Cx - C.\] Grouping gives \[x = (A+B)x^2 + (-B+C)x + (A-C).\] Comparing the coefficient of \(x^2\): \(A+B = 0\), so \(B = -\tfrac{1}{2}\). Comparing the constant term: \(A - C = 0\), so \(C = \tfrac{1}{2}\). (Check with the coefficient of \(x\): \(-B+C = \tfrac{1}{2}+\tfrac{1}{2}=1\), correct.)
  5. Step 5: Substitute the constants back: \[\frac{x}{(x^2+1)(x-1)} = \frac{1}{2}\cdot\frac{1}{x-1} + \frac{-\tfrac{1}{2}x + \tfrac{1}{2}}{x^2+1}.\] So the integral becomes \[\int \frac{x}{(x^2+1)(x-1)}\,dx = \frac{1}{2}\int \frac{dx}{x-1} - \frac{1}{2}\int \frac{x}{x^2+1}\,dx + \frac{1}{2}\int \frac{dx}{x^2+1}.\]
  6. Step 6: Integrate each term using standard results: \[\int \frac{dx}{x-1} = \ln|x-1|,\] \[\int \frac{x}{x^2+1}\,dx = \frac{1}{2}\ln(x^2+1),\] \[\int \frac{dx}{x^2+1} = \tan^{-1} x.\]
  7. Step 7: Combine everything with the constants: \[\frac{1}{2}\ln|x-1| - \frac{1}{2}\cdot\frac{1}{2}\ln(x^2+1) + \frac{1}{2}\tan^{-1} x + C.\] This simplifies to \[\frac{1}{2}\ln|x-1| - \frac{1}{4}\ln(x^2+1) + \frac{1}{2}\tan^{-1} x + C.\]

Final Answer

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

Common Mistake

A frequent error is writing the quadratic factor's numerator as just a constant \(\dfrac{B}{x^2+1}\) instead of \(\dfrac{Bx+C}{x^2+1}\). For an irreducible quadratic factor, the numerator must be a linear term \(Bx+C\); using only a constant loses part of the answer and gives the wrong result.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write the partial fraction decomposition. Because the denominator has a linear factor \(x-1\) and an irreducible quadratic factor \(x^2+1\), we write \[\frac{x}{(x^2+1)(x-1)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+1}.\] Reason: A linear factor always contributes a constant numerator, while an irreducible quadratic contributes a linear numerator of the form \(Bx + C\).
  2. Step 2: Clear the denominators by multiplying both sides by \((x^2+1)(x-1)\): \[x = A(x^2+1) + (Bx+C)(x-1).\] Reason: Removing all denominators converts the fractional identity into a polynomial identity that holds for every value of \(x\), making it easy to compare coefficients or substitute convenient values.
  3. Step 3: Substitute \(x = 1\) to isolate \(A\): \[1 = A(1^2+1) + (B\cdot 1 + C)(1-1).\] The second term vanishes, leaving \(1 = 2A\), so \[A = \frac{1}{2}.\] Reason: Choosing \(x = 1\) makes the factor \((x-1)\) zero, which kills the \(Bx+C\) term and lets us solve for \(A\) immediately.
  4. Step 4: Expand the right-hand side and compare coefficients to find \(B\) and \(C\). Expanding \(A(x^2+1)+(Bx+C)(x-1)\) gives \[(A+B)x^2 + (-B+C)x + (A-C).\] Matching each power of \(x\) with the left side \(x = 0\cdot x^2 + 1\cdot x + 0\): \nCoefficient of \(x^2\): \(A + B = 0\), so \(B = -A = -\dfrac{1}{2}\). \nCoefficient of \(x^0\) (constant): \(A - C = 0\), so \(C = A = \dfrac{1}{2}\). \nReason: Since the polynomial identity holds for ALL \(x\), coefficients of every power must match separately.
  5. Step 5: Substitute the values \(A = \dfrac{1}{2}\), \(B = -\dfrac{1}{2}\), \(C = \dfrac{1}{2}\) back into the decomposition: \[\frac{x}{(x^2+1)(x-1)} = \frac{1/2}{x-1} + \frac{-\tfrac{1}{2}x + \tfrac{1}{2}}{x^2+1}.\] Splitting the second fraction: \[\frac{x}{(x^2+1)(x-1)} = \frac{1}{2}\cdot\frac{1}{x-1} - \frac{1}{2}\cdot\frac{x}{x^2+1} + \frac{1}{2}\cdot\frac{1}{x^2+1}.\] Reason: Writing the decomposition explicitly in this split form lets us apply one standard formula to each piece.
  6. Step 6: Integrate each piece separately using the standard results: \[\int \frac{1}{2}\cdot\frac{1}{x-1}\,dx = \frac{1}{2}\ln|x-1|.\] \[\int -\frac{1}{2}\cdot\frac{x}{x^2+1}\,dx = -\frac{1}{2}\cdot\frac{1}{2}\ln(x^2+1) = -\frac{1}{4}\ln(x^2+1).\] \[\int \frac{1}{2}\cdot\frac{1}{x^2+1}\,dx = \frac{1}{2}\tan^{-1} x.\] Reason: Each piece now matches a known integral formula, so no further manipulation is needed.
  7. Step 7: Combine all three results and add the constant of integration: \[\int \frac{x}{(x^2+1)(x-1)}\,dx = \frac{1}{2}\ln|x-1| - \frac{1}{4}\ln(x^2+1) + \frac{1}{2}\tan^{-1} x + C.\] Reason: The integral of a sum equals the sum of the integrals, so we simply collect the three antiderivatives into one expression.

Final Answer

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

Common Mistake

One common mistake: writing the numerator for the irreducible quadratic factor as just a constant \(C\) instead of a full linear expression \(Bx + C\) — this leads to an incorrect decomposition and wrong values for the constants.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Clear denominators and find A: Multiply through: \[x = A(x^2+1) + (Bx+C)(x-1).\] Set \(x = 1\): \(1 = 2A\), so \(A = \dfrac{1}{2}\).
  2. Step 2: Find B and C by comparing coefficients: Expanding: \[x = (A+B)x^2 + (C-B)x + (A-C).\] Coefficient of \(x^2\): \(A + B = 0 \Rightarrow B = -\dfrac{1}{2}\). Constant term: \(A - C = 0 \Rightarrow C = \dfrac{1}{2}\).
  3. Step 3: Integrate each partial fraction: \[\int \frac{x}{(x^2+1)(x-1)}\,dx = \frac{1}{2}\int \frac{dx}{x-1} + \int \frac{-\frac{1}{2}x + \frac{1}{2}}{x^2+1}\,dx\] \[= \frac{1}{2}\ln|x-1| - \frac{1}{4}\int \frac{2x}{x^2+1}\,dx + \frac{1}{2}\int \frac{dx}{x^2+1}\]

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

➕ More Examples

More Examples

Example 1

Question: Integrate the rational function \(\dfrac{2x}{(x^2+4)(x+2)}\) with respect to \(x\).

Solution: We need to evaluate \(\displaystyle\int \frac{2x}{(x^2+4)(x+2)}\,dx\). Step 1: Set up the partial fraction decomposition. We write: \[\frac{2x}{(x^2+4)(x+2)} = \frac{A}{x+2} + \frac{Bx+C}{x^2+4}\] Multiplying both sides by \((x^2+4)(x+2)\): \[2x = A(x^2+4) + (Bx+C)(x+2)\] Step 2: Find constants A, B, C. Putting \(x = -2\): \[2(-2) = A(4+4) + 0\] \[-4 = 8A\] \[A = -\frac{1}{2}\] Expanding the right side: \[2x = A x^2 + 4A + Bx^2 + 2Bx + Cx + 2C\] \[2x = (A+B)x^2 + (2B+C)x + (4A+2C)\] Comparing coefficients of \(x^2\): \[0 = A + B \implies B = -A = \frac{1}{2}\] Comparing coefficients of \(x^0\) (constant term): \[0 = 4A + 2C \implies 2C = -4A = 2 \implies C = 1\] Verification using coefficient of \(x\): \(2B + C = 2\cdot\frac{1}{2} + 1 = 2\). Correct. So the decomposition is: \[\frac{2x}{(x^2+4)(x+2)} = \frac{-\frac{1}{2}}{x+2} + \frac{\frac{1}{2}x+1}{x^2+4}\] Step 3: Integrate each term. \[\int \frac{2x}{(x^2+4)(x+2)}\,dx = -\frac{1}{2}\int\frac{1}{x+2}\,dx + \frac{1}{2}\int\frac{x}{x^2+4}\,dx + \int\frac{1}{x^2+4}\,dx\] For the first integral: \[\int\frac{1}{x+2}\,dx = \ln|x+2|\] For the second integral, using the substitution \(u = x^2+4\): \[\int\frac{x}{x^2+4}\,dx = \frac{1}{2}\ln(x^2+4)\] For the third integral, using \(\int\frac{1}{x^2+a^2}\,dx = \frac{1}{a}\tan^{-1}\frac{x}{a}+C\) with \(a=2\): \[\int\frac{1}{x^2+4}\,dx = \frac{1}{2}\tan^{-1}\frac{x}{2}\] Combining: \[\int \frac{2x}{(x^2+4)(x+2)}\,dx = -\frac{1}{2}\ln|x+2| + \frac{1}{2}\cdot\frac{1}{2}\ln(x^2+4) + \frac{1}{2}\tan^{-1}\frac{x}{2} + C\] \[= -\frac{1}{2}\ln|x+2| + \frac{1}{4}\ln(x^2+4) + \frac{1}{2}\tan^{-1}\frac{x}{2} + C\]

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

Example 2

Question: Integrate the rational function \(\dfrac{3x+1}{(x^2+1)(x-2)}\) with respect to \(x\).

Solution: We need to evaluate \(\displaystyle\int \frac{3x+1}{(x^2+1)(x-2)}\,dx\). Step 1: Set up the partial fraction decomposition. We write: \[\frac{3x+1}{(x^2+1)(x-2)} = \frac{A}{x-2} + \frac{Bx+C}{x^2+1}\] Multiplying both sides by \((x^2+1)(x-2)\): \[3x+1 = A(x^2+1) + (Bx+C)(x-2)\] Step 2: Find constants A, B, C. Putting \(x = 2\): \[7 = A(5) + 0 \implies A = \frac{7}{5}\] Expanding the right side: \[3x+1 = Ax^2 + A + Bx^2 - 2Bx + Cx - 2C\] \[3x+1 = (A+B)x^2 + (-2B+C)x + (A-2C)\] Comparing coefficients of \(x^2\): \[0 = A + B \implies B = -A = -\frac{7}{5}\] Comparing coefficients of \(x^0\): \[1 = A - 2C \implies 2C = A - 1 = \frac{7}{5} - 1 = \frac{2}{5} \implies C = \frac{1}{5}\] Verification using coefficient of \(x\): \(-2B + C = \frac{14}{5} + \frac{1}{5} = 3\). Correct. So the decomposition is: \[\frac{3x+1}{(x^2+1)(x-2)} = \frac{\frac{7}{5}}{x-2} + \frac{-\frac{7}{5}x+\frac{1}{5}}{x^2+1}\] Step 3: Integrate each term. \[\int \frac{3x+1}{(x^2+1)(x-2)}\,dx = \frac{7}{5}\int\frac{1}{x-2}\,dx - \frac{7}{5}\int\frac{x}{x^2+1}\,dx + \frac{1}{5}\int\frac{1}{x^2+1}\,dx\] For the first integral: \[\int\frac{1}{x-2}\,dx = \ln|x-2|\] For the second integral: \[\int\frac{x}{x^2+1}\,dx = \frac{1}{2}\ln(x^2+1)\] For the third integral: \[\int\frac{1}{x^2+1}\,dx = \tan^{-1}x\] Combining: \[\int \frac{3x+1}{(x^2+1)(x-2)}\,dx = \frac{7}{5}\ln|x-2| - \frac{7}{5}\cdot\frac{1}{2}\ln(x^2+1) + \frac{1}{5}\tan^{-1}x + C\] \[= \frac{7}{5}\ln|x-2| - \frac{7}{10}\ln(x^2+1) + \frac{1}{5}\tan^{-1}x + C\]

Answer: \(\dfrac{7}{5}\ln|x-2| - \dfrac{7}{10}\ln(x^2+1) + \dfrac{1}{5}\tan^{-1}x + C\)

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1 – Set up partial fractions: Since \(x^2+4\) is an irreducible quadratic and \((x+1)\) is a linear factor, we write \[\frac{2x+1}{(x^2+4)(x+1)} = \frac{Ax+B}{x^2+4} + \frac{C}{x+1}.\] Multiplying both sides by \((x^2+4)(x+1)\) gives \[2x+1 = (Ax+B)(x+1) + C(x^2+4).\]
  2. Step 2 – Find constant C: Substitute \(x = -1\) into \[2x+1 = (Ax+B)(x+1)+C(x^2+4).\] We get \(-2+1 = 0 + C(1+4)\), so \(-1 = 5C\), giving \[C = -\frac{1}{5}.\]
  3. Step 3 – Expand and compare coefficients: Expanding the right side: \[(Ax+B)(x+1)+C(x^2+4) = Ax^2+Ax+Bx+B+Cx^2+4C.\] Collecting by powers of \(x\): the coefficient of \(x^2\) is \(A+C\), of \(x\) is \(A+B\), and the constant is \(B+4C\). Comparing with \(2x+1\) (i.e. \(0 \cdot x^2 + 2x+1\)):
  4. Step 4 – Solve for A and B: From \(A+C=0\) and \(C = -\tfrac{1}{5}\), we get \(A = \tfrac{1}{5}\). From \(B+4C=1\), we get \(B = 1 - 4\left(-\tfrac{1}{5}\right) = 1+\tfrac{4}{5} = \tfrac{9}{5}\). We can verify: \(A+B = \tfrac{1}{5}+\tfrac{9}{5} = 2\) ✓.
  5. Step 5 – Rewrite the integral: The partial fraction decomposition is \[\frac{2x+1}{(x^2+4)(x+1)} = \frac{\frac{1}{5}x+\frac{9}{5}}{x^2+4} + \frac{-\frac{1}{5}}{x+1}.\] So the integral becomes \[I = \int \frac{\frac{1}{5}x+\frac{9}{5}}{x^2+4}\,dx - \frac{1}{5}\int \frac{1}{x+1}\,dx.\]
  6. Step 6 – Split the first integral: Write \[\int \frac{\frac{1}{5}x+\frac{9}{5}}{x^2+4}\,dx = \frac{1}{5}\int \frac{x}{x^2+4}\,dx + \frac{9}{5}\int \frac{1}{x^2+4}\,dx.\] For the first part, use \(\int \frac{x}{x^2+4}\,dx = \frac{1}{2}\ln(x^2+4)+C_1\). For the second part, use \(\int \frac{1}{x^2+4}\,dx = \frac{1}{2}\tan^{-1}\frac{x}{2}+C_2\).
  7. Step 7 – Combine all parts: Putting everything together: \[I = \frac{1}{5}\cdot\frac{1}{2}\ln(x^2+4) + \frac{9}{5}\cdot\frac{1}{2}\tan^{-1}\frac{x}{2} - \frac{1}{5}\ln|x+1| + C.\] Simplifying the coefficients: \[I = \frac{1}{10}\ln(x^2+4) + \frac{9}{10}\tan^{-1}\frac{x}{2} - \frac{1}{5}\ln|x+1| + C.\]

Answer: \[\int \frac{2x+1}{(x^2+4)(x+1)}\,dx = \frac{1}{10}\ln(x^2+4) + \frac{9}{10}\tan^{-1}\frac{x}{2} - \frac{1}{5}\ln|x+1| + 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)