3.78.65 \(\int \frac {-x^3+e^{e^{\frac {20+20 x+125 x^2+5 x^3}{x^2}}+\frac {20+20 x+125 x^2+5 x^3}{x^2}} (-40-20 x+5 x^3)}{x^3} \, dx\) [7765]

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

[Out]

exp(exp(5*x+120+5*(2+x)^2/x^2))-3-x

________________________________________________________________________________________

Rubi [F]
time = 1.02, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {-x^3+\exp \left (e^{\frac {20+20 x+125 x^2+5 x^3}{x^2}}+\frac {20+20 x+125 x^2+5 x^3}{x^2}\right ) \left (-40-20 x+5 x^3\right )}{x^3} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(-x^3 + E^(E^((20 + 20*x + 125*x^2 + 5*x^3)/x^2) + (20 + 20*x + 125*x^2 + 5*x^3)/x^2)*(-40 - 20*x + 5*x^3)
)/x^3,x]

[Out]

-x + 5*Defer[Int][E^(125 + E^(125 + 20/x^2 + 20/x + 5*x) + 20/x^2 + 20/x + 5*x), x] - 40*Defer[Int][E^(125 + E
^(125 + 20/x^2 + 20/x + 5*x) + 20/x^2 + 20/x + 5*x)/x^3, x] - 20*Defer[Int][E^(125 + E^(125 + 20/x^2 + 20/x +
5*x) + 20/x^2 + 20/x + 5*x)/x^2, x]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-1+\frac {5 e^{125+e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}+\frac {20}{x^2}+\frac {20}{x}+5 x} \left (-8-4 x+x^3\right )}{x^3}\right ) \, dx\\ &=-x+5 \int \frac {e^{125+e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}+\frac {20}{x^2}+\frac {20}{x}+5 x} \left (-8-4 x+x^3\right )}{x^3} \, dx\\ &=-x+5 \int \left (e^{125+e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}+\frac {20}{x^2}+\frac {20}{x}+5 x}-\frac {8 e^{125+e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}+\frac {20}{x^2}+\frac {20}{x}+5 x}}{x^3}-\frac {4 e^{125+e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}+\frac {20}{x^2}+\frac {20}{x}+5 x}}{x^2}\right ) \, dx\\ &=-x+5 \int e^{125+e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}+\frac {20}{x^2}+\frac {20}{x}+5 x} \, dx-20 \int \frac {e^{125+e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}+\frac {20}{x^2}+\frac {20}{x}+5 x}}{x^2} \, dx-40 \int \frac {e^{125+e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}+\frac {20}{x^2}+\frac {20}{x}+5 x}}{x^3} \, dx\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]
time = 0.32, size = 23, normalized size = 1.00 \begin {gather*} e^{e^{125+\frac {20}{x^2}+\frac {20}{x}+5 x}}-x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-x^3 + E^(E^((20 + 20*x + 125*x^2 + 5*x^3)/x^2) + (20 + 20*x + 125*x^2 + 5*x^3)/x^2)*(-40 - 20*x +
5*x^3))/x^3,x]

[Out]

E^E^(125 + 20/x^2 + 20/x + 5*x) - x

________________________________________________________________________________________

Maple [A]
time = 2.36, size = 25, normalized size = 1.09

method result size
risch \(-x +{\mathrm e}^{{\mathrm e}^{\frac {5 x^{3}+125 x^{2}+20 x +20}{x^{2}}}}\) \(25\)
norman \(\frac {x^{2} {\mathrm e}^{{\mathrm e}^{\frac {5 x^{3}+125 x^{2}+20 x +20}{x^{2}}}}-x^{3}}{x^{2}}\) \(36\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((5*x^3-20*x-40)*exp((5*x^3+125*x^2+20*x+20)/x^2)*exp(exp((5*x^3+125*x^2+20*x+20)/x^2))-x^3)/x^3,x,method=
_RETURNVERBOSE)

