SOLVER7 Study. Nothing Else.
Exercise 7.5 Q12

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

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a big pile of apples and a small basket. You cannot carry everything at once, so you split the load into manageable parts. Here, the fraction is too "big" on top, so we break it into a simpler piece plus a leftover. The leftover gets split further into tiny pieces we already know how to handle. Each tiny piece is easy to add up on its own. Putting all the pieces together at the end gives the full answer.

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

📖 Integrating (x^3+x+1)/(x^2-1)

Detailed Explanation

A rational function \( \frac{P(x)}{Q(x)} \) is called improper when the degree of the numerator is greater than or equal to the degree of the denominator. Here the numerator has degree 3 and the denominator has degree 2, so the fraction is improper. The rule is: first perform polynomial (long) division to write it as a polynomial plus a proper fraction (numerator degree less than denominator degree). Then apply partial fractions to the proper part, since the denominator factorises nicely. This reduces the integral to standard forms we can integrate term by term.

Formula Used

Standard results used: \[\int x^n \, dx = \frac{x^{n+1}}{n+1} + C, \quad \int \frac{1}{x-a} \, dx = \log|x-a| + C.\] Partial fractions: \[\frac{1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}.\]

Solution

  1. Step 1: Since the numerator degree (3) is greater than the denominator degree (2), the fraction is improper, so divide first. Divide \( x^3 + x + 1 \) by \( x^2 - 1 \). We get quotient \( x \) and remainder, computed as \[ x^3 + x + 1 = x(x^2 - 1) + (2x + 1).\] Therefore \[\frac{x^3+x+1}{x^2-1} = x + \frac{2x+1}{x^2-1}.\]
  2. Step 2: Factorise the denominator of the proper fraction: \[ x^2 - 1 = (x-1)(x+1).\] Now set up partial fractions: \[\frac{2x+1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}.\]
  3. Step 3: Multiply both sides by \( (x-1)(x+1) \) to clear denominators: \[ 2x + 1 = A(x+1) + B(x-1).\] Put \( x = 1 \): \[ 2(1)+1 = A(2) \Rightarrow 3 = 2A \Rightarrow A = \frac{3}{2}.\] Put \( x = -1 \): \[ 2(-1)+1 = B(-2) \Rightarrow -1 = -2B \Rightarrow B = \frac{1}{2}.\]
  4. Step 4: Substitute A and B back so the whole integrand becomes a sum of simple pieces: \[\frac{x^3+x+1}{x^2-1} = x + \frac{3}{2}\cdot\frac{1}{x-1} + \frac{1}{2}\cdot\frac{1}{x+1}.\] Each term is now a standard form we can integrate directly.
  5. Step 5: Integrate term by term: \[\int x \, dx = \frac{x^2}{2},\] \[\int \frac{3}{2}\cdot\frac{1}{x-1} \, dx = \frac{3}{2}\log|x-1|,\] \[\int \frac{1}{2}\cdot\frac{1}{x+1} \, dx = \frac{1}{2}\log|x+1|.\] Combine all pieces and add the constant of integration.

Final Answer

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

Common Mistake

A common mistake is to jump straight into partial fractions without doing the long division first. Partial fractions only work on proper fractions (numerator degree less than denominator degree). Skipping the division for this improper fraction leads to a wrong or impossible decomposition.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Check if the fraction is proper or improper: The numerator \( x^3 + x + 1 \) has degree 3 and the denominator \( x^2 - 1 \) has degree 2. Since degree of numerator \(\ge\) degree of denominator, this is an improper fraction. — Reason: Partial fractions can only be applied directly to proper fractions (numerator degree strictly less than denominator degree), so we must first reduce it.
  2. Step 2: Perform polynomial long division: Divide \( x^3 + x + 1 \) by \( x^2 - 1 \). The quotient is \( x \) because \( x \cdot (x^2 - 1) = x^3 - x \). Subtracting: \[(x^3 + x + 1) - (x^3 - x) = 2x + 1.\] So the remainder is \( 2x + 1 \). Therefore: \[\frac{x^3 + x + 1}{x^2 - 1} = x + \frac{2x+1}{x^2-1}.\] — Reason: This splits the integrand into a simple polynomial \( x \) (easy to integrate) and a proper fraction \( \frac{2x+1}{x^2-1} \) (ready for partial fractions).
  3. Step 3: Factorise the denominator: Write \( x^2 - 1 = (x-1)(x+1) \). — Reason: Factorising the denominator into linear factors is required before setting up the partial fraction decomposition.
  4. Step 4: Set up and solve partial fractions: Write \[\frac{2x+1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}.\] Multiply both sides by \( (x-1)(x+1) \): \[2x + 1 = A(x+1) + B(x-1).\] Substitute \( x = 1 \): \( 3 = 2A \), so \( A = \dfrac{3}{2} \). Substitute \( x = -1 \): \( -1 = -2B \), so \( B = \dfrac{1}{2} \). — Reason: Choosing values of \( x \) that make one factor zero lets us isolate each constant quickly.
  5. Step 5: Rewrite the integrand: Combining all parts: \[\frac{x^3+x+1}{x^2-1} = x + \frac{3/2}{x-1} + \frac{1/2}{x+1}.\] — Reason: The integrand is now expressed as a sum of three simple terms, each of which matches a standard integration formula.
  6. Step 6: Integrate term by term: Integrate each term separately: \[\int \left( x + \frac{3}{2} \cdot \frac{1}{x-1} + \frac{1}{2} \cdot \frac{1}{x+1} \right) dx\] \[= \frac{x^2}{2} + \frac{3}{2}\log|x-1| + \frac{1}{2}\log|x+1| + C.\] — Reason: Using the standard results \( \int x \, dx = \frac{x^2}{2} \) and \( \int \frac{1}{x-a} \, dx = \log|x-a| \), we evaluate each part independently.

