This is a fairly involved partial fractions problem. Hopefully these steps are clear:
First factor denominator:
(x4+x2+4)/(x2(x2+2)2)
Next we'll break this up as a partial fraction:
(x4+x2+4)/(x2(x2+2)2) = (Ax+B)/x2 + (Cx+D)/(x2+2) + (Ex+F)/(x2+2)2
Multiply each side by common denominator to eliminate fractions which results in:
x4+x2+4 = (Ax+B)(x2+2)2 + (Cx+D)x2(x2+2) + (Ex+F)x2
Now comes the fun part...multiply out the right side:
x4+x2+4 = Ax5+4Ax3+4Ax+Bx4+4Bx2+4B+Cx5+2Cx3+Dx4+2Dx2+Ex3+Fx2
Combine like terms and factor out the powers of x:
x4+x2+4 = (A+C)x5 + (B+D)x4 + (4A+2C+E)x3 + (4B+2D+F)x2 + 4Ax + 4B
Equating terms on the left and right side results in the following system of equations:
A+C = 0
B+D = 1
4A+2C+E = 0
4B+2D+F = 1
4A = 0
4B = 4
Solving the system of equations results with:
A = 0
C = 0
E = 0
B = 1
D = 0
F = -3
Thus, our original integrand can be converted into the following partial fraction decomposition:
(x4+x2+4)/(x2(x2+2)2) = 1/x2 - 3/(x2+2)2
That's the first difficult part. Now we integrate the right side, which has one easy piece, and one hard piece.
The integral of 1/x2 is just -1/x.
The integral of - 3/(x2+2)2 will require trigonometric substitution. I can't draw a triangle here to show you the sides, but I will write out the substitutions I used:
For ease, going forward, I will use T to stand theta, and sqrt() to represent the square root of an expression.
sqrt(2)sec(T) = sqrt(x2+2)
sqrt(2)tan(T) = x
sqrt(2)sec2(T)dT = dx
Substituting those into our integral, we should end up with -3sqrt(2)/4 (1/sec2(T))dT
1/sec2(T) is simply cos^2(T), and to integrate cos2(T) we power reduce into 1/2(1+cos(2T))
Finally able to integrate, we end up with:
-3sqrt(2)/8 (T + 1/2sin(2T)) Utilizing the double angle formula for sine, we simplify to:
-3sqrt(2)/8 (T + sin(T)cos(T))
In the end we can use our trig substitutions and triangle to substitute back in for T:
-3sqrt(2)/8 (arctan(x/sqrt(2)) + sqrt(2)x/(x2+2)) + C
That was a good one! Hope this helps.
Kevin K.
05/24/21