3.51.38 \(\int \frac {7442-3904 x+3278 x^3-4590 x^4+2496 x^5-1408 x^6+320 x^7-96 x^8}{x^3} \, dx\)

Optimal. Leaf size=33 \[ 5 e^3-2 x+x^2-\frac {\left (3-4 \left (4-x+x^2\right )^2\right )^2}{x^2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 39, normalized size of antiderivative = 1.18, number of steps used = 2, number of rules used = 1, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.026, Rules used = {14} \begin {gather*} -16 x^6+64 x^5-352 x^4+832 x^3-2295 x^2-\frac {3721}{x^2}+3278 x+\frac {3904}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(7442 - 3904*x + 3278*x^3 - 4590*x^4 + 2496*x^5 - 1408*x^6 + 320*x^7 - 96*x^8)/x^3,x]

[Out]

-3721/x^2 + 3904/x + 3278*x - 2295*x^2 + 832*x^3 - 352*x^4 + 64*x^5 - 16*x^6

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \left (3278+\frac {7442}{x^3}-\frac {3904}{x^2}-4590 x+2496 x^2-1408 x^3+320 x^4-96 x^5\right ) \, dx\\ &=-\frac {3721}{x^2}+\frac {3904}{x}+3278 x-2295 x^2+832 x^3-352 x^4+64 x^5-16 x^6\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 39, normalized size = 1.18 \begin {gather*} -\frac {3721}{x^2}+\frac {3904}{x}+3278 x-2295 x^2+832 x^3-352 x^4+64 x^5-16 x^6 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(7442 - 3904*x + 3278*x^3 - 4590*x^4 + 2496*x^5 - 1408*x^6 + 320*x^7 - 96*x^8)/x^3,x]

[Out]

-3721/x^2 + 3904/x + 3278*x - 2295*x^2 + 832*x^3 - 352*x^4 + 64*x^5 - 16*x^6

________________________________________________________________________________________

fricas [A]  time = 1.03, size = 40, normalized size = 1.21 \begin {gather*} -\frac {16 \, x^{8} - 64 \, x^{7} + 352 \, x^{6} - 832 \, x^{5} + 2295 \, x^{4} - 3278 \, x^{3} - 3904 \, x + 3721}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-96*x^8+320*x^7-1408*x^6+2496*x^5-4590*x^4+3278*x^3-3904*x+7442)/x^3,x, algorithm="fricas")

[Out]

-(16*x^8 - 64*x^7 + 352*x^6 - 832*x^5 + 2295*x^4 - 3278*x^3 - 3904*x + 3721)/x^2

________________________________________________________________________________________

giac [A]  time = 0.21, size = 39, normalized size = 1.18 \begin {gather*} -16 \, x^{6} + 64 \, x^{5} - 352 \, x^{4} + 832 \, x^{3} - 2295 \, x^{2} + 3278 \, x + \frac {61 \, {\left (64 \, x - 61\right )}}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-96*x^8+320*x^7-1408*x^6+2496*x^5-4590*x^4+3278*x^3-3904*x+7442)/x^3,x, algorithm="giac")

[Out]

-16*x^6 + 64*x^5 - 352*x^4 + 832*x^3 - 2295*x^2 + 3278*x + 61*(64*x - 61)/x^2

________________________________________________________________________________________

maple [A]  time = 0.03, size = 39, normalized size = 1.18




method result size



risch \(-16 x^{6}+64 x^{5}-352 x^{4}+832 x^{3}-2295 x^{2}+3278 x +\frac {3904 x -3721}{x^{2}}\) \(39\)
default \(-16 x^{6}+64 x^{5}-352 x^{4}+832 x^{3}-2295 x^{2}+3278 x +\frac {3904}{x}-\frac {3721}{x^{2}}\) \(40\)
norman \(\frac {-16 x^{8}+64 x^{7}-352 x^{6}+832 x^{5}-2295 x^{4}+3278 x^{3}+3904 x -3721}{x^{2}}\) \(40\)
gosper \(-\frac {16 x^{8}-64 x^{7}+352 x^{6}-832 x^{5}+2295 x^{4}-3278 x^{3}-3904 x +3721}{x^{2}}\) \(41\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-96*x^8+320*x^7-1408*x^6+2496*x^5-4590*x^4+3278*x^3-3904*x+7442)/x^3,x,method=_RETURNVERBOSE)

[Out]

-16*x^6+64*x^5-352*x^4+832*x^3-2295*x^2+3278*x+(3904*x-3721)/x^2

________________________________________________________________________________________

maxima [A]  time = 0.34, size = 39, normalized size = 1.18 \begin {gather*} -16 \, x^{6} + 64 \, x^{5} - 352 \, x^{4} + 832 \, x^{3} - 2295 \, x^{2} + 3278 \, x + \frac {61 \, {\left (64 \, x - 61\right )}}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-96*x^8+320*x^7-1408*x^6+2496*x^5-4590*x^4+3278*x^3-3904*x+7442)/x^3,x, algorithm="maxima")

[Out]

-16*x^6 + 64*x^5 - 352*x^4 + 832*x^3 - 2295*x^2 + 3278*x + 61*(64*x - 61)/x^2

________________________________________________________________________________________

mupad [B]  time = 3.34, size = 38, normalized size = 1.15 \begin {gather*} 3278\,x+\frac {3904\,x-3721}{x^2}-2295\,x^2+832\,x^3-352\,x^4+64\,x^5-16\,x^6 \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(3904*x - 3278*x^3 + 4590*x^4 - 2496*x^5 + 1408*x^6 - 320*x^7 + 96*x^8 - 7442)/x^3,x)

[Out]

3278*x + (3904*x - 3721)/x^2 - 2295*x^2 + 832*x^3 - 352*x^4 + 64*x^5 - 16*x^6

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 36, normalized size = 1.09 \begin {gather*} - 16 x^{6} + 64 x^{5} - 352 x^{4} + 832 x^{3} - 2295 x^{2} + 3278 x - \frac {3721 - 3904 x}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-96*x**8+320*x**7-1408*x**6+2496*x**5-4590*x**4+3278*x**3-3904*x+7442)/x**3,x)

[Out]

-16*x**6 + 64*x**5 - 352*x**4 + 832*x**3 - 2295*x**2 + 3278*x - (3721 - 3904*x)/x**2

________________________________________________________________________________________