SOLVER7 Study. Nothing Else.
Chapter 7 Examples Q12

Find \(\int \dfrac{x^2+1}{x^2-5x+6}dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a big cookie and you want to split it into smaller, easy-to-eat pieces. When the top and bottom of a fraction are the same size, you peel off a whole piece first. Whatever crumbs remain get broken into tiny simple bits. Each tiny bit is very easy to handle on its own. Adding all the pieces back together gives the final answer.

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

📖 Integration of a Rational Function using Long Division and Partial Fractions

Detailed Explanation

The integrand is \( \dfrac{x^2+1}{x^2-5x+6} \). Here the degree of the numerator equals the degree of the denominator, so this is an improper rational function. Before we can use partial fractions, we must first perform polynomial long division to write it as a polynomial (a constant here) plus a proper fraction (numerator degree less than denominator degree). Once we have a proper fraction, we factorise the denominator and split it into partial fractions of the form \( \dfrac{A}{x-2} + \dfrac{B}{x-3} \). Each simple piece then integrates easily using the standard log result.

Formula Used

\[ \int \frac{1}{x-a} \, dx = \log|x-a| + C \] and for a proper fraction with distinct linear factors: \[ \frac{px+q}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b} \]

Solution

  1. Step 1: Check the degrees. The numerator \( x^2+1 \) and denominator \( x^2-5x+6 \) both have degree 2, so the fraction is improper. We must divide first.
  2. Step 2: Divide \( x^2+1 \) by \( x^2-5x+6 \). Since the leading terms match, the quotient starts with 1. Subtract: \[ (x^2+1) - (x^2-5x+6) = 5x - 5. \] So \[ \frac{x^2+1}{x^2-5x+6} = 1 + \frac{5x-5}{x^2-5x+6}. \]
  3. Step 3: Factorise the denominator: \[ x^2-5x+6 = (x-2)(x-3). \] Now the proper fraction is \( \dfrac{5x-5}{(x-2)(x-3)} \).
  4. Step 4: Set up partial fractions: \[ \frac{5x-5}{(x-2)(x-3)} = \frac{A}{x-2} + \frac{B}{x-3}. \] Multiplying both sides by \( (x-2)(x-3) \) gives \[ 5x-5 = A(x-3) + B(x-2). \]
  5. Step 5: Find A and B by substituting convenient values. Put \( x=2 \): \[ 5(2)-5 = A(2-3) \Rightarrow 5 = -A \Rightarrow A = -5. \] Put \( x=3 \): \[ 5(3)-5 = B(3-2) \Rightarrow 10 = B \Rightarrow B = 10. \]
  6. Step 6: Rewrite the full integrand: \[ \frac{x^2+1}{x^2-5x+6} = 1 - \frac{5}{x-2} + \frac{10}{x-3}. \]
  7. Step 7: Integrate term by term: \[ \int 1 \, dx = x, \] \[ \int \frac{-5}{x-2} \, dx = -5\log|x-2|, \] \[ \int \frac{10}{x-3} \, dx = 10\log|x-3|. \]

Final Answer

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

Common Mistake

