3.5.64 \(\int \frac {x^7}{(-5+x^2)^3} \, dx\) [464]

Optimal. Leaf size=46 \[ \frac {x^2}{2}-\frac {125}{4 \left (5-x^2\right )^2}+\frac {75}{2 \left (5-x^2\right )}+\frac {15}{2} \log \left (5-x^2\right ) \]

[Out]

1/2*x^2-125/4/(-x^2+5)^2+75/2/(-x^2+5)+15/2*ln(-x^2+5)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 46, 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, 45} \begin {gather*} \frac {x^2}{2}+\frac {75}{2 \left (5-x^2\right )}-\frac {125}{4 \left (5-x^2\right )^2}+\frac {15}{2} \log \left (5-x^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^7/(-5 + x^2)^3,x]

[Out]

x^2/2 - 125/(4*(5 - x^2)^2) + 75/(2*(5 - x^2)) + (15*Log[5 - x^2])/2

Rule 45

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, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[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 {x^7}{\left (-5+x^2\right )^3} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {x^3}{(-5+x)^3} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (1+\frac {125}{(-5+x)^3}+\frac {75}{(-5+x)^2}+\frac {15}{-5+x}\right ) \, dx,x,x^2\right )\\ &=\frac {x^2}{2}-\frac {125}{4 \left (5-x^2\right )^2}+\frac {75}{2 \left (5-x^2\right )}+\frac {15}{2} \log \left (5-x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 36, normalized size = 0.78 \begin {gather*} \frac {1}{4} \left (2 x^2-\frac {125}{\left (-5+x^2\right )^2}-\frac {150}{-5+x^2}+30 \log \left (-5+x^2\right )\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^7/(-5 + x^2)^3,x]

[Out]

(2*x^2 - 125/(-5 + x^2)^2 - 150/(-5 + x^2) + 30*Log[-5 + x^2])/4

________________________________________________________________________________________

Maple [A]
time = 0.08, size = 33, normalized size = 0.72

method result size
norman \(\frac {-75 x^{2}+\frac {1}{2} x^{6}+\frac {1125}{4}}{\left (x^{2}-5\right )^{2}}+\frac {15 \ln \left (x^{2}-5\right )}{2}\) \(30\)
risch \(\frac {x^{2}}{2}+\frac {-\frac {75 x^{2}}{2}+\frac {625}{4}}{\left (x^{2}-5\right )^{2}}+\frac {15 \ln \left (x^{2}-5\right )}{2}\) \(30\)
default \(\frac {x^{2}}{2}-\frac {125}{4 \left (x^{2}-5\right )^{2}}+\frac {15 \ln \left (x^{2}-5\right )}{2}-\frac {75}{2 \left (x^{2}-5\right )}\) \(33\)
meijerg \(\frac {x^{2} \left (\frac {4}{25} x^{4}-\frac {18}{5} x^{2}+12\right )}{8 \left (-\frac {x^{2}}{5}+1\right )^{2}}+\frac {15 \ln \left (-\frac {x^{2}}{5}+1\right )}{2}\) \(38\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^7/(x^2-5)^3,x,method=_RETURNVERBOSE)

[Out]

1/2*x^2-125/4/(x^2-5)^2+15/2*ln(x^2-5)-75/2/(x^2-5)

________________________________________________________________________________________

Maxima [A]
time = 1.73, size = 35, normalized size = 0.76 \begin {gather*} \frac {1}{2} \, x^{2} - \frac {25 \, {\left (6 \, x^{2} - 25\right )}}{4 \, {\left (x^{4} - 10 \, x^{2} + 25\right )}} + \frac {15}{2} \, \log \left (x^{2} - 5\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^7/(x^2-5)^3,x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

Fricas [A]
time = 1.02, size = 49, normalized size = 1.07 \begin {gather*} \frac {2 \, x^{6} - 20 \, x^{4} - 100 \, x^{2} + 30 \, {\left (x^{4} - 10 \, x^{2} + 25\right )} \log \left (x^{2} - 5\right ) + 625}{4 \, {\left (x^{4} - 10 \, x^{2} + 25\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^7/(x^2-5)^3,x, algorithm="fricas")

[Out]

1/4*(2*x^6 - 20*x^4 - 100*x^2 + 30*(x^4 - 10*x^2 + 25)*log(x^2 - 5) + 625)/(x^4 - 10*x^2 + 25)

________________________________________________________________________________________

Sympy [A]
time = 0.04, size = 32, normalized size = 0.70 \begin {gather*} \frac {x^{2}}{2} + \frac {625 - 150 x^{2}}{4 x^{4} - 40 x^{2} + 100} + \frac {15 \log {\left (x^{2} - 5 \right )}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**7/(x**2-5)**3,x)

[Out]

x**2/2 + (625 - 150*x**2)/(4*x**4 - 40*x**2 + 100) + 15*log(x**2 - 5)/2

________________________________________________________________________________________

Giac [A]
time = 0.81, size = 36, normalized size = 0.78 \begin {gather*} \frac {1}{2} \, x^{2} - \frac {5 \, {\left (9 \, x^{4} - 60 \, x^{2} + 100\right )}}{4 \, {\left (x^{2} - 5\right )}^{2}} + \frac {15}{2} \, \log \left ({\left | x^{2} - 5 \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^7/(x^2-5)^3,x, algorithm="giac")

[Out]

1/2*x^2 - 5/4*(9*x^4 - 60*x^2 + 100)/(x^2 - 5)^2 + 15/2*log(abs(x^2 - 5))

________________________________________________________________________________________

Mupad [B]
time = 0.06, size = 35, normalized size = 0.76 \begin {gather*} \frac {15\,\ln \left (x^2-5\right )}{2}-\frac {\frac {75\,x^2}{2}-\frac {625}{4}}{x^4-10\,x^2+25}+\frac {x^2}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^7/(x^2 - 5)^3,x)

[Out]

(15*log(x^2 - 5))/2 - ((75*x^2)/2 - 625/4)/(x^4 - 10*x^2 + 25) + x^2/2

________________________________________________________________________________________