Final Answer

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

Common Mistake

One common mistake: Students often skip the long division step and directly try to apply partial fractions to the improper fraction \( \frac{x^3+x+1}{x^2-1} \). Partial fractions only work when the numerator degree is strictly less than the denominator degree, so omitting long division leads to an incorrect decomposition and a wrong answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Polynomial Division: Divide: \[x^3 + x + 1 = x(x^2 - 1) + (2x + 1)\] so \[\frac{x^3+x+1}{x^2-1} = x + \frac{2x+1}{(x-1)(x+1)}.\]
  2. Step 2: Partial Fractions: Write \[\frac{2x+1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}.\] Setting \(x = 1\): \(A = \frac{3}{2}\). Setting \(x = -1\): \(B = \frac{1}{2}\).
  3. Step 3: Integrate: \[\int \frac{x^3+x+1}{x^2-1} \, dx = \int x \, dx + \frac{3}{2}\int \frac{1}{x-1} \, dx + \frac{1}{2}\int \frac{1}{x+1} \, dx = \frac{x^2}{2} + \frac{3}{2}\log|x-1| + \frac{1}{2}\log|x+1| + C.\]

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

➕ More Examples

More Examples

Example 1

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

Solution: Since the degree of the numerator (3) is greater than the degree of the denominator (2), we perform polynomial long division. Divide \(x^3 - 2x + 3\) by \(x^2 + 1\): \(x^3 \div x^2 = x\), so the first term of the quotient is \(x\). Multiply: \(x \cdot (x^2 + 1) = x^3 + x\). Subtract: \((x^3 - 2x + 3) - (x^3 + x) = -3x + 3\). Since degree of \(-3x + 3\) is less than degree of \(x^2 + 1\), we stop. So we can write: \[\frac{x^3 - 2x + 3}{x^2 + 1} = x + \frac{-3x + 3}{x^2 + 1}\] Now integrate term by term: \[\int \frac{x^3 - 2x + 3}{x^2 + 1} \, dx = \int x \, dx + \int \frac{-3x + 3}{x^2 + 1} \, dx\] Split the second integral: \[= \int x \, dx - 3\int \frac{x}{x^2 + 1} \, dx + 3\int \frac{1}{x^2 + 1} \, dx\] For \(\int x \, dx\): \[\int x \, dx = \frac{x^2}{2}\] For \(-3\int \frac{x}{x^2 + 1} \, dx\): Let \(t = x^2 + 1\), so \(dt = 2x \, dx\), i.e., \(x \, dx = \frac{dt}{2}\): \[-3 \cdot \frac{1}{2} \int \frac{dt}{t} = -\frac{3}{2} \ln|t| = -\frac{3}{2} \ln(x^2 + 1)\] For \(3\int \frac{1}{x^2 + 1} \, dx\): \[3\int \frac{1}{x^2 + 1} \, dx = 3 \tan^{-1} x\] Combining all parts, the final answer is: \[\frac{x^2}{2} - \frac{3}{2}\ln(x^2 + 1) + 3\tan^{-1} x + C\]

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

Example 2

Question: Integrate the rational function \(\frac{2x^3 + x^2 - x + 5}{x^2 - x - 2}\).

