SOLVER7 Study. Nothing Else.
Exercise 7.5 Q8

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

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a complicated fraction that is really hard to swallow whole. Breaking it into smaller, friendlier pieces makes it much easier to handle. That is exactly what we do here — we split one big, messy fraction into three simpler ones. Each small piece is easy to add up on its own. It is like splitting a big bill at a restaurant among friends so nobody has to pay too much at once.

Answer: \[\int \frac{x}{(x-1)^2(x+2)}\,dx = \frac{2}{9}\ln\left|\frac{x-1}{x+2}\right| - \frac{1}{3(x-1)} + C\]

📖 Integrating x/((x-1)^2(x+2)) using Partial Fractions

Detailed Explanation

When we integrate a rational function (a ratio of polynomials) whose degree of numerator is less than the degree of the denominator, we split it into simpler fractions called partial fractions. Here the denominator has a repeated linear factor \( (x-1)^2 \) and a distinct linear factor \( (x+2) \). The rule for a repeated factor \( (x-1)^2 \) is to include TWO terms: one with \( (x-1) \) and one with \( (x-1)^2 \). Once split, each piece integrates easily using standard formulas for \( \int \frac{1}{x-a}\,dx \) and power rule.

Formula Used

For a repeated linear factor: \[\frac{x}{(x-1)^2(x+2)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+2}\] and \[\int \frac{1}{x-a}\,dx = \ln|x-a| + C, \qquad \int (x-a)^{-2}\,dx = -\frac{1}{x-a} + C\]

Solution

  1. Step 1: Set up the partial fraction form. Because \( (x-1)^2 \) is a repeated factor, we write \[\frac{x}{(x-1)^2(x+2)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+2}.\]
  2. Step 2: Multiply both sides by \( (x-1)^2(x+2) \) to clear denominators: \[x = A(x-1)(x+2) + B(x+2) + C(x-1)^2.\]
  3. Step 3: Find \( B \) by substituting \( x = 1 \). Then \[1 = A(0) + B(3) + C(0),\] so \[3B = 1 \Rightarrow B = \frac{1}{3}.\]
  4. Step 4: Find \( C \) by substituting \( x = -2 \). Then \[-2 = A(0) + B(0) + C(-3)^2,\] so \[9C = -2 \Rightarrow C = -\frac{2}{9}.\]
  5. Step 5: Find \( A \) by comparing coefficients of \( x^2 \). Expanding, the \( x^2 \) terms come from \( A(x^2) \) and \( C(x^2) \), giving \[A + C = 0.\] Since \( C = -\frac{2}{9} \), we get \[A = \frac{2}{9}.\]
  6. Step 6: Rewrite the integral using the found values: \[\int \frac{x}{(x-1)^2(x+2)}\,dx = \int \left( \frac{2/9}{x-1} + \frac{1/3}{(x-1)^2} - \frac{2/9}{x+2} \right) dx.\]
  7. Step 7: Integrate each term separately. Using the standard formulas: \[\int \frac{2/9}{x-1}\,dx = \frac{2}{9}\ln|x-1|,\] \[\int \frac{1/3}{(x-1)^2}\,dx = \frac{1}{3}\left(-\frac{1}{x-1}\right) = -\frac{1}{3(x-1)},\] \[\int \frac{2/9}{x+2}\,dx = \frac{2}{9}\ln|x+2|.\]
  8. Step 8: Combine all terms and add the constant of integration. The two logarithms can be joined into one using \( \ln a - \ln b = \ln\frac{a}{b} \): \[\frac{2}{9}\ln\left|\frac{x-1}{x+2}\right| - \frac{1}{3(x-1)} + C.\]

Final Answer

\[\int \frac{x}{(x-1)^2(x+2)}\,dx = \frac{2}{9}\ln\left|\frac{x-1}{x+2}\right| - \frac{1}{3(x-1)} + C\]

Common Mistake

