Skip to content
Worked Examples · Example 12

Q.Find ∫x2+1x2−5x+6 dx\int \dfrac{x^2 + 1}{x^2 - 5x + 6}\, dx

Odisha ChseTextbookSubjective· 3mImportance★★★★★est
33% · 122/373 Questions
✓ Free question

Long division gives 1+5x−5(x−2)(x−3)1+\dfrac{5x-5}{(x-2)(x-3)}; partial fractions then yield x−5log⁡∣x−2∣+10log⁡∣x−3∣+Cx-5\log|x-2|+10\log|x-3|+C.

Why divide first?

The fraction is improper — the numerator degree (2) equals the denominator degree (2). Partial fractions only apply to a proper fraction, so we first pull out the whole-number part by long division.

Step 1 — long division

x2x^2 into x2x^2 goes once. Subtract 1⋅(x2−5x+6)1\cdot(x^2-5x+6) from x2+1x^2+1:

(x2+1)−(x2−5x+6)=5x−5.(x^2+1)-(x^2-5x+6)=5x-5.

So

x2+1x2−5x+6=1+5x−5x2−5x+6.\frac{x^2+1}{x^2-5x+6}=1+\frac{5x-5}{x^2-5x+6}.

Step 2 — factor and decompose

x2−5x+6=(x−2)(x−3)x^2-5x+6=(x-2)(x-3). Set

5x−5(x−2)(x−3)=Ax−2+Bx−3,5x−5=A(x−3)+B(x−2).\frac{5x-5}{(x-2)(x-3)}=\frac{A}{x-2}+\frac{B}{x-3},\qquad 5x-5=A(x-3)+B(x-2).

Put x=2x=2: 5=A(−1)⇒A=−55=A(-1)\Rightarrow A=-5. Put x=3x=3: 10=B(1)⇒B=1010=B(1)\Rightarrow B=10.

Step 3 — integrate

∫(1−5x−2+10x−3)dx=x−5log⁡∣x−2∣+10log⁡∣x−3∣+C.\int\left(1-\frac{5}{x-2}+\frac{10}{x-3}\right)dx=x-5\log|x-2|+10\log|x-3|+C.

✓Final answer

∫x2+1x2−5x+6 dx=x−5log⁡∣x−2∣+10log⁡∣x−3∣+C\displaystyle \int\frac{x^2+1}{x^2-5x+6}\,dx=x-5\log|x-2|+10\log|x-3|+C

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.