Solution: The degree of the numerator (3) is greater than the degree of the denominator (2), so we perform polynomial long division. Divide \(2x^3 + x^2 - x + 5\) by \(x^2 - x - 2\): Step 1: \(2x^3 \div x^2 = 2x\). Multiply: \(2x(x^2 - x - 2) = 2x^3 - 2x^2 - 4x\). Subtract: \((2x^3 + x^2 - x + 5) - (2x^3 - 2x^2 - 4x) = 3x^2 + 3x + 5\). Step 2: \(3x^2 \div x^2 = 3\). Multiply: \(3(x^2 - x - 2) = 3x^2 - 3x - 6\). Subtract: \((3x^2 + 3x + 5) - (3x^2 - 3x - 6) = 6x + 11\). So: \[\frac{2x^3 + x^2 - x + 5}{x^2 - x - 2} = 2x + 3 + \frac{6x + 11}{x^2 - x - 2}\] Now factor the denominator: \(x^2 - x - 2 = (x-2)(x+1)\). Decompose \(\frac{6x+11}{(x-2)(x+1)}\) into partial fractions: \[\frac{6x + 11}{(x-2)(x+1)} = \frac{A}{x-2} + \frac{B}{x+1}\] Multiply both sides by \((x-2)(x+1)\): \[6x + 11 = A(x+1) + B(x-2)\] Put \(x = 2\): \(12 + 11 = A(3) \Rightarrow A = \frac{23}{3}\). Put \(x = -1\): \(-6 + 11 = B(-3) \Rightarrow B = -\frac{5}{3}\). So: \[\frac{6x + 11}{(x-2)(x+1)} = \frac{23}{3(x-2)} - \frac{5}{3(x+1)}\] Now integrate the full expression: \[\int \frac{2x^3 + x^2 - x + 5}{x^2 - x - 2} \, dx = \int (2x + 3) \, dx + \int \frac{23}{3(x-2)} \, dx - \int \frac{5}{3(x+1)} \, dx\] Evaluating each part: \[\int (2x + 3) \, dx = x^2 + 3x\] \[\int \frac{23}{3(x-2)} \, dx = \frac{23}{3} \ln|x - 2|\] \[\int \frac{5}{3(x+1)} \, dx = \frac{5}{3} \ln|x + 1|\] Combining all parts, the final answer is: \[x^2 + 3x + \frac{23}{3}\ln|x-2| - \frac{5}{3}\ln|x+1| + C\]

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

🎯 Try a Similar Question

Try a Similar Question

Question: Integrate the rational function \(\dfrac{x^3 - 2x + 3}{x^2 - 4}\).

Solution

  1. Step 1: Check Degrees and Perform Long Division: The degree of the numerator \(x^3 - 2x + 3\) is 3, which is greater than the degree of the denominator \(x^2 - 4\) (degree 2). So we divide \(x^3 - 2x + 3\) by \(x^2 - 4\). Dividing: \(x^3 - 2x + 3 = x \cdot (x^2 - 4) + (2x + 3)\). Verification: \(x(x^2 - 4) + 2x + 3 = x^3 - 4x + 2x + 3 = x^3 - 2x + 3\). Correct. So: \[\frac{x^3 - 2x + 3}{x^2 - 4} = x + \frac{2x + 3}{x^2 - 4}\]
  2. Step 2: Factor the Denominator: The denominator \(x^2 - 4 = (x-2)(x+2)\).
  3. Step 3: Apply Partial Fractions to the Remainder: We write: \[\frac{2x + 3}{(x-2)(x+2)} = \frac{A}{x-2} + \frac{B}{x+2}\] Multiplying both sides by \((x-2)(x+2)\): \[2x + 3 = A(x+2) + B(x-2)\] Setting \(x = 2\): \(4 + 3 = A(4)\), so \(A = \dfrac{7}{4}\). Setting \(x = -2\): \(-4 + 3 = B(-4)\), so \(-1 = -4B\), giving \(B = \dfrac{1}{4}\).
  4. Step 4: Rewrite the Integrand: Using the values of \(A\) and \(B\): \[\frac{x^3 - 2x + 3}{x^2 - 4} = x + \frac{7}{4} \cdot \frac{1}{x-2} + \frac{1}{4} \cdot \frac{1}{x+2}\]
  5. Step 5: Integrate Term by Term: Now integrate each term: \[\int \left( x + \frac{7}{4(x-2)} + \frac{1}{4(x+2)} \right) dx\] \[= \frac{x^2}{2} + \frac{7}{4}\log|x-2| + \frac{1}{4}\log|x+2| + C\]

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