Jump to content

Calculus/Integration techniques/Partial Fraction Decomposition/Solutions

From Wikibooks, open books for an open world

Evaluate the following by the method partial fraction decomposition.

1. ∫2x+11(x+6)(x+5)dx
Decompose the fraction:
2x+11(x+6)(x+5)=Ax+6+Bx+5=Ax+5A+Bx+6B(x+6)(x+5)

Equate coefficients of x:

A+B=2
5A+6B=11

Solve the system of equations:

A=1,B=1

Rewrite the integral and solve:

∫2x+11(x+6)(x+5)dx=∫dxx+6+∫dxx+5=ln⁡|𝐱+πŸ”|+ln⁡|𝐱+πŸ“|+𝐂
Decompose the fraction:
2x+11(x+6)(x+5)=Ax+6+Bx+5=Ax+5A+Bx+6B(x+6)(x+5)

Equate coefficients of x:

A+B=2
5A+6B=11

Solve the system of equations:

A=1,B=1

Rewrite the integral and solve:

∫2x+11(x+6)(x+5)dx=∫dxx+6+∫dxx+5=ln⁡|𝐱+πŸ”|+ln⁡|𝐱+πŸ“|+𝐂
2. ∫7x2βˆ’5x+6(xβˆ’1)(xβˆ’3)(xβˆ’7)dx
Decompose the fraction:
7x2βˆ’5x+6(xβˆ’1)(xβˆ’3)(xβˆ’7)=Axβˆ’1+Bxβˆ’3+Cxβˆ’7=A(xβˆ’3)(xβˆ’7)+B(xβˆ’1)(xβˆ’7)+C(xβˆ’1)(xβˆ’3)(xβˆ’1)(xβˆ’3)(xβˆ’7)=A(x2βˆ’10x+21)+B(x2βˆ’8x+7)+C(x2βˆ’4x+3)(xβˆ’1)(xβˆ’3)(xβˆ’7)=Ax2βˆ’10Ax+21A+Bx2βˆ’8Bx+7B+Cx2βˆ’4Cx+3C(xβˆ’1)(xβˆ’3)(xβˆ’7)

Equate coefficients:

A+B+C=7βˆ’10Aβˆ’8Bβˆ’4C=βˆ’521A+7B+3C=6

Solve the system of equations:

D=|111βˆ’10βˆ’8βˆ’42173|=βˆ’24βˆ’84βˆ’70βˆ’(βˆ’30βˆ’28βˆ’168)=48
A=|711βˆ’5βˆ’8βˆ’4673|D=(7)(βˆ’8)(3)βˆ’24βˆ’35βˆ’(βˆ’15+(7)(βˆ’4)(7)βˆ’48)48=3248=23
B=|171βˆ’10βˆ’5βˆ’42163|D=βˆ’15+(7)(βˆ’4)(21)βˆ’60βˆ’(βˆ’210βˆ’24+(βˆ’5)(21))48=βˆ’32448=βˆ’274
C=|117βˆ’10βˆ’8βˆ’52176|D=(βˆ’8)(6)+(βˆ’5)(21)+(7)(βˆ’10)(7)βˆ’((βˆ’10)(6)+(βˆ’5)(7)+(7)(βˆ’8)(21))48=62848=15712

Rewrite the integral and solve:

∫7x2βˆ’5x+6(xβˆ’1)(xβˆ’3)(xβˆ’7)dx=23∫dxxβˆ’1βˆ’274∫dxxβˆ’3+15712∫dxxβˆ’7=23ln⁡|π±βˆ’πŸ|βˆ’274ln⁡|π±βˆ’πŸ‘|+15712ln⁡|π±βˆ’πŸ•|+𝐂
Decompose the fraction:
7x2βˆ’5x+6(xβˆ’1)(xβˆ’3)(xβˆ’7)=Axβˆ’1+Bxβˆ’3+Cxβˆ’7=A(xβˆ’3)(xβˆ’7)+B(xβˆ’1)(xβˆ’7)+C(xβˆ’1)(xβˆ’3)(xβˆ’1)(xβˆ’3)(xβˆ’7)=A(x2βˆ’10x+21)+B(x2βˆ’8x+7)+C(x2βˆ’4x+3)(xβˆ’1)(xβˆ’3)(xβˆ’7)=Ax2βˆ’10Ax+21A+Bx2βˆ’8Bx+7B+Cx2βˆ’4Cx+3C(xβˆ’1)(xβˆ’3)(xβˆ’7)

