SOLVER7 Study. Nothing Else.
Exercise 7.5 Q9

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

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a big, messy fraction that is hard to work with. You can break it into smaller, friendlier pieces — like splitting a large bill among friends. Each small piece is easy to handle on its own. Here, the bottom part of the fraction hides a repeated factor, like the same friend appearing twice. Once you split everything apart, each tiny piece can be integrated using simple rules, and you put all the answers together at the end.

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

📖 Integrating (3x+5)/(x³−x²−x+1) using Partial Fractions

Detailed Explanation

When we integrate a rational function (a fraction of polynomials) whose numerator degree is less than the denominator degree, we break it into simpler fractions called partial fractions. To do this we must first factor the denominator. If a linear factor is repeated (appears squared), the partial fraction decomposition must include terms for both the first and second powers of that factor. Once split, each simple fraction can be integrated using standard formulas for logarithms and powers.

Formula Used

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

Solution

  1. Step 1: Factor the denominator. Group terms: \[x^3 - x^2 - x + 1 = x^2(x-1) - (x-1)\] \[= (x-1)(x^2-1) = (x-1)(x-1)(x+1)\] So the denominator is \[(x-1)^2(x+1)\] which has a repeated factor \((x-1)\).
  2. Step 2: Set up partial fractions. Since \((x-1)\) is repeated and \((x+1)\) is simple: \[\frac{3x+5}{(x-1)^2(x+1)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+1}\]
  3. Step 3: Clear denominators by multiplying both sides by \((x-1)^2(x+1)\): \[3x+5 = A(x-1)(x+1) + B(x+1) + C(x-1)^2\]
  4. Step 4: Find the constants using convenient values. Put \(x = 1\): \[3(1)+5 = B(1+1)\] \[8 = 2B \Rightarrow B = 4\] Put \(x = -1\): \[3(-1)+5 = C(-1-1)^2\] \[2 = 4C \Rightarrow C = \tfrac{1}{2}\]
  5. Step 5: Find \(A\) by comparing coefficients of \(x^2\). On the right side the \(x^2\) terms come from \(A(x^2) + C(x^2)\), giving coefficient \(A + C\). On the left there is no \(x^2\) term, so: \[A + C = 0 \Rightarrow A = -\tfrac{1}{2}\]
  6. Step 6: Write the full decomposition: \[\frac{3x+5}{(x-1)^2(x+1)} = \frac{-\tfrac{1}{2}}{x-1} + \frac{4}{(x-1)^2} + \frac{\tfrac{1}{2}}{x+1}\]
  7. Step 7: Integrate each term separately: \[\int \frac{-\tfrac{1}{2}}{x-1}\,dx = -\tfrac{1}{2}\ln|x-1|\] \[\int \frac{4}{(x-1)^2}\,dx = -\frac{4}{x-1}\] \[\int \frac{\tfrac{1}{2}}{x+1}\,dx = \tfrac{1}{2}\ln|x+1|\]
  8. Step 8: Combine all results and add the constant of integration \(C\). The two logarithm terms can be merged using log rules: \[-\tfrac{1}{2}\ln|x-1| + \tfrac{1}{2}\ln|x+1| = \tfrac{1}{2}\ln\left|\frac{x+1}{x-1}\right|\]

Final Answer

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

Common Mistake