A very common mistake is jumping straight to partial fractions without doing long division first. Since the fraction is improper (numerator degree equals denominator degree), skipping division gives an incorrect setup and a wrong answer. Always reduce to a proper fraction before applying partial fractions.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Check the Nature of the Fraction: Observe that the numerator \( x^2 + 1 \) and denominator \( x^2 - 5x + 6 \) both have degree 2. Since degree of numerator = degree of denominator, the integrand is an improper rational function. — Reason: Partial fractions can only be applied directly to proper fractions (numerator degree strictly less than denominator degree), so we must simplify first.
  2. Step 2: Perform Polynomial Long Division: Divide \( x^2 + 1 \) by \( x^2 - 5x + 6 \). The leading terms both have \( x^2 \), so the quotient is 1. Subtract: \[ (x^2 + 1) - 1 \cdot (x^2 - 5x + 6) = x^2 + 1 - x^2 + 5x - 6 = 5x - 5. \] Therefore: \[ \frac{x^2 + 1}{x^2 - 5x + 6} = 1 + \frac{5x - 5}{x^2 - 5x + 6}. \] — Reason: This rewrites the improper fraction as a constant plus a proper fraction, making it ready for partial fractions.
  3. Step 3: Factorise the Denominator: Factorise the denominator of the proper fraction: \[ x^2 - 5x + 6 = (x - 2)(x - 3). \] So the proper fraction becomes \( \dfrac{5x - 5}{(x-2)(x-3)} \). — Reason: Partial fractions require the denominator to be expressed as a product of linear factors.
  4. Step 4: Set Up Partial Fractions: Write the proper fraction in partial fraction form: \[ \frac{5x - 5}{(x - 2)(x - 3)} = \frac{A}{x - 2} + \frac{B}{x - 3}. \] Multiply both sides by \( (x-2)(x-3) \): \[ 5x - 5 = A(x - 3) + B(x - 2). \] — Reason: This is the standard method to split a fraction with distinct linear factors into simpler pieces.
  5. Step 5: Find the Constants A and B: Substitute convenient values of \( x \) to isolate each constant. Put \( x = 2 \): \[ 5(2) - 5 = A(2 - 3) + B(0) \Rightarrow 5 = -A \Rightarrow A = -5. \] Put \( x = 3 \): \[ 5(3) - 5 = A(0) + B(3 - 2) \Rightarrow 10 = B \Rightarrow B = 10. \] So: \[ \frac{5x - 5}{(x-2)(x-3)} = \frac{-5}{x - 2} + \frac{10}{x - 3}. \] — Reason: Substituting roots of each factor zeroes out the other term, giving a quick solution for each constant.
  6. Step 6: Write the Full Integrand: Combine all parts so the original integrand is now: \[ \frac{x^2 + 1}{x^2 - 5x + 6} = 1 - \frac{5}{x - 2} + \frac{10}{x - 3}. \] — Reason: Replacing the original fraction with this decomposed form lets us integrate each term separately using standard results.
  7. Step 7: Integrate Term by Term: Integrate each part using \( \int 1 \, dx = x + C \) and \( \int \frac{1}{x-a} \, dx = \log|x - a| + C \): \[ \int \left(1 - \frac{5}{x-2} + \frac{10}{x-3}\right) dx = x - 5\log|x - 2| + 10\log|x - 3| + C. \] — Reason: Each piece is now a simple standard integral, and the constant of integration C absorbs all individual constants.

Final Answer

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

Common Mistake

One common mistake: Students skip the polynomial long division step and directly attempt partial fractions on the improper fraction \( \dfrac{x^2+1}{x^2-5x+6} \). Partial fractions are only valid for proper fractions; applying them without dividing first gives wrong coefficients and an incorrect answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Long Division: Divide: \ \( (x^2+1) - (x^2-5x+6) = 5x-5 \), so \ \[ \frac{x^2+1}{x^2-5x+6} = 1 + \frac{5x-5}{(x-2)(x-3)}. \]
  2. Step 2: Partial Fractions: Set \( \dfrac{5x-5}{(x-2)(x-3)} = \dfrac{A}{x-2} + \dfrac{B}{x-3} \), giving \( 5x-5 = A(x-3)+B(x-2) \). Put \( x=2 \): \( A = -5 \); put \( x=3 \): \( B = 10 \).
  3. Step 3: Integrate: \[ \int \left(1 - \frac{5}{x-2} + \frac{10}{x-3}\right) dx = x - 5\log|x-2| + 10\log|x-3| + C. \]

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

➕ More Examples

More Examples

Example 1

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

Solution: Step 1: Since the degree of the numerator equals the degree of the denominator, perform polynomial long division. Divide \(x^2 + 3\) by \(x^2 - 3x + 2\): Quotient = 1, Remainder = \((x^2 + 3) - (x^2 - 3x + 2) = 3x + 1\). So: \[\frac{x^2 + 3}{x^2 - 3x + 2} = 1 + \frac{3x + 1}{x^2 - 3x + 2}\] Step 2: Factorise the denominator. \[x^2 - 3x + 2 = (x - 1)(x - 2)\] Step 3: Decompose \(\frac{3x + 1}{(x-1)(x-2)}\) into partial fractions. Write: \[\frac{3x + 1}{(x-1)(x-2)} = \frac{A}{x-1} + \frac{B}{x-2}\] Multiplying both sides by \((x-1)(x-2)\): \[3x + 1 = A(x - 2) + B(x - 1)\] Putting \(x = 1\): \(3(1) + 1 = A(1 - 2)\), so \(4 = -A\), giving \(A = -4\). Putting \(x = 2\): \(3(2) + 1 = B(2 - 1)\), so \(7 = B\), giving \(B = 7\). Step 4: Rewrite the integrand. \[\frac{x^2 + 3}{x^2 - 3x + 2} = 1 + \frac{-4}{x - 1} + \frac{7}{x - 2}\] Step 5: Integrate term by term. \[\int \left(1 - \frac{4}{x-1} + \frac{7}{x-2}\right) dx\] \[= x - 4\ln|x - 1| + 7\ln|x - 2| + C\]