Equate coefficients:

A+B+C=7βˆ’10Aβˆ’8Bβˆ’4C=βˆ’521A+7B+3C=6

Solve the system of equations:

D=|111βˆ’10βˆ’8βˆ’42173|=βˆ’24βˆ’84βˆ’70βˆ’(βˆ’30βˆ’28βˆ’168)=48
A=|711βˆ’5βˆ’8βˆ’4673|D=(7)(βˆ’8)(3)βˆ’24βˆ’35βˆ’(βˆ’15+(7)(βˆ’4)(7)βˆ’48)48=3248=23
B=|171βˆ’10βˆ’5βˆ’42163|D=βˆ’15+(7)(βˆ’4)(21)βˆ’60βˆ’(βˆ’210βˆ’24+(βˆ’5)(21))48=βˆ’32448=βˆ’274
C=|117βˆ’10βˆ’8βˆ’52176|D=(βˆ’8)(6)+(βˆ’5)(21)+(7)(βˆ’10)(7)βˆ’((βˆ’10)(6)+(βˆ’5)(7)+(7)(βˆ’8)(21))48=62848=15712

Rewrite the integral and solve:

∫7x2βˆ’5x+6(xβˆ’1)(xβˆ’3)(xβˆ’7)dx=23∫dxxβˆ’1βˆ’274∫dxxβˆ’3+15712∫dxxβˆ’7=23ln⁡|π±βˆ’πŸ|βˆ’274ln⁡|π±βˆ’πŸ‘|+15712ln⁡|π±βˆ’πŸ•|+𝐂
3. ∫x2βˆ’x+2x(x+2)2dx
Decompose the fraction:
x2βˆ’x+2x(x+2)2=Ax+Bx+2+C(x+2)2=A(x+2)2+Bx(x+2)+Cxx(x+2)2=A(x2+4x+4)+Bx2+2Bx+Cxx(x+2)2=Ax2+4Ax+4A+Bx2+2Bx+Cxx(x+2)2

Equate the coefficients:

A+B=14A+2B+C=βˆ’14A=2

Solve the system of equations:

4A=2⟹A=12
A+B=1⟹B=12
4A+2B+C=βˆ’1⟹C=βˆ’4

Rewrite the integral and solve:

∫x2βˆ’x+2x(x+2)2dx=12∫dxx+12∫dxx+2βˆ’4∫dx(x+2)2=12ln⁡|𝐱|+12ln⁡|𝐱+𝟐|+4x+2+𝐂
Decompose the fraction:
x2βˆ’x+2x(x+2)2=Ax+Bx+2+C(x+2)2=A(x+2)2+Bx(x+2)+Cxx(x+2)2=A(x2+4x+4)+Bx2+2Bx+Cxx(x+2)2=Ax2+4Ax+4A+Bx2+2Bx+Cxx(x+2)2

Equate the coefficients:

A+B=14A+2B+C=βˆ’14A=2

Solve the system of equations:

4A=2⟹A=12
A+B=1⟹B=12
4A+2B+C=βˆ’1⟹C=βˆ’4

Rewrite the integral and solve:

∫x2βˆ’x+2x(x+2)2dx=12∫dxx+12∫dxx+2βˆ’4∫dx(x+2)2=12ln⁡|𝐱|+12ln⁡|𝐱+𝟐|+4x+2+𝐂
4. ∫2(x+2)(x2+3)dx
:2(x+2)(x2+3)=Ax+2+Bx+Cx2+3=Ax2+3A+Bx2+Cx+2Bx+2C(x+2)(x2+3)

