3.5.72 \(\int \frac {1}{x^7 (1+x^2)^3} \, dx\) [472]

Optimal. Leaf size=52 \[ -\frac {1}{6 x^6}+\frac {3}{4 x^4}-\frac {3}{x^2}-\frac {1}{4 \left (1+x^2\right )^2}-\frac {2}{1+x^2}-10 \log (x)+5 \log \left (1+x^2\right ) \]

[Out]

-1/6/x^6+3/4/x^4-3/x^2-1/4/(x^2+1)^2-2/(x^2+1)-10*ln(x)+5*ln(x^2+1)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {272, 46} \begin {gather*} -\frac {1}{6 x^6}+\frac {3}{4 x^4}-\frac {2}{x^2+1}-\frac {3}{x^2}-\frac {1}{4 \left (x^2+1\right )^2}+5 \log \left (x^2+1\right )-10 \log (x) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(x^7*(1 + x^2)^3),x]

[Out]

-1/6*1/x^6 + 3/(4*x^4) - 3/x^2 - 1/(4*(1 + x^2)^2) - 2/(1 + x^2) - 10*Log[x] + 5*Log[1 + x^2]

Rule 46

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d*x
)^n, x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && ILtQ[m, 0] && IntegerQ[n] &&  !(IGtQ[n, 0] && Lt
Q[m + n + 2, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {1}{x^7 \left (1+x^2\right )^3} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{x^4 (1+x)^3} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {1}{x^4}-\frac {3}{x^3}+\frac {6}{x^2}-\frac {10}{x}+\frac {1}{(1+x)^3}+\frac {4}{(1+x)^2}+\frac {10}{1+x}\right ) \, dx,x,x^2\right )\\ &=-\frac {1}{6 x^6}+\frac {3}{4 x^4}-\frac {3}{x^2}-\frac {1}{4 \left (1+x^2\right )^2}-\frac {2}{1+x^2}-10 \log (x)+5 \log \left (1+x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.02, size = 49, normalized size = 0.94 \begin {gather*} -\frac {2-5 x^2+20 x^4+90 x^6+60 x^8}{12 x^6 \left (1+x^2\right )^2}-10 \log (x)+5 \log \left (1+x^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(x^7*(1 + x^2)^3),x]

[Out]

-1/12*(2 - 5*x^2 + 20*x^4 + 90*x^6 + 60*x^8)/(x^6*(1 + x^2)^2) - 10*Log[x] + 5*Log[1 + x^2]

________________________________________________________________________________________

Maple [A]
time = 0.08, size = 47, normalized size = 0.90

method result size
default \(-\frac {1}{6 x^{6}}+\frac {3}{4 x^{4}}-\frac {3}{x^{2}}-\frac {1}{4 \left (x^{2}+1\right )^{2}}-\frac {2}{x^{2}+1}-10 \ln \left (x \right )+5 \ln \left (x^{2}+1\right )\) \(47\)
norman \(\frac {-\frac {1}{6}-5 x^{8}-\frac {15}{2} x^{6}+\frac {5}{12} x^{2}-\frac {5}{3} x^{4}}{x^{6} \left (x^{2}+1\right )^{2}}-10 \ln \left (x \right )+5 \ln \left (x^{2}+1\right )\) \(47\)
risch \(\frac {-\frac {1}{6}-5 x^{8}-\frac {15}{2} x^{6}+\frac {5}{12} x^{2}-\frac {5}{3} x^{4}}{x^{6} \left (x^{2}+1\right )^{2}}-10 \ln \left (x \right )+5 \ln \left (x^{2}+1\right )\) \(47\)
meijerg \(-\frac {1}{6 x^{6}}+\frac {3}{4 x^{4}}-\frac {3}{x^{2}}-\frac {9}{4}-10 \ln \left (x \right )+\frac {x^{2} \left (9 x^{2}+10\right )}{4 \left (x^{2}+1\right )^{2}}+5 \ln \left (x^{2}+1\right )\) \(49\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^7/(x^2+1)^3,x,method=_RETURNVERBOSE)

[Out]

-1/6/x^6+3/4/x^4-3/x^2-1/4/(x^2+1)^2-2/(x^2+1)-10*ln(x)+5*ln(x^2+1)

________________________________________________________________________________________

Maxima [A]
time = 1.41, size = 53, normalized size = 1.02 \begin {gather*} -\frac {60 \, x^{8} + 90 \, x^{6} + 20 \, x^{4} - 5 \, x^{2} + 2}{12 \, {\left (x^{10} + 2 \, x^{8} + x^{6}\right )}} + 5 \, \log \left (x^{2} + 1\right ) - 5 \, \log \left (x^{2}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^7/(x^2+1)^3,x, algorithm="maxima")

[Out]

-1/12*(60*x^8 + 90*x^6 + 20*x^4 - 5*x^2 + 2)/(x^10 + 2*x^8 + x^6) + 5*log(x^2 + 1) - 5*log(x^2)

________________________________________________________________________________________

Fricas [A]
time = 0.69, size = 74, normalized size = 1.42 \begin {gather*} -\frac {60 \, x^{8} + 90 \, x^{6} + 20 \, x^{4} - 5 \, x^{2} - 60 \, {\left (x^{10} + 2 \, x^{8} + x^{6}\right )} \log \left (x^{2} + 1\right ) + 120 \, {\left (x^{10} + 2 \, x^{8} + x^{6}\right )} \log \left (x\right ) + 2}{12 \, {\left (x^{10} + 2 \, x^{8} + x^{6}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^7/(x^2+1)^3,x, algorithm="fricas")

[Out]

-1/12*(60*x^8 + 90*x^6 + 20*x^4 - 5*x^2 - 60*(x^10 + 2*x^8 + x^6)*log(x^2 + 1) + 120*(x^10 + 2*x^8 + x^6)*log(
x) + 2)/(x^10 + 2*x^8 + x^6)

________________________________________________________________________________________

Sympy [A]
time = 0.07, size = 49, normalized size = 0.94 \begin {gather*} - 10 \log {\left (x \right )} + 5 \log {\left (x^{2} + 1 \right )} + \frac {- 60 x^{8} - 90 x^{6} - 20 x^{4} + 5 x^{2} - 2}{12 x^{10} + 24 x^{8} + 12 x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**7/(x**2+1)**3,x)

[Out]

-10*log(x) + 5*log(x**2 + 1) + (-60*x**8 - 90*x**6 - 20*x**4 + 5*x**2 - 2)/(12*x**10 + 24*x**8 + 12*x**6)

________________________________________________________________________________________

Giac [A]
time = 0.84, size = 58, normalized size = 1.12 \begin {gather*} -\frac {30 \, x^{4} + 68 \, x^{2} + 39}{4 \, {\left (x^{2} + 1\right )}^{2}} + \frac {110 \, x^{6} - 36 \, x^{4} + 9 \, x^{2} - 2}{12 \, x^{6}} + 5 \, \log \left (x^{2} + 1\right ) - 5 \, \log \left (x^{2}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^7/(x^2+1)^3,x, algorithm="giac")

[Out]

-1/4*(30*x^4 + 68*x^2 + 39)/(x^2 + 1)^2 + 1/12*(110*x^6 - 36*x^4 + 9*x^2 - 2)/x^6 + 5*log(x^2 + 1) - 5*log(x^2
)

________________________________________________________________________________________

Mupad [B]
time = 0.05, size = 51, normalized size = 0.98 \begin {gather*} 5\,\ln \left (x^2+1\right )-10\,\ln \left (x\right )-\frac {5\,x^8+\frac {15\,x^6}{2}+\frac {5\,x^4}{3}-\frac {5\,x^2}{12}+\frac {1}{6}}{x^{10}+2\,x^8+x^6} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x^7*(x^2 + 1)^3),x)

[Out]

5*log(x^2 + 1) - 10*log(x) - ((5*x^4)/3 - (5*x^2)/12 + (15*x^6)/2 + 5*x^8 + 1/6)/(x^6 + 2*x^8 + x^10)

________________________________________________________________________________________