[Out]

-x+exp(exp(5*(x^3+25*x^2+4*x+4)/x^2))

________________________________________________________________________________________

Maxima [A]
time = 0.49, size = 21, normalized size = 0.91 \begin {gather*} -x + e^{\left (e^{\left (5 \, x + \frac {20}{x} + \frac {20}{x^{2}} + 125\right )}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((5*x^3-20*x-40)*exp((5*x^3+125*x^2+20*x+20)/x^2)*exp(exp((5*x^3+125*x^2+20*x+20)/x^2))-x^3)/x^3,x,
algorithm="maxima")

[Out]

-x + e^(e^(5*x + 20/x + 20/x^2 + 125))

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 88 vs. \(2 (22) = 44\).
time = 0.40, size = 88, normalized size = 3.83 \begin {gather*} -{\left (x e^{\left (\frac {5 \, {\left (x^{3} + 25 \, x^{2} + 4 \, x + 4\right )}}{x^{2}}\right )} - e^{\left (\frac {5 \, x^{3} + x^{2} e^{\left (\frac {5 \, {\left (x^{3} + 25 \, x^{2} + 4 \, x + 4\right )}}{x^{2}}\right )} + 125 \, x^{2} + 20 \, x + 20}{x^{2}}\right )}\right )} e^{\left (-\frac {5 \, {\left (x^{3} + 25 \, x^{2} + 4 \, x + 4\right )}}{x^{2}}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((5*x^3-20*x-40)*exp((5*x^3+125*x^2+20*x+20)/x^2)*exp(exp((5*x^3+125*x^2+20*x+20)/x^2))-x^3)/x^3,x,
algorithm="fricas")

[Out]

-(x*e^(5*(x^3 + 25*x^2 + 4*x + 4)/x^2) - e^((5*x^3 + x^2*e^(5*(x^3 + 25*x^2 + 4*x + 4)/x^2) + 125*x^2 + 20*x +
 20)/x^2))*e^(-5*(x^3 + 25*x^2 + 4*x + 4)/x^2)

________________________________________________________________________________________

Sympy [A]
time = 0.11, size = 22, normalized size = 0.96 \begin {gather*} - x + e^{e^{\frac {5 x^{3} + 125 x^{2} + 20 x + 20}{x^{2}}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((5*x**3-20*x-40)*exp((5*x**3+125*x**2+20*x+20)/x**2)*exp(exp((5*x**3+125*x**2+20*x+20)/x**2))-x**3)
/x**3,x)

[Out]

-x + exp(exp((5*x**3 + 125*x**2 + 20*x + 20)/x**2))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((5*x^3-20*x-40)*exp((5*x^3+125*x^2+20*x+20)/x^2)*exp(exp((5*x^3+125*x^2+20*x+20)/x^2))-x^3)/x^3,x,
algorithm="giac")

[Out]

integrate(-(x^3 - 5*(x^3 - 4*x - 8)*e^(5*(x^3 + 25*x^2 + 4*x + 4)/x^2 + e^(5*(x^3 + 25*x^2 + 4*x + 4)/x^2)))/x
^3, x)

________________________________________________________________________________________

Mupad [B]
time = 5.82, size = 24, normalized size = 1.04 \begin {gather*} {\mathrm {e}}^{{\mathrm {e}}^{5\,x}\,{\mathrm {e}}^{125}\,{\mathrm {e}}^{20/x}\,{\mathrm {e}}^{\frac {20}{x^2}}}-x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(x^3 + exp((20*x + 125*x^2 + 5*x^3 + 20)/x^2)*exp(exp((20*x + 125*x^2 + 5*x^3 + 20)/x^2))*(20*x - 5*x^3 +
 40))/x^3,x)

[Out]

exp(exp(5*x)*exp(125)*exp(20/x)*exp(20/x^2)) - x

________________________________________________________________________________________