Equate the coefficients for each power of x. For x2:

A+B=0

, for x:

C+2B=0

, and for the constant terms:

3A+2C=2

Solve the system of equations however you see fit (Gaussian elimination with back-substitution used here):

[110002103022][1100011200βˆ’322][11000112000722][11000112000147]
C=47,B=βˆ’27,A=27

So

∫2(x+2)(x2+3)dx=27∫1x+2dxβˆ’27∫xx2+3+47∫1x2+3dx

To evaluate the first integral use substitution, letting u=x+2, du=dx.
To evaluate the second integral use substitution, letting u=x2+3, du=2xdx, dx=du2x.
To evaluate the third integral, use the trigonometric substitution x=3tan⁡(ΞΈ), dx=3sec2(ΞΈ)dΞΈ.

∫2(x+2)(x2+3)dx=27∫1x+2dxβˆ’27∫xx2+3+47∫1x2+3dx=27ln⁡|x+2|βˆ’214ln⁡|x2+3|+47∫3sec2(x)dΞΈ3tan2(x)+3=27ln⁡|𝐱+𝟐|βˆ’17ln⁡|𝐱𝟐+πŸ‘|+473arctan⁡(x3)
:2(x+2)(x2+3)=Ax+2+Bx+Cx2+3=Ax2+3A+Bx2+Cx+2Bx+2C(x+2)(x2+3)

Equate the coefficients for each power of x. For x2:

A+B=0

, for x:

C+2B=0

, and for the constant terms:

3A+2C=2

Solve the system of equations however you see fit (Gaussian elimination with back-substitution used here):

[110002103022][1100011200βˆ’322][11000112000722][11000112000147]
C=47,B=βˆ’27,A=27

So

∫2(x+2)(x2+3)dx=27∫1x+2dxβˆ’27∫xx2+3+47∫1x2+3dx

To evaluate the first integral use substitution, letting u=x+2, du=dx.
To evaluate the second integral use substitution, letting u=x2+3, du=2xdx, dx=du2x.
To evaluate the third integral, use the trigonometric substitution x=3tan⁡(ΞΈ), dx=3sec2(ΞΈ)dΞΈ.

∫2(x+2)(x2+3)dx=27∫1x+2dxβˆ’27∫xx2+3+47∫1x2+3dx=27ln⁡|x+2|βˆ’214ln⁡|x2+3|+47∫3sec2(x)dΞΈ3tan2(x)+3=27ln⁡|𝐱+𝟐|βˆ’17ln⁡|𝐱𝟐+πŸ‘|+473arctan⁡(x3)
5. ∫dx(x+2)(x2+2)
Decompose the fraction:
1(x+2)(x2+2)=Ax+2+Bx+Cx2+2=A(x2+2)+(Bx+C)(x+2)(x+2)(x2+2)=Ax2+2A+Bx2+2Bx+Cx+2C(x+2)(x2+2)

Equate the coefficients:

A+B=02B+C=02A+2C=1

Solve the system of equations:

D=|110021202|=6
A=|010021102|D=16
B=|100001212|D=βˆ’16
C=|110020201|D=26=13

Rewrite the integral and solve:

∫dx(x+2)(x2+2)=16∫dxx+2βˆ’16∫xdxx2+2+13∫dxx2+2

Making the substitution

u=x2+2du=2xdxdx=du2x

in the second integral and

x2=tan⁡(ΞΈ)dx2=sec2(ΞΈ)dΞΈdx=2sec2(ΞΈ)dΞΈ

in the third integral, we have