A common mistake is forgetting to include the extra term for the repeated factor. For \((x-1)^2\) you must write BOTH \(\frac{A}{x-1}\) and \(\frac{B}{(x-1)^2}\); using only one term gives a wrong decomposition and a wrong integral.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Factor the denominator: Group the denominator in pairs to identify common factors: \[ x^3 - x^2 - x + 1 = x^2(x-1) - 1(x-1) = (x-1)(x^2-1) \] Then factor \( x^2 - 1 \) as a difference of squares: \[ (x-1)(x^2-1) = (x-1)(x-1)(x+1) = (x-1)^2(x+1) \] Reason: Factoring reveals the structure of the denominator and tells us exactly which partial fraction terms we need — particularly that \( (x-1) \) is a repeated factor.
  2. Step 2: Write the partial fraction decomposition: Since \( (x-1) \) appears twice and \( (x+1) \) appears once, the decomposition takes the form \[ \frac{3x+5}{(x-1)^2(x+1)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+1} \] Reason: A repeated linear factor \( (x-a)^2 \) must contribute two separate terms — one for each power — to make the decomposition general enough to match any numerator.
  3. Step 3: Clear the denominator: Multiply both sides of the decomposition by \( (x-1)^2(x+1) \) to eliminate all fractions: \[ 3x + 5 = A(x-1)(x+1) + B(x+1) + C(x-1)^2 \] Reason: This gives a polynomial identity that must hold for all values of \( x \), allowing us to substitute convenient values or compare coefficients to find \( A \), \( B \), and \( C \).
  4. Step 4: Find B by substituting x = 1: Setting \( x = 1 \) causes the terms with \( A \) and \( C \) to vanish: \[ 3(1) + 5 = B(1+1) \] \[ 8 = 2B \] so \( B = 4 \). Reason: Choosing \( x = 1 \) zeros out two of the three terms at once, isolating \( B \) immediately.
  5. Step 5: Find C by substituting x = -1: Setting \( x = -1 \) eliminates the terms with \( A \) and \( B \): \[ 3(-1) + 5 = C(-1-1)^2 \] \[ 2 = 4C \] so \( C = \dfrac{1}{2} \). Reason: Choosing \( x = -1 \) isolates \( C \) in the same way, making the algebra straightforward.
  6. Step 6: Find A by comparing coefficients: Expand the right-hand side with \( B = 4 \) and \( C = \tfrac{1}{2} \): \[ A(x^2 - 1) + 4(x+1) + \tfrac{1}{2}(x-1)^2 \] Comparing the coefficient of \( x^2 \) on both sides (left side has coefficient 0): \[ A + \tfrac{1}{2} = 0 \] so \( A = -\dfrac{1}{2} \). Reason: After finding \( B \) and \( C \), the only unknown remaining is \( A \), and matching powers of \( x^2 \) gives it directly.
  7. Step 7: Integrate each partial fraction: Substituting \( A = -\tfrac{1}{2} \), \( B = 4 \), \( C = \tfrac{1}{2} \), the integral becomes \[ \int \frac{3x+5}{(x-1)^2(x+1)}\\,dx = \int \frac{-\tfrac{1}{2}}{x-1}\\,dx + \int \frac{4}{(x-1)^2}\\,dx + \int \frac{\tfrac{1}{2}}{x+1}\\,dx \] Integrating term by term: \[ = -\frac{1}{2}\ln|x-1| - \frac{4}{x-1} + \frac{1}{2}\ln|x+1| + C \] Then combine the logarithms: \[ = \frac{1}{2}\ln|x+1| - \frac{1}{2}\ln|x-1| - \frac{4}{x-1} + C = \frac{1}{2}\ln\left|\frac{x+1}{x-1}\right| - \frac{4}{x-1} + C \] Reason: Each partial fraction now matches a standard integral form, and the two logarithm terms are combined using the log subtraction rule \( \ln a - \ln b = \ln\tfrac{a}{b} \) to give a clean final expression.

Final Answer

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

Common Mistake

