Skip to content
Miscellaneous Examples · Example 37

Q.Find ∫x4 dx(x−1)(x2+1)\int \dfrac{x^4\, dx}{(x-1)(x^2+1)}

Yanam BieapTextbookSubjective· 3mImportance★★★★★
69% · 257/373 Questions
✓ Free question

Divide first (the numerator's degree exceeds the denominator's), then apply partial fractions. The integral equals x22+x+12log⁡∣x−1∣−14log⁡(x2+1)−12tan⁡−1x+C\dfrac{x^2}{2}+x+\dfrac12\log|x-1|-\dfrac14\log(x^2+1)-\dfrac12\tan^{-1}x+C.

Why divide first

Partial fractions only apply to a proper rational function (numerator degree << denominator degree). Here the numerator x4x^4 has degree 44 while the denominator (x−1)(x2+1)=x3−x2+x−1(x-1)(x^2+1)=x^3-x^2+x-1 has degree 33, so we must divide before decomposing.

Step 1 — Polynomial long division

Divide x4x^4 by x3−x2+x−1x^3-x^2+x-1:

  • x4=x (x3−x2+x−1)+(x3−x2+x)x^4=x\,(x^3-x^2+x-1)+(x^3-x^2+x), giving a first quotient term xx.
  • x3−x2+x=1 (x3−x2+x−1)+1x^3-x^2+x=1\,(x^3-x^2+x-1)+1, giving the next term 11 and remainder 11.

So the quotient is x+1x+1 and the remainder is 11:

x4(x−1)(x2+1)=x+1+1(x−1)(x2+1).\frac{x^4}{(x-1)(x^2+1)}=x+1+\frac{1}{(x-1)(x^2+1)}.

Step 2 — Partial fractions on the remainder

The factor x2+1x^2+1 is irreducible, so it gets a linear numerator:

1(x−1)(x2+1)=Ax−1+Bx+Cx2+1.\frac{1}{(x-1)(x^2+1)}=\frac{A}{x-1}+\frac{Bx+C}{x^2+1}.

Clear denominators: 1=A(x2+1)+(Bx+C)(x−1)1=A(x^2+1)+(Bx+C)(x-1).

  • Put x=1x=1: 1=A(2)⇒A=121=A(2)\Rightarrow A=\tfrac12.
  • Coefficient of x2x^2: 0=A+B⇒B=−120=A+B\Rightarrow B=-\tfrac12.
  • Constant term: 1=A−C⇒C=A−1=−121=A-C\Rightarrow C=A-1=-\tfrac12.

(Check the xx coefficient: −B+C=12−12=0-B+C=\tfrac12-\tfrac12=0, as required.) Hence

1(x−1)(x2+1)=12⋅1x−1−12⋅x+1x2+1.\frac{1}{(x-1)(x^2+1)}=\frac{1}{2}\cdot\frac{1}{x-1}-\frac{1}{2}\cdot\frac{x+1}{x^2+1}.

Step 3 — Integrate term by term

∫(x+1) dx=x22+x,∫1/2x−1 dx=12log⁡∣x−1∣,\int(x+1)\,dx=\frac{x^2}{2}+x,\qquad \int\frac{1/2}{x-1}\,dx=\frac12\log|x-1|,

−12∫xx2+1 dx=−14log⁡(x2+1),−12∫1x2+1 dx=−12tan⁡−1x.-\frac12\int\frac{x}{x^2+1}\,dx=-\frac14\log(x^2+1),\qquad -\frac12\int\frac{1}{x^2+1}\,dx=-\frac12\tan^{-1}x.

Adding these gives the result.

✓Final answer

∫x4 dx(x−1)(x2+1)=x22+x+12log⁡∣x−1∣−14log⁡(x2+1)−12tan⁡−1x+C\displaystyle\int\frac{x^4\,dx}{(x-1)(x^2+1)}=\frac{x^2}{2}+x+\frac12\log|x-1|-\frac14\log(x^2+1)-\frac12\tan^{-1}x+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.