A very common error is forgetting the second term \( \frac{B}{(x-1)^2} \) for the repeated factor and writing only \( \frac{A}{x-1} + \frac{C}{x+2} \). A repeated linear factor of power 2 must always produce two separate fractions, otherwise the decomposition is incomplete and gives a wrong answer.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write the partial fraction decomposition: Because the denominator contains the repeated linear factor \((x-1)^2\) and the distinct linear factor \((x+2)\), we must include a separate term for each power of the repeated factor. Write: \[\frac{x}{(x-1)^2(x+2)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+2}\] — Reason: A repeated factor \((x-1)^2\) always demands two partial-fraction terms (one for the first power, one for the second); otherwise the decomposition is incomplete.
  2. Step 2: Clear the denominators: Multiply every term on both sides by \((x-1)^2(x+2)\): \[x = A(x-1)(x+2) + B(x+2) + C(x-1)^2\] — Reason: Removing the denominators turns the equation into a polynomial identity, making it straightforward to compare coefficients or substitute convenient values of \(x\).
  3. Step 3: Find B by substituting x = 1: Put \(x = 1\) into \(x = A(x-1)(x+2) + B(x+2) + C(x-1)^2\). The terms containing \(A\) and \(C\) both vanish (since \(x-1 = 0\)), leaving: \[1 = B(1+2) = 3B\] Solving: \[B = \frac{1}{3}\] — Reason: Choosing \(x = 1\) zeros out two of the three unknowns at once, isolating \(B\) instantly.
  4. Step 4: Find C by substituting x = -2: Put \(x = -2\) into \(x = A(x-1)(x+2) + B(x+2) + C(x-1)^2\). The terms with \(A\) and \(B\) vanish (since \(x+2 = 0\)), leaving: \[-2 = C(-2-1)^2 = 9C\] Solving: \[C = -\frac{2}{9}\] — Reason: Choosing \(x = -2\) is the natural root of the factor \((x+2)\) and isolates \(C\) in a single step.
  5. Step 5: Find A by comparing coefficients of x²: Expand the right-hand side of \(x = A(x-1)(x+2) + B(x+2) + C(x-1)^2\). The coefficient of \(x^2\) on the left is \(0\). On the right, \(x^2\) appears only in \(A(x^2 + x - 2)\) and \(C(x^2 - 2x + 1)\), giving coefficient \(A + C\). So: \[A + C = 0 \implies A = -C = \frac{2}{9}\] — Reason: After finding \(B\) and \(C\) by substitution, comparing the \(x^2\) coefficient is the quickest way to pin down \(A\) without expanding everything.
  6. Step 6: Rewrite the integral using partial fractions: Substitute \(A = \frac{2}{9}\), \(B = \frac{1}{3}\), \(C = -\frac{2}{9}\) into the decomposition: \[\int \frac{x}{(x-1)^2(x+2)}\,dx = \int \frac{2/9}{x-1}\,dx + \int \frac{1/3}{(x-1)^2}\,dx + \int \frac{-2/9}{x+2}\,dx\] — Reason: Each piece is now a simple standard integral; the hard work of the decomposition is complete.
  7. Step 7: Integrate each term separately: Apply the standard formulas term by term. First term: \[\int \frac{2/9}{x-1}\,dx = \frac{2}{9}\ln|x-1|\] Second term: \[\int \frac{1/3}{(x-1)^2}\,dx = \frac{1}{3}\cdot\left(-\frac{1}{x-1}\right) = -\frac{1}{3(x-1)}\] Third term: \[\int \frac{-2/9}{x+2}\,dx = -\frac{2}{9}\ln|x+2|\] Combining the two logarithmic terms using the log difference rule \(\ln|x-1| - \ln|x+2| = \ln\left|\frac{x-1}{x+2}\right|\): \[\frac{2}{9}\ln|x-1| - \frac{2}{9}\ln|x+2| = \frac{2}{9}\ln\left|\frac{x-1}{x+2}\right|\] — Reason: Merging the logarithms into a single term simplifies the final answer and matches the standard compact form expected in CBSE examinations.

Final Answer

\[\int \frac{x}{(x-1)^2(x+2)}\,dx = \frac{2}{9}\ln\left|\frac{x-1}{x+2}\right| - \frac{1}{3(x-1)} + C\]

Common Mistake