∫dx(x+2)(x2+2)=16ln⁡|x+2|βˆ’16∫du2u+13∫2sec2(ΞΈ)dΞΈ2(tan2(ΞΈ)+1)=16ln⁡|x+2|βˆ’112ln⁡|u|+26∫sec2(ΞΈ)dΞΈsec2(ΞΈ)=16ln⁡|x+2|βˆ’112ln⁡|x2+2|+26∫dΞΈ=16ln⁡|x+2|βˆ’112ln⁡|x2+2|+26ΞΈ+C=16ln⁡|𝐱+𝟐|βˆ’112ln⁡|𝐱𝟐+𝟐|+26arctan⁡(x2)+𝐂
Decompose the fraction:
1(x+2)(x2+2)=Ax+2+Bx+Cx2+2=A(x2+2)+(Bx+C)(x+2)(x+2)(x2+2)=Ax2+2A+Bx2+2Bx+Cx+2C(x+2)(x2+2)

Equate the coefficients:

A+B=02B+C=02A+2C=1

Solve the system of equations:

D=|110021202|=6
A=|010021102|D=16
B=|100001212|D=βˆ’16
C=|110020201|D=26=13

Rewrite the integral and solve:

∫dx(x+2)(x2+2)=16∫dxx+2βˆ’16∫xdxx2+2+13∫dxx2+2

Making the substitution

u=x2+2du=2xdxdx=du2x

in the second integral and

x2=tan⁡(ΞΈ)dx2=sec2(ΞΈ)dΞΈdx=2sec2(ΞΈ)dΞΈ

in the third integral, we have

∫dx(x+2)(x2+2)=16ln⁡|x+2|βˆ’16∫du2u+13∫2sec2(ΞΈ)dΞΈ2(tan2(ΞΈ)+1)=16ln⁡|x+2|βˆ’112ln⁡|u|+26∫sec2(ΞΈ)dΞΈsec2(ΞΈ)=16ln⁡|x+2|βˆ’112ln⁡|x2+2|+26∫dΞΈ=16ln⁡|x+2|βˆ’112ln⁡|x2+2|+26ΞΈ+C=16ln⁡|𝐱+𝟐|βˆ’112ln⁡|𝐱𝟐+𝟐|+26arctan⁡(x2)+𝐂
6. ∫dx(x2+1)2(xβˆ’1)
Decompose the fraction:
1(x2+1)2(xβˆ’1)=Ax+Bx2+1+Cx+D(x2+1)2+Exβˆ’1=(Ax+B)(x2+1)(xβˆ’1)+(Cx+D)(xβˆ’1)+E(x2+1)2(x2+1)2(xβˆ’1)=(Ax+B)(x3βˆ’x2+xβˆ’1)+Cx2+(Dβˆ’C)xβˆ’D+E(x4+2x2+1)(x2+1)2(xβˆ’1)=Ax4+(Bβˆ’A)x3+(Aβˆ’B)x2+(Bβˆ’A)xβˆ’B+Cx2+(Dβˆ’C)xβˆ’D+Ex4+2Ex2+E(x2+1)2(xβˆ’1)

Equate coefficients:

A+E=0βˆ’A+B=0Aβˆ’B+C+2E=0βˆ’A+Bβˆ’C+D=0βˆ’Bβˆ’D+E=1

Solve the system of equations any way you see fit. Here, we'll solve for A by Cramer's rule, then plug in to solve for the other variables. The denominator in Cramer's rule will be

d=|10001βˆ’110001βˆ’1102βˆ’11βˆ’1100βˆ’10βˆ’11|

Expanding across the top row gives

d=|1000βˆ’11021βˆ’110βˆ’10βˆ’11|+|βˆ’11001βˆ’110βˆ’11βˆ’110βˆ’10βˆ’1|

Expanding across the top rows in both matrices gives

d=|102βˆ’1100βˆ’11|βˆ’|βˆ’1101βˆ’11βˆ’10βˆ’1|βˆ’|110βˆ’1βˆ’1100βˆ’1|

Solve the individual determinants