Answer: \(x - 4\ln|x - 1| + 7\ln|x - 2| + C\)

Example 2

Question: Find \(\int \frac{x^2 - 2}{x^2 + x - 6} \, dx\).

Solution: Step 1: Perform polynomial long division since degrees are equal. Divide \(x^2 - 2\) by \(x^2 + x - 6\): Quotient = 1, Remainder = \((x^2 - 2) - (x^2 + x - 6) = -x + 4\). So: \[\frac{x^2 - 2}{x^2 + x - 6} = 1 + \frac{-x + 4}{x^2 + x - 6}\] Step 2: Factorise the denominator. \[x^2 + x - 6 = (x + 3)(x - 2)\] Step 3: Decompose \(\frac{-x + 4}{(x+3)(x-2)}\) into partial fractions. Write: \[\frac{-x + 4}{(x+3)(x-2)} = \frac{A}{x+3} + \frac{B}{x-2}\] Multiplying both sides by \((x+3)(x-2)\): \[-x + 4 = A(x - 2) + B(x + 3)\] Putting \(x = -3\): \(-(-3) + 4 = A(-3 - 2)\), so \(7 = -5A\), giving \(A = -\frac{7}{5}\). Putting \(x = 2\): \(-(2) + 4 = B(2 + 3)\), so \(2 = 5B\), giving \(B = \frac{2}{5}\). Step 4: Rewrite the integrand. \[\frac{x^2 - 2}{x^2 + x - 6} = 1 - \frac{7}{5(x+3)} + \frac{2}{5(x-2)}\] Step 5: Integrate term by term. \[\int \left(1 - \frac{7}{5(x+3)} + \frac{2}{5(x-2)}\right) dx\] \[= x - \frac{7}{5}\ln|x + 3| + \frac{2}{5}\ln|x - 2| + C\]

Answer: \(x - \frac{7}{5}\ln|x + 3| + \frac{2}{5}\ln|x - 2| + C\)

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Check Degrees and Perform Polynomial Division: The degree of the numerator equals the degree of the denominator, so we divide. Write the numerator as: \[ x^2 + 3 = (x^2 - 3x + 2) + 3x + 1 \] So the integrand becomes: \[ \frac{x^2 + 3}{x^2 - 3x + 2} = 1 + \frac{3x + 1}{x^2 - 3x + 2} \]
  2. Step 2: Factorise the Denominator: Factorise \( x^2 - 3x + 2 \): \[ x^2 - 3x + 2 = (x - 1)(x - 2) \]
  3. Step 3: Set Up Partial Fractions: Write \( \frac{3x + 1}{(x-1)(x-2)} \) in partial fractions: \[ \frac{3x + 1}{(x-1)(x-2)} = \frac{A}{x-1} + \frac{B}{x-2} \] Multiplying both sides by \( (x-1)(x-2) \): \[ 3x + 1 = A(x - 2) + B(x - 1) \]
  4. Step 4: Find Constants A and B: Put \( x = 1 \): \[ 3(1) + 1 = A(1 - 2) \Rightarrow 4 = -A \Rightarrow A = -4 \] Put \( x = 2 \): \[ 3(2) + 1 = B(2 - 1) \Rightarrow 7 = B \Rightarrow B = 7 \]
  5. Step 5: Rewrite the Integral: The integral becomes: \[ \int \frac{x^2 + 3}{x^2 - 3x + 2} \, dx = \int \left(1 + \frac{-4}{x-1} + \frac{7}{x-2}\right) dx \]
  6. Step 6: Integrate Term by Term: Integrating each term separately: \[ \int 1 \, dx = x \] \[ \int \frac{-4}{x-1} \, dx = -4 \log|x - 1| \] \[ \int \frac{7}{x-2} \, dx = 7 \log|x - 2| \]
  7. Step 7: Write the Final Answer: Combining all terms and adding the constant of integration: \[ \int \frac{x^2 + 3}{x^2 - 3x + 2} \, dx = x - 4\log|x - 1| + 7\log|x - 2| + C \]

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