One common mistake: When the denominator contains a repeated factor such as \((x-1)^2\), students often write only one term \(\frac{A}{(x-1)^2}\) and forget the additional term \(\frac{A}{x-1}\). This makes the decomposition incomplete and leads to wrong values of the constants — always include one partial-fraction term for every distinct power of the repeated factor, from the first power up to the highest.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Clear denominators: Multiply both sides by \((x-1)^2(x+2)\): \[x = A(x-1)(x+2) + B(x+2) + C(x-1)^2\]
  2. Step 2: Find constants: At \(x=1\): \(1 = 3B \Rightarrow B = \tfrac{1}{3}\). At \(x=-2\): \(-2 = 9C \Rightarrow C = -\tfrac{2}{9}\). Comparing \(x^2\) coefficients: \(A + C = 0 \Rightarrow A = \tfrac{2}{9}\).
  3. Step 3: Integrate each term: \[\int \frac{x}{(x-1)^2(x+2)}\,dx = \frac{2}{9}\int\frac{1}{x-1}\,dx + \frac{1}{3}\int(x-1)^{-2}\,dx - \frac{2}{9}\int\frac{1}{x+2}\,dx\]

Answer: \[\int \frac{x}{(x-1)^2(x+2)}\,dx = \frac{2}{9}\ln\left|\frac{x-1}{x+2}\right| - \frac{1}{3(x-1)} + C\]

➕ More Examples

More Examples

Example 1

Question: Evaluate \(\int \frac{2x}{(x+1)^2(x-3)} \, dx\).