One common mistake: When the denominator has a repeated factor such as \( (x-1)^2 \), students write only one term \( \tfrac{A}{x-1} \) instead of two separate terms \( \tfrac{A}{x-1} + \tfrac{B}{(x-1)^2} \). Omitting the squared-denominator term makes it impossible to match all coefficients correctly, leading to a wrong decomposition and a wrong integral.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Factor denominator and set up partial fractions: \[x^3 - x^2 - x + 1 = (x-1)^2(x+1)\] \[\frac{3x+5}{(x-1)^2(x+1)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+1}\]
  2. Step 2: Find constants: Multiplying both sides by \((x-1)^2(x+1)\): \[3x+5 = A(x-1)(x+1) + B(x+1) + C(x-1)^2\] At \(x=1\): \(8 = 2B \Rightarrow B = 4\). At \(x=-1\): \(2 = 4C \Rightarrow C = \tfrac{1}{2}\). Comparing \(x^2\) coefficients: \(0 = A + C \Rightarrow A = -\tfrac{1}{2}\).
  3. Step 3: Integrate: \[\int \frac{3x+5}{(x-1)^2(x+1)}\,dx = -\frac{1}{2}\ln|x-1| + \frac{1}{2}\ln|x+1| - \frac{4}{x-1} + C\]

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

➕ More Examples

More Examples

Example 1

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

Solution: Step 1: Factor the denominator. We have \(x^3 + x^2 - x - 1\). Group the terms: \[x^3 + x^2 - x - 1 = x^2(x+1) - 1(x+1) = (x^2-1)(x+1) = (x-1)(x+1)(x+1) = (x-1)(x+1)^2\] So the denominator factors as \((x-1)(x+1)^2\). Step 2: Write the partial fraction decomposition. \[\frac{2x+3}{(x-1)(x+1)^2} = \frac{A}{x-1} + \frac{B}{x+1} + \frac{C}{(x+1)^2}\] Multiplying both sides by \((x-1)(x+1)^2\): \[2x+3 = A(x+1)^2 + B(x-1)(x+1) + C(x-1)\] Step 3: Find constants by substituting suitable values. Putting \(x = 1\): \[2(1)+3 = A(2)^2 \Rightarrow 5 = 4A \Rightarrow A = \frac{5}{4}\] Putting \(x = -1\): \[2(-1)+3 = C(-1-1) \Rightarrow 1 = -2C \Rightarrow C = -\frac{1}{2}\] Expanding and comparing coefficients of \(x^2\) (putting \(x=0\) to find B): \[3 = A(1) + B(-1)(1) + C(-1) \Rightarrow 3 = \frac{5}{4} - B + \frac{1}{2} \Rightarrow B = \frac{5}{4} + \frac{1}{2} - 3 = \frac{5}{4} + \frac{2}{4} - \frac{12}{4} = -\frac{5}{4}\] Step 4: Integrate each partial fraction. \[\int \frac{2x+3}{(x-1)(x+1)^2} \, dx = \frac{5}{4}\int \frac{1}{x-1} \, dx - \frac{5}{4}\int \frac{1}{x+1} \, dx - \frac{1}{2}\int \frac{1}{(x+1)^2} \, dx\] \[= \frac{5}{4}\ln|x-1| - \frac{5}{4}\ln|x+1| + \frac{1}{2(x+1)} + C\] \[= \frac{5}{4}\ln\left|\frac{x-1}{x+1}\right| + \frac{1}{2(x+1)} + C\]

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

Example 2

Question: Integrate the rational function: \[\frac{5x-2}{x^3-2x^2-x+2}\]