|102βˆ’1100βˆ’11|=(1)(1)(1)+(0)(0)(1)+(2)(βˆ’1)(βˆ’1)βˆ’(0)(βˆ’1)(2)βˆ’(1)(0)(βˆ’1)βˆ’(2)(1)(0)=1+2=3
|βˆ’1101βˆ’11βˆ’10βˆ’1|=(βˆ’1)(βˆ’1)(βˆ’1)+(1)(1)(βˆ’1)+(0)(1)(0)βˆ’(1)(1)(βˆ’1)βˆ’(βˆ’1)(1)(0)βˆ’(0)(βˆ’1)(βˆ’1)=βˆ’1βˆ’1βˆ’(βˆ’1)=βˆ’1
|110βˆ’1βˆ’1100βˆ’1|11βˆ’1βˆ’100=(1)(βˆ’1)(βˆ’1)+(1)(1)(0)+(0)(βˆ’1)(0)βˆ’(1)(βˆ’1)(βˆ’1)βˆ’(1)(1)(0)βˆ’(0)(βˆ’1)(0)=1βˆ’1=0

So

d=3βˆ’(βˆ’1)βˆ’0=4

Now use Cramer's rule to solve for A :

A=14|00001010000βˆ’110201βˆ’1101βˆ’10βˆ’11|

Expanding down the first column gives

A=14|00011000βˆ’11021βˆ’110|

Expanding across the first row gives

A=βˆ’14|100βˆ’1101βˆ’11|

Expanding down the last column gives

A=βˆ’14|10βˆ’11|=βˆ’14

Now that we know A, we can solve for E using the first equation

βˆ’14+E=0⟹E=14

We can solve for B using the second equation and the value of A

βˆ’(βˆ’14)+B=0⟹B=βˆ’14

We can solve for C using the third equation and the values we've found so far

βˆ’14βˆ’(βˆ’14)+C+214=0⟹C=βˆ’12

We can solve for D using the last equation and the values of B and E

βˆ’(βˆ’14)βˆ’D+14=1⟹D=βˆ’12

Finally, we can check our solution using the 4th equation and the values we've found

βˆ’(βˆ’14)+(βˆ’14)βˆ’(βˆ’12)+(βˆ’12)=0βœ“

Rewrite the integral and solve

∫dx(x2+1)2(xβˆ’1)=βˆ’14∫xdxx2+1βˆ’14∫dxx2+1βˆ’12∫xdx(x2+1)2βˆ’12∫dx(x2+1)2+14∫dxxβˆ’1

Let's solve each integral separately. To solve the first, use the substitution

u=x2+1;du=2xdx;dx=du2x
∫xdxx2+1=∫du2u=12ln⁡|u|+C1=12ln⁡|x2+1|+C1

To solve the second integral, use the substitution

x=tan⁡(ΞΈ);dx=sec2(ΞΈ)dΞΈ
∫dxx2+1=∫sec2(ΞΈ)dΞΈtan2(ΞΈ)+1=∫sec2(ΞΈ)dΞΈsec2(ΞΈ)=∫dΞΈ=ΞΈ+C2=arctan⁡(x)+C2

To solve the third integral, use the substitution

u=x2+1;du=2xdx;dx=du2x
∫xdx(x2+1)2=∫du2u2=βˆ’12u+C3=βˆ’12(x2+1)+C3

To solve the fourth integral, use the substitution

x=tan⁡(ΞΈ);dx=sec2(ΞΈ)dΞΈ
∫dx(x2+1)2=∫sec2(ΞΈ)dΞΈ(tan2(ΞΈ)+1)2=∫sec2(ΞΈ)dΞΈ(sec2(ΞΈ))2=∫dΞΈsec2(ΞΈ)=∫cos2(ΞΈ)dΞΈ=∫1+cos⁡(2ΞΈ)2dΞΈ=∫dΞΈ2+12∫cos⁡(2ΞΈ)dΞΈ=ΞΈ2+14sin⁡(2ΞΈ)+C4=ΞΈ2+12cos⁡(ΞΈ)sin⁡(ΞΈ)+C4=12arctan⁡(x)+12cos⁡(ΞΈ)sin⁡(ΞΈ)+C4=12arctan⁡(x)+1211+x2x1+x2+C4=12arctan⁡(x)+x2(1+x2)+C4