Solution: We decompose the integrand into partial fractions. Write: \[\frac{2x}{(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 = A(x+1)(x-3) + B(x-3) + C(x+1)^2\] Substituting \(x = -1\): \[2(-1) = A(0)(-4) + B(-4) + C(0)\] So \(-2 = -4B\), giving \(B = \dfrac{1}{2}\). Substituting \(x = 3\): \[2(3) = A(4)(0) + B(0) + C(4)^2\] So \(6 = 16C\), giving \(C = \dfrac{3}{8}\). Substituting \(x = 0\): \[0 = A(1)(-3) + B(-3) + C(1)\] \[0 = -3A - \frac{3}{2} + \frac{3}{8}\] \[3A = -\frac{3}{2} + \frac{3}{8} = -\frac{12}{8} + \frac{3}{8} = -\frac{9}{8}\] So \(A = -\dfrac{3}{8}\). Now integrating: \[\int \frac{2x}{(x+1)^2(x-3)} \, dx = -\frac{3}{8}\int \frac{1}{x+1} \, dx + \frac{1}{2}\int \frac{1}{(x+1)^2} \, dx + \frac{3}{8}\int \frac{1}{x-3} \, dx\] Using \(\int \frac{1}{x+a} \, dx = \ln|x+a| + C\) and \(\int \frac{1}{(x+a)^2} \, dx = -\frac{1}{x+a} + C\): \[= -\frac{3}{8}\ln|x+1| - \frac{1}{2(x+1)} + \frac{3}{8}\ln|x-3| + C\] This can be written as: \[= \frac{3}{8}\ln\left|\frac{x-3}{x+1}\right| - \frac{1}{2(x+1)} + C\]

Answer: \(\dfrac{3}{8}\ln\left|\dfrac{x-3}{x+1}\right| - \dfrac{1}{2(x+1)} + C\)

Example 2

Question: Evaluate \(\int \frac{3x+1}{(x-2)^2(x+1)} \, dx\).

Solution: We decompose the integrand into partial fractions. Write: \[\frac{3x+1}{(x-2)^2(x+1)} = \frac{A}{x-2} + \frac{B}{(x-2)^2} + \frac{C}{x+1}\] Multiplying both sides by \((x-2)^2(x+1)\): \[3x+1 = A(x-2)(x+1) + B(x+1) + C(x-2)^2\] Substituting \(x = 2\): \[3(2)+1 = A(0)(3) + B(3) + C(0)\] So \(7 = 3B\), giving \(B = \dfrac{7}{3}\). Substituting \(x = -1\): \[3(-1)+1 = A(-3)(0) + B(0) + C(-3)^2\] So \(-2 = 9C\), giving \(C = -\dfrac{2}{9}\). Substituting \(x = 0\): \[1 = A(-2)(1) + B(1) + C(4)\] \[1 = -2A + \frac{7}{3} + 4\left(-\frac{2}{9}\right)\] \[1 = -2A + \frac{7}{3} - \frac{8}{9}\] \[1 = -2A + \frac{21}{9} - \frac{8}{9} = -2A + \frac{13}{9}\] \[2A = \frac{13}{9} - 1 = \frac{4}{9}\] So \(A = \dfrac{2}{9}\). Now integrating: \[\int \frac{3x+1}{(x-2)^2(x+1)} \, dx = \frac{2}{9}\int \frac{1}{x-2} \, dx + \frac{7}{3}\int \frac{1}{(x-2)^2} \, dx - \frac{2}{9}\int \frac{1}{x+1} \, dx\] Evaluating each integral: \[= \frac{2}{9}\ln|x-2| + \frac{7}{3}\cdot\left(-\frac{1}{x-2}\right) - \frac{2}{9}\ln|x+1| + C\] This simplifies to: \[= \frac{2}{9}\ln\left|\frac{x-2}{x+1}\right| - \frac{7}{3(x-2)} + C\]

Answer: \(\dfrac{2}{9}\ln\left|\dfrac{x-2}{x+1}\right| - \dfrac{7}{3(x-2)} + C\)

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Set Up Partial Fractions: We write the integrand in partial fraction form. Let \[\frac{2x}{(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)\) gives \[2x = A(x+1)(x-2) + B(x-2) + C(x+1)^2\]
  2. Step 2: Find Constant B: Substitute \(x = -1\) into \[2x = A(x+1)(x-2) + B(x-2) + C(x+1)^2\] to get \[2(-1) = A(0)(-3) + B(-3) + C(0)\] so \[-2 = -3B\] and therefore \(B = \frac{2}{3}\).
  3. Step 3: Find Constant C: Substitute \(x = 2\) into \[2x = A(x+1)(x-2) + B(x-2) + C(x+1)^2\] to get \[4 = A(3)(0) + B(0) + C(9)\] so \[4 = 9C\] and therefore \(C = \frac{4}{9}\).
  4. Step 4: Find Constant A: Expand the right-hand side of \[2x = A(x+1)(x-2) + B(x-2) + C(x+1)^2\] and compare coefficients of \(x^2\). The coefficient of \(x^2\) on the left is \(0\). On the right it is \(A + C\). So \[A + C = 0 \implies A = -C = -\frac{4}{9}\]
  5. Step 5: Verify Using Constant Term: Compare constant terms. Left side: \(0\). Right side: \(A(-2) + B(-2) + C(1) = -2A - 2B + C\). Substituting \(A = -\frac{4}{9}\), \(B = \frac{2}{3}\), \(C = \frac{4}{9}\): \[-2\left(-\frac{4}{9}\right) - 2\left(\frac{2}{3}\right) + \frac{4}{9} = \frac{8}{9} - \frac{12}{9} + \frac{4}{9} = 0\] This confirms our constants are correct.
  6. Step 6: Write the Partial Fraction Decomposition: We have \[\frac{2x}{(x+1)^2(x-2)} = \frac{-\frac{4}{9}}{x+1} + \frac{\frac{2}{3}}{(x+1)^2} + \frac{\frac{4}{9}}{x-2}\]
  7. Step 7: Integrate Each Term: Now integrate term by term: \[\int \frac{2x}{(x+1)^2(x-2)} \, dx = -\frac{4}{9}\int \frac{dx}{x+1} + \frac{2}{3}\int \frac{dx}{(x+1)^2} + \frac{4}{9}\int \frac{dx}{x-2}\] Recall that \(\int \frac{dx}{x+a} = \ln|x+a| + C\) and \(\int \frac{dx}{(x+a)^2} = -\frac{1}{x+a} + C\). So \[\int \frac{2x}{(x+1)^2(x-2)} \, dx = -\frac{4}{9}\ln|x+1| - \frac{2}{3(x+1)} + \frac{4}{9}\ln|x-2| + C\]
  8. Step 8: Simplify the Final Answer: Combining the logarithmic terms: \[\int \frac{2x}{(x+1)^2(x-2)} \, dx = \frac{4}{9}\ln\left|\frac{x-2}{x+1}\right| - \frac{2}{3(x+1)} + C\]

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