Solution: Step 1: Factor the denominator. We have \(x^3 - 2x^2 - x + 2\). Group the terms: \[x^3 - 2x^2 - x + 2 = x^2(x-2) - 1(x-2) = (x^2-1)(x-2) = (x-1)(x+1)(x-2)\] So the denominator factors as \((x-1)(x+1)(x-2)\). These are three distinct linear factors. Step 2: Write the partial fraction decomposition. \[\frac{5x-2}{(x-1)(x+1)(x-2)} = \frac{A}{x-1} + \frac{B}{x+1} + \frac{C}{x-2}\] Multiplying both sides by \((x-1)(x+1)(x-2)\): \[5x - 2 = A(x+1)(x-2) + B(x-1)(x-2) + C(x-1)(x+1)\] Step 3: Find constants by substituting suitable values. Putting \(x = 1\): \[5(1)-2 = A(2)(-1) \Rightarrow 3 = -2A \Rightarrow A = -\frac{3}{2}\] Putting \(x = -1\): \[5(-1)-2 = B(-2)(-3) \Rightarrow -7 = 6B \Rightarrow B = -\frac{7}{6}\] Putting \(x = 2\): \[5(2)-2 = C(1)(3) \Rightarrow 8 = 3C \Rightarrow C = \frac{8}{3}\] Step 4: Integrate each partial fraction. \[\int \frac{5x-2}{(x-1)(x+1)(x-2)} \, dx = -\frac{3}{2}\int \frac{1}{x-1} \, dx - \frac{7}{6}\int \frac{1}{x+1} \, dx + \frac{8}{3}\int \frac{1}{x-2} \, dx\] \[= -\frac{3}{2}\ln|x-1| - \frac{7}{6}\ln|x+1| + \frac{8}{3}\ln|x-2| + C\]

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

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Factorise the Denominator: We need to factorise \(x^3 + x^2 - x - 1\). Group the terms: \[x^3 + x^2 - x - 1 = x^2(x+1) - 1(x+1) = (x^2-1)(x+1)\] Now factorise \(x^2 - 1\) as a difference of squares: \[x^2 - 1 = (x-1)(x+1)\] So the full factorisation is: \[(x-1)(x+1)(x+1) = (x-1)(x+1)^2\]
  2. Step 2: Set Up Partial Fractions: Since the denominator is \((x-1)(x+1)^2\), with \((x+1)\) being a repeated factor, we write: \[\frac{2x+3}{(x-1)(x+1)^2} = \frac{A}{x-1} + \frac{B}{x+1} + \frac{C}{(x+1)^2}\] Multiplying both sides by \((x-1)(x+1)^2\): \[2x+3 = A(x+1)^2 + B(x-1)(x+1) + C(x-1)\]
  3. Step 3: Find Constants A, B, C: Substitute \(x = 1\): \[2(1)+3 = A(1+1)^2 + 0 + 0\] \[5 = 4A \implies A = \frac{5}{4}\] Substitute \(x = -1\): \[2(-1)+3 = 0 + 0 + C(-1-1)\] \[1 = -2C \implies C = -\frac{1}{2}\] Expand the right-hand side and compare coefficients of \(x^2\) to find \(B\). Expanding: \[A(x^2+2x+1) + B(x^2-1) + C(x-1)\] \[= (A+B)x^2 + (2A+C)x + (A - B - C)\] Comparing coefficient of \(x^2\): \[A + B = 0 \implies B = -A = -\frac{5}{4}\] Verification with constant term: \(A - B - C = \frac{5}{4} + \frac{5}{4} + \frac{1}{2} = 3\). Check: constant term of \(2x+3\) is \(3\). Confirmed.
  4. Step 4: Integrate Each Partial Fraction: Now integrate term by term: \[\int \frac{2x+3}{(x-1)(x+1)^2}\,dx = \int \frac{5/4}{x-1}\,dx + \int \frac{-5/4}{x+1}\,dx + \int \frac{-1/2}{(x+1)^2}\,dx\] For the first integral: \[\int \frac{5/4}{x-1}\,dx = \frac{5}{4}\ln|x-1|\] For the second integral: \[\int \frac{-5/4}{x+1}\,dx = -\frac{5}{4}\ln|x+1|\] For the third integral, using \(\int (x+1)^{-2}\,dx = -\frac{1}{x+1}\): \[\int \frac{-1/2}{(x+1)^2}\,dx = \frac{1}{2(x+1)}\]
  5. Step 5: Combine and Simplify: Combining all parts: \[\int \frac{2x+3}{x^3+x^2-x-1}\,dx = \frac{5}{4}\ln|x-1| - \frac{5}{4}\ln|x+1| + \frac{1}{2(x+1)} + C\] Using the logarithm property \(\ln|A| - \ln|B| = \ln\left|\frac{A}{B}\right|\): \[= \frac{5}{4}\ln\left|\frac{x-1}{x+1}\right| + \frac{1}{2(x+1)} + C\]

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