To solve the last integral, use the substitution

u=xβˆ’1;du=dx
∫dxxβˆ’1=∫duu=ln⁡|u|+C5=ln⁡|xβˆ’1|+C5

Putting it all together, we have

∫dx(x2+1)2(xβˆ’1)=βˆ’14(12ln⁡|x2+1|)βˆ’14arctan⁡(x)βˆ’12(βˆ’12(x2+1))βˆ’12(12arctan⁡(x)+x2(1+x2))+14ln⁡|xβˆ’1|+C=βˆ’18ln⁡|x2+1|βˆ’14arctan⁡(x)+14(x2+1)βˆ’14arctan⁡(x)βˆ’x4(1+x2)+14ln⁡|xβˆ’1|+C=βˆ’12arctan⁡(𝐱)+1βˆ’x4(x2+1)+18ln⁡((xβˆ’1)2x2+1)+𝐂
Decompose the fraction:
1(x2+1)2(xβˆ’1)=Ax+Bx2+1+Cx+D(x2+1)2+Exβˆ’1=(Ax+B)(x2+1)(xβˆ’1)+(Cx+D)(xβˆ’1)+E(x2+1)2(x2+1)2(xβˆ’1)=(Ax+B)(x3βˆ’x2+xβˆ’1)+Cx2+(Dβˆ’C)xβˆ’D+E(x4+2x2+1)(x2+1)2(xβˆ’1)=Ax4+(Bβˆ’A)x3+(Aβˆ’B)x2+(Bβˆ’A)xβˆ’B+Cx2+(Dβˆ’C)xβˆ’D+Ex4+2Ex2+E(x2+1)2(xβˆ’1)

Equate coefficients:

A+E=0βˆ’A+B=0Aβˆ’B+C+2E=0βˆ’A+Bβˆ’C+D=0βˆ’Bβˆ’D+E=1

Solve the system of equations any way you see fit. Here, we'll solve for A by Cramer's rule, then plug in to solve for the other variables. The denominator in Cramer's rule will be

d=|10001βˆ’110001βˆ’1102βˆ’11βˆ’1100βˆ’10βˆ’11|

Expanding across the top row gives

d=|1000βˆ’11021βˆ’110βˆ’10βˆ’11|+|βˆ’11001βˆ’110βˆ’11βˆ’110βˆ’10βˆ’1|

Expanding across the top rows in both matrices gives

d=|102βˆ’1100βˆ’11|βˆ’|βˆ’1101βˆ’11βˆ’10βˆ’1|βˆ’|110βˆ’1βˆ’1100βˆ’1|

Solve the individual determinants

|102βˆ’1100βˆ’11|=(1)(1)(1)+(0)(0)(1)+(2)(βˆ’1)(βˆ’1)βˆ’(0)(βˆ’1)(2)βˆ’(1)(0)(βˆ’1)βˆ’(2)(1)(0)=1+2=3
|βˆ’1101βˆ’11βˆ’10βˆ’1|=(βˆ’1)(βˆ’1)(βˆ’1)+(1)(1)(βˆ’1)+(0)(1)(0)βˆ’(1)(1)(βˆ’1)βˆ’(βˆ’1)(1)(0)βˆ’(0)(βˆ’1)(βˆ’1)=βˆ’1βˆ’1βˆ’(βˆ’1)=βˆ’1
|110βˆ’1βˆ’1100βˆ’1|11βˆ’1βˆ’100=(1)(βˆ’1)(βˆ’1)+(1)(1)(0)+(0)(βˆ’1)(0)βˆ’(1)(βˆ’1)(βˆ’1)βˆ’(1)(1)(0)βˆ’(0)(βˆ’1)(0)=1βˆ’1=0

So

d=3βˆ’(βˆ’1)βˆ’0=4

Now use Cramer's rule to solve for A :

A=14|00001010000βˆ’110201βˆ’1101βˆ’10βˆ’11|

Expanding down the first column gives

A=14|00011000βˆ’11021βˆ’110|

Expanding across the first row gives

A=βˆ’14|100βˆ’1101βˆ’11|

Expanding down the last column gives

A=βˆ’14|10βˆ’11|=βˆ’14

Now that we know A, we can solve for E using the first equation

βˆ’14+E=0⟹E=14

We can solve for B using the second equation and the value of A

βˆ’(βˆ’14)+B=0⟹B=βˆ’14

We can solve for C using the third equation and the values we've found so far

βˆ’14βˆ’(βˆ’14)+C+214=0⟹C=βˆ’12

We can solve for D using the last equation and the values of B and E

βˆ’(βˆ’14)βˆ’D+14=1⟹D=βˆ’12

Finally, we can check our solution using the 4th equation and the values we've found

βˆ’(βˆ’14)+(βˆ’14)βˆ’(βˆ’12)+(βˆ’12)=0βœ“

Rewrite the integral and solve

∫dx(x2+1)2(xβˆ’1)=βˆ’14∫xdxx2+1βˆ’14∫dxx2+1βˆ’12∫xdx(x2+1)2βˆ’12∫dx(x2+1)2+14∫dxxβˆ’1

Let's solve each integral separately. To solve the first, use the substitution

u=x2+1;du=2xdx;dx=du2x
∫xdxx2+1=∫du2u=12ln⁡|u|+C1=12ln⁡|x2+1|+C1

To solve the second integral, use the substitution

x=tan⁡(ΞΈ);dx=sec2(ΞΈ)dΞΈ
∫dxx2+1=∫sec2(ΞΈ)dΞΈtan2(ΞΈ)+1=∫sec2(ΞΈ)dΞΈsec2(ΞΈ)=∫dΞΈ=ΞΈ+C2=arctan⁡(x)+C2

To solve the third integral, use the substitution

u=x2+1;du=2xdx;dx=du2x
∫xdx(x2+1)2=∫du2u2=βˆ’12u+C3=βˆ’12(x2+1)+C3

To solve the fourth integral, use the substitution

x=tan⁡(ΞΈ);dx=sec2(ΞΈ)dΞΈ
∫dx(x2+1)2=∫sec2(ΞΈ)dΞΈ(tan2(ΞΈ)+1)2=∫sec2(ΞΈ)dΞΈ(sec2(ΞΈ))2=∫dΞΈsec2(ΞΈ)=∫cos2(ΞΈ)dΞΈ=∫1+cos⁡(2ΞΈ)2dΞΈ=∫dΞΈ2+12∫cos⁡(2ΞΈ)dΞΈ=ΞΈ2+14sin⁡(2ΞΈ)+C4=ΞΈ2+12cos⁡(ΞΈ)sin⁡(ΞΈ)+C4=12arctan⁡(x)+12cos⁡(ΞΈ)sin⁡(ΞΈ)+C4=12arctan⁡(x)+1211+x2x1+x2+C4=12arctan⁡(x)+x2(1+x2)+C4

To solve the last integral, use the substitution

u=xβˆ’1;du=dx
∫dxxβˆ’1=∫duu=ln⁡|u|+C5=ln⁡|xβˆ’1|+C5

Putting it all together, we have

∫dx(x2+1)2(xβˆ’1)=βˆ’14(12ln⁡|x2+1|)βˆ’14arctan⁡(x)βˆ’12(βˆ’12(x2+1))βˆ’12(12arctan⁡(x)+x2(1+x2))+14ln⁡|xβˆ’1|+C=βˆ’18ln⁡|x2+1|βˆ’14arctan⁡(x)+14(x2+1)βˆ’14arctan⁡(x)βˆ’x4(1+x2)+14ln⁡|xβˆ’1|+C=βˆ’12arctan⁡(𝐱)+1βˆ’x4(x2+1)+18ln⁡((xβˆ’1)2x2+1)+𝐂